Re: sending random midi notes from a bash script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux