Unable to make a sine wave.

Oct 23, 2011 at 7:04pm

Unable to make a sine wave.

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
#59507
Oct 23, 2011 at 7:21pm

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.

#214157
Oct 23, 2011 at 7:25pm

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

Hope this helps,

Mark

#214158
Oct 24, 2011 at 8:32pm

Yeah that sorted it.

Thanks Mark!

#214159

You must be logged in to reply to this topic.