Forums > MaxMSP

Getting a stable Oscilloscope

October 10, 2011 | 2:04 pm

Hello!
Actually thats a quite simple Math task, but i don’t seem to get it, so i’d really appreciate some help here.
I would simply like to have the two parameters of the scope~ object set to make it so that, if i know the frequency of an oscillator, i always see one cycle of its waveform, independent of its frequency.
Is that clear?
i don’t know, hoping for help,
Thanks!
Patrik


October 10, 2011 | 7:50 pm

hello again.
It seems, the answer to my question is something like:
Samplerate/Frequency of oscillator=
Samples per buffer*Buffers per pixel.
Seems really logical, but not completely correct(?)
Especially the Ratio between Samples per Buffer and Buffers per pixel is not described by this, and i am really wondering what the best ratio or function for their ratio could be..
Any thoughts?
Thanks


October 11, 2011 | 10:48 am

normally i set calccount to 2 and buffersize to 128.

—-
Endless Series v3 out now – A unique synthesis and effect plugin based on the Shepard Tone auditory illusion.

http://www.olilarkin.co.uk


October 11, 2011 | 10:53 am
– Pasted Max Patch, click to expand. –


FP
December 23, 2012 | 5:45 pm

Did you get answer to your question ? I’m interested in it too…


December 23, 2012 | 6:58 pm

@woyteg

about once very 2 months, when I’m MSP-ing I ask myself this exact same question too. I swear I saw an example (either in the Max docs or an online toot) which used dynamic setting of buffer size (?) to ensure a stable and static [scope~]. Damn sorry not to be more help but this is just my +1

Brendan

EDIT

does MSP toot24 answer your exact question?

hmmmm………perhaps not


December 24, 2012 | 9:15 am

Funny reading old posts of oneself. Cant have a look at toot24 right now but would be surprised if i missed it. In the meanwhile i discovered the trigger feature which made life a whole lot easier, but of course still isn’t quite what i was hoping for… Actually i got a new problem with scope thats kind of related. Every analog oscilloscope i know has an external trigger input which i find really handy. I recently tried to implement something similar for scope, but failed. Is there any solution around for this? Could we have this (quite simple seeming) feature in the future?
Cheers!



FP
December 24, 2012 | 11:53 am

what is MSP toot24 ?


December 24, 2012 | 1:08 pm

…..it is the patch here

Max6.0/patches/docs/tutorial-patchers/msp-tut/24mOscilloscope

that accompanies this tutorial:

http://cycling74.com/docs/max5/tutorials/msp-tut/mspchapter24.html

but it’s just my usual *noise*; not really helpful to the OP’s question


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