Re: FDM-DUO feature suggestion #elad


Giovanni Franza
 

Hi All,
as promised you can find attached a source file (linux) and a Makefile.
simply drop them into a folder and do
make play
and, to test, do
./play
when you play something on a midi attached you should see the midi message debugged
as, for example:
# ./play
default_in=1
PreReady
Ready
Got message: 90 3b 2b
Got message: 90 3b  0
Got message: 90 3b 28
Got message: 90 3b  0
Got message: 90 3b 1c
Got message: 90 3b  0
Got message: 90 3b 30
Got message: 90 3b  0
Got message: 90 3b 2f
Got message: 90 3b  0
Got message: b0  7 1b
Got message: b0  7 1c
Got message: b0  7 1d
Got message: b0  7 1e
Got message: b0  7 1f
Got message: b0  7 20
Got message: b0  7 1f
Got message: b0  7 20
Got message: b0  7 21
Got message: b0  7 22
^C
The program must be terminated using CTRL C
This is quite rough, but it let test your device.
To change device put the number after play as:
./play 3
This program depands only from PortMidi and Pthreads (than can be avoided in a future)
portmidi is known to work on Linux, Windows, MacOS, so ti weill not be portability issues, I hope.

Have fun,

Giovanni  - HB9EIK

Join EladSDR@groups.io to automatically receive all group messages.