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

From: Gabriel M. Beddingfield <gabrbedd@email-addr-hidden>
Date: Tue Feb 09 2010 - 02:27:53 EET

On Mon, 8 Feb 2010, Philippe Hezaine wrote:

> Ha! Ha! May be you are fallen into a trap.
> My previous snippet was not complete!
> If you want to become a SuperSir (the ultimate step being SuperMan) you
> have to overcome at least two issues. :)

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@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Feb 9 04:15:01 2010

This archive was generated by hypermail 2.1.8 : Tue Feb 09 2010 - 04:15:02 EET