| And as for me, I would encourage you to just write a program to generate your score in whatever language you are most comfortable with. Of course you can use ANY language to generate a score as a text file.
Beyond that, you can call Csound natively via the Csound API from the following languages, with facilities for building scores programmatically:
C
C++
Python
Java
Lisp
Lua
The examples/koch.py file shows how to do this in Python, but the other languages would follow the same pattern.
Note as well that in Python, you can embed the Csound orchestra right into the Python script as a triple-quoted string.
Regards,
Mike
-----Original Message-----
>From: Jacob Joaquin
>Sent: Mar 6, 2008 3:19 PM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] Re: Undeterred, he tries again
>
>
>I've spent a lot of time doing this in Perl, with great results, and learning
>much in the process. So I certainly encourage you to continue down this
>path.
>
>I would like to also suggest looking into ways of doing it completely in the
>score. For example, you can use macros like this:
>
># define n1 # 440 #
># define n2 # 440*9*.125 #
># define n3 # 440*5*.250 #
># define n4 # 440*4*.333 #
># define n5 # 440*3*.5 #
>
>i 1 0 .3 0 [$n1]
>i 1 .4 .3 . [$n2]
>i 1 .8 .3 0 [$n3]
>i 1 1.2 .3 . [$n1]
>i 1 1.6 .3 0 [$n1]
>i 1 2.0 .3 . [$n2]
>i 1 2.4 .3 0 [$n3]
>i 1 2.8 .3 . [$n1]
>
>
>Best,
>Jake
>----
>The Csound Blog
>http://www.thumbuki.com/csound/blog/
>
>
>
>Alan McConnell wrote:
>>
>> Instead of remembering what those notes actually are, one can make a
>> file -- using emacs or vi -- called myfile.sco.DRAFT . Here's
>> what a hunk of myfile.sco.DRAFT might look like:
>>
>> i 1 0 .3 0 [n1]
>> i 1 .4 .3 . [n2]
>> i 1 .8 .3 0 [n3]
>> i 1 1.2 .3 . [n1]
>> i 1 1.6 .3 0 [n1]
>> i 1 2.0 .3 . [n2]
>> i 1 2.4 .3 0 [n3]
>> i 1 2.8 .3 . [n1]
>>
>
>--
>View this message in context: http://www.nabble.com/Csound-5.08Beta-tp15870401p15883023.html
>Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|