Yafmp · chapters · 06 of 11
Sound
Gapless playback, volume levelling, the equalizer, compressor, spatial audio, meters and downloads.
What goes through Yafmp’s audio path
Yafmp plays most music itself. That music passes through volume levelling, the equalizer and the other effects, and the meters and visualizers can hear it.
Some sources play through their own player. Yafmp only tells that player what to do, so the sound never passes through the effects.
| Edition | Plays outside the effects |
|---|---|
| Apple | Apple Music, Spotify, YouTube Music, anything sent to a Chromecast, SoundCloud, and radio stations that stream as HLS or Ogg. |
| Android and desktop | Apple Music, Spotify, and anything sent to a Chromecast. |
In the Apple edition, files, Plex, Navidrome, podcasts and MP3 or AAC radio go through the effects. When the playing track does not, the Effects panel says so, and its Cables tab draws the path the track takes.
Gapless playback
Tracks that follow each other play without a gap, so live albums and mixes run through.
- Apple: the next file is scheduled on the exact sample where the current one ends. Originals from Plex and Navidrome are downloaded ahead so they are ready in time.
- Android and desktop: the next track is queued shortly before the current one ends.
Live streams, and sources that use their own player, are not gapless.
Volume levelling
Volume levelling evens out loudness between songs and between sources. It uses the ReplayGain values your music already carries. It only turns music down, never up.
Where the loudness values come from:
- Apple: tags in your files, Plex and Navidrome.
- Android and desktop: Plex and Navidrome.
Open Preferences → Volume Levelling (Apple) or Settings → Volume Levelling (Android and desktop).
| Setting | Default | What it does |
|---|---|---|
| Level by | Track | Off switches levelling off. Track brings every song to the same loudness. Album keeps an album’s quiet and loud songs as mastered. |
| Preamp | +0 dB | Added to every track’s gain. −12 to +12 dB in 1 dB steps. |
| Without loudness data | −6 dB | The level for audio with no loudness values, such as radio, podcasts and untagged files. −15 to 0 dB. |
The Levelling row in the Info panel shows what was applied to the playing track, for example “−7.9 dB”. It adds “(no loudness data)” when the track had none.
For Plex, the values are the ones Plex has analysed. See Plex.
Equalizer
A ten-band graphic equalizer on Winamp’s bands: 60, 170, 310 and 600 Hz, then 1, 3, 6, 12, 14 and 16 kHz. Each band moves 12 dB up or down. There is a preamp slider as well.
The equalizer is off the first time you start Yafmp.
- Open it. Apple: the Effects button (three vertical sliders), then the Equalizer tab. Android and desktop: the equalizer button.
- Switch On.
- Move the sliders, or pick a preset from the menu.
Presets: Flat, Classical, Club, Dance, Full Bass, Full Treble, Party, Pop, Rock, Soft Rock and Vocal. The menu shows Custom when the bands match no preset.
Apple only:
- Sliders and Curve are two views of the same bands. In Curve, click or drag across the graph to set the band under the pointer. The live spectrum is drawn behind the curve.
- Save Preset… in the preset menu saves the current bands under a name. Your presets appear in the same menu, and the menu offers to delete the one in use.
On Android and desktop there are sliders and presets only. You cannot save your own presets.
Compressor
The compressor evens out loud and quiet passages, for night listening or a loud room.
- Apple: it is a plugin and is off at first. Switch it on in Preferences → Plugins → Compressor. It then has a Compressor tab in the Effects panel. Not on Apple TV.
- Android: a Compressor tab beside Equalizer in the equalizer dialog.
- Desktop: no compressor.
In its tab, switch On, then pick a preset or set the sliders.
| Control | What it does |
|---|---|
| Presets | Default, Light, Night and Loud. |
| Threshold | The level above which the compressor starts to work. −40 to 0 dB. |
| Headroom | How far above the threshold the sound may go before it is fully held back. Smaller is harder. |
| Attack | How fast it reacts, in milliseconds. |
| Release | How fast it lets go, in milliseconds. |
| Makeup | Gain added after compression, −12 to +24 dB. |
| Reduction | A meter that shows how much the compressor is turning the sound down right now. |
Spatial audio
Spatial audio with head tracking keeps the music in front of you when you turn your head. It is in the Apple edition on iPhone, iPad and Mac.
It needs AirPods Pro, AirPods Max, or AirPods of the 3rd or 4th generation.
- Open Preferences → Plugins → Spatial Audio and set Enabled. It is off at first.
- Open the Effects button and choose the Spatial Audio tab.
- Switch On. Follow my head switches head tracking on or off.
The tab tells you whether headphones with head tracking are connected. Spatial audio comes after the equalizer and the compressor, so both keep working, and so do the visualizers.
Not on Vision Pro, which tracks your head itself, and not on Apple TV. The Android and desktop edition has no spatial audio.
Level meters and spectrum
- The equalizer panel has stereo level meters beside the bands. They run from −48 to 0 dBFS: green, yellow from −12 and red from −3, with a peak mark that holds for a moment.
- On Android and desktop the live spectrum is drawn behind the equalizer’s sliders. On Apple it is behind the Curve view.
- On the Mac and Vision Pro, the mini player’s waveform button shows a spectrum analyzer with level meters. See Library and browser.
The meters show nothing for sources that play outside Yafmp’s audio path.
Downloads
In the Apple edition, podcast episodes and files from Plex and Navidrome are downloaded as they play and kept in a cache. Playing them again needs no network.
- While a track downloads, its row shows a percentage, for example “↓ 43%”.
- A downloaded track has a small download mark.
- When the cache is full, the tracks you played least recently are removed first.
Open Preferences → Downloads.
| Setting | Default | What it does |
|---|---|---|
| Keep up to | 2 GB | The size limit of the cache: 1, 2, 5, 10 or 20 GB. |
| In use | — | How much the cache holds now. Read-only. |
| Clear Downloads | — | Deletes everything downloaded, except the playing track and the next one. |
The Android and desktop edition has no download cache. It streams everything.