Program Output

The program output for nGen can be of two varieties: Csound score-file format (default) or a standard MIDI file (type 1, invoked with the -m switch). If your instrument-block is one that generates pitch (after all, Csound doesn't have to deal with pitch) it is a good idea to use the standard convention of P4 = amplitude, P5 = pitch (frequency). If you use this convention all of your pitch based nGen input files can be successfully converted to MIDI with the -m switch (otherwise they will be converted with strange results!).