Help! LSB MSB issues|

Home Forums General General MIDI discussion Help! LSB MSB issues|

Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #117582
    jmarco
    Participant
      • Topics: 9
      • Replies: 22
      • Total: 31

      No idea how to insert this? What does offset means? How to use it?

      Sorry o ideia.

      Is there a edit mode that a command is needed? or a sysex msg?

      For example how to implement the fine tune the number four in the list? I’m trying, but without a clue.

      Thanks a lot in advance.

      João Marco

      Attachments:
      You must be logged in to view attached files.
      #117602
      dnaldoog
      Participant
        • Topics: 4
        • Replies: 480
        • Total: 484
        • ★★

        For RPN, see attached image.

        This is for Coarse tuning. Fine tuning is exactly the same except substitute a 1 for the 2 in MIDI Controller Number.

        Attachments:
        You must be logged in to view attached files.
        #117612
        jmarco
        Participant
          • Topics: 9
          • Replies: 22
          • Total: 31

          Wow!

          Ok, ok! That was amazing!!

          Please, take some time and explain it to me, I you can!

          MIDI controler Number 1

          CC,ByteValue,MSB7bitValue,101,-2
          CC,ByteValue,LSB7bitValue,100,-2
          CC,Default, Default, 6,-1
          CC,ByteValue,MSB7bitValue,101,16384
          CC,ByteValue,LSB7bitValue,100,127

          I really want to learn this thing!

          Ctrlr is really buggy, or it’s just my system?

          Thanks in advance!
          ..
          João Marco

          #117615
          dnaldoog
          Participant
            • Topics: 4
            • Replies: 480
            • Total: 484
            • ★★

            Actually, I can’t really explain it João. I would have copied it off another panel or from the forum somewhere,

            To use CC#6 as a 7bit number for the Yamaha I used (or copied)
            CC,Direct,Direct,6,-1

            but you can create a template message (there’s one there for KORG NRPN) that is interesting.

            CC,ByteValue,MSB7bitValue,99,-2:
            CC,ByteValue,LSB7bitValue,98,-2:
            CC,ByteValue,LSB7bitValue,6,-1

            It looks like Korg uses CC#6 for LSB, but it’s usually used for MSB as I understand it.

            Just click on the ‘document with arrow’ logo to get started creating messages in the window ‘Multi Message List’.

            A standard RPN message template

            CC,ByteValue,MSB7bitValue,101,-2:
            CC,ByteValue,LSB7bitValue,100,-2:
            CC,ByteValue,MSB7bitValue,6,-1:
            CC,ByteValue,LSB7bitValue,38,-1

            You can see the RPN above is really four messages:
            The MSB CC 6 will send 1 for a value of 128 and 0 for a value of 127
            The LSB CC 38 will send 0 for a value of 128 and 7F for a value of 127

            The MIDI controller number is sent with the RPN LSB and then the actual value is sent using CC #6 and/or #38 for some parameters like pitch bend. Sometimes #38 is omitted.

            The last two messages are optional I believe and close off the message, setting it to NULL otherwise problems can arise. In fact I tried using NRPN for the Yamaha PLG150AN panel I wrote, but it did weird things to the board, so I just used RPN,sysex and CC.

            Here is a sample midi message:

            [23:05:40:000513]: RAW:[b0 65 00] = 101
            [23:05:40:000513]: RAW:[b0 64 02] = 100 / coarse tuning
            [23:05:40:000513]: RAW:[b0 06 02] = value
            [23:05:40:000513]: RAW:[b0 65 7f] = NULL the message
            [23:05:40:000513]: RAW:[b0 64 7f] = NULL the message

            so a single NRPN could be up to 6 consecutive midi messages!

            #117621
            jmarco
            Participant
              • Topics: 9
              • Replies: 22
              • Total: 31

              Thanks for this! It give me another perpective about it!

              But why the negative numbers?

              What is the relation with the “MIDI controler Number 1” in the dialog box above?

              Sorry about my lack of MIDI smartness. 🙂

              #117626
              dnaldoog
              Participant
                • Topics: 4
                • Replies: 480
                • Total: 484
                • ★★

                Hi João,

                No idea why it’s like that, but I found if you replace a -1 with a number, it sends that as a fixed value, so -1 must mean use the ctrlr modulatorValue(), it looks like direct,direct means just send the modulatorValue().
                Not sure about -2.

                CC,Direct,Direct,9,8

                I tried this message and it sends

                b0 09 08

                #117633
                jmarco
                Participant
                  • Topics: 9
                  • Replies: 22
                  • Total: 31

                  Thanks. I’ll run some testes to put my mind into place! 🙂

                  João Marco

                Viewing 7 posts - 1 through 7 (of 7 total)
                • The forum ‘General MIDI discussion’ is closed to new topics and replies.
                There is currently 0 users and 93 guests online
                No users are currently active
                Forum Statistics
                Threads: 2,495, Posts: 17,374, Members: 77,605
                Most users ever online was 12 on January 22, 2019 3:47 pm
                Ctrlr