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 07:07
FromSergey Batov
SubjectRe: Question, write one note then have it repeat x times with 1 pitch inc.
Hi,
I'm reading you conversation with interest and suddenly thought:
Csound can do MIDI-out. Is it possible to save this MIDI-out stream
as a standard MIDI-file? If it's so one can create some fantastic
(algoritmic)
compositions using any program language (BASIC, PERL, e.t.c.) and transform
it
through Csound to MIDI-file. It's possible to do, of course, directly
(without Csound)
but in this case it's necessary to learn MIDI-file format.

Excuse me if this "moment notice" seems too foolish...

Regards,
Sergey Batov   batov@glasnet.ru

----------
> Îò: Larry Troxler 
> Êîìó: SONICMAN 
> Êîïèÿ: Csound Q&A list 
> Òåìà: Re: Question, write one note then have it repeat x times with 1
pitch inc.
> Äàòà: 14 ìàðòà 1999 ã. 7:52
> 
> 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
>