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

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

 



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@gwythaint:~$ printf '\xf0\x7f\xf7\x06\x02\xf7' | xxd
>0000000: f07f f706 02f7                           ......
>
>That's not the prettiest, but it works. 
>
>  
>



[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