HISE Logo Forum
    • Categories
    • Register
    • Login

    Global Modulator / LFO always retriggered ?

    Scheduled Pinned Locked Moved General Questions
    28 Posts 9 Posters 828 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.
    • Christoph HartC
      Christoph Hart @Orvillain
      last edited by

      @Orvillain yup, should all be doable.

      Monophonic VS polyphonic (is this even possible?)

      Just make it an envelope then, that's polyphonic by definition. You can always switch envelopes to be monophonic (including defining its retrigger behaviour).

      Free-running VS sync via sub-divisions

      Also no problem, for the synced LFO this is your best friend:

      Link Preview Image
      HISE | ScriptNode | clock_ramp

      A ramp signal generator that is synchronized to the HISE clock, producing a ramp waveform for modulation purposes.

      favicon

      (docs.hise.audio)

      Retrigger on/off

      There are multiple ways to go about this, you just need to make sure that you can somehow bypass the processing of the note on event. Of course in polyphonic mode this will always retrigger, but if you set a envelope to monophonic and ignore every note on message, it will just run.

      modularsamplesM 1 Reply Last reply Reply Quote 1
      • modularsamplesM
        modularsamples @Christoph Hart
        last edited by

        @Christoph-Hart said in Global Modulator / LFO always retriggered ?:

        Of course in polyphonic mode this will always retrigger

        Some way to have polyphonic, free running modulators would be awesome. It's a really nice effect.

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

          @modularsamples said in Global Modulator / LFO always retriggered ?:

          Some way to have polyphonic, free running modulators would be awesome. It's a really nice effect.

          what is a polyphonic, free running modulator? polyphony is tied to voices, so when no voices are rendered, nothing is there to be done...

          OrvillainO modularsamplesM 2 Replies Last reply Reply Quote 0
          • OrvillainO
            Orvillain @Christoph Hart
            last edited by

            @Christoph-Hart said in Global Modulator / LFO always retriggered ?:

            @modularsamples said in Global Modulator / LFO always retriggered ?:

            Some way to have polyphonic, free running modulators would be awesome. It's a really nice effect.

            what is a polyphonic, free running modulator? polyphony is tied to voices, so when no voices are rendered, nothing is there to be done...

            Only thing I can think of is, having the modulator continue to render in the background so that when the voice is re-triggered again, the modulator phase picks up the latest "newest" value, but still on a per voice basis.

            But I would guess this is a pretty edge case thing.

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

              @Christoph-Hart Orvillain describes it well. Think of a traditional, analogue oscillator. It is producing a continuous signal from the moment you turn it on, the only reason you don't hear it all the time on, say a minimoog, is because it's passed through a envelope controlled VCA.

              It is pretty niche admittedly, but it would open up some interesting possibilities (modular, classic polysynth recreations).

              Christoph HartC griffinboyG 2 Replies Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @modularsamples
                last edited by

                @modularsamples you can replicate that with a monophonic script fx and an oscillator but when you do this polyphonically it just boils down to randomizing the start phase which isn‘t the most spectacular sound.

                1 Reply Last reply Reply Quote 0
                • griffinboyG
                  griffinboy @modularsamples
                  last edited by griffinboy

                  @modularsamples
                  @Christoph-Hart

                  I've done it in c++

                  I keep a global timer, and for each synth voice I remember the phase when the voice stops.

                  When the voice starts again, I look at the last phase, and the time that has passed, and I can make the voices start at the phase which it would be as if it had always been playing

                  It's the only solution I could think of. The reason being that hise voices inherently do no processing at all when they are not active.
                  This means that you have to resort to keeping track of phase yourself, and doing all the bookkeeping.

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

                    @griffinboy forgive me if I'm ignorant, but why?

                    griffinboyG 1 Reply Last reply Reply Quote 0
                    • griffinboyG
                      griffinboy @Christoph Hart
                      last edited by griffinboy

                      @Christoph-Hart

                      If you wanted vca to act like a gate.

                      Imagine that you have a saw wave polysynth.
                      Hold down a chord and keep it held.
                      Because each voice is a different note, you get the phasing effect, you can hear the held saw chord coming in and out of phase.

                      Now, play the same chord in a rhythm.
                      The phasing effect stays continuous and doesn't get reset. The envelope sounds like a gate on the phasing chord. This is the effect you'll experience on an analog polysynth.

                      Whereas, if it wasn't free running, the phasing pattern would change every time you re trigger the chord.

                      There is no reason to do this other than analog emulation. Admittedly, free running oscillators make bass sound loose and worse. But it does sound really nice on pads since you get this feeling of continuity.

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

                        @griffinboy yeah, but what's the additional benefit over just randomizing the start phase when you start a note? I get that you might want to have phase randomization between notes, but my gut feeling tells me that there is almost no perceivable difference between randomizing the phase and meticulously keeping track of the phase of each voice.

                        griffinboyG 1 Reply Last reply Reply Quote 0
                        • griffinboyG
                          griffinboy @Christoph Hart
                          last edited by

                          @Christoph-Hart

                          It's a big perceived difference in my opinion.
                          I can make some sound demos if you're not convinced.

                          Christoph HartC modularsamplesM 2 Replies Last reply Reply Quote 0
                          • Christoph HartC
                            Christoph Hart @griffinboy
                            last edited by

                            @griffinboy sure, please.

                            griffinboyG 1 Reply Last reply Reply Quote 0
                            • griffinboyG
                              griffinboy @Christoph Hart
                              last edited by griffinboy

                              @Christoph-Hart

                              Link Preview Image
                              free / rand – Google Drive

                              favicon

                              Google Drive (drive.google.com)

                              I thought the difference was significant enough for me to want to model it.
                              Then again, I am a perfectionist when it comes to audio things like this.
                              It might not be significant to others.

                              But in some cases I do prefer the free running over random phase. The overtones in the highs have an evolving pattern which your brain can follow in free running, and I find that pleasing. Wheras random phase gives a chaotic and hard to follow pattern.

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

                                @griffinboy said in Global Modulator / LFO always retriggered ?:

                                @Christoph-Hart

                                Link Preview Image
                                free / rand – Google Drive

                                favicon

                                Google Drive (drive.google.com)

                                I thought the difference was significant enough for me to want to model it.
                                Then again, I am a perfectionist when it comes to audio things like this.
                                It might not be significant to others.

                                But in some cases I do prefer the free running over random phase. The phasing in the highs has a clear pattern which your brain can follow in free running, and I find that pleasing. Wheras random phase gives a chaotic and hard to follow pattern.

                                IMHO, it is extremely noticeable and having a way to support that behaviour would be excellent.

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

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

                                  Do we have a way to prioritise these sorts of request? - not nesc. an order that Christoph might do a thing - that's up to him - but so we can see its relative importance to everyone. Im sure we had an approach I just cant seem to find it. Essentially so we(well me really) can say "Hey this sounds sorta esoteric and only applicable or even audible to a very few people - whereas MSEG envelopes might be considered more useful by a broader audience....."???

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  griffinboyG 1 Reply Last reply Reply Quote 0
                                  • griffinboyG
                                    griffinboy @Lindon
                                    last edited by griffinboy

                                    @Lindon

                                    Yeah, the feature request system is quite messy.
                                    Not to mention there are bug fix type requests as well as feature requests. I'm not really sure what would make it easier though!

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

                                      I still would like a proper bug/feature tracker, the github + forum combo isn't the best

                                      Libre Wave - Freedom respecting instruments and effects
                                      My Patreon - HISE tutorials
                                      YouTube Channel - Public HISE tutorials

                                      dannytaurusD LindonL 2 Replies Last reply Reply Quote 1
                                      • dannytaurusD
                                        dannytaurus @d.healey
                                        last edited by

                                        @d-healey Could all be done on GitHub. There are Discussions that can be used for proposing and discussing ideas. It also has a voting system. Then the issue tracker can be used for formal feature requests.

                                        Discussing things on the forum is great, of course, but a single source of truth for feature requests and bug reports would be really useful.

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

                                        1 Reply Last reply Reply Quote 0
                                        • LindonL
                                          Lindon @d.healey
                                          last edited by

                                          @d-healey said in Global Modulator / LFO always retriggered ?:

                                          I still would like a proper bug/feature tracker, the github + forum combo isn't the best

                                          yeah sure - but one with a voting feature - so at least we can see who really cares about what - as I say not any indication at any time that the heavily voted request would get done....

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          1 Reply Last reply Reply Quote 1
                                          • modularsamplesM
                                            modularsamples @griffinboy
                                            last edited by modularsamples

                                            @griffinboy @Christoph-Hart said in Global Modulator / LFO always retriggered ?:

                                            @Christoph-Hart

                                            It's a big perceived difference in my opinion.
                                            I can make some sound demos if you're not convinced.

                                            Sitting in front of a friends Matrix 12 (classic 80s poly synth) recently convinced me of the value of this approach, I'm not sure you could even call it subtle.. the variations in phase and pitch do something best described as lush. Most hardware VCO poly synths (or serious emulations thereof) should behave in the same way.

                                            There's at least one way to achieve this currently, by cycling through multiple, identical monophonic "voices" with a round robin script:

                                            HiseSnippet 3435.3oc6c0sbaabEFTRKkHhSrSp5L8RTM8BpXYZB9mjF2zHq+RzTKKFQG0L0SlTHfkhaDH.K.njU73Y5k8wnOA8pdQuKuE85z2f9Fzd1cAHVPBJ9mpsjyxLSFs+b18aOmyd1yteASp64Zh88c8Txn9hq5fUxbOTiqbBZsSKChixA6pjYYzwtccrN18ThygtNtG4a5qr8UcL78wVJYxL+WP6YlbKnv98e97sMrMbLwwUonbhKwD+LRaRPbs0252Srs22vB+BRagdWYqCLcc1w01sKfp4QEU5XXdtwY3maP61bHkuzvukRlOEUsTYyJVqaUpT0MqYZTCuYSilM0KaUoRsM1Tu7lFU1nFtXUkLY2yhD350HvH.6qjYgscstpQK2Kc3SvIDexo1XZAckFvLyqdeWaK5RjVqxNsH1V0iTW9JJYVpdrxadtxaYzgDKRu5iUhOf0fVrDhJvLykDdym.d5hvqn.7RARYDfzBbH8wnFldjNAwsPwyGfNvI.60z.rShPg2Wk49apncbgd3DTnsw4388fB8jHud0hqoUtXwUehppJXr7CztvvS6jcNxW6yzdIyApvY3f8Z1DaFjekiZri9JqtlpVzuz5QoQ1ixirGUVY0u8IzFAbQbrINXslccLCHtNZtN6BqBLcY44Zm2zscGnnSvZ.1s6hWU80p4Z55k2Ri3vVJq1atrJ3iCdZPfG4ztA379E183id9dQB9D02.5gH0E.nchF57qvlxUVkJe3Duigs8ofCc9j3goJUe7i8n60z7na1D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OJ4eTx+nj+QI+iR9Gk7OJ4eTx+nj+QI+iR9Gk7OJ4eTx+3sB9G+ou5e92+bI+iR9GuSw+XYI+iR9GmZ9GKeWf+wGLi7O9fYh+wGH4eTx+nj+w6p7OVVx+nj+Q.iR9Gk7OJ4ebp4eL6sA9GuMwzH5lhoQwAcgolUwIdTRiAQIagR1BkrE99.agKLirEJYFTxL3MNyfKLiLCNyG+NTV.uoNXu+7E94.GenaLN9tcxp2BSOqdisa0jvi2XxYG5FiytaA7y8I.PpUc8MKt955U1nR40qpbahnNI4bRx4RkbtJRx4jjyM0jyU4t.4bKOijys7LQN2xRx4jjyIIm6tJ4bUjjyIImS9wAJImSRNm7iC78mONvrSAMdwIDjl0VXUkYd4WKnj+OI+e+7j+ugElP9ECJ4ET9ECJ+hAkewfxuXv2S9hAieRuaye0f+olM+WxuZPIwj2FHl7swbz1vzy86Bu5G0sbIVMv51ILp3gzxZo7+TfoWF76LMSNTCHXooUvxSqfUlVAqNsBVaZEb8oUvMFsfTdPCOjgFiBx2n9d7qBkgSrL+wG9evUTMqb
                                            

                                            Easy enough as a snippet, but things can get tricky using this approach in more elaborate projects as everything needs to be duplicated for each voice.

                                            What if there was some way to "clone" and assign voices without the need for additional stuff in the module tree? Maybe aaronventure's "continuous per-event modulation" snippet shows us the way.. IDK. Seems it would have pretty broad applications beyond fancy VCOs.

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

                                            32

                                            Online

                                            1.8k

                                            Users

                                            12.2k

                                            Topics

                                            106.2k

                                            Posts