Re: [LAU] sending random midi notes from a bash script

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Saturday, February 6, 2010 - 5:33 pm

On Saturday, February 6, 2010, james morris wrote:

In addidion to the "amidi" ALSA raw midi utility that has been suggested, you
can also easily write from a bash script to character devices, either the OSS
(/dev/midi*) or the ALSA ones (/dev/snd/midiC*). You can even create a
virtual MIDI port using the ALSA module snd-virmidi, so you can write chars
to a /dev/midi* node and connect the other side (the ALSA sequencer port) to
a synth.

> The tool would just be required to send a single midi note to some port.

As an example, here is a bash script that can be used with cron, to play
hourly a tune and some strokes.

Regards,
Pedro

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] sending random midi notes from a bash script, james morris, (Sat Feb 6, 2:46 pm)
Re: [LAU] sending random midi notes from a bash script, Pedro Lopez-Cabanillas, (Sat Feb 6, 5:33 pm)
Re: [LAU] sending random midi notes from a bash script, james morris, (Sun Feb 7, 12:42 pm)
Re: [LAU] sending random midi notes from a bash script, Pedro Lopez-Cabanillas, (Sun Feb 7, 1:51 pm)
Re: [LAU] sending random midi notes from a bash script, Ken Restivo, (Thu Feb 11, 9:38 am)
Re: [LAU] sending random midi notes from a bash script, Philippe Hezaine, (Sun Feb 7, 6:29 pm)
Re: [LAU] sending random midi notes from a bash script, Gabriel M. Beddingfield, (Sun Feb 7, 7:43 pm)
Re: [LAU] sending random midi notes from a bash script, Philippe Hezaine, (Sun Feb 7, 8:10 pm)
Re: [LAU] sending random midi notes from a bash script, Philippe Hezaine, (Mon Feb 8, 7:02 pm)
Re: [LAU] sending random midi notes from a bash script, Gabriel M. Beddingfield, (Tue Feb 9, 12:28 am)
Re: [LAU] sending random midi notes from a bash script, Philippe Hezaine, (Tue Feb 9, 8:26 am)
Re: [LAU] sending random midi notes from a bash script, Gordon JC Pearce, (Sat Feb 6, 3:46 pm)
Re: [LAU] sending random midi notes from a bash script, David Santamauro, (Sat Feb 6, 3:46 pm)
Re: [LAU] sending random midi notes from a bash script, james morris, (Sat Feb 6, 4:50 pm)