Csound Csound-dev Csound-tekno Search About

Re: Utilities

Date2003-10-07 21:30
From"Iain Duncan"
SubjectRe: Utilities
> I am looking for a couple utilites.  Does anyone know of a program that
manages function tables and instr ?statements?  I have banks of function
tables and instruments that I like to keep grouped into groups of similar
instruments and tables.  The problem is adding one often means renumbering
large numbers of tables and instruments manually.  Any suggestions?  Is
there anything that scales gen 7 or gen 5 tables?  Also is there a graphical
program to draw envelopes and waveforms for use in Csound?  I would prefer
something that converts to Gen 7 and Gen 5 or to linseg and expseg.


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
csoundtekno-N4abDuUB7xo@public.gmane.org

Subscribe, unsubscribe, change mailing list options: