Text of this page, read by machine (may contain mistakes)
COLECOVISION SOUND USERS’ MANUAL page ii
byte 2: MSN = 4 bit ATN date Cnitia! value)
LSN = C 0 FO Fl, the top 2 bits of the frequency data (constant)
byte 3: NLEN, duration of the note = NIEN * 16 7ms5
byte ¢ ALEN | ASTEP
ALEN = number cf eteps in the attenvation sweep
ASTEP «= wtep size, 1 to 7, —1 to <8
byte 5: APS | APSV, prescale: relosd walue and initial APSV, 1 to 15 (0 «> 16)
* Type 3: Swept frequency, ewept attenuation
See Figure 7.
byte Oo: heeder, CHE in 57 - B4, note type = 3 tn BI - BO
Syte t: teest significant & Sits of the initial 10 bit irequency catia
byte 2: MSN » @ Sit ATN dete tntti2) walue)
{SN = 90 FO EL, the top 2 Site of the initial frequency data
byte 2: NLEX, nomber ef steps im the frequency sweep, 2 to 285 (0 =) 2364)
byte ¢: FPS ! FPSV, prescaier reload walue and initial FPSV, 0 - 18 (0 =) 16)
byte 5: FSTEP, sweep step size, 1 to 127, -1 te -128
byte 6: ALEN ! ASTEP
ALEN = number of steps im the attenuation sweep
ASTEP « step cise, 1 io 7, -1 to -8 .
byte 7: APS ! APSV, prescaler reload value and initie] APSV, 1 to 15 (0 =) 16)
* Noise notes: special case Type 2 notes
See Figure 8.
Noise notes ere notes that are pleyed on the sound chip noise generator (CHeO).
They are stored in ROM as a specia! case of a Type 2 note, fixed frequency and
Swept attenuation. They consist of white noise with superimposed attenyation
Gecay, which creates 4 percussive effect, such as a snare drum note.
Instead of frequency information, noise notes are stored with three bits of
noise control data: FB NTO NT twee TI data sheets 76487), which remain
constant throughout the note. Experimentation with virious values can result
in credible percussion effects.
KLEEN, ag ig the cese fcr « regular Type i note, directly determines the
Curation of @ noise note.
The sound chip noise generator is unlike the other generators in that sending
it redundant data G.e., the same data that it has stored in its internal
Tegisters) has an audible affect on its output. In particular, whenever
contre! data, recundant or not, is sent to the noise generator, its internal
shift register is reset, causing & short pop or click to be heard. This isn't
annoying on an occasional basis, or when a new noise starts, but remember:
PLAY_SONCS is sending data to all four channels every 16.7ms. This would cause
@ moticeable lack of “whiteness” in the noise generator's output.
PLAY_SONCS avoids this problem by referencing a dedicated CART RAM location,
SAVE_CTRL (see Figure 9) each time before it sends contre] data to the noise
generater, SAVE_CTRL contains the control data that wis output te the noise
Generator the last time through PLAY_SONCS. If the noise contro! data in the
pointed to song data area = SAVE_CTRL, PLAY_SONCS doesn't send it out again
If there is new data to be sent, that data is output and SAVE_CTRL is updated.