Try
Csound with simple notes
Select
the "Data" window and type cmd-o to load "-da.tryCsound" in the examples
folder. On top of the "Data window" the instruction
-cs.tryCsound
tells
BP2 to immediately load the "-cs.tryCsoun
d"
file describing the orchestra. Since no "-mi.<name
>"
is attached, musical items will contain only simple notes, and Csound scores
will be based on the conversion of MIDI messages.
Select
for instance the sequence of simple notes
A4 G4 C5 A4
and
type cmd-p ("Play selectio
n").
This item is played on MIDI and immediately saved to a Csound score file
containing:
t
0.000 60.000
i2
0.000 1.000 440.00 90.000 0.000 0.000 0.000 ; A4
i2
1.000 1.000 392.00 90.000 0.000 0.000 0.000 ; G4
i2
2.000 1.000 523.25 90.000 0.000 0.000 0.000 ; C5
i2
3.000 1.000 440.00 90.000 0.000 0.000 0.000 ; A4
s
Each
line starts with "i2" meaning that instrument 2 is used. BP2 found this value
in the settings of instrument 2:
Assign
as default to channel 1
and
MIDI channel 1 is the one used by default.
On
each score line, the "2" of "i2" is the value of argument 1, the leftmost one.
The next two arguments are always assigned to the on-setting date and duration
of the event, measured in beats. Then comes argument 4, which in this example
is assigned to pitch, here in cycles per second. Argument 5 is the volume
(range 0..127) set to 90 by default. Arguments 6, 7 and 8 are used for another
parameter not demonstrated here.
Instrument
2 does not accept any other parameter. Therefore, velocity, pressure,
modulation, etc., assignments are ignored.