Forums > MaxMSP

Unable to make a sine wave.

October 23, 2011 | 7:04 pm

Just started using Max/Msp so I'm still learning the very basics. I have included a screen shot of my patch, which as far as I know should make a sine wave but as you can see from the scope it doesn't. Can anyone tell me why that is and also how to fix it.

Thanks

[attachment=173915,2770]

Attachments:
  1. Maxmsp.jpg

October 23, 2011 | 7:21 pm

Hi Daniel,

Don’t worry, you are creating a sine wave. Set cycle~ at something like 8-10hz and you will see a sine wave in the scope. Scope does not display a pixel for every sample (default is 256 samples per pixel) so at high pitches every oscillation cannot be displayed. Go to the scope inspector and play around with the Calccount values and you will see what I mean.


October 23, 2011 | 7:25 pm

ps. try setting the Calcount at 2 samples per pixel and you will see the sine wave.

Hope this helps,

Mark


October 24, 2011 | 8:32 pm

Yeah that sorted it.

Thanks Mark!


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