Retrieving Y values from Breakpoint at X value
Posted: 03 May 2014 08:35
Hi !
Been tearing my hair out all day on this. I am trying to 'scan' though a breakpoint periodically and report the y value at point x. I have managed to generate basically a sawtooth LFO using the time variable, so values going from 0. to 1. over and over in time, and want to retrieve the y value at x(sawtooth). When I just parse out all the breakpoint data in Max/MSP, I can feed it to "function" object (breakpoint box) which allows me to feed it x values and receive the y value in return, so that's a slight indirect way to get it.... problem is, things would be much more elegant and useful in Reaktor and other places if I can just get the expression right in the Lemur. What obvious phrasing of an expression am I missing? There's the "breakpointat(x[], y[], phase)" function but I haven't been able to make that useful, and just want a simple x-y relationship. Please help!
Thanks!
Been tearing my hair out all day on this. I am trying to 'scan' though a breakpoint periodically and report the y value at point x. I have managed to generate basically a sawtooth LFO using the time variable, so values going from 0. to 1. over and over in time, and want to retrieve the y value at x(sawtooth). When I just parse out all the breakpoint data in Max/MSP, I can feed it to "function" object (breakpoint box) which allows me to feed it x values and receive the y value in return, so that's a slight indirect way to get it.... problem is, things would be much more elegant and useful in Reaktor and other places if I can just get the expression right in the Lemur. What obvious phrasing of an expression am I missing? There's the "breakpointat(x[], y[], phase)" function but I haven't been able to make that useful, and just want a simple x-y relationship. Please help!
Thanks!