Feature #1527

Midi API

Added by Giulio Moro almost 9 years ago. Updated over 8 years ago.

Status:NewStart date:2016-01-14
Priority:ImmediateDue date:
Assignee:-% Done:

40%

Category:-
Target version:-

History

#1 Updated by Giulio Moro almost 9 years ago

  • % Done changed from 0 to 40

Thought of switching to portmidi as a library for midi i/o and parsing messages.
Could not use it for midi i/o as it does not recognize midi devices plugged into the bbb, even if they are listed with
$ amidi -l
(tested with the mm.c program distributed with portmidi source code).

Issue is snd_seq_query_next_client() does not return the usb midi device (unlike on my laptop).

Two routes:
- write a file-system-like-based "pm_read_short" method (and more)
- make the device show up here

#2 Updated by Giulio Moro almost 9 years ago

Implemented midi output.
TODO: put the usleep inside midiInputLoop() and midiOutputLoop() , to allow support for multiple ports.

#3 Updated by Giulio Moro over 8 years ago

add support for mIdi messages without status byte

Also available in: Atom PDF