i’d like to use cycle˜ with buffer˜object to read a single waveform .
do you know how to create a table of 512 samples with a waveform like, for example, a triangular wave?
it would be nice to do that in a similar manner of gen7 in csound, simply rendering a wave of 512 samples containing some waveform.
[counter 0 511], then append the waveform data, then [peek~], thats one of many ways.
for a ramp you would calculate the waveform with [/ 512.], for a triwave you could do [+1], [split 256], [* -1.], [/ 256.], for a cosine is a bit more complicated, but it is possible to find it out.
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74