How do you work out the decimal value of 2 msg lsb 7 bit bytes (14bit message)?

Home Forums General General MIDI discussion How do you work out the decimal value of 2 msg lsb 7 bit bytes (14bit message)?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #69537
    Synthtoast
    Participant
      • Topics: 3
      • Replies: 6
      • Total: 9

      I’ve tried the midi calculator in cntrlr the decimal value it is returning after i put in the msb and lsb is not correct i don’t think..

      i guess there is a complicated way in which the bytes are joined to create a new value?

      i need that decimal value to work out the correct value to send from the combo box.

      let me explain

      i have this in my sysex formula box

      f0 41 10 00 00 41 12 10 00 01 00 MS LS f7

      and this in my combo box

      Sawtooth=111
      Square=238
      Pulse=365
      Triangle=492
      Sine=619
      Noise=730
      SuperSaw=890

      all of these values worked and i found them by roughly estimating where the the next one would land from the first one which only required one 7 bit byte to display

      6fH

      i assumed immediately that if i simply put the next values bytes in

      01 6e (2 bytes here)

      that the midi calculator would give me the correct value but instead i get

      001 110

      so i had to guess the rest of the values.

      every value works perfectly, i just know i have a lot more combo boxes to do and maybe other things that will take up a lot of wasted time if i can’t simply get that value from 2 joined 7bit bytes.

      sorry if my terminology is not perfect, all new stuff to me.

      • This topic was modified 7 years, 9 months ago by Synthtoast.
    Viewing 1 post (of 1 total)
    • The forum ‘General MIDI discussion’ is closed to new topics and replies.
    There is currently 0 users and 63 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