HISE Logo Forum
    • Categories
    • Register
    • Login

    Change pitch of entire synthesizer group?

    Scheduled Pinned Locked Moved General Questions
    9 Posts 2 Posters 118 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.
    • MorphoiceM
      Morphoice
      last edited by

      This might be a stupid question but I cant figure it out.

      How do I change the pitch of an entire synthesizer group with a coarse and fine tuning knob? I can add a pitch modulation constant, but I can't seem to access the value of the constant anywhere. It does not appear in parameterID etc.

      Screenshot 2025-01-07 at 21.42.40.jpg

      Also I have multiple Synthesizer Groups, the knob value should apply to both, so I reckon I won't be able to avoid having a custom callback function and do it in script. But still no Idea how to access the value, let alone how to work coarse/fine

      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

        @Morphoice You could try my coarse/fine tune script.

        Link Preview Image
        RhapsodyBoilerplate/modules/CoarseFineTuner.js at main

        RhapsodyBoilerplate - Boilerplate code used by Rhapsody.

        favicon

        Codeberg.org (codeberg.org)

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

        MorphoiceM 1 Reply Last reply Reply Quote 1
        • MorphoiceM
          Morphoice @d.healey
          last edited by

          @d-healey so there’s a thing called globalpitchfactor and i dont really need to hve an extra pitch mod node for that at all? Awesome

          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

            @Morphoice yeah it works on the midi notes directly

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

            MorphoiceM 1 Reply Last reply Reply Quote 0
            • MorphoiceM
              Morphoice @d.healey
              last edited by

              @d-healey dows it change a running note in real time? Cant test rn, but i need it to actually bend realtime as you move the knob, otherwise it’s guesswork if it only applies to new notes

              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                @Morphoice Not sure, try it and see :)

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

                MorphoiceM 1 Reply Last reply Reply Quote 1
                • MorphoiceM
                  Morphoice @d.healey
                  last edited by Morphoice

                  @d-healey I gave it a try, the knobs update the pitch factor perfectly and I can output "v" in the console but Engine.setGlobalPitchFactor(v); does nothing, there is no change to the pitch at all, note retriggered or not.

                  const var Pitch = Content.getComponent("Pitch");
                  inline function onPitchControl(component, value)
                  {
                  	globalTuning();
                  };
                  Content.getComponent("Pitch").setControlCallback(onPitchControl);
                  
                  const var PitchFine = Content.getComponent("PitchFine");
                  inline function onPitchFineControl(component, value)
                  {
                  	globalTuning();
                  };
                  Content.getComponent("PitchFine").setControlCallback(onPitchFineControl);
                  
                  inline function globalTuning()
                  {
                  	local fine = Content.getComponent("PitchFine").getValue();
                  	local coarse = Content.getComponent("Pitch").getValue();	
                  	local v = coarse + fine / 100;
                  	Console.print(v);
                  	Engine.setGlobalPitchFactor(v);
                  }
                  

                  https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                    @Morphoice Working here

                    HiseSnippet 1175.3oc2W81aaSDF+bR8XIEpXnIDuzZhWjASk3tr1BSnk1zzRDqsQ0cE1q1td9Rxod9Ni84.Az9twGA9nruAvyc1owt0jlFMXBxKhx872e2y87uzORRnwwxHjU8SmDRQVens2DgZTmQXl.0aOj0Z1GhiUzHmTR6NIDGGS8QVVUOPSvp1JHym29rcwbrfPmQBgNSxHzmyBXpYT6296Yb99Xe5orfbR2pcOhTzQxkI.dpZ2DEhIWfG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9ya+bHyCGAwI5RFKt8KhW560mYmBWGc0ny+c6XW8+2crOQlnfsnODCIgvra6iRB7fFkDJ3cgfxAiaaUQ2rK8bS84zNkBeyg+D9jwzUe1Jio6Tl+q3i.LIR9JR5Bd57z6Zn.2ag4OTWC9m8vYG2quUGrUB6UDRQScME2XYU7wKqhsVVEexxp3lKqhasrJt8MqndHzNIJYPZoIBcX+tlsvsr5JvPVtoh.8Wn1cqyK
                    

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

                    MorphoiceM 1 Reply Last reply Reply Quote 0
                    • MorphoiceM
                      Morphoice @d.healey
                      last edited by

                      @d-healey figured out it has no effect on a scriptnode synthesizer

                      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                      20

                      Online

                      1.7k

                      Users

                      11.8k

                      Topics

                      102.9k

                      Posts