Jpmidi

De wikijoan
Salta a la navegació Salta a la cerca
$ jpmidi
No input files!
Usage: jpmidi [options] midi-file
OPTIONS:
    --version or -v               - Show program version
    --disable-client or -d        - Dont connect as a jack client
$ fluidsynth -l -a jack -m jack  /home/joan/soundfonts/general/Musica_Theoria_v2_GM.sf2

És interessant el mode comanda de què disposa:

$ jpmidi ~/midi_files/pop_rock/candlein.mid 
jack_client_new: deprecated
loaded /home/joan/midi_files/pop_rock/candlein.mid
jpmidi> ls
ls: No such command.  There is `help'.
jpmidi> help
connect     	Connect to port [port num].  List if no arg is given.
disconnect  	Disconnect from port [port num].
status      	Display status.
channels    	Display channel info.
sysex       	Enable or disable sending of sysex messages <0|1>.
solo        	Solo channel <0 | 1-16>.  0 disables solo.
mute        	Mute channel <1-16>.
unmute      	Unmute channel <1-16>.
play        	Start transport rolling.
stop        	Stop transport.
locate      	Locate to frame <position>.
dump        	Dump event info [tick count] [start tick].
exit        	Exit jpmidi.
quit        	Quit jpmidi.
help        	Display help text [<command>].

jpmidi> connect
Destination ports:
1) system:midi_playback_1 
2) system:midi_playback_2 
3) system:midi_playback_3 
4) system:midi_playback_4 
5) system:midi_playback_5 
6) system:midi_playback_6 
7) fluidsynth:midi 

jpmidi> connect 7
Successfully connected to fluidsynth:midi

jpmidi> play
jpmidi> 


creat per Joan Quintana Compte, novembre 2011