Ok, thanks for the additional information! Now that I mastered the very basics I really hope to "pass other interesting arguments"..--))) -----Ursprüngliche Nachricht----- Von: chuck-users-bounces@lists.cs.princeton.edu [mailto:chuck-users-bounces@lists.cs.princeton.edu] Im Auftrag von altern Gesendet: Mittwoch, 17. Januar 2007 14:32 An: ChucK Users Mailing List Betreff: Re: [chuck-users] ChuK control via OSC
It is good to know that floats are not so easy in python, I will ue your divide-by-workaround in cae I need floats.
ooopps! i checked more properly and it is possible to use floats if you check here http://infohost.nmt.edu/tcc/help/pubs/tkinter/scale.html you will see that there is an argument called resolution. So we can say h = Scale(window, from_=0, to=100, orient=HORIZONTAL, command=sendValue, resolution=0.1) and there we are we get float numbers. Note that still they are strings so you will need to translate them into floats like this osc.sendMsg('/slider1', [float(value)], "127.0.0.1", 9000) there are many other interesting arguments that can be passed as well. enrike _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.13/632 - Release Date: 16.01.2007 16:36 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.13/632 - Release Date: 16.01.2007 16:36