User guide
OSA Audio Player
Everything you need to install OSA Audio Player on a Raspberry Pi with a DACBerry, get music playing and make the most of every feature.
Contents
- What you need
- Installation
- First steps
- The web app
- Your music library
- Internet radio
- Spotify, AirPlay, UPnP and Bluetooth
- Sound quality and volume
- Equalizer and room correction
- HDMI screen
- Lyrics and cover art
- CD ripping
- Recording
- Multiroom
- Alarm clock and remote
- Home Assistant and MPD
- Updates and backup
- Troubleshooting
1. What you need
- A Raspberry Pi 5, 4, 3/3B+ or Zero 2 W.
- A DACBerry sound card (RDY+, ONE+, PRO+, AMP² SE, or the first ONE, RDY and PRO). Without a DACBerry you can still play through HDMI.
- A microSD card of 8 GB or more. A good A1/A2 card makes the library faster.
- The official power supply for your Pi. Weak supplies cause clicks, dropouts and random reboots.
- A network: Ethernet cable (recommended) or Wi-Fi.
- A phone, tablet or computer on the same network to control the player.
2. Installation
Write the card
- Download the image (
osa-audio-player-x.y.z-rpi.img.xz) from the Download page. - Open Raspberry Pi Imager, choose Use custom and select the downloaded file (no need to unzip it). balenaEtcher works too.
- Choose your microSD card and write it. Skip Imager's "OS customisation": OSA Audio Player doesn't use it.
Wi-Fi (only if you don't use a cable)
The easy way: do nothing. If the player has no network when it starts (no cable, no Wi-Fi), after a minute it opens its own Wi-Fi OSA-Audio-XXXX. Join it from your phone: the wizard opens by itself (if not, open http://192.168.4.1), pick your home Wi-Fi there and you are done. If it ever loses the network (router off, password changed), it opens that Wi-Fi again so you can control it or change its network from the phone.
Or, before the first boot:
After writing, take the card out and put it back in your computer. A drive called OSABOOT appears. Rename osa-wifi.txt.example to osa-wifi.txt and edit it:
ssid=YourNetworkName
psk=YourPassword
country=GB
country is your two-letter country code (ES, GB, US, DE…). It sets which Wi-Fi channels are allowed.
First boot
- Fit the DACBerry on the Pi, insert the card, connect the network and power it on.
- The first boot takes about a minute longer: the player prepares its data partition. Later boots take a few seconds.
- If you have a screen on HDMI you'll see the OSA Audio intro, and then the player's address and a QR code.
3. First steps
- Open
http://osa-audio.localin your browser. If that name doesn't work (some Android phones and Windows PCs), use the IP shown on the HDMI screen or in your router's device list, e.g.http://192.168.1.50. - The first time, the welcome wizard opens: language, player name, country and time zone (suggested from your browser), Wi-Fi (skip it if you use a cable), your DACBerry card and which services you want (AirPlay, Spotify, Bluetooth, UPnP). Picking the right card matters: otherwise you may get no sound. If you change it, the player restarts at the end. You can open the wizard again from Settings → System, and change the time zone in Settings → Device.
- Add music: copy it to the
musicnetwork share, plug in a USB drive, add a NAS folder, or start with a radio station.
4. The web app
| Section | What it does |
|---|---|
| Now playing | Cover, format, bit-perfect indicator, progress, volume, repeat/shuffle and synced lyrics. |
| Library | Albums, artists, folders, playlists and CD. Search across albums, artists and songs. |
| Radio | Favourite stations and search of thousands of stations worldwide. |
| Queue | What will play next. Reorder, remove, clear or save as a playlist. |
| Equalizer | Software EQ, preamp, balance, crossfeed and room correction. |
| Record | Record from the card's input or a USB interface to FLAC. |
| Connect | QR code and step-by-step instructions for Spotify, AirPlay, UPnP and Bluetooth. |
| Settings | In tabs: Audio (DAC, output, room correction), Sources (services, scrobbling, multiroom), Library (NAS, CD, recording), Device (name, web clock, screen, remote, alarm, Wi-Fi) and System (updates, backup, power). |
Any number of phones and computers can control the player at the same time; they all stay in sync. The ⏻ button in the side menu or at the top of Settings powers the player off or restarts it. In Now playing you also have a sleep timer: pause after a set time or at the end of the current track.
5. Your music library
Where music can come from
- Network share: on Windows open
\\osa-audio\musicin File Explorer; on Mac, Finder → Go → Connect to Server →smb://osa-audio.local/music. Copy your folders there. Music is stored on the microSD, so size the card accordingly. - USB drive: plug it in and it appears in Folders → USB and in the library. You can also use Copy to Music to copy it onto the card.
- NAS or shared PC folder: Settings → Network folders (NAS): enter a name, the server (IP or name), the shared folder, and user and password (empty for guest). It's mounted read-only and reconnects at every boot.
Formats
FLAC, ALAC, WAV, AIFF, MP3, AAC/M4A, Ogg Vorbis, Opus and DSD (DSF/DFF, converted to PCM). High resolution up to what your DACBerry supports.
Tags and covers
The library is built from the file tags (artist, album, album artist, year, track number). Covers are taken, in this order, from a cover.jpg/folder.jpg in the album folder, from the cover embedded in the files, and finally from the internet (MusicBrainz / Cover Art Archive). New files are scanned automatically; Rescan forces a full scan.
Playlists
Create them from any album, track or folder (Add to a playlist) or save the current queue. They're stored as standard M3U files in the \\osa-audio\playlists share, so you can also edit them from your computer.
6. Internet radio
In Radio → Find stations search by name, country or genre (powered by radio-browser.info). Lossless only shows FLAC streams. Tap the star to keep a station in Favourites. To add a station that isn't listed, use Add URL with its stream address (http/https, MP3, AAC, FLAC, HLS).
7. Spotify, AirPlay, UPnP and Bluetooth
Turn each service on or off in Settings → Services. The phone or computer must be on the same network as the player.
Spotify Connect
Spotify Premium is needed. In the Spotify app tap the devices icon and choose the player by its name. The streaming quality is chosen in Settings → Services → Spotify quality, not in the phone app.
AirPlay 2
From iPhone, iPad or Mac: Control Centre → AirPlay → choose the player. Works with any app, including Apple Music.
UPnP / DLNA (Tidal, Qobuz and your server)
The player is a UPnP renderer. Use a control app such as BubbleUPnP (Android), mconnect (iOS), Kazoo or foobar2000, choose the player as output and play from your server or from Tidal/Qobuz inside the app. Playback is bit-perfect and gapless.
Bluetooth
- Open Connect → Bluetooth and tap Pair a phone. The player stays visible for 3 minutes.
- On the phone, search for Bluetooth devices and choose the player. No PIN is needed.
- Next time the phone connects on its own.
Bluetooth works with any app (YouTube, Amazon Music…) but its quality is lower than the other options. Title and artist come from the phone. Cover art is sent by phones that support it (usually with the phone's own music app); otherwise it's looked up on the internet.
Which source plays?
The last one to start playing takes over. When you start Spotify, for example, the local queue pauses.
8. Sound quality and volume
- Bit-perfect: files are sent to the DAC untouched, at their original rate and depth. The Now playing screen shows Bit-perfect when that's the case.
- Gapless: live albums and DJ mixes play without gaps.
- Resampling: only if the DAC can't play a rate. It's shown on screen. Settings → Audio output → Resampling: Never disables it.
- Volume (Settings → Audio output):
- Hardware (recommended): the DAC's own volume. Keeps bit-perfect.
- Fixed: the DAC always at full level; you set the volume on your amplifier.
- Software: for outputs without hardware volume.
- ReplayGain (Settings → Library → ReplayGain): evens out the loudness between tracks or albums. While it's acting the stream isn't marked bit-perfect.
9. Equalizer and room correction
In Equalizer: up to 10 parametric bands with presets, preamp, balance, mono / swap L-R and crossfeed (makes headphone listening more natural). With everything off the signal stays bit-perfect.
Hardware EQ (DACBerry PRO+)
On the PRO+ the EQ can also run inside the DAC's own DSP (PCM5242), without using the Pi's CPU, up to 48 kHz. It's experimental: choose Hardware at the top of the Equalizer page.
Room correction
Measure your room with REW, DRC, Acourate or similar and export the correction as a FIR filter in WAV (mono for both channels, or stereo L/R). Upload it in Equalizer → Room correction and enable Apply the filter. The player adapts it to the rate of each track and shows the taps and latency.
10. HDMI screen
Connect any TV or monitor to the Pi's HDMI: it shows the cover, title, format, progress, volume, clock and synced lyrics, at the screen's native resolution. In Settings → Screen you can choose:
- Lyrics on screen on/off.
- Right-hand time: countdown or track length.
- Dim when idle: darkens the screen when nothing plays (protects OLED and plasma).
With HDMI-CEC (Settings → TV remote (HDMI-CEC)) the TV remote controls play/pause, next, previous and volume.
11. Lyrics and cover art
- Lyrics: downloaded from LRCLIB, synced line by line when available. A
.lrcfile with the same name as the song takes priority. Instrumental passages show "· · ·". Enable or disable in Settings → Library → Lyrics from the internet. - Cover art and artist photos are downloaded once and kept on the card.
- Scrobbling to Last.fm and ListenBrainz is in Settings → Scrobbling.
12. CD ripping
- Connect a USB CD/DVD drive. Use a drive with its own power supply or a Y cable, or the Pi may not be able to power it.
- Insert an audio CD. In Library → CD you'll see the identified album and tracks.
- Play it directly, or rip it to FLAC with tags and cover. Ripped albums go to
Music/CD. - With Rip when a CD goes in enabled, any new disc is ripped automatically.
13. Recording
In Record choose the input (the DACBerry's input if it has one, or a USB audio interface), sample rate and resolution, and press record. Files are saved as FLAC and can be downloaded from the same page or from the network share.
14. Multiroom
Several OSA Audio Players can play the same music in sync.
- On the main player: Settings → Multiroom → This player is the source.
- On the others: This player is another room and enter the source's name or IP.
- Play on the source; all rooms follow. If one room sounds ahead, adjust its Delay trim.
Use Ethernet for the most stable sync.
15. Alarm clock and remote control
Settings → Device → Alarm clock → Add alarm (or the “Alarm clock” button in Now playing): time, days of the week, what to play (the queue, a playlist or a radio station), the volume ramp (over how many minutes), the starting volume and the final volume; under each alarm a line says what it will do (e.g. “Starts at 3 % and rises gently to 40 % over 5 min”). Touching the volume while it rises stops the ramp.
Remote control
The DACBerry AMP² SE and the first ONE and RDY have an infrared receiver, and a USB receiver works on any board. In Settings → Remote control press Learn next to each action (play/pause, next, previous, volume, mute, stop) and then the button on your remote: any TV or hi-fi remote works. The media keys of keyboards and USB remotes work without learning anything.
16. Home Assistant and MPD
The player speaks the MPD protocol on port 6600. In Home Assistant add the MPD integration with the player's IP to control it from your dashboards and automations. Any MPD client (MALP, Cantata, ncmpcpp…) also works.
17. Updates and backup
Updates
In Settings → Updates you'll see the installed version. The player checks every 3 hours and whenever you open the web app (if Check for updates is on) and, when there's a new one, shows a notice on every page. Press See and then Update now: a window shows each step (downloading, verifying, installing, restarting) and tells you when the new version is running. The update is written to a second system on the card while music keeps playing.
Backup
Settings → Backup → Download backup saves settings, radios, playlists, equalizer, alarms, room filters and Bluetooth pairings (not the music). Restore a backup… loads it on this or another player.
18. Troubleshooting
I can't open http://osa-audio.local
- Wait 2 minutes after the first boot.
- Use the IP instead: it's on the HDMI screen, or in your router's list of connected devices (name osa-audio).
- Make sure your phone is on the same Wi-Fi, not on mobile data or a guest network.
- With Wi-Fi: check the spelling of
ssidandpskinosa-wifi.txt(upper/lower case matter) and that the file isn't calledosa-wifi.txt.txt(Windows hides extensions). Pi Zero 2 W and Pi 3 only use 2.4 GHz networks.
No sound
- Check Settings → DAC board: the selected model must match your card. Reboot after changing it.
- Check that the DACBerry is fully seated on all 40 pins.
- Volume set to Fixed? Then turn up your amplifier.
- Try a radio station: if radio plays but a file doesn't, the file may be damaged or in an unsupported format.
The volume is very low
- Look at the volume slider and at Equalizer → Preamp (negative preamp lowers everything).
- Disable ReplayGain to compare: some albums are tagged with large reductions.
- Line output needs an amplifier or active speakers; it isn't designed to drive passive speakers directly.
Clicks, dropouts or the player restarts on its own
- Almost always the power supply: use the official one for your Pi model.
- Over Wi-Fi with a weak signal, network sources (NAS, radio, Spotify) may cut out. Use Ethernet if you can.
- A slow or failing microSD can also cause this.
My music doesn't appear in the library
- Wait for the scan to finish ("Scanning library…") or press Rescan.
- Albums split or mixed up? Fill in the album artist tag, and the same album name on every track.
- USB drives: try another port, or a powered hub for big disks.
The NAS folder doesn't mount
- In Server use the NAS IP (e.g.
192.168.1.20); it's more reliable than the name. In Shared folder just the share name (e.g.music). Press Retry after fixing it. - Check user and password; for guest shares leave both empty.
- Enable SMB 2 or 3 on the NAS.
Spotify, AirPlay or UPnP don't find the player
- Same network for phone and player. Some routers isolate Wi-Fi clients or block discovery between 2.4 and 5 GHz bands: disable "AP/client isolation".
- Check the service is enabled in Settings → Services.
- Restart the app on the phone, or reboot the player.
Spotify skips tracks without sound
- With some Spotify accounts the player can't get the audio keys and tracks are skipped. Use AirPlay, UPnP or Bluetooth from the same phone meanwhile.
- Restart the player and try again: the problem is often temporary.
Bluetooth won't pair
- Tap Pair a phone again: visibility only lasts 3 minutes.
- If the phone had paired before, remove the player from the phone's Bluetooth list and pair again.
- The Pi's Bluetooth range is short; move closer.
Wrong or missing cover art or lyrics
- Put a
cover.jpgin the album folder: it always takes priority. - Internet covers and lyrics need correct artist and album tags.
- For lyrics, a
.lrcfile next to the song takes priority.
"The amplifier has protected itself" (AMP² SE)
- The amplifier stops on a short circuit, overheating or DC on the speakers, and restarts by itself.
- Check that no speaker wire strands touch each other or the case, and that the board has air around it.
- Use speakers of 4 Ω or more and a power supply that matches the board.
The HDMI screen is black
- Connect the screen before powering the Pi (on Pi 4/5 use the HDMI port next to the power connector).
- Check the screen's input source.
The CD drive isn't detected
- Most slim drives need more power than a USB port gives: use a Y cable or a powered hub.
- Only audio CDs (CD-DA) are supported; copy-protected discs may fail.
An update failed
- Nothing is lost: the player keeps running the previous version. Check the network and try again from Settings → Updates.
- If it fails again, download a backup, write the latest image to the card and restore the backup.
I want to start from scratch
Download a backup first if you want to keep anything, then write the image to the card again. All settings and the music stored on the card will be erased.
Still stuck?
Write to us from the Support page with your Pi model, DACBerry model and the version shown in Settings → System. We'll reply by e-mail.