HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode: Granulator

    Scheduled Pinned Locked Moved General Questions
    63 Posts 12 Posters 5.3k 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.
    • 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+Xvq5iCdS.RFYfjoFRm1rqc.0WjRQhmSX1hIHA8vfYOKT1bnW8gNTdSpqDIlFFfAVuAnbeUNy04fXLQYO7djlAvjjsozEqTYEK3+V9xEJ.2GgBKrbmrdSqFr9TForc.ANe0YNaQ5SCAwRzTIoPZYtINvJT5w.xo7bJ2mHTL1E646RRNFkJpgEi6PTbRBogjfpES0uG1OTtMJACjajdXar+UA.TJkyPWt.3LbLElfrLPact2t703GTE3N1V.7CK6yYvjRES3PBjjIkCI.Mpf3EVbEqhSglDzk+PNkUp36yJtrT8TlKX+r5MjYKnblkzYORVIFB3tkriAvJ.LcGRVtvsJrj7TU1kicTmjh255u66coKkXBtcQqWwJQN4onE.gsIG.FFPq2FT7XPLRUqicc2EhuJcXTr7ky.wM4Bx0XkT.ovsKX8nj50ahzh1J39ZhjkQ9ASSvRrgd6RBxZFjLBw7iGis3rEiYquiyvHm0hQEWymDMOMIQ0IDQhhbRjwlQHDXUnhLOUTjYrYDQcjAlIVUj5HjMQI5cZsAVfi2LXeAc4SBDT4QxXCxMgrl5v9kL2fDtmf6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JEVnSCcVZiFLLz8fpDA5OQSlAzq
                

                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
                              • modularsamplesM
                                modularsamples
                                last edited by

                                Is there a way to get round the very short, seemingly "baked in" release time with the granulator? Regardless of envelope settings granulator has approx half a second of release, which isn't very much..

                                Love the granulator node, having lots of fun with it. I kind got round the polyphony thing by have 4 independent voices, still a little glitchy though :)

                                Link Preview Image
                                GitHub - publicsamples/Oi-Grandad: 4 Voice Granular Synth

                                4 Voice Granular Synth. Contribute to publicsamples/Oi-Grandad development by creating an account on GitHub.

                                favicon

                                GitHub (github.com)

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

                                  Hi mates!!!
                                  I have problems embedding Audio Files for distribution. Granulator does not find them compiled plug-in.

                                  The only way I made it work is to create AudioResources.dat and place it into AppData folder.

                                  Is there any way to embed audio files for the Granulator as like IRs are embedded on Convolution Reverb?

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

                                    @hisefilo I didn't try using embedded audio files for the granulator but I guess you could do it using the FileSystem API... The samples won't be embedded in the plugin though
                                    ... But why not using samplemaps ?

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

                                    hisefiloH 2 Replies Last reply Reply Quote 0
                                    • hisefiloH
                                      hisefilo @Matt_SF
                                      last edited by

                                      @Matt_SF My plugin will allow you to load custom .wav and also to play embedded ones on the AudioWaveform component... don't know if I can do that with samplemaps

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

                                        @Matt_SF quick sketch

                                        Screen Shot 2022-07-02 at 12.55.13 PM.png

                                        HiseSnippet 1725.3ocwX07aaTDEeVmrIMtszVIJmsp3PpHDY2FJH5g33uJlVmrJNjFoJTzjcGGOJ6Ni0riiiaUk5gh.tUI9Gn+IP+6.IN.m3Ff3FW3FGKuYlc8t9i7koTbjRxLu2aleuueicDbWRXHWfrVXq9cHHqKY2rOS1tbaLkgpWAYcEaIITtu.y55iEqfJ0uCNLj3grrl4dJlrVXVj9yesZIrOl4RR1Bg1lScIOfF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y9z3DdaqJYPn3jcaqsT0DGuIJz9l6ACxHGtmtZPlHBpbxzMRUcKAOore5AcFsQ+rmsF8m7bHmU3dMaGpzs8jwalIfWU2p+iwazXSW1tZqVDWYBXm0t1Nm3LRmanbpyKYavR13pn6nAxPEiSCHHcLYfGUniJxId7ouwNYPjNBBTDmrE2wG2eQSmGHakrTt874tGnZEL9zKQMDJo3XQ21XFi3GNMC4L2YdzxBm3nknM4cUcPZfkBJz.wFz+lPAdWR4HzorAYTy5XVmOd.ilDlmdwqgOQDKLvfADKDSLYLIz5DYOt3.sOJ5+Acw3PB0F4cacTAzZ997dpNgznPZvwn2yg62uSaNi5p1xvQLRWK.pDHig6mgC2BS8U4.aSDg5CYd67KC+.w+qy8.iyb0vtfQruCVUy3Z1pY.gHUhXY2AQrCgqgBTfiHtEowh.vIP23FdZhxW3D2iWMiTFqYRMyjIDUsBRLyXtm5gaqn5h8QaaF.CTD0sXrVFDaFxO.dzgAhCoAWOkFjvxYGzwYUPZ4aLvdI6nGKBvDMl8VPVNE4+8HUO9jO4n3oUSkJmdETmIZHQyQWERx7fCTKVTTaCJKRyL7z.ezf05ApS4dAccvJHLKQzjZtIhmz2n4viLp+z7.ROiYJMmJKYpoDGbR+bi8t5N8+oUWqqjG.kBz07Qovxbiikec0wwBp3YBKu76x+GZrLuooCZLU5Tt6UJN9c+sEOe1gKZeOADWqEXjiZqhmx8+lvOndgiok5XG9aga+B1MgNOXu+mt7JDYWF4jt7vQV.EORgqQBjeyCyAhl+qeue4G688qpexJinarFF8B1nkQMBLONKUcHmi6wYk37CBv59WS0SheqzsM.6J365ZFfPowWPuCLA.S+EmsfcC05bCdmuspsHR0vXWWW0LZeHLe2jk4VSgL2dJjYkoPlOZJj4NSgLe7THymbhxn9NDipfqCyPMbpZZEYUkgg43zc5P+y4Poq6
                                        
                                        Matt_SFM 1 Reply Last reply Reply Quote 0
                                        • Matt_SFM
                                          Matt_SF @hisefilo
                                          last edited by Matt_SF

                                          @hisefilo no but you can do that with single samples :

                                          HiseSnippet 1377.3ocuW01aaaCDlxILswsCnEX+.z7mbARMrSaSRwvvRhicW1ZRLhyB5VWQ.iDcLmoHEjnahWQ+994t+.Ca2QJKI25jl4sUWfhb7dgO2w6dHUuDc.OMUmP7V8jIwbh28o8mnLCaOjITj82i38UzWjvTikLiNwu6q7SYQwRdDK1WpYgB0EjcmDyRS4gDOukdA5l2pKSr+9iucWljoB3EKQHmpEA7WJhDlhU6s8OHjxtrP9IhnRV+zs2OPqZqk5w.DWh1jDyBFwtfeHCMqBk3sRmPA.s9FlgmR7VdWc3j9C0Wpb1epHUbtjiBsH8g.4VtqVFhHFWkzdnPF1aZoHk.QoWQgYIWg4KoGHBE4qWTfdfUgegGkqGdUlEdKMC7ZUFdMKAu4.IuRPh5fzCo8CRDwlBMHdtGcekgmLfAk8xP4vwQ6LNTn6JjHRnddPA1E.Rk+rBssFbSYZDwFw6l.B4go9FMatlO7eO5qqVENORM9LLR9eieG0EBEuQPBGxucTgGyuPjBtkuS0Qmb97VVhua+59pVfu1FsFWvMVi6a6qxSk50blBsbspUruttuTv6WW6c8N9nuuS6SNq6QubuNG+dmNEzYbVqFWxdas0ptJ7y+lLb8aqgOwZ3aJ.hTavbXZ9jmG4IcortsN5b8t5qvrdZYFrGVNVq.g50xs.y0bgFobPmvviRqslesaPWVcowupEp509EUsGgHPnjvoi+fwp.iPq7wQoL2QXjnk0Clhg0.jJGyeT02UcUL4Zfi21jIK1u1p+wsdCD42CAeFjjEt1Lo7bXBs9GuSfWkvwgZC+HUc6tU88U8+PUCFLWcYwRxSlqZj7H4lbrtZbz47jx4JZHLvO6XJ85GSKyhD3NKKYnVsuRXNJlqtNtERVC.NRmgJvTicf9AYCzSqcDQHNOmWJIVXWlek7i6uGyvlFLHtvdEySLBLM71i+Vfr0wVrJcOd5HiN1Za1oNvedK25qx21s+4smTfgeZ6H1UHcxRffscj3ER+TylU+TyjU+TyhvkFEDhKeRVRbfNzcUUY9Y7RoLEP2vLjhHGmJUXlTtn9eFo8sEhOj1SXBFNeLVYNXDNu++.iYW08EzNCFvCLE.bYZ2W846dspzozp1M+9zhqBt02n486zh4+3DdLKgehtmjMIiO6X.3q4etTGLpu323eLoQrCW6hVTOXHSo3xzEgaYkacop0MeRcrdrAdv0ALSh.G4f7uO7vn.d6Lzg0fJHEiStIJiMK84pPqveA+xT1JufAJaMUYA6D4Pt4RcxH6YT1eC4h6.I0VjOa.vKbJOIE6X8tCsYC3ejcjR8kHAiHqWFNorq0SKmDOTqDA3RNKlB8chziQ1HG9+NV5ILgDa98pbnNDJNztr.nHNoGyLDGXPpWn6jmzHHuKcFbUznfUSLHSeFoql.6ejk.DeD4RndWl51MW3tH+kujOZ6S3MJo9e1tg4tje0Tl6RMwkkHH8TH+JWLOPnN0w9akXWkI4hOoGKAnFgWdgwXkbIXzsvQJdBU1UZKPFS0pzdZfgAOslwVRo.QmMPOal.sNXb+Q7KckI70xMarwSZ970e9larUysd1S274aZ2o63n5Hy.Ax7w6Jz0mEv2gtUylYP9d32kHT3rKI29sZd8Q65yd7lQGA60l72p3bWZefogE9uNL6wMiU7OLLEWrO6w8LZr7onDbaQEWW79omhZCXxoQDFx1UqGEwri2KzaH9rPFEwBRzmE33Wwj6t1UfQ.k86+Vkd.J6m+vHWoJB9dryBBvqsdL7Dr46y5KfOOYA74oKfOOaA7YiEvmMW.e15F8A+T3cFazQNpeXgdcrMWddcTL3ZN6E2j+FPEhVow
                                          

                                          However if your user is working in his DAW on a project and he uses one of his own samples, will the sample be 'saved' (I'm thinking of the sample path) into his project ? Otherwise he'll have to load the sample each time he loads his project.
                                          You should probably implement something with the FileSystem API...

                                          EDIT : this is the function with which you can load single embedded samples into the granulator
                                          EDIT2 : oops, little function fix

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

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

                                            @Matt_SF thanks mate!!! super useful! Have to decide how to proceed then.

                                            Also I faced a bug that limits my scope. If user loads a .wav shorter than the GranSize, HISE quits... don't know is theres a quick fix for that @Christoph-Hart

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

                                            22

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.4k

                                            Posts