STEP TIME
This number specifies the time between steps in 0.01 second (1/100th’s of a second). The range of a
step time number is 0 to 255. The longest time between steps therefore, is 2.55 seconds.
To experiment with the tone envelope, type in the following program:
5
ent 1,100,2,2
1 0 s o u n d 1 , 2 8 4 , 2 0 0 , 7 , 0 , 1
run
Line 10 specifies a sound with a tone period of 284 (interntional a) lasting for 2 seconds with a start
volume of 7, without a volume envelope (represented by 0), and with tone envelope number 1.
Line 5 is tone envelope number 1 consisting of 100 steps, increasing the tone period (reducing the
frequency) by 2 every 0.02 second (2/100th’s of a second).
Now change line 5 in each of the following ways and then run each time to hear the effect of
changing the tone envelope:
5 ent 1,100,-2,2
5 ent 1,10,4,20
5 ent 1,10,-4,20
Now replace the sound command and the tone envelope by typing in:
5 e n t 1,2,17,70
1 0 s o u n d 1 , 1 4 2 , 1 4 0 , 1 5 , 0 , 1
1 5 g o t o 5
r u n
Press the
[ESC]
key twice to break
Now you can put the volume envelope, tone envelope, and
sound
command together to create various
sounds. Start by typing in:
new
5 env 1,100,1,3
10 ent 1,100,5,3
2 0 s o u n d 1 , 2 8 4 , 3 0 0 , 1 , 1 , 1
run
Then replace line 10 by typing in:
10 ent 1,100,-2,3
Содержание 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 ...