HISE Logo Forum
    • Categories
    • Register
    • Login

    C++ API - Pitch Chain

    Scheduled Pinned Locked Moved C++ Development
    13 Posts 5 Posters 751 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.
    • hisefiloH
      hisefilo
      last edited by hisefilo

      Hi guys!
      Anyone can help on this??
      Im using C++ API to create modules. But cannot figure out how to add modulators to the Pitch Chain. I've successfully created modules on the other chains (Gain, Midi, etc)

      Edit: I'm adding it correctly but cannot figure out how to manage Intensity

      Screen Shot 2020-11-13 at 11.48.32.png

      // Velocity mod successfully created
      auto veloMod = builder.create<hise::VelocityModulator>(sineSynth, raw::IDs::Chains::Gain);
      
      
      // lfo Mod can't make it work on Chains::Pitch 
      auto lfoMod = builder.create<hise::LfoModulator>(sineSynth, raw::IDs::Chains::Pitch); 
      pitchMod->setAttribute(LfoModulator::Frequency, 10, dontSendNotification);
      
      
      
      
      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        pitchMod != lfoMod

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

          @Christoph-Hart ahh, that was fixed. but that's not the problem

          I want to add "any" modulator and pass the semitones value. but no luck.
          Just trying LFO for instance

          auto pitchMod = builder.create<hise::LfoModulator>(sineSynth, raw::IDs::Chains::Pitch);
          pitchMod->setId("pitchMod" + String(i+1));
          pitchMod->setAttribute(0, 12, dontSendNotification);
          
          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            Use setIntensity instead of setAttribute

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

              @Christoph-Hart said in C++ API - Pitch Chain:

              setIntensity

              😀 that was it!!!!!!!!!

              Love the C++ API. having a lot of fun!!!!!!!!!!!!!

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

                Yeah once you‘ve set it all up it becomes a joy, especially if you build redundant structures like, I don‘t know, Additive synths ;)

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

                  @Christoph-Hart
                  Screen Shot 2020-11-12 at 19.17.37.png

                  d.healeyD 1 Reply Last reply Reply Quote 4
                  • d.healeyD
                    d.healey @hisefilo
                    last edited by

                    @hisefilo What is this magic?

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

                    hisefiloH 1 Reply Last reply Reply Quote 0
                    • hisefiloH
                      hisefilo @d.healey
                      last edited by

                      @d-healey :) spectrums for a bunch of sine generators +envelopes + LFOs added programatically using the HISE C++ Api

                      d.healeyD 1 Reply Last reply Reply Quote 3
                      • d.healeyD
                        d.healey @hisefilo
                        last edited by

                        @hisefilo Oooo, look forward to hearing the results!

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

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

                          following this cause you're so much further ahead than i am 😄

                          1 Reply Last reply Reply Quote 0
                          • hisefiloH
                            hisefilo @d.healey
                            last edited by hisefilo

                            @d-healey here you go! A Wurli attempt, not finished, but I'm really happy with it

                            dump1.mp3

                            ulrikU 1 Reply Last reply Reply Quote 4
                            • ulrikU
                              ulrik @hisefilo
                              last edited by

                              @hisefilo Sounds great, well done! :)

                              Hise Develop branch
                              MacOs 15.3.1, Xcode 16.2
                              http://musikboden.se

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

                              14

                              Online

                              1.7k

                              Users

                              11.8k

                              Topics

                              102.6k

                              Posts