sine wave into buffer~
Hey
Could someone show me how to record one wave (sine) into buffer~. I know I have to use poke~ but i am not understand sin very well. Nor do i know how many samples i need to use.
Paul
Well, in effect the cycle~ object allows you to read from a stored cosine function (use a phase offset of 0.75 to get a sine phase), and does high-quality interpolation to give you excellent resolution even though it only uses a 512-sample table. (See MSP Tutorial chapters 1-3.)
But if you want to put a sine wave into a buffer~, here's a way.
--Chris
Max Patch
Copy patch and select New From Clipboard in Max.
no, i actually wanted it in a buffer. so that'sgreat.... thanks.