Midi Output

For general discussion related FlowStone
Post Reply
bherd
Posts: 6
Joined: Mon Oct 04, 2010 12:22 am

Midi Output

Post by bherd »

I am interested in using a Midi Control Surface with motorized potentiometers/faders to act as inputs and controls for some robotics. The record/playback motif would be interesting for playing back servo positions.

I have been unable to get the Midi Out module to put out any signal, my USB MIDI converter has an output indicator LED as well as I ran every possible combination into the module.

Are there any insights or examples for the MIDI output for controller output messages?

Thanks all,

Bil
DSP
Posts: 150
Joined: Fri May 14, 2010 10:55 pm

Re: Midi Output

Post by DSP »

Here's a simple Midi Note Out test:
Attachments
Midi NoteOut Test.fsm
(2.99 KiB) Downloaded 1379 times
bherd
Posts: 6
Joined: Mon Oct 04, 2010 12:22 am

Re: Midi Output

Post by bherd »

That DID work, thank you. I had the same layout only I had the MIDIEvent module instead of the NoteEvent module, whats the difference?

Can I send a MIDI string that isn't "note" based? I suspect that that the "controller" set is not considered to be a note.

Is there a way to convert the MIDI sting to text for viewing or converting a string to MIDI so I can construct my own MIDI commands?

Much thanks and best regards!

Bil Herd
DSP
Posts: 150
Joined: Fri May 14, 2010 10:55 pm

Re: Midi Output

Post by DSP »

You will need to check in the manual for your controller what messages control what. You can do everything with the Midi Event Module you just need the right codes.

MIDI data messages are composed of four distinct parts. Each part is an integer value. The parts are
as follows:
Status - (0-127) the type of MIDI event
Channel - (1-16) the MIDI channel on which the event was received
Data 1 - (0-127) the first byte of data received (for note events this is the note pitch)
Data 2 - (0-127) the second byte of data received (for note events this is the velocity)
The MIDI Event component takes this information and creates a MIDI event message.


Here is an example of sending out a midi controller message.

Status = 11 (0xB) = Controller message
Channel = 1
Data 1 = Controller number
Data 2 = Data (0-127)

You can check what the standard midi messages are here:
http://www.midi.org/techspecs/midimessages.php#3
Attachments
Midi Controller Out Test.fsm
(11.25 KiB) Downloaded 1369 times
Post Reply