Re: Utilities

Chris Miller <zquatch-/[email protected]>
Newsgroups gmane.comp.audio.csound.tekno
Message-ID <[email protected]>
I considered using a scripting language, but didn't want to re-invent the wheel, if someone else had written something to do that.   
 
Thanks for the info.

Iain Duncan <[email protected]> wrote:
Not long ago I finally started learning some general scripting languages,
and I can say it is soooooo worth it. For a not long investment in learning
time, you can automate all those annoying tasks very easily. Now I use PHP
programs to make up table contents, header files declaring lots of tables,
etc. You could even use them to "pre-process" macro files from orchestra
code if you want to get the macros out of there for debugging purposes.
The macros make for very unhelpful error messages. )

If you're just going to be scripting Csound, probably Python is your best
bet as there have been some Python extensions in various builds of csound,
though of course Perl will do too. I use PHP just because I wanted to learn
it for web stuff anyway, and I naturally gravitate to it's very C-like
syntax. For my uses PHP works just as well as Perl and Python. Plus php5
looks like it will be very nice. Php syntax with way better oop support. = )

If you want a sample PHP script I used for making loads of table headers,
I'll post it to the list.

Iain


_______________________________________________
csoundtekno mailing list
[email protected]

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno

---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.