
6.3 Volume
Volume is simply the measure of how loud the sound is. To set the initial volume level of each
SOUND on the CPC464, there is a straightfoward scale
:
increase in value = increase in volume level, set by an integer number
in the range 0....15 (0...7 if no volume envelope is specified).
This value is also established in the
SOUND
command and is refered to as <volume>.
If you have already tried some simple notes, you will have noticed the relatively unexciting nature of
the way in which a regular note with no ‘processing’ is reproduced. This is because in conventional
musical instruments, as each note is played there is an increase in volume at the start of each note
-
called the attack -and a decrease in volume at the end of the note - called the decay.
The different forms of attack and decay for each type of musical instrument can be simulated on the
computer by adjusting the volume characteristics within a <volume envelope>.
6.4 Length of the note
The length of note is a basic feature of any musical construction, the unit of musical note length is
the crotchet, and there are minims, semiquavers etc. that are simple multiples or fractions of the
basic unit. However tunes can be played at varing speeds - and the basic length of time or reference
period for the ‘standard’ crotchet has to be determined.
To do this there is an expression in the
SOUND
command known as <duration>, which is an integer
where 1 unit = l/l00th second (i.e. 100 = 1 sec.). Note that it may also also be determined by the
length of the <volume envelope>, which helps to avoid confusion when a <volume envelope> is used.
Summary of Contents for CPC464
Page 1: ......
Page 102: ...PRINT 10 AND 12 Results in 8 PRINT 10 AND 1000 Results in 8 again ...
Page 118: ...TO DO DRAW THIS PAGE ...
Page 219: ...actual value may be made to vary during the execution of a program ...
Page 240: ...Text and WINDOW planner Mode 2 80 Columns ...
Page 241: ......