eggi

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Cubase 9.5 and sending Sysex #84196
    eggi
    Participant
      • Topics: 2
      • Replies: 9
      • Total: 11

      Thanks Possemo, I’ll check it out.

      Do you happen to know if there is any way to use MIDI learn with a Ctrlr panel?

      in reply to: Cubase 9.5 and sending Sysex #84194
      eggi
      Participant
        • Topics: 2
        • Replies: 9
        • Total: 11

        Such a shame that Sysex is not possible from plugins in Cubase. I just upgraded to Cubase Elements from AI, and I’ve wanted a proper way to control hardware synths from a DAW, so it was such a happy day when I found Ctrlr. Now I’m kind of disappointed. One option would be to upgrade to Cubase Pro and build a device panel in Cubase, but the Pro upgrade wouldn’t be worth it to me for this feature only. I’m thinking about switching to Reaper, I think I’ve read that this is the best DAW for use with Ctrlr, and that Sysex is supported from VST plugins there. Is this correct?

        in reply to: Cubase 9.5 and sending Sysex #84185
        eggi
        Participant
          • Topics: 2
          • Replies: 9
          • Total: 11

          I think that if I deactivate the device output in Cubase I won’t be able to assign the patches that I have set up in a patch file (txt). Then I will be stuck to selecting patches from the Ctrlr panel which I haven’t set up, and I don’t really feel like spending a lot of work doing that.

          I’m referring to what I have set up and imported into MIDI Device Manager.

          • This reply was modified 5 years, 11 months ago by eggi.
          Attachments:
          You must be logged in to view attached files.
          in reply to: Cubase 9.5 and sending Sysex #84183
          eggi
          Participant
            • Topics: 2
            • Replies: 9
            • Total: 11

            I tried the “plugin host to output device” option, and that works, however, then I think I won’t be able to use the patch files with my device. I would then have to add all the patches for selection in the panel, which I’m not to keen doing. Maybe if there was a way to automatically import them from the Cubase patch file to Ctrlr.

            in reply to: Yamaha Master Tune #83974
            eggi
            Participant
              • Topics: 2
              • Replies: 9
              • Total: 11

              Thanks a lot, Possemo!

              I learned a lot with your help. Thanks for the tip with string.format.

              in reply to: Yamaha Master Tune #83957
              eggi
              Participant
                • Topics: 2
                • Replies: 9
                • Total: 11

                Hello again!

                By “typing directly” I meant typing “F0 43 10 4C 00 00 00 “..high..mid..low..lowest..” F7″ as opposed to {0xF0, 0x43, 0x10, 0x4C, 0x00, 0x00, 0x00, highest, high, low, lowest, 0xF7}. Also, I was wondering if typing 0xF0 means something different from F0 in this context, or just another syntax.

                My understanding is that in the first example I concatenated a string, which CtrlMidiMessage interpreted as such, whereas by typing the values as an array of values, they are converted to individual hexadecimal values by CtrlrMidiMessage.

                • This reply was modified 5 years, 11 months ago by eggi.
                in reply to: Yamaha Master Tune #83951
                eggi
                Participant
                  • Topics: 2
                  • Replies: 9
                  • Total: 11

                  Thanks a lot!

                  I had actually put those values in another version, but I didn’t use that way of writing the hex values, I just typed them directly, would that make a difference? Trying to learn. 🙂

                  in reply to: Yamaha Master Tune #83947
                  eggi
                  Participant
                    • Topics: 2
                    • Replies: 9
                    • Total: 11

                    Hello again Possemo.

                    I’ve been fiddling around with the code you sent me, but after further reading the documentation on the XG Format Master Tune it of seems a bit clearer to me.

                    The way it works is:

                    Starting with lowest possible value:

                    F0 43 10 4C 00 00 00 00 00 00 00 F7

                    The last byte goes from 00 to 0F –

                    F0 43 10 4C 00 00 00 00 00 00 0F F7

                    Then the second last byte changes to 01, and increases by one every time the last byte reaches 0F. This goes on in a similar way for the next two bytes until the highest value is reached.

                    The highest value is F0 43 10 4C 00 00 00 00 07 0F 0F F7.

                    The first problem I see when I see the output in the MIDI Monitor is that with the current code below the values are not even sent as hexadecimal. Is there a function I can use to do that?

                    masterTune = function(--[[ CtrlrModulator --]] mod, --[[ number --]] value, --[[ number --]] source)
                    
                    BigVal=BigInteger(value)
                    
                    lowest=BigVal:getBitRangeAsInt(0,1)
                    low=BigVal:getBitRangeAsInt(4,1)
                    mid=BigVal:getBitRangeAsInt(8,1)
                    high=BigVal:getBitRangeAsInt(12,1)
                    
                    data = CtrlrMidiMessage("F0 43 10 4C 00 00 00 "..high..mid..low..lowest.." F7")
                    
                    panel:sendMidiMessageNow(data)
                    
                    end

                    Also the output I get is only 10 bytes long f.ex: f0 43 10 4c 00 00 00 03 31 f7

                    I suspect this is because the values are all wrong. I don’t really understand getBitRangeAsInt (big surprise there… )

                    I found this site – but it seems a bit over the top for what I’m trying to do.

                    I’m properly stuck, any help would be greatly appreaciated. 🙂

                    in reply to: Yamaha Master Tune #83776
                    eggi
                    Participant
                      • Topics: 2
                      • Replies: 9
                      • Total: 11

                      Thanks Possemo, that helps a lot. Now I can stop trying making it work with regular controls, and focus on solving the task with Lua scripting.

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