HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode: Granulator

    Scheduled Pinned Locked Moved General Questions
    63 Posts 12 Posters 5.1k 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.
    • DanHD
      DanH @Christoph Hart
      last edited by DanH

      @Christoph-Hart I tried that first but it doesn't do anything. But I have managed to get it to work... Thanks so much for the help! :)

      inline function onGRANBOX1Control(component, value)
      {
      	g1.setFile("{XYZ::SampleMap}" + component.getItemText());
      };
      
      Content.getComponent("GRANBOX1").setControlCallback(onGRANBOX1Control);
      

      EDIT - It's a bit crashy when switching maps in the combo box... Perhaps my method isn't right after all ๐Ÿ˜† The maps do change, but it crashes randomly

      EDIT 2: Some maps definitely make it crash actually... Any idea if there any some parameters in the sample maps that don't play nice with the Granulator? They're pretty basic maps. Looping on some, no rr's.

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

      DanHD 2 Replies Last reply Reply Quote 0
      • DanHD
        DanH @DanH
        last edited by DanH

        @Christoph-Hart so there were 6 maps that crashed HISE every time with the Granulator. This was the commit from yesterday.

        Just tried commit from today and those maps are largely ok but others are now crashing which weren't before ๐Ÿ˜†

        Is my method correct or is it responsible for the crashing do you think?

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @DanH
          last edited by DanH

          @Christoph-Hart One other thing, does the Granulator let through the original signal? I have it in an fx chain and I can't get rid of the original signal coming from the sampler / synth.

          Actually possibly it's the midi chain container?

          EDIT - Wasn't using Math.clear properly

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          1 Reply Last reply Reply Quote 0
          • DanHD
            DanH @DanH
            last edited by

            @DanH said in Scriptnode: Granulator:

            @Christoph-Hart I tried that first but it doesn't do anything.

            I take it back, it does do something and the crashing has gone :)

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Christoph Hart
              last edited by A Former User

              @Christoph-Hart pretty impressive! The spambots answer I meanโ€ฆ

              DanHD 1 Reply Last reply Reply Quote 0
              • DanHD
                DanH @A Former User
                last edited by DanH

                So I've got the Granulator working nicely in my project. I've just been playing with voice modes and the granulator seems to flip between notes when playing a chord - I've no idea what to expect really so I'm just asking if this is expected behaviour. I'd also like to use glide - would that be possible too?!

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

                DanHD 1 Reply Last reply Reply Quote 1
                • DanHD
                  DanH @DanH
                  last edited by

                  @Christoph-Hart So it was working, and then I had to move the Granulator Script FX to somewhere else in the chain and it stopped working, so I tested a minimal project and it doesn't seem to work there either.. Am I going mad?! Would really appreciate it if you could have a quick peek :)

                  HiseSnippet 2457.3oc6Z0saaibElxNzIVa11rK1BzaJ.gQuPAMxV+YK4cQwJJIJIVKQQPR4jzeP5DpQxbMEGARpD6tH.8xdYeD5iPeD1Go8hde6YlgTjTV1wwa1fcKhLfgNmYly7c9YlybN159DabP.wWH2tVWt.Kj6ghlW5EdV6yPNdBpcDx8oh8Lj0jrTLsjJKz5xEnf.7Dgb41tGcJ418dBrOe+W2B4h7rwIrDDNk3XiG3L2ILgqdySbbc6hlfsblmZ10ZpZS7ZSbIKA3rsXIgEH6yQyvZH5z1RTH2NJSbBI9lgnPbfPt60hL4RyyHu1iO+ScBbdoKlRTVvDDDmcWh6DJhobEZeli6D8X0NPPHmndhQXatQ3KDG5LwYE+DiwiXCHkrhz1ibakEdamAdkSCuRof2FfTtTPRjCoOSzz12YQXxHT77IhpdgX+oHvrmFJZKmKubhCoqiKEIh41BLvbAHr0+4dhsIvx7B2eN5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hk1G9QP10k7Z5igchhpA2EimNw8x36g3sPBbdQPJNKOWI5iBrPNtzW4kaKM1cJhcQ1vddoNJ7LJLn8DDhSw9zFot5.05fKIjgZWoRJ9ILbqC.h4rWrS+KasMcbtNy2RpLeXJYJbEL3i2O0vua6F0.3huHt8aoBmSSIPuIX0i6G53cJuWf7LyWjhRPG4iliCwQYbiofywIKSj5jRsPQwx.M+cj5D35FpCKybERIHwrB5vLBpBLYyywulajnI3Ks+QUKcbkiqeTiRMNrV8iqy1o6yu2SHCDD1Ld2QrRV.eewFkJEA4OQrmO36YO1b07aT55k10q8zlaxus8ZU9akbdfnIbiCZxOXwzAGtzCutXR5MaV2clQXWtRofTGawigUCNkNpMxMVhv4rVDx4yQri42o1.eayy8KhpPQh2I5e5kH9ghr2QKQK64CI79Pbodb1KpqM56LOctswdzxFXkR6BE93l9cFAPUbTHAWT8AAkyQ19jWXyylRw5CXb.T5w9GOXWwgTZoU+oP3GHlCEJ7Baa5KUJB0cr40T4Nrlp2g0T6NrlCuCq4n6vZpeGVSiabMzZzjWFRlyywCLzU3AV4TVEXssv+C.f+OUs
                  

                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                  https://dhplugins.com/ | https://dcbreaks.com/
                  London, UK

                  Matt_SFM 1 Reply Last reply Reply Quote 0
                  • Matt_SFM
                    Matt_SF @DanH
                    last edited by

                    @DanH You did manage to use the granulator as a FX ?
                    AFAIK the granulator produces sound - that's why it needs a sample or a sampleMap - but doesn't process incoming signals (or am I missing something ?), thus getting no granulated sound is expected.

                    Into a scriptnode synth, the granulator works well :)

                    Develop branch
                    Win10 & VS17 / Ventura & Xcode 14. 3

                    DanHD 1 Reply Last reply Reply Quote 0
                    • DanHD
                      DanH @Matt_SF
                      last edited by

                      @Matt_SF yeah I'm using it as an FX at the moment, maybe I should do it as a synth instead. But as an FX it was working fine, I was able to load the same sample map as my sampler and blend the two sounds together. But then it stopped working, no idea why! Will try the synth

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

                      DanHD Matt_SFM 2 Replies Last reply Reply Quote 0
                      • DanHD
                        DanH @DanH
                        last edited by

                        @Matt_SF yeah same behaviour with the scriptnode synth. Can you get a combo box to load sample maps in the granulator successfully?

                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                        https://dhplugins.com/ | https://dcbreaks.com/
                        London, UK

                        1 Reply Last reply Reply Quote 0
                        • Matt_SFM
                          Matt_SF @DanH
                          last edited by

                          @DanH said in Scriptnode: Granulator:

                          @Matt_SF yeah I'm using it as an FX at the moment, maybe I should do it as a synth instead. But as an FX it was working fine, I was able to load the same sample map as my sampler and blend the two sounds together. But then it stopped working, no idea why! Will try the synth

                          I'll try today ๐Ÿ‘

                          Develop branch
                          Win10 & VS17 / Ventura & Xcode 14. 3

                          DanHD 1 Reply Last reply Reply Quote 0
                          • DanHD
                            DanH @Matt_SF
                            last edited by

                            @Matt_SF Thanks :folded_hands:

                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                            https://dhplugins.com/ | https://dcbreaks.com/
                            London, UK

                            Matt_SFM 1 Reply Last reply Reply Quote 0
                            • Matt_SFM
                              Matt_SF @DanH
                              last edited by Matt_SF

                              @DanH There you go :

                              HiseSnippet 1560.3oc4X07aaTDEeV6roMtEoVnGpDbXkEGbDAK61RA0JTrShcwh5Tq3PTAgTYxtisGxtyrZ2wMwT0S8TOyEPbobj+A3.m4BhKUbfybfdBIDndED7lY1ubiqqqgFPvVolYl26MueyadeMtS.2lDFxCPFKs8HeBx3jlcGwDCVe.lxPs1.Y77lWI.yF5hE7.KEMzZi7wggDGjgQ9qH4yXoEPpueY00vtXlMIcIDZGN0lbUpGUjtZmZuM00sI1grM0KC2WnVKaNactKeHfo7lUP9X68v8IahkrkyDYrXCGJfktBrfDhLVXMtyntC36yz7uCMjtqKQNoJpKrQ5kaxccjHVNFs9.pqSm3ydHBYX1I0RjWaINiYapCMY8TKxoTDrRkHq8vH23vK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MLoR5MByTIstqKeeYmdznH.v9nVqC2cTb9KibZNhQccO9PYagZn+V3vswTWIa6PBBUaxwLqTF9GDtroJ4jYSrMXbG0ACk1g3NYCxvcD77J6LIQdLXbrWZBDiKNqsT.z7TMoJewd9Lc1pSeImAWz4jZ3jlsB2QR0F6h1Q2lLbDj6o1lowpl09I+VDnCA9.R4LjmW7IIAUUNHt47LcYjcF3K1h4PNHdCa.8V3.NcJwhbBZSYQmGMOswGL1bTGb.1i.udV2jP7LXbpnoY4REOM.oqf32k9QiwW28H6qMNiUOCreEL6vgPLoyPxN8sediu7g+9WuJZ5p+GV8vpGUalT+893J+nR8GSmYOU2+byW56evm7vmjtuPsCq66V6o6neB4OiEkoDHYqNu76EtSMzydSu7Mb5zaIazm8oxuuY0i.sebyt9AvC7RU9cq+AO39E+oiFkuAQLjkwt+aewu9cs28dqNV..ZMNeOOrJS4b833ij75dX6.9Mr0OoPF1db0JPRDl5WnbIy1x4VIu32TlzE4A8zeCaaYCCuZUDZxxbt4PlyOGxbg4PlWaNj4hygLu9bHyaLUYjOmp9PA2SWJEVnSCcVZiFLLz8fpDA5OQSlAzq
                              

                              Thanks now I have to spend time using this :)

                              Actually the scriptFX Granulator doesn't produce any sound... (seems logical since you have to load samples in it... It doesn't process incoming signals)

                              Develop branch
                              Win10 & VS17 / Ventura & Xcode 14. 3

                              DanHD Adam_GA 3 Replies Last reply Reply Quote 0
                              • DanHD
                                DanH @Matt_SF
                                last edited by

                                @Matt_SF well done! ๐Ÿ‘

                                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                https://dhplugins.com/ | https://dcbreaks.com/
                                London, UK

                                hisefiloH 1 Reply Last reply Reply Quote 0
                                • hisefiloH
                                  hisefilo @DanH
                                  last edited by hisefilo

                                  Hi mates. following this post for a while. Anyone can tell me how to make the granulator polyphonic? If I use it on a Scriptnode Synthesizer and play more than one note it turns into the Glitchfestยฎ 2022 ... any help?

                                  Matt_SFM 1 Reply Last reply Reply Quote 1
                                  • Matt_SFM
                                    Matt_SF @hisefilo
                                    last edited by

                                    @hisefilo no idea ๐Ÿ™ƒ it's glitch fest here too

                                    Develop branch
                                    Win10 & VS17 / Ventura & Xcode 14. 3

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

                                      Guys the granulator is already polyphonic by design so there is no reason to use it in a polyphonic context.

                                      hisefiloH 1 Reply Last reply Reply Quote 0
                                      • hisefiloH
                                        hisefilo @Christoph Hart
                                        last edited by hisefilo

                                        @Christoph-Hart then how can I do to play a chord? I get the notes played in arpeggios not chords. Sorry too newbie on granular stuff. Maybe this is the expected behavior

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

                                          @hisefilo Turn down the grain size and increase the density. A granular synthesizer (usually) spreads the grains across all held notes.

                                          hisefiloH 1 Reply Last reply Reply Quote 2
                                          • hisefiloH
                                            hisefilo @Christoph Hart
                                            last edited by

                                            @Christoph-Hart will do!!! Thanks :) :)

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

                                            55

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.1k

                                            Posts