ArticleslgStudy

computer science

Yamaha OPN

Yamaha OPN is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Yamaha OPN rather than just read about it. In short: The OPN (FM Operator Type-N) series is a family of sound chips developed by Yamaha. It consists of sound chips providing a programmable sound generator (PSG) and FM synthesis for use in computing, music and video game applications.

Yamaha OPN — main illustration
Yamaha OPN — illustration

Key takeaways

  • Yamaha OPN belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Yamaha OPN to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Yamaha OPN from memory before moving on to harder problems.

Reference excerpt

The OPN (FM Operator Type-N) series is a family of sound chips developed by Yamaha. It consists of sound chips providing a programmable sound generator (PSG) and FM synthesis for use in computing, music and video game applications. Ubiquitous in the 1980s and 1990s, the OPN series of chips have found their way into various arcade games, video game consoles and some personal computers as a means of generating sound up until they were supplanted by sample-based chips in the mid-to-late 1990s. Most chips in the OPN series also contained an on-chip PSG while some had dedicated channels for providing sample-based audio of various formats, providing a variety of sound generation methods. Compared to the low-cost OPL series, the OPN series was designed with four operators on its FM synthesis portion as opposed to two on the OPL chips, similar to that used in most other 4-op FM chips such as the YM2151 as well as in several synthesizers such as the DX21, DX27, DX100 and TX81Z, among others.

Internal operation

The OPN family of synthesizer chips generate sound via frequency-modulated digital sine waves. It works by phase modulating the instantaneous frequency of each waveform via a modulator. It includes 12 individual operators or "cells", each generating a 13-bit sine wave at a programmable frequency, the volume of which is controlled by a programmable attack, decay, sustain, and release (ADSR) envelope generator. The output of these cells could be either summed together by the mixer or fed into the input of another cell in batches, creating the final sound values or "channels" (also known as "voices"). The number of channels/voices can vary from one chip to another, with most Yamaha-produced FM chips (e.g. YM2151, YM2164, YM2414, etc.) supporting up to eight channels/voices. The OPN series supports up to three, four, and six channels/voices, depending on the chip model. The OPN series (as well as most other FM chips produced by Yamaha) uses up to four operator cells per channel, which can then be rearranged into eight different permutations of cell connections, or "algorithms" in Yamaha terminology. The eight algorithms are a derivative of the original 32 algorithms found in the Yamaha DX7, which originally used six operators for its algorithms, and were handpicked for use with only four operators in the DX9. The OPN family (as well as many other 4-op FM chips by Yamaha) uses a slightly modified operator arrangement for the third algorithm, differing from that used in the DX9. The ADSR parameters, multiplier and detune settings for each operator, combined with the algorithm chosen, make up what are known as sound presets or "instrument patches". The resulting digital sound output of each channel through the mixer is then converted to analog sound via a digital-to-analog converter (DAC). The OPN series used two DAC chips, the monaural YM3014 (used for the YM2203 as well as other chips such as the YM2151, YM3526, and YM3812) and the stereo YM3016 (used for the YM2608 and YM2610). The YM2612 on the other hand includes a built-in stereo DAC in lieu of an external DAC chip.

Chips in the series

OPN

The YM2203, a.k.a. OPN, was the first member of the OPN family introduced in 1984, featuring a six channel sound system. The primary three channels are dedicated to a four-operator FM synthesizer with eight FM algorithms. It also contains two interval timers, and includes an on-chip implementation of Yamaha's own version of General Instrument's AY-3-8910 PSG sound chip known as the YM2149 (Software-controlled Sound Generator; SSG) that adds three channels of SSG audio capable of producing square waves or noise, as well as an envelope generator and dual General Purpose Input/Output (GPIO) ports. Unique to the YM2203 as well as all other chips in the OPN series is the ability to set operator frequencies on the third channel independently, allowing for more dissonant harmonics to be generated; this is also known as "special FM3 mode".

OPNA

The YM2608, a.k.a. OPNA, was the second member of the OPN family, released in 1986. It is an improved version of the YM2203, featuring 16 channels of audio playback. It consists of six FM channels (adding an additional three FM channels on top of the YM2203's three existing FM channels), three SSG square wave/noise channels with an envelope generator, and seven adaptive differential pulse-code modulation (ADPCM) channels (one ADPCM channel, six Rhythm channels). It also featured a low-frequency oscillator (LFO), two interval timers, dual GPIO ports, and stereo sound output.

OPN3 The YMF288, a.k.a. OPN3 or OPN3-L, is a later variant of the YM2608, released in 1995. It removes certain features such as the ADPCM Sound Source, the lesser-used CSM (composite sinusoidal modeling) mode (which was equivalent to triggering multiple channels simultaneously), and dual GPIO ports. As a result, the number of sound channels is reduced to about 15 (six FM channels, three SSG channels, and six ADPCM Rhythm channels). It also implements a low-power mode, and came in much smaller physical 28-pin SOP and 64-pin QFP packages.

OPN4 The YMF297, a.k.a. OPN4, is a sound chip appearing in 1995 that contains both the YMF289 (OPL3-L) and YMF288 (OPN3) chips on one package, however only one chip can be used at any given time. It came on a smaller 44-pin QFP package, and was only known to be used on the PC-9801-118 sound card for NEC's PC-98 series.

OPNB

The YM2610, a.k.a. OPNB, was the third member of the OPN family, released in 1987. It is closely related to the YM2608, providing 14 channels of audio playback. It consists of four FM channels, three SSG square wave/noise channels and seven ADPCM channels (six channel ADPCM-A, one channel ADPCM-B). The YM2610 also includes an LFO and two interval timers, but lacks the GPIO ports of the SSG core found in the YM2203 and YM2608. A variant known as the YM2610B supported up to six FM channels instead of four, bringing the total number of audio channels to 16.

OPN2

… excerpt ends here. Continue reading the full article.

Illustrations

Yamaha OPN: Yamaha YM2203 (two chips)
Yamaha YM2203 (two chips)
Yamaha OPN: Yamaha YM2608
Yamaha YM2608
Yamaha OPN: Yamaha YM2610
Yamaha YM2610
Yamaha OPN: Yamaha YM2612
Yamaha YM2612

Worked examples

Example 1 — a first encounter with Yamaha OPN

Start with the simplest possible case. Write down what Yamaha OPN claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Yamaha OPN before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Yamaha OPN ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Yamaha OPN

In research
Yamaha OPN appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Yamaha OPN in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Yamaha OPN is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer-related introductions in 1984, Computer-related introductions in 1986, Computer-related introductions in 1987, so understanding it makes those chapters shorter.
In everyday life
Look for Yamaha OPN outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Yamaha OPN” →

How to study Yamaha OPN in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Yamaha OPN means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Yamaha OPN out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Yamaha OPN in simple terms?

The OPN (FM Operator Type-N) series is a family of sound chips developed by Yamaha. It consists of sound chips providing a programmable sound generator (PSG) and FM synthesis for use in computing, music and video game applications.

Why does Yamaha OPN matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Yamaha OPN?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Yamaha OPN.

Tags

  • Computer-related introductions in 1984
  • Computer-related introductions in 1986
  • Computer-related introductions in 1987
  • Computer-related introductions in 1988
  • Yamaha sound chips

Keep exploring