AMSTRAD CPC464 User Manual page 51

Cpc464 colour personal computer 64k
Hide thumbs Also See for CPC464:
Table of Contents

Advertisement

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 e n t 1 , 1 0 0 , 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 e n t 1 , 1 0 , 4 , 2 0
5 e n t 1 , 1 0 ,-4,20
Now replace the sound command and the tone envelope by typing in:
5 e n t 1 , 2 , 1 7 , 7 0
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
command together to create various
sound
sounds. Start by typing in:
new
5 e n v 1 , 1 0 0 , 1 , 3
1 0 e n t 1 , 1 0 0 , 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:
1 0 e n t 1 , 1 0 0 ,-2,3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents