Yamaha YM2612

From Wikipedia, the free encyclopedia
  (Redirected from YM2612)
Jump to navigation Jump to search
Yamaha YM2612

The YM2612, a.k.a. OPN2, is a sound chip developed by Yamaha. It belongs to Yamaha's OPN family of FM synthesis chips used in several game and computer systems.

Overview[edit]

The Yamaha YM2612 is a six-channel FM synthesizer, based on the Yamaha YM2203C. It was most notably used in Sega's Mega Drive/Genesis video game console,[1] as well as Fujitsu's FM Towns computer series.[2] As with the YM3438, it was used by Sega in various arcade game systems, including the Mega-Play, System 18, and System 32.

Features[edit]

The YM2612 has the following features:[3]

  • Six FM voices
  • Four operators per channel
  • Two interval timers
  • A sine-wave low frequency oscillator
  • Integrated stereo output digital-to-analog converter (most other contemporary Yamaha FM chips require a separate external D/A converter chip)
  • Per-channel programmable stereo sound (left, right, or both left and right resulting in centre)
  • For channel three, operator frequencies can be set independently, making dissonant harmonics possible. (Normally, they would have a simple relation like e.g. 2× or 3× relative to a common base frequency)

Technical details[edit]

The YM2612 is an extended and integrated derivative of the FM synthesis block from the YM2203C, removing the SSG component (though retaining its envelope generator) and I/O port, and integrating a stereo output DAC.[3] It was also available in CMOS form, as the YM3438, a.k.a. OPN2C.[3]

Whereas the high-end OPN chips such as the YM2608 have dedicated ADPCM channels for playing sampled audio, the YM2612 does not. However, its sixth channel can act as a basic PCM channel by means of the 'DAC Enable' register, disabling FM output for that channel but allowing it to play 8-bit pulse-code modulation sound samples.[3] Unlike the other OPNs with ADPCM, the YM2612 does not provide any timing or buffering of samples, so all frequency control and buffering must be done in software by the host processor.[1]

Output DAC peculiarities[edit]

An example of the crossover distortion created by the peculiar qualities of the YM2612's built-in DAC.
In some cases, the crossover distortion can affect the loudness, and to some degree the timbres, of certain sounds.

Unlike most Yamaha FM chips which require an external floating-point DAC, the YM2612 features a built-in 9-bit DAC, which utilizes time-division multiplexing to play one sample of each channel in sequence, similar to the YM2413.[citation needed] This method introduces a peculiar form of crossover distortion in the output, which has become known as the "ladder effect" among fans.[citation needed]

Additionally, because of the reduced dynamic range of the built-in DAC, additional distortion may be generated when playing sounds with a very high volume.[3]

Variants[edit]

Yamaha YM3438[edit]

The YM3438,[3] a.k.a. OPN2C, is a modified CMOS version of the YM2612. It is not a direct, drop-in replacement for the YM2612 however, as the sound outputs have higher impedance.

Yamaha YMF276[edit]

The YMF276, a.k.a. OPN2L, is a low-power version of the YM3438. Unlike YM2612 and YM3438, the YMF276 requires external DAC.

Yamaha Fx1004 and FJ3002[edit]

The YM3438 core was integrated in custom ASICs[4] used in most revisions of the Model 2 version of the Sega Mega Drive/Genesis.

Game Audio[edit]

As the main sound generator of the Sega Mega Drive/Genesis console, the YM2612 was prominently utilized by numerous prolific video game music composers, such as Yuzo Koshiro.

See also[edit]

References[edit]

  1. ^ a b Sega Genesis Technical Manual - YM2612 section (updated with errors corrected)
  2. ^ Games vs. Hardware. The History of PC video games: The 80's. p. 527. Retrieved 14 December 2017.
  3. ^ a b c d e f YM3438 Application Manual (Japanese)
  4. ^ https://console5.com/techwiki/images/5/57/Sega_Service_Manual_-_Genesis_II_-_Mega_Drive_II_%28PAL-B-I-G%2C_RGB%29%2C_No_001%2C_June%2C_1993.pdf

External links[edit]