oscilloscope left right to one stereo
-
@d-healey I opened the scriptnode visualization example and replaced the basic oscilloscope with a new one and put an audio player at the head. it worked I was able to get a single signal in the oscilloscope. once recompiled the oscilloscope returned to 2 spectrum. little bug which proves that it can work ^^ in the meantime I'll just hide the 2nd spectrum lol
-
@yall Yeah the property object of analysers return to default state at init, which is kinda annoying when developing a scriptnode DSP.
The object property has to be set by script if you don't want it to return to default each time.const var rb = Engine.createAndRegisterRingBuffer(0); const var rbProp = { "BufferLength": 8192, "NumChannels": 2 }; rb.setRingBufferProperties(rbProp);
If you want to isolate the channels, just place two oscilloscopes in a multi container, give them a different external display buffer, so you can LAF them differently in their own panel.
EDIT
@Christoph-Hart would it be possible to save the display buffer properties with the graph when they are not scripted? -
@ustk ah yes this strategy is not bad, I'm going to try it. It's going to be a lot for me to add but if it works it's great. on the other hand by default the oscilloscope is set with the 2 right and left channels. Do you think that if I separate right and left it will still work? without going through my "bugg" option
-
@yall I don't see where it wouldn't work.
I had a look at your snippet, your code can be simplified to a few lines if you make good use of arrays.
As soon as you repeat the same code, it means it can be done only once using a few arrays andfor
loops -
@ustk you understood my idea. to want to put colors by frequency range. I am still far from what I would like to do. I would really like to be able to recreate an oscillator like that of seratp, rekordbox.... all with a multiband. and I'm not comfortable simplifying codes so it's true that I tend to make tons of them ^^
-
HiseSnippet 3771.3oc6c0sbaabFETRPRjR10oIs8ldAGek7Ltb.V.B.1NsQV+vDMwRg0R1S5joiJDwJRDABPC.ZIkLYlbQun88o21YxiPeDZeCxaf6tXAHwRRPBBB.I4.dgMwhuc+N6Y+4a2C.01x1pMzwwxloT4ytsOjoz1rmdqoa286ppaxbzAnzY6MvvU+FAl8tsupiCTioToU+L7sKUdMFuO+zmtmpgpYa3njXXdikda3K06o6NJ0V69E5FFMU0fmo2Kj0h6dTaKy8sLrFffxprbL8UaekZG3IpXyVgkoz5Gpo6ZYepqpKzgozZ6Yoc6ocst1jX+azczuv.hufm4TTAQRtokgFFw3TY1uqtgVqfprCCpTZMh.Vk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ymqzEUic3fsrmXUYF3lZDlE6rnJcwFsuSgSrrzEdS5+Ds4tWeTvVS8OMzCUHnMmBemdaH4zpuL6APmqbs564nfix9JA2b+A1uCd3aYH6q1Gp15us5g+4INM6CdmM7OU1wa2.wHkWiw+yddGbW9I7ue6+Z2879CS5PK9oOcOusIMVBhiR3I61r4YGZpdgAwokV8gzASed3idpsssNGqTjskg2a3lWJn5sIpkC2hdL9Zztnem+qDyvlGzjt5m2tMcQMQFAIMiBIMihIMi0SZFkRZFkSZFUleFOFcsury3YSXXNt0gDIjJEZDAy+m1j414
I encounter a problem with this start of plugin. I compile it in vst3 and component without error. logic and fl studio recognize it well in FX but the daw crashes as soon as I put it on. I can't understand what's going on.
-
@d-healey Can u test this code please?
-
@yall I'm out of this one, I don't know anything about display buffers
-
@d-healey in fact this code works in hise, I can export it without error. but completely crashes the daw. I tried to export without a line of code in hise, same problem. on the other hand if I export without the fx script, it works (well, no point without the fx script). I don't know if I missed something in scriptnode
-
@yall Your snippet is very convoluted, try a very simple one instead.
I noticed you affect the same External buffer to both left and right oscilloscopes, doesn't feel very safe to do this... Try 1 osc -> 1 ext buff -
@ustk I tried a basic viewer node and a panel. the pligin exports well but displays nothing in the panel