[chuck-users] multiple midi ports

Thomas Girod girodt at gmail.com
Fri Oct 29 15:37:19 EDT 2010


for example, here is a small script:

--- test.ck ---

Std.atoi(me.arg(0)) => int port;

MidiIn min;
MidiMsg msg;

<<< port >>>;

min.open(port);

while (true)
{
    min => now;
    while (!min.recv(msg))
    {
        <<< msg.data1, msg.data2, msg.data3 >>>;
    }
}

--- end test.ck ---

if I run 

%> chuck-jack test.ck:0

a midi in port appears in qjackctl.

if I run

%> chuck-jack test.ck:0 test.ck:0

I still have only one midi in port in qjackctl

Am I doing it wrong ?

tom


On Fri, Oct 29, 2010 at 09:13:45PM +0200, Kassen wrote:
> 
> 
> On 29 October 2010 21:04, Thomas Girod <girodt at gmail.com> wrote:
> 
>     hi there.
> 
>     Is there a way to open multiple midi ports with chuck ? (on linux)
> 
> 
> 
> This should simply work as advertised. Defining several ports, then opening
> those should do the trick. Could you describe what you did and where and how it
> fails?
> 
> Yours,
> Kas.


More information about the chuck-users mailing list