HISE Logo Forum
    • Categories
    • Register
    • Login

    need help with MidiProcessors

    Scheduled Pinned Locked Moved Solved Scripting
    6 Posts 2 Posters 311 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.
    • ?
      A Former User
      last edited by A Former User

      First time ever using MIDI processors, i have 4 Wavetable Synths, basically faking a simple stereo round-robin setup:

      // on init
      // this is for the "A" sides, B is 1
      reg rrLeftA = 0; 
      
      // on Note
      Message.ignoreEvent(rrLeftA);
      rrLeftA = 1-rrLeftA;
      
      // repeat for each other MIDI processor ("rrRightA", "rrLeftB", "rrRightB")
      

      Everything works in HISE, but in the Rhapsody plugin it's playing 3 at once, then 1, as though the initial reg value isn't setting or something

      Is there a better way to do this? I tried a global container + midi processor script and got encapsulation errors

      edit: fixed weird Code snippet colours

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @A Former User
        last edited by

        @iamlamprey Got a snippet?

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

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @d.healey
          last edited by

          @d-healey nice try. you just want access to my shiny new synth 😉

          ill make one real quick

          d.healeyD 1 Reply Last reply Reply Quote 1
          • d.healeyD
            d.healey @A Former User
            last edited by

            @iamlamprey Use sinewave gens in the snippet

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

            ? 2 Replies Last reply Reply Quote 0
            • ?
              A Former User @d.healey
              last edited by

              @d-healey hmm the snippet works just fine in both Ableton and Rhapsody standalone, i must have broken something in my larger project

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User @d.healey
                last edited by

                @d-healey ah okay my mistake, it was an issue with loading the wavetable for that particular synth... i might as well buy a whole new wardrobe at this point

                1 Reply Last reply Reply Quote 1
                • System marked this topic as a question on
                • System has marked this topic as solved on
                • First post
                  Last post

                18

                Online

                1.8k

                Users

                12.1k

                Topics

                105.5k

                Posts