How to Publish Sheet Music and Practice Tracks on WordPress Without Slowing Your Site Down
A rehearsal page for a choir, a community band, a worship team or a teaching studio usually starts small: one PDF and one recording. A season later it holds forty pieces, each with a multi-megabyte scan, a phone photo of a marked-up page, an embedded score viewer and an audio player. All of it can start downloading the moment the page opens, and the members who wait longest are the ones on phones in the rehearsal room.
The fix is mostly discipline about files, plus a few decisions about placement and caching.
Make one small practice track per piece
If all you have is the printed score, you need something that turns notes into sound. A notation program such as MuseScore can play a score back and export audio once someone has entered the notes. Another route is a browser-based sheet music converter like Lacuna’s: upload a PDF or a photo of printed sheet music, and it reads the notes, plays them back in the browser and exports MP3 or WAV. New accounts include free credits to try it. Listening is free; downloading the audio needs a paid plan or a one-time purchase for that conversion.
Know its limits. It is built for printed standard staff notation: handwritten scores, guitar tablature and numbered notation are not supported, and a PDF with only lyrics or chord names has no staves to read. A flat, sharp scan at 300 DPI or higher reads best. Recognition is a first draft. A dense chord, a faint accidental or a tie across a line break can be read wrong, and a page with no numeric tempo marking plays at 120 BPM. Compare the recognized score with your page, correct what is off in the editor, and export from there so the fixes are in the audio. The result is synthesized from the recognized notes, so check it by ear and treat it as a reference for pitch and rhythm, not a recording of a performance.
Whatever the source, publish MP3 rather than WAV:
- Size. CD-quality WAV runs about 10 MB per minute. MP3 at 128 kbps is just under 1 MB.
- Bitrate. For a synthesized line, a piano reduction or a rehearsal recording, 96 to 128 kbps is enough. An export at 192 kbps is fine to upload as is.
- Cleanup. Trim silence from both ends and name the file ave-verum-corpus-alto.mp3, not Track 03 final (2).mp3.
Clean up the pages and shrink the PDFs
Scores are where most of the weight comes from: a color scan can run several megabytes per page.
For scanned PDFs:
- Scan settings. Use grayscale or black and white at 300 DPI, not color.
- Compression. Run existing PDFs through your PDF editor’s reduce-size or optimize export, then zoom in and confirm that accidentals and lyrics are still sharp.
- One file per piece or part. Nobody should download the whole binder to get one song.
For phone photos, hold the phone parallel to the paper, fill the frame with the page and use even light. For photos that are already taken, a cleanup tool helps. Lacuna’s sheet music scanner takes a photo or an old scan of printed sheet music, squares up the page, removes shadows, yellowing and bleed-through, and saves a clean, high-resolution PNG. On crowded or steeply angled photos the cleanup can occasionally drop or change a marking. Your original stays next to the result in your history, so compare the two before you print or publish.
Then size the image for the web. Keep the full-resolution page for the download link and display a version around 1,200 pixels wide; WordPress generates smaller sizes on upload, so pick one of those. Grayscale PNG or WebP suits printed music, while heavy JPEG compression smears thin staff lines. Add alt text that names the piece and the page.
Place media so nothing loads until someone asks
- Link PDFs and skip embedded viewers. A viewer typically loads its own scripts and the whole document for every visitor. A plain link with the size in the label (“Alto part, PDF, 180 KB”) costs nothing until it is clicked. The File block can show a PDF inline; turn that preview off on pages with several scores.
- Use the native player with preload off. The core Audio block and the HTML audio element both use the browser’s built-in player, so no extra scripts load. Set preload to none or metadata. With none, nothing is fetched until someone presses play, but the player shows no duration. With metadata, the browser is asked to fetch only enough to show the length. On a page with many tracks, choose none, and never autoplay.
- Keep lazy loading on. WordPress adds lazy loading to content images by default. Leave it enabled, and make sure images carry width and height so the layout does not jump.
- One piece per page. An index that links to a page per piece scales better than forty players in a row. If the group wants everything in one place, put each piece in a collapsible section, such as the core Details block. Collapsing only hides content, though; the preload and lazy-loading settings still do the real work.
Publish only what you have the right to share
Only publish scores and recordings the group has the right to share. For music under copyright, that means holding the rights or having permission, and if you are unsure what a license covers, ask the publisher. Keep licensed material behind a member login. A login on the page does not hide a file’s own address, so use a membership or download-protection plugin that restricts the files themselves.
Cache the pages and deliver the files well
- Page caching. Rehearsal pages change rarely, which makes them ideal for a caching plugin such as WP Fastest Cache: the finished HTML is saved and served without rebuilding the page on every visit. After you add a piece, confirm that visitors get the updated page.
- Browser caching. Serve MP3s, PDFs and images with long-lived cache headers so returning members do not download them twice. A corrected file under the same name may not reach people who have the old one, so put a version in the name: ave-verum-corpus-alto-v2.mp3.
- A CDN for large files. A CDN serves media from a location near the visitor and takes that load off your host. After switching, check that seeking in the player still works; it depends on the server answering range requests.
- Member-only pages. If a page shows different content to different users, it must not come from a shared page cache. Check how your caching plugin treats logged-in users and exclude those pages where needed.
Test before you send the link
Open the page in a private window with the browser’s developer tools on the Network tab, and note:
- Page weight, before and after. Total transferred on first load.
- Requests on first load. No MP3 or PDF should be requested before a click. With preload set to metadata, expect a small partial request per track.
- What loads on play. Press play on one track and confirm exactly one audio file starts.
- The repeat visit. Reload; media should come from the browser cache.
- Two member accounts. Each should see its own content, not the other’s.
Repeat the check whenever a new season’s repertoire goes up. Pages like these grow one upload at a time, and two minutes in the network panel will catch the 40 MB scan before the tenor section does.