Cubase patchname script for Triton Extreme>>>

Audio Plugin Hosts and other audio software applications discussion
RELATED
PRODUCTS

Post

i have made patchscripts myself in cubase for some devices in the past.. Now, I would always give the bank select message as 2 separate messages namely Bank SEl MSB and bank sel LSB both being 8 bit words but entered in midi device manager as decimal value....

However with most premade patchscripts i have noticed they use just one 14 bit word for bank sel message..

My question is how do i convert 2, 8 bit bank selc messages into one 14 bit bank select message. also how do i find out the decimal value for it, after all that is what i would have to eneter in the midid device manager..

any helpful links where i can read up on this>>> converting 8 bit words into 14 bit..

Post

i tried doing exactly like you all said but i still cant find it in the midi device section... help!

Post

Hi Shazzy, give more details, hardware, software, which external module etc.. we can definitely help you

Post

josevin2000,

The bank message is 7 bit, not 8. (I don't mean to nit pick, but it is useful to be exact when explaining stuff).

If you are using windows, then run Calc (the calculator) and set it to scientific mode. Set the mode to decimal, and type in the decimal number you want. Press the binary radio button, and the number will be displayed as a binary string.

The last 7 Bits of the number are the LSB and the next 7 are the MSB.

The math is that the LSB numbers range from 0 to 127, and the MSB numbers range from 128 x (0-127) so a value of 128 is:
0000001 0000000 in binary (assuming normal positioning for LSB and MSB).

129 decimal is:
0000001 0000001 (128 +1).

The real pain is that some devices count values from 1, and others from 0. So you need to check on which value they mean if programming Midi messages.


Bas.

Post

Gee thanks Bas, that sure making things a wee bit clearer. But not completeley////

I mean say i have MSB 87 and LSB 32... what will be my calculations to find the 14 bit value

well from whatever i have understood my 14 bit value would be :

87*127 + 32 = 11081...

well do correct me if am wrong... Also i wanna try this the other way round too... Say i have a 14 bit value of 12000, how can i find my MSB and LSB ..
:?

Post

MSB is 87*128 = 11136
LSB is 32
Total value is 11168

I had a tool that could convert this Midi messages to 14 bit- I will see if I can find it anywhere.

In the meantime, http://www.borg.com/~jglatt/tech/midispec.htm has been my bible for the MIDI spec over the years.

edit: Sorry I cannot find the program that did conversion to and from decimal to 14 bit.

Post

Hay Bas, I too have Midi Borg bookmarked... Most of my midi knowledge too was acquired via this site....

dude still tryin to work out conversion from 14 bit value to find MSB LSB... wonder if it is really possible :shock:

Post

The reaosn I use the Windows calc is that if I enter a number in decimal, then that can be displayed in Binary. I can then see the LSB bits by looking at the last 7 of them. Re-entering the last 7 bits and switching back to decimal converts them to the LSB in decimal.

Entering the next 7 bits in Binary, then swicthing to decimal shows the MSB in decimal.

so picking a number 3400 (decimal) and
LSB is 1001000 (72)
MSB is 11010 (26)

Checking that out using
(26*128)+ 72 we get

:shock: 3400 :shock:


I love it when a plan comes together :)

Post

If you install Midi OX, that comes with an NRPN calcualtor. Enter MSB/LSB or 14 bit number in decimal, and it converts to the other format. http://www.midiox.com/

THAT saves a lot of grief.

Post

:shock:
GotchaNoddin.com
http://www.gotchanoddin.com
Sample Libraries

ComputerProducer.com
http://www.computerproducer.com
Music Production School

Post Reply

Return to “Hosts & Applications (Sequencers, DAWs, Audio Editors, etc.)”