Getting a stable Oscilloscope
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,
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..
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 729.3oc6WkrjaBCD8L9qPEmINHwhw4V9FxwTtRgEZrUJPhfjqXOSM4aOZAOF OFrALwIGhOvhnkzqe8qa09kYNtq46IBWvm.eE337xLGGyP5Abpe2wsHcONOU XLyk7bVJ9Wtd1OUlJwaorMeqhfk1kIXo+beO.DYtEFc7JXU8bX6Jnrbhzrdn 5AoYlUmu96e.4dxP9N4QK80C95rY5Kd8DrLxOUq3w0SR1avnK9.Nm7lO7DmI EzmI5OAQJ31oqAiL9TfeCWS6l810fs6ZvFHgkVXPh6mqno4Gs2Zr7PIwhDWA cCS8YvpQvJBLu7j6iSywX9NlrIlaKtBs9KZoM7l71s969AcDZqGcMuJiTg44 7J6dZ34SWfM1q0a5mcapnYmYY.ZYHD400SI9AKQihVWuSJ4L2qIefFzEFeT3 bM4C7R9K35xmKDIqSYaFmDAyKJHJIw6ybDoEk4DAnjTALxnVShfyiVFASVbE pvlBgpUQ9IClKfgWWK0RtzTxCZeG7TE4G6HL7gQyBgF+NJxxBQCmEhdDrPGk QoizsCrIoKLA8.z7ngVEMdxJiR0k8VMcThfjCf2GsDDXnkQb3xh1oEzvoESg COf633lmx4JDbWrPcJQ7krfrhJTGYYVN+4K6YdRzjQMJmKUp4l5hqsebTRr5 2BuVep4oSa0Jmym4B+njDuVexLyoSr9QEMGO+9hS1B3g9CVshltdgrgj+ZRU eSBabxDIUQn+qUuTqlIJExTYGcs26hq11NhgC9fVTG8dENtyb7ZDbpeezGE0 UOJeQ2qlhE.UJdarcnT2zuUimfFdKqI2SCJlswU4Du++nZfpd7y4EAeWE9HO WW2GbBrYDgjxRkTUa5mrAdlMaoYYDVSHVPyJ4pnSMD5HF0WDoER.3sfT7YF8 mFSls6VzjttzCjmzcyb6PW7iO1cSLs3whIXOvTziERn9HmdrocA+ywR8ItAC tCHod40Y+Fvx1ln0 -----------end_max5_patcher-----------
Did you get answer to your question ? I’m interested in it too…
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
does MSP toot24 answer your exact question?
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?
what is MSP toot24 ?
…..it is the patch here
that accompanies this tutorial:
but it’s just my usual *noise*; not really helpful to the OP’s question
Forums > MaxMSP