5 env 1,100,1,10
5 e n v 1,100,2,10
5 e n v 1,100,4,10
5 e n v 1,50,20,20
5 e n v 1,50,2,20
5 e n v 1,50,15,30
And finally try this:
5 env 1,50,2,10
You wilI notice that half way through the sound, the level remains constant. This is because the
number of steps was 50 and the time between each step was 0.1 second. Therefore the length of time
during which the amplitude varied was only 5 seconds, but the duration of the sound in the sound
command in line 10 was 10 seconds (number 1000).
Try experimenting yourself, to see what type of sounds you can create.
TONE ENVELOPE
The tone envelope command is ent.
This normally has 4 parameters.
The last 3 parameters may appear in any of up to 5 optional envelope sections available. We are only
using one of these here. Further explanation will appear in Chapter 6.
ent envelope number, number of steps, tone period of step, step time.
ENVELOPE NUMBER
This is the number given to a particular envelope so that it can be specified in the sound command.
The range of envelope numbers is 1 to 15.
NUMBER OF STEPS
This is used in conjunction with the step time. For example, you may wish to have 10 steps of 1
second each. The range of step numbers is 0 to 239.
TONE PERIOD OF STEP
The tone period for each step can vary between -128 to +127. Negative steps increase the frequency
of the notes (make the notes higher). The shortest tone period is 0. This must be remembered when
calculating the tone envelope, The full range of tone periods is shown in Appendix VII. The range of
tone period of step numbers is -128 to + 127.
Содержание 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 ...