L: Tone Envelope
An integer value in the range 0… 1
5
default if omitted : 0
The value used specifies a pre-defined envelope. To define an envelope use the
ENT
command, A
permanent definition is tone <envelope number> 0, this cannot be changed by the
ENT
command
and is set to the ‘tone period’ constantly.
M: Noise Period
An integer value in the range 0…
15
default if omitted : 0
Specifies the noise to add to the
SOUND
. If default or zero is used, then no noise is added. Remember
that only one noise period can be set at one time. This means that all channels specified for noise will
receive the same noise.
6.11 The
ENV
command and volume envelopes
Attack and decay are required to add dimension to the note and give it life. This command (
EN
velope
V
olume) enables the shape of a note to be formed. It is a good idea before attempting to describe the
shape to the computer using the numeric instruction sequence to sketch out your requirement on
paper. See example below
:
Figure 3: Volume envelope example
The shape must be plotted in numbers so that it can be formatted into a command statement. To do
this
,
subdivide the shape into sections , you may have up to 5. But in each section the shape must be
a straight line. Now divide each section into steps, the number of steps you choose will be known as
the <step count>, these steps will be given a length of time called <pause time>. 1 = l/l00th sec.].
The steps will also have an increase or decrease in volume known as the step size. If no steps are
specified in a section then there is just a volume setting carried forward to the next section.
N.B. When attempting to simulate a musical instrument it is often the case that the initial and final
volume of each note will be zero, so the initial volume setting in the SOUND command should be
zero and all the volume be added by the envelope.
Содержание CPC464
Страница 1: ......
Страница 32: ...or you can type 3e1 1e1 ENTER 300 2 3000x1000 Type 3e3 1e3 ENTER 3000000 3 3000x0 001 Type 3e3 1e 3 ENTER 3 ...
Страница 102: ...PRINT 10 AND 12 Results in 8 PRINT 10 AND 1000 Results in 8 again ...
Страница 118: ...TO DO DRAW THIS PAGE ...
Страница 219: ...actual value may be made to vary during the execution of a program ...
Страница 240: ...Text and WINDOW planner Mode 2 80 Columns ...
Страница 241: ......
Страница 245: ...Sound envelope Music planner sheet ...