Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:user:emrum:midi-osc-map [2012/03/04 07:57] – created - emrum | wiki:user:emrum:midi-osc-map [2012/03/04 18:55] (current) – emrum | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== MIDI to OSC mapping - Draft 2012-03 | + | ====== MIDI to OSC mapping - Draft v0.1 (pre-alpha) |
Initial author: Emanuel Rumpf | Initial author: Emanuel Rumpf | ||
Line 11: | Line 11: | ||
\\ | \\ | ||
This document is a draft / brainstrom for transmission of MIDI data in a standardized way using the OSC protocol. | This document is a draft / brainstrom for transmission of MIDI data in a standardized way using the OSC protocol. | ||
+ | \\ | ||
+ | \\ | ||
+ | The point: You could implement a transmitter, | ||
\\ | \\ | ||
\\ | \\ | ||
Line 18: | Line 21: | ||
==== Related Links ==== | ==== Related Links ==== | ||
- | * [[http:// | + | |
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
Line 30: | Line 33: | ||
==== Address Scheeme ==== | ==== Address Scheeme ==== | ||
- | / ApplicationName / ApplicationSection / midi (keyword) / channel (keyword) / midi-msg-type / midi-msg-name (see midi-actions) | + | < |
+ | |||
+ | / ApplicationName / ApplicationSection / midi (keyword) / channel (keyword) | ||
+ | |||
+ | </ | ||
\\ | \\ | ||
Line 101: | Line 108: | ||
(midi messages usually consist of 1 to 3 values (bytes) ) | (midi messages usually consist of 1 to 3 values (bytes) ) | ||
+ | < | ||
(hex) | (hex) | ||
Line 120: | Line 128: | ||
file | file | ||
+ | </ | ||
==== MIDI message-names (controller-names) for the message-type " | ==== MIDI message-names (controller-names) for the message-type " | ||
Line 206: | Line 215: | ||
<code python> | <code python> | ||
- | # integer values, first is length ! | + | # integer values, first is count of elements (incl. |
blob = [0, 8, 15, 16, 23, 42] | blob = [0, 8, 15, 16, 23, 42] | ||
# set length | # set length | ||
blob[0] = len( blob ) | blob[0] = len( blob ) | ||
# send | # send | ||
- | liblo.send( target, "/ | + | liblo.send( target, "/ |
</ | </ |