Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Suggestion for rtmidi=alsa ...

Date2012-08-24 11:54
Frompj@pjb.com.au
SubjectRe: [Csnd] Suggestion for rtmidi=alsa ...
Victor wrote:
> Thanks for the suggestion. We'll look into it.

Tito wrote:
> It is simple and useful, I think that this evening it will
> be in git (before the freeze) otherwise, if I'll have other
> problems, it is deferred to the next week.

Wonderful news, that would be most welcome :-)

It has implications for -M, because those arguments could be
strings, and could even be multiple, e.g.:

 -M ProKeys
 -M ProKeys,Keystation
 -M ProKeys,Keystation,14:1

I hope this will be OK ?   You call parse_address() once your
client is running, and it converts each string to an addr struct
(addr->client and addr->port) in a way that's compatible with
everything else in alsa-midi, e.g.
  aconnect ProKeys Roland
  aplaymidi -p TiM x.mid
  midichord -Q -f 0,1 -a 4,5 -i 14:0,Pro -o 14:1,TiMidity

Thanks, regards,
Peter Billam

http://www.pjb.com.au      pj@pjb.com.au     (03) 6278 9410
"Follow the charge, not the particle."  --  Richard Feynman
 from The Theory of Positrons, Physical Review, 1949