Parameter 2: Step Size; Parameter 3: Pause Time; Parameter 1: Tone Period; Parameter 2: Pause Time - AMSTRAD cpc 6128 User Instruction

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

Parameter 2: <step size>
This parameter must be in the range -128 to
+
127. Negative steps make the pitch of
the note higher; positive steps make the pitch of the note lower. The shortest tone
period is O. The full range of tone periods is shown in the chapter entitled 'For your
reference .... '.
Parameter 3: <pause time>
This parameter specifies the time between steps in 0.01 second (hundredths of a
second) units. The range of <pause time> numbers is 0 to 255 (where 0 is treated as
256), which means that the longest time between steps is 2.56 seconds.
If2 parameters are used, these are:
<tone period> , <pause time>
Parameter
1:
<tone period>
This parameter gives a new absolute setting for the tone period. (See Parameter 2 of
the SOU N D command.)
Parameter 2: <pause time>
This parameter specifies the pausing time in 0.01 second (hundredths of a second)
units. The range of <pause time> numbers is 0 to 255 (where 0 is treated as 256), or
2.56 seconds.
General
Note that the total length of all the ,pause time>s should not be greater than the
<duration> parameter in the SOU N D command, otherwise the sound will finish before
all the tone steps have been passed through. (In such a case, the remaining contents of
the tone envelope are discarded.)
Likewise, if the <duration, parameter in the SOU N D command is longer than the
total length of all the ,pause time,s, the sound will continue after all ofthe tone steps
have been passed through, and will remain constant at the final tone pitch.
Up to 5 different <envelope section>s, (each made up of the above 2 or 3 parameters)
may be used in an ENT command.
The first step of a tone envelope is executed immediately.
Each time a given tone envelope is set, its previous value is lost.
Specifying an <envelope number, with no ,envelope section>s cancels any previous
setting.
Further information concerning sound will be found in part 2 of the chapter entitled
'At your leisure .... '.
Associated keywords: EN V, SOU N D
Chapter 3 Page 22
Complete List of Keywords

Advertisement

Table of Contents
loading

Table of Contents