Forums > MaxMSP

output just points of a function object


max
March 9, 2009 | 3:06 am

Hi list,

I would output just the points of the function object

I explain:

When I bang,I would receive,the information of the first point then the seconds point n milliseconds after and the third point information n milliseconds after,etc….

Because I try to draw frequency modulation but I don’t want a portamento effect….just the frequencies,one by one,but scaled on the timedomain of the function object.

I hope you could help me.

Thanks a lot.

Max


March 9, 2009 | 7:14 am

I think you’ll need to make this functionality yourself. You could:

1) output the entire list of points from ‘function’,
2) then use something ‘zl reg’ to store the current list,
3) pop the first pair of values off (value, time) using ‘zl slice 2′ using the value for whatever you need it for and the time to delay the next "pop off" operation, store the remainder of the list (i.e., minus the first two values) back in the ‘zl reg’ ready for next time
4) repeat step 3) until you no points left


March 9, 2009 | 2:33 pm

You do know the listdump and dump messages, don’t you?



max
March 10, 2009 | 4:20 pm

no i didn’t know….

But I know it now!

Thanks you!

Max


Viewing 4 posts - 1 through 4 (of 4 total)