EasyManua.ls Logo

Commodore 64 - Commodore 64 Sound Control Settings

Commodore 64
176 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...
APPENDIX P
COMMODORE 64 SOUND CONTROL
SETTINGS
This handy table gives you the key numbers you need to use in your
sound programs, according to which of the Commodore 64's 3 voices
you want to use. To set or adjust a sound control in your BASIC pro-
gram, just POKE the number from the second column, followed by a
comma (,) and a number from the chart. . . like this: POKE 54276,17
(Selects a Triangle Waveform for VOICE 1).
Remember that you must set the VOLUMEbefore you can generate
sound. POKE54296 followed by a number from 0 to 15 sets the volume
for all 3 voices.
It takes 2 separate POKEs to generate each musical note
. . . for
example POKE54273,34:POKE54272,75 designates low C in the sample
scale below.
Also. . . you aren't limited to the numbers shown in the tables. If 34
doesn't sound "right" for a low C, try 35. To provide a higher SUSTAIN
or ATTACKrate than those shown, add two or more SUSTAIN numbers
together. (Examples: POKE54277,96 combines two attack rates (32 and
64) for a combined higher attack rate
. . . but. . . POKE54277,20
provides a low attack rate (16) and a medium decay rate (4).
162

Table of Contents

Other manuals for Commodore 64

Related product manuals