[linux-audio-user] using cat to send a MIDI string ?

Dave Phillips dlphilp at bright.net
Tue Sep 21 20:40:59 EDT 2004


Thanks Lee, thanks Hans !

I'm trying to send a MMC message to Ardour to set it up to receive MIDI 
time code. Apparently Ardour will follow MTC but it has to receive an 
MMC Start message first. So far I'm still unsuccessful, even with your 
suggestions, but I'll keep at it.

Best regards,

dp



Hans Fugal wrote:

>>>  I know this is possible but I can't remember how. I want to send this
>>>string to a MIDI device:
>>>
>>>    f0 7f f7 06 02 f7
>>>
>>>  Anyone know the command syntax ?
>>>
>>>      
>>>
>>echo "f0 7f f7 06 02 f7" > /dev/midifoo
>>    
>>
>
>Except he probably wanted to send the hex values and not that exact string.
>
>fugalh at gwythaint:~$ printf '\xf0\x7f\xf7\x06\x02\xf7' | xxd
>0000000: f07f f706 02f7                           ......
>
>That's not the prettiest, but it works. 
>
>  
>





More information about the Linux-audio-user mailing list