HISE Logo Forum
    • Categories
    • Register
    • Login

    Granular Engine

    Scheduled Pinned Locked Moved General Questions
    55 Posts 8 Posters 3.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.
    • ?
      A Former User @Christoph Hart
      last edited by

      @crd

      I'm currently working on multisample support for this (and the other file-based nodes) so you can drop sample maps and SFZ files in there.

      I think Christoph is working on this actually... This looks quite promising to me honestly... I mean the whole SNEX workbench thing is quite awesome I find... Not that I am on top of things yet, no, but there are tons of things you could do with it...

      I was actually also trying to look into a more controlled way to handle voice count in my engine... still working on it.

      C 1 Reply Last reply Reply Quote 0
      • C
        crd @A Former User
        last edited by

        @UrsBollhalder

        whoops... sorry I missed that. yeah, that sounds amazing! The option of being able to work with all the DSP stuff is definitely exciting.

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

          Anyone know where I can find the code for the Granulator to paste into a SNEX node? :)

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

            @Christoph-Hart said in Granular Engine:

            This is a bit counterintuitive, but the granular node is not polyphonic so you need to use it in the monophonic slot.

            Granular synthesis normally handles multiple notes by distributing the (fixed amount of) grains across all pressed notes. So if you press one, key, 100 grains will play the single note. If you press another key, 50 grains will play the first note and 50 grains will play the second note (in a random order of course).

            However this means that you do not require a polyphonic system which contain a state for each voice.

            So:

            • put in in the FX slot
            • put it into a container.midichain node (this will make it process the midi data which is disabled by default for effects)
            • use the Position parameter to scan the waveform.

            When I do as you instructed, the granulator works just fine. As soon as I try the same thing in the scriptnode synthesizer, I get clicks and pops. Is there anything additional I need to do to make it work there?

            C 1 Reply Last reply Reply Quote 0
            • C
              crd @A Former User
              last edited by

              @UrsBollhalder

              Where exactly are you putting the granular fx when you get it to work? I am getting crazy noise wherever I put it using a script FX or script node synthesizer using a sample map as a source.

              (Unrelated, I have been getting good results with a script to limit the voices before a timer based granular script...)

              ? 1 Reply Last reply Reply Quote 0
              • NatanN
                Natan
                last edited by

                Have you Guys Exported Your Project With Granulator Node?

                Here Ableton Says That It Not Compatible πŸ€”

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

                  @crd I just did what Christoph said in his post... so in the midichain container basically... That does the trick. Also for sample maps...

                  Screenshot 2021-06-30 at 22.18.15.png

                  C 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @Natan
                    last edited by

                    @Natan said in Granular Engine:

                    Have you Guys Exported Your Project With Granulator Node?

                    Here Ableton Says That It Not Compatible πŸ€”

                    No. Not yet... I am playing around with it but I am mainly using my own Midi Script Processor that I wrote for the granular stuff... which works like a charm I have to say. And also I just don't feel at home yet with the whole scriptnode thing. But working on it! So Ableton complains specifically about the granulator node??

                    1 Reply Last reply Reply Quote 0
                    • C
                      crd @A Former User
                      last edited by crd

                      @UrsBollhalder

                      Sorry I should have been more clear, where are you placing the dsp script in the tree structure?

                      When I put it in as a ScriptFX, I am getting silence. It also seems to be sending a bunch of DC noise to the left out...
                      As a scriptnode synthesizer, it works but I am getting mostly just glitch. (Not granular glitch :)

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

                        @crd said in Granular Engine:

                        @UrsBollhalder

                        Sorry I was more clear, where are you placing the dsp script in the tree structure?

                        When I put it in as a ScriptFX, I am getting silence. It also seems to be sending a bunch of DC noise to the left out...
                        As a scriptnode synthesizer, it works but I am getting mostly just glitch. (Not granular glitch :)

                        Right now I have it in a container -- FX -- Script FX1... so no sampler, no nothing, just the Script FX!

                        Screenshot 2021-06-30 at 23.22.05.png

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          crd @A Former User
                          last edited by

                          @UrsBollhalder

                          Thank you.

                          Importing a single note works well. Using a sample map results in nothing but glitchy noise. Something similar to the granular engine in Omnisphere using sample maps in Hise would be incredible.

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

                            @crd said in Granular Engine:

                            @UrsBollhalder

                            Thank you.

                            Importing a single note works well. Using a sample map results in nothing but glitchy noise. Something similar to the granular engine in Omnisphere using sample maps in Hise would be incredible.

                            I remember having the same issue sometime ago… I am not sure what’s changed. Are you on the latest commit?

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              crd @A Former User
                              last edited by

                              @UrsBollhalder

                              I am working in the latest develop build. I'll keep experimenting with it... Using a single sample is working well. Definitely more CPU efficient than using a timer. Although I am getting more musical results with the timer approach.

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

                                @crd how does the timer approach work? Would like to start experimenting with this kind of stuff soon

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

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

                                  @DanH
                                  This is the thread I followed :
                                  https://forum.hise.audio/topic/3271/experimental-stuff?_=1625147982222

                                  The original snippet Lindon posted is working well in the latest develop branch.

                                  LindonL 1 Reply Last reply Reply Quote 1
                                  • ?
                                    A Former User @crd
                                    last edited by

                                    @crd said in Granular Engine:

                                    @UrsBollhalder

                                    I am working in the latest develop build. I'll keep experimenting with it... Using a single sample is working well. Definitely more CPU efficient than using a timer. Although I am getting more musical results with the timer approach.

                                    Well. In terms of CPU I am seeing different things...

                                    As for the granulator node: Try inserting it in the FX section of a container!!!
                                    That should fix the issue with the sample maps!

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      crd @A Former User
                                      last edited by

                                      @UrsBollhalder

                                      It can processing incoming audio rather than a loaded sample?

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

                                        @crd said in Granular Engine:

                                        @UrsBollhalder

                                        It can processing incoming audio rather than a loaded sample?

                                        πŸ˜‚ No... That would be quite something though...

                                        You put it in the fx section of the container and then you wrap it in a midi.chain node, so it reacts to midi messages. You don't need a sampler for this. But if I put it (talking about the scriptFX here) anywhere else than under the container, I get the same problem with sample maps and clicks and glitches...

                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          crd @A Former User
                                          last edited by

                                          @UrsBollhalder

                                          Got it... That's what I thought. For whatever reason, using sample maps is a no go but single samples are working for me.

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

                                            @crd said in Granular Engine:

                                            @DanH
                                            This is the thread I followed :
                                            https://forum.hise.audio/topic/3271/experimental-stuff?_=1625147982222

                                            The original snippet Lindon posted is working well in the latest develop branch.

                                            you should be aware that lindon has had endless problems with his approach - crashing FL Studio And Studio One - it helps if you defer the UI scripts tho...

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            8

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.1k

                                            Posts