HISE Logo Forum
    • Categories
    • Register
    • Login

    How do I access a SilentSynth HardcodedFX parameter from code?

    Scheduled Pinned Locked Moved Scripting
    7 Posts 3 Posters 166 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 Morphoice

      @d-healey Dave you probably know this best, but if anyone else knows: How do I actually reference a Polyphonic HardcodedFX or Polyphonic ScriptFX and its Parameters inside a Silent Synth in Code?

      const var VCO1 = Synth.getEffect("VCO1FX");
      

      doesn't seem to be it. I also tried playing around with childsynth to no avail and the module tree node hasn't an option to output a script reference.

      const var VCO1 = Synth.getComponent("VCO1").getEffect("VCO1FX");
      

      that didn't work either.

      screenshot-2025-01-13-at-14.45.59.png

      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 said in How do I access a SilentSynth HardcodedFX parameter from code?:

        Dave you probably know this best

        When it comes to the scriptnode side of HISE I'm not your guy :)

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

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

          @d-healey I'll be your guy one day then and repay all the favours ;)

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

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

            @d-healey so upon further experimentation it seems to be as simple as that, no idea why it didn't work in the first place

            Screenshot 2025-01-14 at 01.10.09.jpg

            If anyone has an idea how I can address a specific voice and all the voices in general, I still haven't figured that out.

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

            clevername27C 1 Reply Last reply Reply Quote 0
            • clevername27C
              clevername27 @Morphoice
              last edited by

              @Morphoice Do you mean voices as they are dynamically allocated, or hard-coded ones in a Polyphonic Network?

              MorphoiceM 1 Reply Last reply Reply Quote 0
              • MorphoiceM
                Morphoice @clevername27
                last edited by

                @clevername27 I have a hardcoded polyphonic network, altough the voice count is still managed by the synth group, no Idea how I hardcode them. The idea was e.g. apply modulation to the last node played or take a look at polyphonic aftertouch but there is nothing about that in the docs

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

                clevername27C 1 Reply Last reply Reply Quote 1
                • clevername27C
                  clevername27 @Morphoice
                  last edited by

                  @Morphoice Ah, I understand. I have no knowledge to offer here, but I do understand your question now.

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

                  19

                  Online

                  1.8k

                  Users

                  12.0k

                  Topics

                  104.2k

                  Posts