Csound Csound-dev Csound-tekno Search About

Re: Question, write one note then have it repeat x times with 1 pitch inc.

Date1999-03-14 04:52
FromLarry Troxler
SubjectRe: Question, write one note then have it repeat x times with 1 pitch inc.
SONICMAN wrote:
> 
> Question,
> 
> How could I write one note or on line in a score then have it repeat x
> number of times with a 1 note pitch increment each time?
> 
> i.e. a dminor scale, then a eminor scale, then ~ ~ etc.,
> 
> Thanks,
> SONICMAN=out

This might be possible, or it might not, with the latest features of the
score language. Someone else could answer this.

Regardless, based on the type of questions you have been asking, I think
you really should look into using some other program or programming
language to generate your scores. Sure, the problem  you pose today
might be solvable with the latest score language extensions. But what
about tommorow's problem? The point is, that the score language is not
meant to be a full-featured composition language. 

Treat the scound score as you would a raw midi-file - it's something
that you generate using other tools. In your case, why not use a
sequencer to generate the events you want, then convert the midi file to
a score file? Or write some quick thing in Visual Basic, Perl, Tcl, or
do some magic in your editor. Or, as someone suggested, use a
spreadsheet?

I think I understand your position, that you would rather not get
involved with using other tools, but the problem is that, once you get
into the realm of describing higher-level constructs in the score
language, then you *really* open a can of worms, because there are so
many ways of describing music. Csound doesn't attempt to tackle this
problem, just as the Midi file format doesn't. Csound is a synthesis
engine, not an algorithmic composition package or composer's toolkit.
Think of csound as the software equivalent of a synth or sound-card.

OTOH, if you're willing to constrain yourself to the things that the
score language macros can do for you, and have no wish to go any
farther,  then go for it. As long as you're sure that tomorrow you won't
want to do *diatonic* transpositions :-)
 
Larry

--  Larry Troxler --  lt@westnet.com  --  Patterson, NY USA  --