YMF278B
Yamaha YMF278B (OPL4)
Overview
The Yamaha YMF278B, known as OPL4, is a hybrid sound chip that combines FM synthesis with genuine sample-based synthesis, often loosely referred to as "wavetable synthesis" even though this term is technically a slight misnomer for how the chip actually works. Released as the direct successor to the YMF262 (OPL3), the OPL4 represents the final and most ambitious member of Yamaha's long-running OPL sound chip lineage.
Rather than replacing FM synthesis outright, the OPL4 retains the entire FM synthesis block from the OPL3, preserving full backward compatibility with existing OPL2 and OPL3 software, while adding an entirely new sample-playback engine on top. This gave the chip a distinctive dual-engine design similar in spirit to the earlier YM2203's combination of FM and PSG, but aimed at a very different and considerably more advanced sonic target: high-quality, CD-quality-adjacent sampled instrument playback.
The chip's sample-based section provides 24 additional PCM sample channels, supporting audio sampled at up to 44.1kHz in 8, 12, or 16-bit resolution, with stereo output and 16 levels of panning per voice. Sample data can be read from external ROM or SRAM, with the option to connect Yamaha's own YRW801 2MB ROM chip, which holds a General MIDI-compatible library of roughly 330 samples, including 128 melody instrument sounds and 47 percussion sounds.
Like its OPL3 predecessor, the YMF278B outputs audio digitally and requires an external DAC to convert its signal to analogue form; Yamaha paired it with the same YAC513 DAC originally developed for the OPL3, maintaining continuity across the chip family's audio output stage.
Technical characteristics
- Manufacturer: Yamaha
- Model: YMF278B (OPL4)
- FM section: Full OPL3 FM synthesis block retained (up to 6 four-operator or 18 two-operator channels)
- PCM section: 24 additional sample-based channels
- Sample specs: Up to 44.1kHz, 8/12/16-bit, stereo with 16-level panning
- Sample memory: External ROM or SRAM, up to 4MB; supports Yamaha YRW801 2MB General MIDI-compatible ROM (~330 samples)
- DAC: External Yamaha YAC513 (shared with the OPL3)
- Effects: Compatible with the Yamaha YSS225 effects processor for additional sound processing
- Backward compatibility: Fully compatible with OPL2/OPL3 FM software
- Notable use: High-end DOS-era PC sound cards (e.g. Yamaha Sound Edge series), some Yamaha-based synthesizer and sound modules
FM meets true sample playback
The OPL4's combination of a fully-featured FM synthesis engine with genuine sample-based playback gave it a considerably more versatile and realistic sonic palette than any earlier chip in the OPL family. Where the OPL3 could only approximate instrument timbres through FM algorithms, the OPL4's PCM section could play back actual recorded samples of real instruments, dramatically improving the realism of General MIDI-style playback on PC sound cards equipped with the chip.
This dual approach let sound card manufacturers offer both worlds simultaneously: full legacy compatibility with the enormous library of older AdLib and Sound Blaster-era OPL2/OPL3 FM music, alongside considerably more convincing sampled instrument playback for newer General MIDI software, all from a single chip.
Despite its technical sophistication, the OPL4 arrived relatively late in the FM synthesis era, just as the PC industry was shifting decisively toward Windows-based software mixing and dedicated wavetable synthesizer daughterboards, which limited how widely the chip was ultimately adopted compared to its more commercially dominant OPL2 and OPL3 predecessors.
Legacy and importance
The YMF278B stands as the technical high point of the OPL lineage, demonstrating Yamaha's continued innovation in combining FM synthesis with newer sample-based techniques even as the broader PC audio industry began moving away from FM synthesis as a primary sound-generation method. Its General MIDI compatibility and relatively high-quality sample playback made it an attractive option for higher-end sound cards during a relatively brief window in the mid-1990s.
Today, the OPL4 is of particular interest to retrocomputing enthusiasts and chiptune musicians who want to explore the endpoint of the OPL family's evolution, and it remains supported by dedicated emulation cores in chiptune tracker software, letting musicians recreate its distinctive combination of legacy FM tones and General MIDI-style sampled instruments.
Further reading
In a nutshell
- Name: YMF278B
- Manufacturer: Yamaha
- Family: OPL4
- Type: FM + PCM
- Year: 1992
- Channels: 24
- Synthesis: FM synthesis + PCM
- Sample support: 1
- Description: Hybrid Yamaha sound chip combining OPL-style FM synthesis with PCM sample playback.
- Aliases: OPL4
- Computer: MSX
- Console:
- Arcade:
- Official Name: YMF278B OPL4