Csound Csound-dev Csound-tekno Search About

RE: [Cs-dev] soundfile reader

Date2006-05-01 15:13
From"Piche Jean"
SubjectRE: [Cs-dev] soundfile reader


A double-buffered reader would be a blessing for doing overlapping 
loops. Loop points and overlap length should be variable at k-rate. 
Using reinit on loop points is unreliable and/or catastrophic on all 
opcodes/schemes I have tried.

j



-----Original Message-----
From: csound-devel-admin@lists.sourceforge.net on behalf of Victor Lazzarini
Sent: Mon 5/1/2006 7:22 AM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] soundfile reader
 
That's perfect. I forgot about csoundInputMessage(),
which you had explained way back when you introduced it.
Thanks again for the thorough explanation.


>
> On Monday 01 May 2006 12:33, Victor Lazzarini wrote:
>
> > Btw, I expect that the ifilcod parameter would take
> > a S-type variable, that is, say, bound to a string
> > channel. Am I right?
>
> Yes, all opcodes that take a string argument should accept
> an S-variable too, even if the manual suggests "must be a
> string in double quotes". So, you can use a global string
> variable and export it in the orchestra header with
> chnexport.
>
> > And another thing, regarding the API, is it possible
> > to pass a char *, cast as a float in p-field of a score
> > event, to a instrument? If not, would it be possible to
> > have support for strings in events ?
>
> It is already possible to use string p-fields (or, more
> precisely, exactly one string p-field) for score events.
> To create such score events through the API, the function
> csoundInputMessage() should be used, rather than
> csoundScoreEvent(); note that currently there is some
> check that limits the use of the string argument to p5, or
> , for 'i' events only, p1. The length of strings passed as
> a p-field of a real time score event is also limited to
> 199 characters.
>
> The string p-field can be used by many orchestra opcodes
> directly, or it can be copied to a string variable first:
>
> a1    diskin2 p5, 1
>
> Sname strget p5
> a1    diskin2 Sname, 1
>
> csoundInputMessage(csound, "i 1 0 10 0 \"foo.wav\"");
>
>
> -------------------------------------------------------
> 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
https://lists.sourceforge.net/lists/listinfo/csound-devel