Article History
 
 
 
Discussion
 
10522 views
 
59% nentennex
2a03 (soundchip) View HTML Version
 

NSF is the sound file format for the Ricoh 2A03 chip used in the '[[NES Famicom (console)[Nintendo NES/Famicom game console].  The NSF filetype also supports additional sound expansion chips.

The 2A03 has five sound channels: two pulse waves, one triangle, one noise, and one DPCM channel.

'[#[Specifications]
The 2a03, internally controlled by a 6502 microchip, has five sound channels: 
- two pulse wave channels, 
- one triangle wave channel, 
- one (white) noise channel, and 
- one DPCM (sample) channel. 

'[t[b3]Pulse Channel'[/t]
The pulse channel -- similar to the square wave -- has volume control of sixteen levels and a variable duty cycle of 12.5%, 25%, 50%, 75%, with hardware pitch pending supporting frequencies from 28Hz to 54kHz. Pulse waves are commonly used as lead instruments because of the ability two combine the two channels into one lead sound or combined as chords.  It also has a neat 'phasing' feature by playing two different notes to create a duophonic sound by playing the same notes or frequencies on both channels while one channel has a slight pitch bending effect assigned to it. This creates a duophonic sound and/or a sound similar to a synthesizer's oscillator.

'[#[Triangle Channel]
The triangle channel -- similar to a sine wave -- is a fixed volume and is capable of frequencies from 27 Hz to 56 kHz. (Volume may be changed by increasing or decreasing the DC levels of the DPCM channel or by the pitch of the triangle channel itself.) Like the square wave, the triangle wave produces odd harmonics -- as opposed to even harmonics, but because the triangle's higher harmonics the roll off is much faster than the square wave (or pulse wave) which creates a sound closer to even harmonics. This could explain the pleasing sound a triangle has when used as lead instrument.

'[#[Noise Channel]
The noise channel produces white noise. White noise is a random flat signal that crosses over frequencies, also called spectral density.
White noise has the ability to cut through sound as well as absorbs other sounds (frequencies). The NES noise channel has sixteen-volume levels and has two modes. Each mode can be adjusted via the linear feedback shift register at sixteen programmed frequencies. There are two modes of playback:  Short pattern, and long pattern.  Long pattern likens to the term "white noise".  It is a hissing or crunching noise.  Short pattern's output is not as random as long pattern and outputs certain detuned high frequencies or more defined sounds; due to less randomness.

'[#[DPCM]
The DPCM channel has six bits of range and uses 1-bit delta encoding at sixteen preprogrammed samples rates from 4.2 kHz to 33.5 kHz. This channel was also capable of playing standard pulse-code modulation (PCM) sound by writing individual 7-bit values at timed intervals.

'[#[Consoles]
The soundchip is used in the following consoles:
- '[[NES Famicom (console)[NES/Famicom]

'[#[Development]
NSF file format specs available from Kevin Horton at '[l[http://kevtris.org/nes/nsfspec.txt[CLICK HERE]

'[#[Competition]
- '[[nsf (format)]
- '[[nsfplus (format)]
- '[[famitracker (format)]

'[#[See also]
All related Lyceum articles:
referencing to: 
- '[[NES Famicom (console)]

 
C A T E G O R I E S
 
 
Sound Chips