Getting a stable Oscilloscope
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
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
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.
Did you get answer to your question ? I'm interested in it too...
@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
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!
what is MSP toot24 ?
.....it is the patch here
Max6.0/patches/docs/tutorial-patchers/msp-tut/24mOscilloscope
that accompanies this tutorial:
but it's just my usual *noise*; not really helpful to the OP's question