Simple Midi Need


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Simple Midi Need
# 1  
Old 04-17-2015
Simple Midi Need

In MS Windows Media Player, I can open a MIDI file (.mid), and in 'Sound' sub section of control panel, I can direct an external USB device to play it.

I do not seem to be able to find any SIMPLE way to do this in Linux: the Ubuntu Midi info says it is applicable UNLESS you are using external instrument. Says nothing about what to do if you are.

I am using Linux Mint 17.1 Cinnamon 64bit.

I require to output MIDI data via USB to a Roland UM1 (edirol), which interfaces to my Yamaha keyboards.

I do not want a synth, such as 'TIMIDITY': I need a MIDI output stream, not Audio. Nor do I need to edit or in any way interact with the content.

I do not need the sophisticated features that suites for music production offer.

I do not want to install stuff that will mess up my sound, as I do not want it to output any audio. (I gather Rosegarden/ ALSA would do)

It is not obvious to me, that anything offered by 'Software Manager' will do this for me.

I would be most grateful for any suggestion.

I am keeping an MS W system alive just, (and only) to play MIDIs on my keyboards. There must be a better way.
# 2  
Old 04-17-2015
Code:
$ man aplaymidi

APLAYMIDI(1)                General Commands Manual               APLAYMIDI(1)



NAME
       aplaymidi - play Standard MIDI Files


SYNOPSIS
       aplaymidi -p client:port[,...] [-d delay] midifile ...


DESCRIPTION
       aplaymidi  is  a  command-line  utility  that  plays the specified MIDI
       file(s) to one or more ALSA sequencer ports.


OPTIONS
       -h, --help
              Prints a list of options.


       -V, --version
              Prints the current version.


       -l, --list
              Prints a list of possible output ports.


       -p, --port=client:port,...
              Sets the sequencer port(s) to  which  the  events  in  the  MIDI
              file(s) are sent.

              A  client  can be specified by its number, its name, or a prefix
              of its name. A port is specified by its number; for port 0 of  a
              client, the ":0" part of the port specification can be omitted.

              Multiple  ports  can  be  specified  to  allow  playback of MIDI
              file(s) that contain events for  multiple  devices  (ports),  as
              specified by "Port Number" meta events.

              For compatibility with pmidi(1), the port specification is taken
              from the ALSA_OUTPUT_PORTS environment variable if none is given
              on the command line.


       -d, --delay=seconds
              Specifies  how  long to wait after the end of each MIDI file, to
              allow the last notes to die away.


BUGS
       aplaymidi handles "Port Number" meta events, but not "Port  Name"  meta
       events.


SEE ALSO
       pmidi(1)
       playmidi(1)

This User Gave Thanks to Corona688 For This Post:
# 3  
Old 04-17-2015
Thanks. Yes that worked.
This User Gave Thanks to Priscus For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Solaris

converting midi to wav in solaris 10

how can i convert midi to wave in solaris 10 i have found timidity but it lack of documentation. is there any other suggestion? (1 Reply)
Discussion started by: conandor
1 Replies
Login or Register to Ask a Question