Forum

    • Register
    • Login
    • Search
    • Categories

    C++ API - Pitch Chain

    C++ Development
    5
    13
    188
    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.
    • hisefilo
      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 Hart
        Christoph Hart last edited by

        pitchMod != lfoMod

        hisefilo 1 Reply Last reply Reply Quote 0
        • hisefilo
          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 Hart
            Christoph Hart last edited by

            Use setIntensity instead of setAttribute

            hisefilo 1 Reply Last reply Reply Quote 1
            • hisefilo
              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 Hart
                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 πŸ˜‰

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

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

                  d.healey 1 Reply Last reply Reply Quote 4
                  • d.healey
                    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

                    hisefilo 1 Reply Last reply Reply Quote 0
                    • hisefilo
                      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.healey 1 Reply Last reply Reply Quote 4
                      • d.healey
                        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

                        hisefilo 1 Reply Last reply Reply Quote 4
                        • iamlamprey
                          iamlamprey last edited by

                          following this cause you're so much further ahead than i am πŸ˜„

                          Music - Instruments

                          1 Reply Last reply Reply Quote 0
                          • hisefilo
                            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

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

                              @hisefilo Sounds great, well done! πŸ™‚

                              Hise Develop branch
                              MacOs 12.4, Xcode 13.0
                              http://musikboden.se

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

                              8
                              Online

                              810
                              Users

                              5.5k
                              Topics

                              51.8k
                              Posts