Yamaha YM3812

Yamaha YM3812
Yamaha YM3812
An audio sample of music written for and played on YM3812

The Yamaha YM3812 also known as the OPL2 (OPL is an acronym for FM Operator Type-L) is a sound chip (i.e. integrated circuit) created by Yamaha Corporation in 1985 and famous for its wide use in IBM PC-based sound cards such as the AdLib and Sound Blaster.

It is backwards compatible with the OPL aka YM3526, to which it is very similar – in fact, it only adds 3 new waveforms. An upgraded version of the OPL2, the OPL3 aka YMF262, was also popular in later sound cards such as the Soundblaster 16. Another related chip is the YM2413 (OPLL), which is a cut down version.

The circuit has 244 different write-only registers. It can produce 9 channels of sound, each made of two oscillators or 6 channels with 5 percussion instruments available. Each oscillator can produce sine waves which may also be modified into 3 other waveforms – the negative part of the sine can be muted or inverted, and pseudo sawtooth waves (1/4 sine waves upward only with silent sections in between) can also be produced. This odd way of producing waveforms give the YM3812 a characteristic sound. Each wave generator has its own ADSR envelope generator. Its main method of synthesis is Frequency modulation synthesis, done by phase modulation of the phase of one of the channel's oscillators by the output of the other.

YM3812 oscillator waveforms

Overview of a channel's registers:

For the whole channel:

  • Main frequency (10 bits)
  • Octave (3 bits)
  • Note on/off
  • Synthesis mode (FM or just additive)
  • Feedback (0–7, the modulator modulating itself)

For each one of the 2 oscillators:

  • Frequency multiply (can be set to 1/2, 1 to 10, 12 or 15)
  • Waveform (Sine, half-sine, absolute-sine, quarter-sine)
  • Volume (0–63, logarithmic)
  • Attack, Decay, Sustain, Release (4 bits each, logarithmic)
  • Tremolo (On or off)
  • Vibrato (On or off)
  • Sustain (On or off)
  • Envelope scaling per key (On or off)
  • Volume scaling per key (0–3)

There are also a few parameters that can be set for the whole chip:

  • Vibrato depth
  • Tremolo depth
  • Percussion mode (uses 3 channels to provide 5 percussion sounds)
  • Composite sine mode (very rarely used; doesn't work on the OPL3)

Internal operation

The internal operation of the chip is completely digital. Each FM-tone is generated by a digital oscillator using a form of direct digital synthesis. A quarter of the log-transformed sine waveform is stored as a sampled approximation in a 256-word read-only memory (ROM) table. The rest of the sine-waveform is extrapolated via its property of symmetry. Scaling the output of an oscillator to a wanted volume would normally be done by multiplication, but the YM3812 avoids multiplications by operating on log-transformed signals, which reduces multiplications into computationally cheaper additions. Another 256-word ROM stores the exponential function as a lookup table, used to convert the logarithmic scale signal back to linear scale when required, as the final stage where the oscillator-outputs are summed together (just prior to the DAC-output bus.) The YM3812's output, a sequence of floating point numbers clocked at a sampling frequency of approximately 49720 Hz, is sent to a separate digital-to-analog converter (DAC) chip, the YM3014B.

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Yamaha YM3812 — Der Yamaha YM3812 auch bekannt als OPL2 (OPL ist eine Abkürzung für FM Operator Type L) ist ein Soundchip bzw. integrierter Schaltkreis, hergestellt von der Yamaha Corporation und ist bekannt für seine weite Verbreitung in Soundkarten für den IBM …   Deutsch Wikipedia

  • Yamaha YM3812 — Un chip de sonido Yamaha YM3812. El chip Yamaha YM3812, conocido también como OPL2 (OPL es un acrónimo de FM Operator Type L ) es un chip de sonido creado por Yamaha Corporation, famoso por su amplia utilización en tarjetas de sonido para los PCs …   Wikipedia Español

  • Yamaha YM3812 — Микросхема Yamaha YM3812, год выпуска 1991 Yamaha YM3812, также известная как OPL2 (сокращение для FM Operator Type L) электронный компонент, микросхема звукогенератора, разработанная компанией …   Википедия

  • Yamaha YMF262 — (year 1994) The Yamaha YMF262, also known as the OPL3 (OPL is an acronym for FM Operator Type L), is an FM synthesis sound chip. It is an improved version of the Yamaha YM3812 (OPL2), adding the following features: twice as many channels (18… …   Wikipedia

  • Yamaha YMF262 — (1994) …   Википедия

  • Yamaha Corporation — Yamaha Logo de Yamaha Création 12 octobre 1887 Siège social Hamamatsu …   Wikipédia en Français

  • Yamaha YMF262 — Yamaha YMF262. Archivo:YamahaOPL2.jpg Yamaha YMF262 M en Modem Rockwell. El Yamaha YMF262 también conocido como OPL3 (OPL es un acrónimo de FM Operator Type L), es una versión mejorada del chip de sonido Yamaha YM3812 (OPL2) diseñado y fabricado… …   Wikipedia Español

  • Yamaha YM2413 — El Yamaha YM2413, también llamado OPLL, es un Chip de sonido de muy bajo costo fabricado por Yamaha Corporation y basada en su Yamaha YM3812 (OPL2). Para hacer al chip más barato de fabricar, muchos de los registros internos fueron quitados. Por… …   Wikipedia Español

  • YM3812 — Микросхема Yamaha YM3812, год выпуска 1991 Yamaha YM3812, также известная как OPL2 (сокращение для FM Operator Type L) электронный компонент, микросхема звукогенератора, разработанная компанией подложке кристалла указан 1985 год). Получила… …   Википедия

  • Yamaha — Logo de Yamaha Création 12 octobre 1887 Siège social …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”