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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Philippe Hezaine <philippe.hezaine@...>
Cc: <linux-audio-user@...>
Date: Tuesday, February 9, 2010 - 12:28 am

On Mon, 8 Feb 2010, Philippe Hezaine wrote:

> Ha! Ha! May be you are fallen into a trap.

Ha! :-) I'll have to pass on SuperSir, sorry. I can't
spend any more time on this.

Yes, it would be simple to match 'line' against a regular
expression (like "^[0-9]*:[0-9]*:[0-9]* .*") and only
process the lines that match. (Just print out non-matching
lines unprocessed.) The other parts just need a little
book-keeping.

FWIW, your previous snippet /did/ have negative numbers in
it. :-P

Peace,
Gabriel
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

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)