| Hi,
I think the wiki might be a good place to keep these ideas, so they
are not forgotten...
https://sourceforge.net/apps/mediawiki/csound/index.php?title=Main_Page
Cheers,
Andrés
On Sun, Jan 22, 2012 at 12:12 AM, Victor Lazzarini
wrote:
> yes, that is another thing we need to find a solution for.
> On 21 Jan 2012, at 23:42, joachim heintz wrote:
>
>> with the new parser it is possible to return a string from a UDO, and
>> even more than one:
>>
>>
>>
>> opcode test, SSS, S
>> Sin xin
>> ipos1 strrindex Sin, "."
>> S1 strsub Sin, ipos1+1
>> ipos2 strrindex Sin, "/"
>> S2 strsub Sin, ipos2+1
>> S3 strsub Sin, 0, ipos2
>> xout S1, S2, S3
>> endop
>> instr 1
>> S1, S2, S3 test "/my/dir/myfile.wav"
>> printf_i "Extension = %s\n", 1, S1
>> printf_i "Filename = %s\n", 1, S2
>> printf_i "Directory = %s\n", 1, S3
>> endin
>>
>>
>> i 1 0 0
>>
>>
>>
>> very cool ...
>> but in a score line it is still not possible to send more than one string:
>>
>>
>>
>> instr 1
>> S1 strget p4
>> S2 strget p5
>> printf_i "%s %s\n", 1, S1, S2
>> endin
>>
>>
>> i 1 0 0 "one" "two"
>>
>>
>>
>> is this as expected?
>> thanks -
>> joachim
>>
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound- |