
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
I haven't really looked into it but this thread brings up a question I have regarding passing string variables in p-fields using the Csound api...
How do I pass a string variable to csoundScoreEvent(CSOUND*, float*, long) ?
Regards,
-andy.f
----- Original Message -----
From: "Andres Cabrera" <
mantaraya36@...>
To: "Developer discussions" <
csound-devel@...>
Sent: Friday, May 29, 2009 10:30:09 AM (GMT-0500) America/New_York
Subject: Re: [Cs-dev] Type of variable samples
Have a look at:
http://www.csounds.com/manual/html/StringsTop.html
http://www.csounds.com/manual/html/stringconvert.html
Cheers,
Andres
On Thu, May 28, 2009 at 10:06 AM, davistro <
davistro@...> wrote:
>
> How can I use a sample as a variable? Which type of variable should I use to
> do that? For example I want to do this:
>
> instr 1
>
> ifilcod = "pista.wav"
>
> a1,a2 diskin ifilcod, p4
>
> outs a1, a2
>
> endin
>
> but we have the following error message:
>
> Macro definition for omacro:MacCsound
> orch compiler:
> 31 lines read
> instr 1
> error: input arg '"pista.wav"' of type string not allowed when expecting i,
> line 12:
> ifilcod = "pista.wav"
>
> 1 syntax errors in orchestra. compilation invalid
> -->CsoundLib Terminated...
> --
> View this message in context: http://www.nabble.com/Type-of-variable-samples-tp23763664p23763664.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> Csound-devel mailing list
>
Csound-devel@...> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
--
Andrés
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Csound-devel mailing list
Csound-devel@...https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship.
http://p.sf.net/sfu/creativitycat-com _______________________________________________
Csound-devel mailing list
Csound-devel@...
https://lists.sourceforge.net/lists/listinfo/csound-devel