Updating JSUI dial Max Range

Will Pickersgill's icon

I am trying to update a jsui dial with the max sample length of the sample in info~. I know this is possible with ordinary dial by sending it a "size $1" message but for JSUI dial it seems I would have to send it a java script message, plus I think the file needs to be reloaded for it to be updated, am I right?

Are there anyways round it?

pdelges's icon

The jsui dial is just an example. You can easily add your own messages
to the code, like "size".
Or you could add a [* ] object to the output of the dial (which sends
values from 0 to 1).

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl
http://users.skynet.be/crfmw/max

Will Pickersgill's icon

Cheers. [*] the output of the dials with the info length seemed to do the trick.