[waveform~] and live.numbox

Oct 20, 2013 at 1:25pm

[waveform~] and live.numbox

When creating a [waveform~] object for a buffer the numberboxes connected to outlet 3 and 4 is automatically adjusted to the length of the sample in the buffer. However I want to use a live.numbox to map a controller to these numbers but the live.numbox is not scaled automatically. Any suggestions on how to workaround this?

#268538
Oct 21, 2013 at 12:48am

Hi KMLL,
Live parameters cannot change range dynamically. However you can use live.numboxes with a normalized range (i.e. 0. – 1.) and scale the output according to your buffer range.

j

#268570
Oct 21, 2013 at 1:51am

Thanks for the reply Jan! This sounds like a good workaround:) However I am not quite sure how to accomplish this. Hope it is OK that I ask if you can please elaborate how I can accomplish this scaling?

#268577
Oct 21, 2013 at 5:39am

here an example:

<code>

– Pasted Max Patch, click to expand. –

</code>

#268591
Oct 21, 2013 at 2:06pm

Thank you so much for the example. I was not aware of the info~ object and I think it will be very useful in the future:)

#268671

You must be logged in to reply to this topic.