|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Type of variable samplesHow 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... |
|
|
Re: Type of variable samplesYou mean a string? Use S-variables.
Victor ----- Original Message ----- From: "davistro" <davistro@...> To: <csound-devel@...> Sent: Thursday, May 28, 2009 4:06 PM Subject: [Cs-dev] Type of variable samples > > 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 ------------------------------------------------------------------------------ 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 |
|
|
Re: Type of variable samplesThanks for your help :D
|
|
|
Re: Type of variable samplesHave 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 |
|
|
Re: Type of variable samplesI 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 |
|
|
Re: Type of variable samplesYou don't. That's for arrays of float. Use csoundInputEvent or
whatever it is called for strings. Hope this helps, Mike On 5/29/09, Andy Fillebrown <andy@...> wrote: > > 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 > -- Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot 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 |
|
|
Re: Type of variable samplesIs that what csoundInputMessage does? It sends score events? Thanks, I'll try that. -andy.f ----- Original Message ----- From: "Michael Gogins" <michael.gogins@...> To: "Developer discussions" <csound-devel@...> Sent: Friday, May 29, 2009 2:36:39 PM (GMT-0500) America/New_York Subject: Re: [Cs-dev] Type of variable samples You don't. That's for arrays of float. Use csoundInputEvent or whatever it is called for strings. Hope this helps, Mike On 5/29/09, Andy Fillebrown <andy@...> wrote: > > 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 > -- Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot 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 ------------------------------------------------------------------------------ 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 |
|
|
Re: Type of variable samplesYes, it sends score lines, taking whole strings for
them. You can
send more than one score line.
Victor
------------------------------------------------------------------------------ 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 |
|
|
Re: Type of variable samplesThis seems like a better option than using sendScoreEvent(). I guess
you learn something knew every day.. 2009/5/30 victor <Victor.Lazzarini@...>: > Yes, it sends score lines, taking whole strings for them. You can > send more than one score line. > Victor > > ----- Original Message ----- > From: Andy Fillebrown > To: Developer discussions > Sent: Saturday, May 30, 2009 6:43 PM > Subject: Re: [Cs-dev] Type of variable samples > > Is that what csoundInputMessage does? It sends score events? > Thanks, I'll try that. > > -andy.f > > > > ----- Original Message ----- > From: "Michael Gogins" <michael.gogins@...> > To: "Developer discussions" <csound-devel@...> > Sent: Friday, May 29, 2009 2:36:39 PM (GMT-0500) America/New_York > Subject: Re: [Cs-dev] Type of variable samples > > You don't. That's for arrays of float. Use csoundInputEvent or > whatever it is called for strings. > > Hope this helps, > Mike > > On 5/29/09, Andy Fillebrown <andy@...> wrote: >> >> 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 >> > > > -- > Michael Gogins > Irreducible Productions > http://www.michael-gogins.com > Michael dot Gogins at gmail dot 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 > > ________________________________ > > ------------------------------------------------------------------------------ > 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 > > ------------------------------------------------------------------------------ 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 |
|
|
Re: Type of variable samplesI hadn't come across this function before either..
2009/5/30 Rory Walsh <rorywalsh@...>: > This seems like a better option than using sendScoreEvent(). I guess > you learn something knew every day.. > > 2009/5/30 victor <Victor.Lazzarini@...>: >> Yes, it sends score lines, taking whole strings for them. You can >> send more than one score line. >> Victor >> >> ----- Original Message ----- >> From: Andy Fillebrown >> To: Developer discussions >> Sent: Saturday, May 30, 2009 6:43 PM >> Subject: Re: [Cs-dev] Type of variable samples >> >> Is that what csoundInputMessage does? It sends score events? >> Thanks, I'll try that. >> >> -andy.f >> >> >> >> ----- Original Message ----- >> From: "Michael Gogins" <michael.gogins@...> >> To: "Developer discussions" <csound-devel@...> >> Sent: Friday, May 29, 2009 2:36:39 PM (GMT-0500) America/New_York >> Subject: Re: [Cs-dev] Type of variable samples >> >> You don't. That's for arrays of float. Use csoundInputEvent or >> whatever it is called for strings. >> >> Hope this helps, >> Mike >> >> On 5/29/09, Andy Fillebrown <andy@...> wrote: >>> >>> 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 >>> >> >> >> -- >> Michael Gogins >> Irreducible Productions >> http://www.michael-gogins.com >> Michael dot Gogins at gmail dot 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 >> >> ________________________________ >> >> ------------------------------------------------------------------------------ >> 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 >> >> > ------------------------------------------------------------------------------ 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 |
| Free embeddable forum powered by Nabble | Forum Help |