Forums > MaxMSP

sine wave into buffer~

October 30, 2009 | 4:23 pm


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.


October 30, 2009 | 5:17 pm

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.


– Pasted Max Patch, click to expand. –
October 30, 2009 | 11:01 pm

no, i actually wanted it in a buffer. so that’sgreat…. thanks.

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