| Hi,
It was a small mixup (the k-rate functions were assigned to the i-rate
opcode). I've fixed it and now works as expected.
Cheers,
Andrés
Jonathan Murphy wrote:
> Hi Folks,
>
> I'm pretty sure that system_i is broken. I've had a look at
> system_call.c, and I think that the problem might be that there is
> only ktrig, no itrig, but perhaps I misunderstand. At any rate, the
> following code:
>
>
>
> -+rtaudio=alsa -d -m0 -odac
>
>
> sr = 44100
> ksmps = 10
> nchnls = 1
>
> instr 1
> ires system_i 1,{{echo "hello"}}
> print ires
> endin
>
> instr 2
> kres system 1,{{echo "hello"}}
> printk2 kres
> endin
>
>
>
> i 1 0 1
> i 2 1 1
> e
>
>
>
> Prints this at stderr:
>
> SECTION 1:
> instr 1: ires = 0.000
> hello
> i2 0.00000
> Score finished in csoundPerform().
>
> So it seems that only the k-rate version is working, and that
> system_i is not being triggered, but is returning 0 for having done
> nothing, successfully? I can't think of a situation in which it would
> be necessary to use system_i rather than system (I just tried it first
> because I only needed it to run at i-time, but setting ktrig to 1 or
> using a p-field should do the same thing?), so perhaps only system is
> necessary?
>
> Csound version 5.04.1 beta (float samples) Jan 25 2007
>
> Thanks,
> Jonathan.
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |