EasyManua.ls Logo

AMSTRAD CPC464 - Page 51

AMSTRAD CPC464
249 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
STEP TIME
This number specifies the time between steps in 0.01 second (1/100ths 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
10 sound 1,284,200,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/100ths 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 ent 1,2,17,70
10 sound 1,142,140,15,0,1
15 goto 5
run
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
20 sound 1,284,300,1,1,1
run
Then replace line 10 by typing in:
10 ent 1,100,-2,3

Table of Contents

Other manuals for AMSTRAD CPC464

Related product manuals