CableBox
-
Hi guys, I reworked the script from Chris that he posted in 2017, how can I make it ''modular'' ?
For example if I want to modulate the ''Sine Wave Generator - Semi Tones or Octave'' and modulate the pitch with an LFO, or make a pitch enveloppe with an ADHSR to an oscillator to make a kick, what should I do ?
Here's the code : CableBox Component_txt.txt
Thanks for your help !!
-
@Retromelon post it as a snippet....not as txt...
-
@Retromelon I'd be cautious of reworking a script from 2017. A lot has changed since then!
Might be a good idea to dive into the current docs gf whatever it is your building.
-
Yes, this might be in fact a good candidate for a refactoring example to show what has changed in the meantime:
- the whole data model can be transferred to the modulation matrix.
- lots of QOL additions like the
Rectangleclass. - update some coding practices to the newest HISE features.
-
@Christoph-Hart
That would be nice! -
@Lindon You can Right-Click on the txt file and "Open link in new tab", which will show you the entire code on a new page, you can copy & paste it afterward.
I just don't know how to post it as a snippet yet, that's why I uploaded it as a txt.
-
@dannytaurus I'm aware, but I have the latest version of HISE and the code that I modified works in it. While the original one from 2017 doesnt work anymore.
-
@Retromelon said in CableBox:
I just don't know how to post it as a snippet yet, that's why I uploaded it as a txt.
In HISE select Export > Export as HISE Snippet. Then paste the result using the code tags button in the toolbar

-
@Christoph-Hart Can it be possible "about the code that I posted" could be a feature ?
Like you open a Floating Tile, go to Content Type and chose CableBox ?
So it could work like a patchbay with many Input-Output that you want to add (starting with 1 Input hole and 1 Output hole), position the input and output where you want inside the floating tile, edit them, then you can assign functionalities individually to either the input or the output hole with the ProcessorID and ParameterID, plus a drop down menu to navigate between the Input 1, Input 2, Output 3 or etc to edit them individually. It could be cool if you can see the connections in the MPEPanel for users to see what they are doing and edit the connection functionality.
-
@d-healey Thanks !!
-
@Retromelon This is a kind of widget that would need to have as many customisation possibilities as there are users... In other words, the chances to see that kind of things is rather...

You'll need to build it yourself step by step
-
@Lindon Alright, here's the snippet :
HiseSnippet 2526.3ocyZr1aaibjxNrHQsGPNz6SW+xBWf.JaZYJ4GWRTROGqD231XagHmbWgfwgUjqjVDJRdjTwVHv+F5e09OnclcIEIkH0qT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