LukeYouth

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Trouble with the 'setBit' command, could someone help #28707
    LukeYouth
    Participant
      • Topics: 6
      • Replies: 7
      • Total: 13

      btw console doesnt work so im guessing ive coded something wrong, if anyone can help i’d be eternally greatful. Im definitely not a coder!

      in reply to: Issue with vst version of ctrlr #15826
      LukeYouth
      Participant
        • Topics: 6
        • Replies: 7
        • Total: 13

        Ok its doing it in another software based vst, must be an ableton bug :s

        No need to worry i’ll troubleshoot thing

        in reply to: For people who use the juno 106 #15153
        LukeYouth
        Participant
          • Topics: 6
          • Replies: 7
          • Total: 13

          Also disregard that i copied your code, my code is different but I made sure its all correct to my knowledge.

          in reply to: For people who use the juno 106 #15150
          LukeYouth
          Participant
            • Topics: 6
            • Replies: 7
            • Total: 13

            Okay this is going to sound quite noob but I’ve done this according to how I assume the binary data is being interpreted but its not being read into the comboboxes correctly.

            byte = programData:getByte(20)
            bi = BigInteger(byte)
            panel:getModulatorByName("DCO 1 Range"):setValueMapped(bi:getBitRangeAsInt(0,2), false)
            panel:getModulatorByName("DCO 1 Waveform"):setValueMapped(bi:getBitRangeAsInt(2,2), false)
            

            I currently have the combo box content such as this

            16’=001
            8’=010
            4’=001

            it seems to sometimes read a value but not correctly which I’m guessing is probably because its not reading the combo box values I’ve set but rather 0-whatever as modulator values(in that specific case 0=16′ 8’=1 4’=2)
            Is there a more simple way to fix this

            in reply to: For people who use the juno 106 #14978
            LukeYouth
            Participant
              • Topics: 6
              • Replies: 7
              • Total: 13

              Wow after going over my code about a thousand times I’ve managed to get it to work! I’m so happy!

              The only issue I’m having now is trying to get my head around the LUA scripting for breaking apart a byte into its 7bit information for the changes in buttons and updating the coding on the panel. Does anyone have a panel I could check out where I could reference how this is done?

              in reply to: For people who use the juno 106 #14950
              LukeYouth
              Participant
                • Topics: 6
                • Replies: 7
                • Total: 13

                Thanks for the help, I have actually begun taking apart atoms panel and trying to make it work a bit more smoothly based off of the sys ex data found here: http://www.hinzen.de/midi/juno-106/howto-02.html

                I’m currently having issues with this LUA method though, it compiles ok but it is giving me a runtime error when i get the midi message dump.

                function assignvalues(midiMessage)
                programdata=Midimessage:getdata():getrange(0,30)
                panel:getModulatorByName("LFO Rate"):setModulatorValue(programData:getbyte(6), false)
                panel:getModulatorByName("LFO Delay"):setModulatorValue(programData:getbyte(7), false)
                panel:getModulatorByName("DCOLFO"):setModulatorValue(programData:getbyte(8), false)
                panel:getModulatorByName("DCOPWM"):setModulatorValue(programData:getbyte(9), false)
                panel:getModulatorByName("Noise"):setModulatorValue(programData:getbyte(10), false)
                panel:getModulatorByName("VCFFREQ"):setModulatorValue(programData:getbyte(11), false)
                panel:getModulatorByName("VCFRES"):setModulatorValue(programData:getbyte(12), false)
                panel:getModulatorByName("VCFENV"):setModulatorValue(programData:getbyte(13), false)
                panel:getModulatorByName("VCFLFO"):setModulatorValue(programData:getbyte(14), false)
                panel:getModulatorByName("VCFKYBD"):setModulatorValue(programData:getbyte(15), false)
                panel:getModulatorByName("VCA"):setModulatorValue(programData:getbyte(16), false)
                panel:getModulatorByName("ENVA"):setModulatorValue(programData:getbyte(17), false)
                panel:getModulatorByName("ENVD"):setModulatorValue(programData:getbyte(18), false)
                panel:getModulatorByName("ENVS"):setModulatorValue(programData:getbyte(19), false)
                panel:getModulatorByName("ENVR"):setModulatorValue(programData:getbyte(20), false)
                panel:getModulatorByName("SUB"):setModulatorValue(programData:getbyte(21), false)
                panel:getModulatorByName("SUB"):setModulatorValue(programData:getbyte(22), false)
                panel:getModulatorByName("VCFLFO"):setModulatorValue(programData:getbyte(22), false)
                Switchers1 = midimessage:getLUAdata():getbyte(23)
                bi = BigInteger(byte)
                panel:getModulatorbyName("Range"):SetValueMapped(bi:getBitRangeasInt(0,3), false)
                panel:getModulatorbyName("Waveform"):SetValueMapped(bi:getBitRangeasInt(2,3), false)
                panel:getModulatorbyName("Chorus"):SetValueMapped(bi:getBitRangeasInt(2,5), false)
                Switchers2 = midimessage:getLUAdata():getbyte(24)
                bi = BigInteger(byte)
                panel:getModulatorbyName("LFO or Manual"):SetValueMapped(bi:getBitRangeasInt(0,1), false)
                panel:getModulatorbyName("ENVGate"):SetValueMapped(bi:getBitRangeasInt(1,1), false)
                panel:getModulatorbyName("VCFPolarity"):SetValueMapped(bi:getBitRangeasInt(2,1), false)
                panel:getModulatorbyName("HPF"):SetValueMapped(bi:getBitRangeasInt(3,2), false)
                end
                in reply to: Unable to load cntrlr vst in Ableton #3068
                LukeYouth
                Participant
                  • Topics: 6
                  • Replies: 7
                  • Total: 13

                  Running Windows 7 64bit. I downloaded both the 32 bit and 64bit versions but sadly no luck. Ableton 8.2 was the version

                  Can’t wait to use CTRLR!

                Viewing 7 posts - 1 through 7 (of 7 total)
                Ctrlr