HISE Logo Forum
    • Categories
    • Register
    • Login

    CableBox

    Scheduled Pinned Locked Moved Scripting
    18 Posts 8 Posters 876 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RetromelonR
      Retromelon
      last edited by

      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 !!

      Website : https://payhip.com/RetromelonsTOYZ
      Socials : https://linktr.ee/RETROMELON

      LindonL dannytaurusD 2 Replies Last reply Reply Quote 0
      • LindonL
        Lindon @Retromelon
        last edited by

        @Retromelon post it as a snippet....not as txt...

        HISE Development for hire.
        www.channelrobot.com

        RetromelonR 2 Replies Last reply Reply Quote 0
        • dannytaurusD
          dannytaurus @Retromelon
          last edited by

          @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.

          Meat Beats: https://meatbeats.com
          Klippr Video: https://klippr.video

          Christoph HartC RetromelonR 2 Replies Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @dannytaurus
            last edited by

            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 Rectangle class.
            • update some coding practices to the newest HISE features.
            Oli UllmannO RetromelonR 2 Replies Last reply Reply Quote 6
            • Oli UllmannO
              Oli Ullmann @Christoph Hart
              last edited by

              @Christoph-Hart
              That would be nice!

              1 Reply Last reply Reply Quote 0
              • RetromelonR
                Retromelon @Lindon
                last edited by

                @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.

                Website : https://payhip.com/RetromelonsTOYZ
                Socials : https://linktr.ee/RETROMELON

                d.healeyD 1 Reply Last reply Reply Quote 0
                • RetromelonR
                  Retromelon @dannytaurus
                  last edited by

                  @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.

                  Website : https://payhip.com/RetromelonsTOYZ
                  Socials : https://linktr.ee/RETROMELON

                  1 Reply Last reply Reply Quote 1
                  • d.healeyD
                    d.healey @Retromelon
                    last edited by d.healey

                    @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 bda8bb2b-d424-4617-ba02-fd13b13472d6-image.png

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    RetromelonR 1 Reply Last reply Reply Quote 0
                    • RetromelonR
                      Retromelon @Christoph Hart
                      last edited by

                      @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.

                      Website : https://payhip.com/RetromelonsTOYZ
                      Socials : https://linktr.ee/RETROMELON

                      ustkU 1 Reply Last reply Reply Quote 0
                      • RetromelonR
                        Retromelon @d.healey
                        last edited by Retromelon

                        @d-healey Thanks !!

                        Website : https://payhip.com/RetromelonsTOYZ
                        Socials : https://linktr.ee/RETROMELON

                        1 Reply Last reply Reply Quote 0
                        • ustkU
                          ustk @Retromelon
                          last edited by

                          @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

                          Hise made me an F5 dude, browser just suffers...

                          1 Reply Last reply Reply Quote 1
                          • RetromelonR
                            Retromelon @Lindon
                            last edited by

                            @Lindon Alright, here's the snippet :

                            HiseSnippet 2526.3ocyZr1aaibjxNrHQsGPNz6SW+xBWf.JaZYJ4GWRTROGqD231XagHmbWgfwgUjqjVDJRdjTwVHv+F5e09OnclcIEIkH0qTesLwRb2clYmcdt6NpkuqIKHv0WoT4qF6wTJ8GTaO1IbPyATtixYuVozCUa4yBXgJmL1iFDvrTJUZy+JNZoG8.Ewy+5GOgZScLYIcon7QWtI6c7g7vjdac7emaaeJ0hcEeXJnO33yLccZ5Z6NB3jMUMT7nleh1mcAEAaCUk2RCFnTZa0506Y9TCimt+9GZPo6aQoGTis+yX8Npm4gFOyvp6gFv+NRozu6MV7PW+1gzPVfRoGbhq031CbuwQNAejGv6ZyvF0TZCyrr6ScssvkH1qRyAbaqVwhn.EfJsRDXaJEXem54bK9j9SDbOVL.IAizBvRajk81LC6UKM6Yjh8xgkJkhkdfjk9V01l9buvjQP942qdlSHyuGEzSoYEIrJaP9SpMcAHbBqNj9I1o9PiIXncjggNA9nRixk2a6sIubMeJS1lzjBKsSbukzzcnmqCLiXucGSZNvmGD55Mf7VpenNAkQLKbj2yB8cGxrcc.PQnayG5Yy6wgg+LyOf657bB2waT3dtiBguHa0cTXnqSvVDpOi3yLCoN8sYAHxbm.tEiDNfQFBpKhG0gYWkb5Ha6wjdibLCA5Qs0INtD1sg9TIDAUQjW2UNY68JW1ALnC.ia1DgP4uTl.OnL8UVVADJwgcyjQqhXgiycr4NrILGwzmAVNZH8zI2pSFWQ.ljX3isqI0lzEjxujDqWoVVsvERZzZLAiXn.mcvxwi4GxYAfYvv+V6KuHBkD5iOacC2JbvVOmTqlgd1QFv38GDhCYL8PTaa2aZBe1EbxC.P1poMGdSm7VWPWRdB409z984N82ZJLCnelcliLdDfWn+H1D.tCsLia.K6pVzPZUgIAHGYAfXny0MlEBo4xbAAhM4vDh8hAYjuOH6PF+D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+eJW9sps3Pnn7cx2HGdTQ4dgGi9Mg7MpuoWOlYXBC9.0S+46me.HJxxs1G1SoOGhCqBoYaCa5wjAytC9qV.istA5aIaafsENnvNVDM92vSzf0hCDiCVKdPkgTSe2ewTlHBMxennGfmbD+Bcdj54XaRs37OIxYX2i7ewzLKolAw5qKh6utHdv5h3gqKhGstH9CqKhOcwHh+Fkd0HHlqzsQQ47VuQFsszjP8k1T4+PAuAAK
                            

                            Website : https://payhip.com/RetromelonsTOYZ
                            Socials : https://linktr.ee/RETROMELON

                            LindonL 1 Reply Last reply Reply Quote 0
                            • LindonL
                              Lindon @Retromelon
                              last edited by

                              @Retromelon said in CableBox:

                              So you need to read the connections array to see what connections are implemented... here's a start:

                              HiseSnippet 2611.3oc0Zztaaibjxw5PhZOfbnG5OZ+yBWf.JaZZI4OhikSiiUhabarsPjStqPv3vJxURKBEIORpXKD3mg97z2p9FzNytjhjRj5qjfCkHQl6tyL6rym6tCa54Xv78c7TJT55QtLkB+9hsFYGzuQeJ2V47WoT3gEa5w7YAJmNxk56yLUJT3A+MbzBOZcEwy+4EmRsn1Fr3tTT9fC2f8V9.dPbuMO4evsrNiZxtlOHAz6cx4FN1MbrbFBbxCJVQwkZ7QZO1kTDr0Jp7FpeekBaVrV2NF059zcOr5yp9rmt2ypVc+C6rWkZFl6+rc28fcM6V6P5AGBH8cu1jG330JfFv7UJr9oNliZ024Va4D7AtOuiECaTUoELyxtOywxDWhXuJM5ysLaFIh7U.pzLVf8.o.6GKdA2jOt+XA2iECPhwHo.rvZoYuGjh8plj8pjf8xfkJjfkVWxR+PwVFdb2f3QP942U7b6.lWWJnmRxJRXUV6e+mK1vAfvNPe.8iry7fFiwP8fJUzHvOkqWpzNatI44q3SIxljFTXocpycjFNCbcrgYD6syHRi9db+.G29j2P8BzHnLhYhi7NVfmy.lkiM.JBcK9.WKdWNL7mXd9bG6iHba2gA63LL.9CYiNCCBbr82fP8XDOlQ.0tmEyGQla6yMYjf9Lx.PcQbo1LKcx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J92aTTd+4uBx.DQUXBhKAEz2qXehavjU27QEeEy+iv9NDvFV.QkBObA3g6.QSASXQLBe4X3EQAr.Z9c1gksVV2JrGyvdRVzIDsBPeoKgkRg+Tw7Jgkhxz0m8wEuvwbnEMHc4hwhpGN.n0SUiVrNr1vViGkrn6eapg7ik7Xwhu8rqBYL3MxXNt57Yry7X+5PlsQhNe3IXU+OO9iF3j+0I+DHXgM6LHTsNF82x5ASTxdtlAp4VirMR9AFzZfii3rNo+VB9wSdqii6qsQuWyjDoYepO5YJTiIHCP1qctfB6XxqADl+iIG77d1NdLo2dx9aLD136fnEf3KTnEriKgIbg1EOXO3fV5c2B+8YMfe18puNsUVBcd0YqyWaAsK+CB0+X8LZHr7llquXlly9quPYo33wFg+e.G+CEaxgPTY67uVF7qhxWMmeko+jV99hutaWlQPLCtdwy94uMe+JJxpE2C14oGGiOCIiaAaMxfAytM9QWfwbWC84jsqfsENtv9ZDM9uvS3fUiBPiCVMZPkATCOmewPltBM9ennGfmrEefQOp3EXaR0nrTwxYXOl7ewvHMolBwZqJh6tpHt2ph39qJhGrpH9zUEwCmOh3mX0KGBwhktMJJWz70xnvEFmBnvCT9eKqyOvA
                              

                              HISE Development for hire.
                              www.channelrobot.com

                              Christoph HartC 1 Reply Last reply Reply Quote 0
                              • Christoph HartC
                                Christoph Hart @Lindon
                                last edited by

                                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... 🙅♂

                                Exactly, that's why I made it a JS snippet in the first place.

                                If you use the new modulation matrix as data model, all the logic comes down to UI stuff which is perfect for customizing.

                                OrvillainO 1 Reply Last reply Reply Quote 0
                                • OrvillainO
                                  Orvillain @Christoph Hart
                                  last edited by

                                  @Christoph-Hart Out of interest, because I'm a bit stupid, if I wanted to do a bunch of example snippets and get them into the example browser, how do I do that?

                                  Musician - Instrument Designer - Sonic Architect - Creative Product Owner
                                  Crafting sound at every level. From strings to signal paths, samples to systems.

                                  d.healeyD RetromelonR 2 Replies Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @Orvillain
                                    last edited by

                                    @Orvillain said in CableBox:

                                    I'm a bit stupid

                                    Should this guy be providing example snippets... 😁

                                    Here you go: https://github.com/qdr/HiseSnippetDB

                                    Free HISE Bootcamp Full Course for beginners.
                                    YouTube Channel - Public HISE tutorials
                                    My Patreon - HISE tutorials

                                    OrvillainO 1 Reply Last reply Reply Quote 1
                                    • OrvillainO
                                      Orvillain @d.healey
                                      last edited by

                                      @d-healey said in CableBox:

                                      @Orvillain said in CableBox:

                                      I'm a bit stupid

                                      Should this guy be providing example snippets... 😁

                                      😂

                                      Here you go: https://github.com/qdr/HiseSnippetDB

                                      Cheers! I was mulling on some of the mistakes I've made, and some of the common newbie things that kept getting repeated here, and thinking to myself I know how to do a snippet that will demonstrate how to address XYZ.

                                      Musician - Instrument Designer - Sonic Architect - Creative Product Owner
                                      Crafting sound at every level. From strings to signal paths, samples to systems.

                                      1 Reply Last reply Reply Quote 0
                                      • RetromelonR
                                        Retromelon @Orvillain
                                        last edited by

                                        Hey @Orvillan,

                                        No big deal if I didn’t know how to post a snippet. Better to ask than mess around blindly, right? I’m really new to coding, mostly picking it up bit by bit.

                                        I love making my own tools and plugins, experimenting with sounds, and sharing my stuff for free with the community. I started with Synthedit, but it’s not really modernized, so that’s why I decided to switch to HISE.

                                        Honestly, I’m mainly a music producer, graphic designer, and sound engineer, and I want to put all of my passions together to create the plugins that I want to make. Since coding isn’t one of my skills, I have no choice but to learn it step by step to help me further with plugin development, since HISE requires some coding knowledge to work around.

                                        Website : https://payhip.com/RetromelonsTOYZ
                                        Socials : https://linktr.ee/RETROMELON

                                        1 Reply Last reply Reply Quote 1
                                        • First post
                                          Last post

                                        60

                                        Online

                                        2.1k

                                        Users

                                        12.9k

                                        Topics

                                        112.1k

                                        Posts