HISE Logo Forum
    • Categories
    • Register
    • Login

    Drift.... and how to design it....

    Scheduled Pinned Locked Moved General Questions
    14 Posts 5 Posters 167 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.
    • LindonL
      Lindon @Christoph Hart
      last edited by

      @Christoph-Hart ok thanks I will give this a go...

      HISE Development for hire.
      www.channelrobot.com

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

        @Christoph-Hart - well clearly I have no idea what Im doing here...

        HiseSnippet 1779.3oc6Y8zSbbCEeF.SBDBIshlzJUUMJpGZqhPrKjD3DKrK+qMKYCCgzaQlY7xZwL1S83Ax1pJ0ppJ0uB4V+LzSsmR+.zJEodoG68dIm6kV6wyrqmcVXgsDBzBQJfe1O6e98+mmZLpCJLjxLLGcylAHCyw.1MI7Fka.wDi0pXXNNnJLjiXVJRK1L.FFhbMLMGbEIAyQFxH9mWN+hPOHwA0ljgwVTrC59XeLuM0Zk9Drm2xPWzlXesUOSo0bnjxTOZj.OCBlxH.5rKbGz5P4xF.XrJLrgg4GAJVeamh0u2zyVXtBycuYlqPg6L61yLUQG26L2zSe2ocqWbV3cmUvzvK4h4TlMGxQgFlCsH0socC59D0ArENDusGRNnfgs3jUjWl54Juhx+1nbCrmasTAUnggInVaw1fJw1DfpXWbK5sEeWOdBq1bnK.MG3vfWAc3MUWgWgt.OCMzMjBcBPPci7f7rHSp+Rl.SypZWivQjPLuot980JbeCPML2oQ2w6.cAuBE0qZ7ln7uJXo50QN71fcHvxe5oql9xGf66M.ebTHeMRYXHpLkvEzQrBmDtwAGY2XyAuvK7Buv+O3EdsLdgqvnQAwHYBEATHNTjIMl9orO3RDn3lsbU8crLjwvH1ZDWzS0N7m2RumalGQvgTBMFJK3SiHbcPmLaEDOhjA5ISXGvPPWcNjn2FIfpa7VFlwNuinFfCVYoG0Hq6j156Q3jKcQ3jdA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p1fVayF+368s+4C+84OPSSMYyvf.Db2rBlqnxwDOQdoRBG8PjLTFQR65f2Dx1AwOML.NjA8QV5Eozc8gw0cY7n0RAcRYYZan.1n8vNHUcriHZFLbWNM3r5KQ2qNYkOQqr55y7Mcqdz3yHP8lJndEvig6gheR+XT9VwiqSY9VqfDEclugkruu+KN4ee+G3vEPXSFjDFPCQExDgA4i2jRPgYn1AGE6JGEylQTZ0THOoLqRJJVVHJzV2kKkRrnNwZPRlMSLNyNUEq8wG9i4UeBC0mK3AsqCVS+WKxKD8XrKuQAcFaStnN4UgLWgNLSKjc9QG56F6DUDew2S3+XuNy49OO4gqoEtaVmazz2DHBATzJVca85WeuAMhiI6TExYxfVf0i7sEwlcRepkvzWYIY7To0VYiHtSkVmSxjEjiMSlrPqhft3LN5mgOzgQehi5U7jgiubLEg9ijzAPU4XqBF60YQz9hPwOwwI6Vkiwh8KiS2uLNS+x3c5WFua+x385WFms2LJyTtPDm5q72EUITaIUuBlpBDhc8M9Gft1FaD
        

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon https://forum.hise.audio/topic/8527/polyphonic-lfo-2023

          I found this thread quite informative when thinking about polyphonic LFO's. Seems like a similar use case for you.

          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

            @Orvillain well thanks for that - but Im not thinking about polyphonic LFOs _ I dont want an LFO - I want a random pitch offset value for every note played...

            HISE Development for hire.
            www.channelrobot.com

            LindonL d.healeyD 2 Replies Last reply Reply Quote 0
            • LindonL
              Lindon @Lindon
              last edited by

              so this is as far as I have got, so Im generating a random number - but Im not even sure it's being applied to the pitch of the note, or how to set the depth.....

              HiseSnippet 1492.3oc0X0sTaaDEdks2PfDxjzIsS6c5hbQRmLLV7WfoWv+j5owfGjCo2QWjVi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CLTcaBKPalauXXbG+84tfwIserpdHUFm7hmBWeN3WP62KISapcIdvMteKBzlCBhzSPAgTT4bdCBsxAZQwR6eVuIrkoqRXn9RqGxWyZsHRXlePj0SOUwL++zX+Tg2pZgoqLgP5m.Urh9PeLtQ7g5c8HAnC05j9kfzmZRugT3aL8LcW0iNlvOAU5977j6Cn3yUvhq4k3WvptrX6XVnNtkFaq5RsSdM1wJhTYGNHUyFNEOZjx9391w.0y3mXrVCa6y6R41jTW0uQs2vwaHjxfOsT.zxpD6fxSqaSjmPUwoCoxodl.lD4rgulfgoC7EgNnAzud4ovFNDUPTzjd1SPdaSFOkmySiZR93kV6Eq6pnQtreq7zGmRO2v7kZFrc9AOzqdidJQHQYttoseFxHjQlefILL6lURie5.M1rcY8MMnKyywGzNwj9rXOBTX3Hk9u2SD+EqcGQ7WEWWTPpfJjeU91Uh7+5AjeQSFVAJ+JFuJTHIn1DpGXbTH4JzAcUz.5Gy9O8ZqQT7fOoq9v8oeTCr+A9YGnQgO.mDy0n6KScLIAxvJkzuYGne5sFV2LtbayZJyYU+eOmU.fSML.u3Ou8.bFbS.Frnf9WFi+8ZiFiWr1mAXgwa36eYD8o0txpyE0UzlBwogjjQct0eSJS9WAvcyP2GH5oft3MIvnm5ZA60KzEB+8xF9JNatqzmqmkX3Bs+qmU7HcSG8yVoa5js4mkyHj3IEGkliqS9dXxJv8lm1Yro9YaGzYWVbCg+e5i77J+pFxw4mTGWXRcbwI0wklTGWdRc7MSpiq7e6n9q6Hspkt2GT0r0NllTV6v0cxRxNP+KIGLXIA
              

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon said in Drift.... and how to design it....:

                I want a random pitch offset value for every note played...

                Do you want a fixed random value for each note, or do you want it to drift over time?

                @Lindon said in Drift.... and how to design it....:

                how to set the depth.....

                0561ffdc-c8d5-4671-90df-bf97f7cce646-image.png

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

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

                  @d-healey I want a fixed random value for each note....

                  on my machine moving the intensity slider as you point out shifts the entire note - set it on 12 and it is always 12 semi-tones away from the played note - not some random value between 0 and 12...

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon

                    I went over the top and fully modelled VCO drift a while ago including the interactions between voices.

                    You can collect pitch draft data from synths by holding a seriously long note, and then running the file through praat and creating a csv of pitch values. Then use python scripts to organize and clean it up.
                    You can then use Matlab or python to analyze the data and figure out how to get a match.

                    ... Or just use the values as a LUT
                    Real analog oscillators have a kind of vibrato as well as slow drift. And they also have moments where they quite suddenly bend out of tune.

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

                      @griffinboy said in Drift.... and how to design it....:

                      @Lindon

                      I went over the top and fully modelled VCO drift a while ago including the interactions between voices.

                      You can collect pitch draft data from synths by holding a seriously long note, and then running the file through praat and creating a csv of pitch values. Then use python scripts to organize and clean it up.
                      You can then use Matlab or python to analyze the data and figure out how to get a match.

                      ... Or just use the values as a LUT
                      Real analog oscillators have a kind of vibrato as well as slow drift. And they also have moments where they quite suddenly bend out of tune.

                      Well thats very clever, but first I'd like to get this simple case working.

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @Lindon said in Drift.... and how to design it....:

                        I want a fixed random value for each note....

                        Add a random voice start modulator to the pitch. No need to roll your own system.

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

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

                          @d-healey yeah that'd work - I guess I will leave my script envelope experiments for another day .... thanks.

                          HISE Development for hire.
                          www.channelrobot.com

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

                            @Lindon d6c4b1cd-95ad-45fe-b286-5bc0209153e3-image.png

                            This creates a per-voice random value between 0.0 and 1.0.

                            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
                            • First post
                              Last post

                            29

                            Online

                            1.8k

                            Users

                            12.1k

                            Topics

                            105.7k

                            Posts