Status ?

If you require help or assistance with anything then please post here

Moderators: electrogear, exonerate

Status ?

Postby lwaver on Sun Jun 17, 2012 2:52 pm

Is that SM takes into account just the MIDI Status 176 ?
Because when I assign the status eg 184,
nothing is happening. why?
Attachments
MIDI Status.osm
osm
(14.35 KiB) Downloaded 43 times
MIDI Status.png
Schematic
MIDI Status.png (12.76 KiB) Viewed 391 times
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am

Re: Status ?

Postby trogluddite on Sun Jun 17, 2012 4:50 pm

In this case, 'Status' just refers to the message type.
In genuine MIDI messages the message type and MIDI channel are combined into a single byte, with the upper four bits as the type, and lower four bits as Channel minus one (i.e. 0-15). Because of this, the status value will always be a multiple of 16 once the lower four bits have been separated out to get the Channel value.
Status values begin at 128, so that the highest bit is always set - this bit is used to indicate the start of a new message (hence data values only go from 0 to 127).

Valid values for 'Status' are...

128 Note Off (data1=note, data2=velocity)
144 Note On (data1=note, data2=velocity)
160 Poly Aftertouch (data1=note, data2=AT amount)
176 Continuous Controller (data1=CC number, data2=value)
192 Program Change (data1=prog.no., data 2 ignored)
208 Channel Aftertouch (data1=AT amount, data2 ignored)
224 Pitch Bend (data1=coarse, data2=fine)
240 Start SysEx message (needs to use dedicated SysEx primitives)

In raw MIDI, a value of 184 would be equivalent to; Type = Controller (176), Channel = 9 - but in SM you have to use the two separate values at their own inputs/outputs otherwise the message will get scrambled by the primitives.
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3024
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: Status ?

Postby lwaver on Sun Jun 17, 2012 7:08 pm

I understand very well now.
well thank you troglodyte!
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 0 guests