Overview
What each number in track details means
Take a typical track detail line: ALAC (M4A) · 24 bit / 96 kHz · 2,800 kbps · Stereo. It means the file uses an M4A container holding ALAC lossless audio. Once decoded, the left and right channels each produce 96,000 PCM samples per second, and each sample is stored with 24 bits. 2,800 kbps is the bitrate recorded for this compressed audio stream.
| Property | What question it answers | How it relates to audio quality |
|---|---|---|
| Container & codec | How is the file packaged, and how is the audio stored? | M4A is a container that can hold ALAC or AAC. ALAC and FLAC reconstruct the exact PCM samples fed into the encoder. MP3, standard AAC, and Opus discard information during compression. Converting an existing MP3 to FLAC only preserves the decoded MP3 sound without further loss. |
| Bit depth (bit) | How finely is each PCM amplitude value measured? | Integer 16-bit PCM has 65,536 discrete levels, while 24-bit has 16,777,216. Higher bit depth lowers theoretical quantization noise and expands dynamic range. Zero-padding a 16-bit file to 24-bit does not add detail that was not in the recording. |
| Sample rate (Hz, kHz) | How many times per second is each channel sampled? | For PCM, the sample rate sets the highest representable frequency. 44.1 kHz means 44,100 samples/second, with a theoretical frequency limit of 22.05 kHz. Upsampling an existing 44.1 kHz track to 96 kHz cannot recover high frequencies that were never captured during recording. |
| Bitrate (kbps) | How much data per second does the encoded audio use? | Given the same master, the same lossy codec, and similar settings, 320 kbps generally leaves more room for detail than 128 kbps. For lossless codecs, bitrate also depends on musical complexity and compression efficiency, so two files that decode to identical samples can have different bitrates. |
| Channels | How many audio channels are stored? | Mono has one channel, stereo has left and right, and 5.1 has five main channels plus a low-frequency effects channel. Multichannel audio represents a different spatial layout and changes data volume. Stereo and surround versions of the same song may be distinct mixes worth keeping separately. |
| Duration & file size | How long does it play, and how much storage does it take? | At the same average bitrate, doubling duration roughly doubles audio data size. The rough formula is average bitrate (kbps) × seconds ÷ 8,000 ≈ decimal MB. For example, a 4-minute song at 320 kbps takes about 9.6 MB of audio data. Embedded artwork, lyrics, and container overhead also add to file size. |
You can double-check these units with an audio CD. Uncompressed stereo PCM bitrate equals sample rate per channel × bit depth × channel count. For a CD, 44,100 × 16 × 2 = 1,411,200 bit/s, or 1,411.2 kbps. Encoding that same CD audio as ALAC or FLAC usually produces a smaller file that still decodes sample-for-sample to the original PCM. That also explains why file size alone cannot decide which copy to keep. Audacity: Digital Audio Basics · FLAC Official FAQ
How common specs map to Primuse quality tiers
| Example track details | Library quality tier | What you can read from it |
|---|---|---|
| MP3 320 kbps, AAC 256 kbps | Standard | Both are common lossy release formats. Across different codecs, 320 vs 256 alone does not tell you which sounds better. |
| ALAC or FLAC, 16 bit / 44.1 kHz, Stereo | Lossless | Matches audio CD PCM specifications. If accurately ripped from the same CD, lossless compression preserves every original sample. |
| ALAC or FLAC, 24 bit / 48 kHz, 24 bit / 96 kHz, or 16 bit / 96 kHz | Hi-Res | For tracks recognized as lossless, Primuse classifies a track as Hi-Res if its effective bit depth is at least 24 bit or its sample rate is at least 88.2 kHz. This badge confirms the file meets those specs; check release notes to verify recording and mastering provenance. |
| DSF / DFF, DSD64, DSD128, DSD256 | DSD | DSD represents audio via the pulse density of a high-speed 1-bit stream. 64, 128, and 256 are multiples of 44.1 kHz, corresponding to 2.8224, 5.6448, and 11.2896 MHz. SACD ISO tracks are also grouped under DSD in Primuse. |
Library specs and live playback output can be viewed separately. For example, when playback details show 44.1 → 48 kHz, the left value is the source sample rate and the right value is what the output device is actually running at. Use source file specs when cleaning up duplicates. To understand why two versions sound different, check the edition, master, and mix—some remasters change loudness and dynamics, so two files both labeled 24 bit / 96 kHz can still sound different. Recommendations for Hi-Resolution Music Production, p. 10
Which songs are grouped together for comparison
Primuse groups tracks by title, artist, and duration. Leading and trailing spaces and line breaks are trimmed from titles and artists, and letter case and diacritics are ignored, while internal spaces, punctuation, and edition text are preserved. When track artist is empty, album artist is used instead. Tracks whose title or artist is still empty, or whose duration is not a finite positive number, are skipped.
Duration is bucketed in 2-second intervals using floor(duration in seconds ÷ 2). For instance, 180.1 s and 181.9 s fall into the same bucket, while 181.9 s and 182.0 s fall into different buckets. Only tracks that share title, artist, and duration bucket—and have at least two versions—appear in Duplicate Songs. Album name, file size, and audio fingerprints are not part of grouping, so a single group can contain different masters or editions.
How iPhone and iPad calculate the “Best” badge
Each version in a group receives a total score, sorted from highest to lowest, with the top entry marked “Best”. Ties keep the order in which tracks were returned during that scan.
Total score = Lossless bonus + Effective bit depth × 500 + Sample rate score + Bitrate score + File size score. All five terms are added directly, and any term can change the ranking.
| Component | Formula |
|---|---|
| Lossless bonus | +10,000 points if recognized as lossless in the library; otherwise 0. DSF, DFF, SACD ISO, and ALAC all receive 10,000 points. Multi-codec containers like M4A rely on the detected codec first: M4A read as ALAC gets the bonus, while M4A read as AAC or with only an M4A extension gets 0. |
| Effective bit depth | If a detected true bit depth is greater than 0 and lower than the file's nominal bit depth, the detected value is used; otherwise the nominal bit depth is used. Worth 500 points per bit (for example, nominal 24 bit with actual 16 bit scores 8,000 points). |
| Sample rate | Library sample rate in Hz divided by 1,000, truncated to an integer. For example, 44,100 Hz scores 44 points, and 2,822,400 Hz scores 2,822 points. |
| Bitrate | Library bitrate in kbps used directly—for example, 5,645 kbps scores 5,645 points. Applies to both lossless and lossy tracks. |
| File size | Raw byte size divided by 1,048,576, truncated to an integer (1 point per full MiB). Decimal MB values shown on detail screens may be rounded. |
If bit depth, sample rate, or bitrate is missing, that component scores 0. To verify down to the last point, use the raw byte size and library bitrate.
Working through an 8-bit DSD vs 24-bit ALAC example
Assume both files are recognized as lossless and their scored bit depths are 8 and 24 respectively. The sample rate, bitrate, and size values below are illustrative examples.
| Version | Lossless | Bit depth | Sample rate | Bitrate | Size | Total score |
|---|---|---|---|---|---|---|
| DSD | 10,000 | 8 × 500 = 4,000 | 2,822 (2,822,400 Hz) | 5,645 kbps | 202 MiB | 22,669 |
| ALAC | 10,000 | 24 × 500 = 12,000 | 96 (96,000 Hz) | 2,800 kbps | 100 MiB | 24,996 |
ALAC leads by 8,000 points on bit depth. DSD claws back 2,726 points on sample rate, 2,845 points on bitrate, and 102 points on file size—5,673 points combined. In this example, iPhone and iPad therefore recommend ALAC by 2,327 points. For your own files, plug in the three values from your track details: whenever their combined difference exceeds 8,000 points, DSD moves ahead.
How Mac chooses the default copy to keep
Among copies whose source files can be deleted, Mac picks one copy to keep according to the selected rule:
- Keep Highest Bitrate (default). Compares bitrate, sample rate, nominal file bit depth, and raw file size in bytes in that order, picking the higher value on the first difference. Missing bitrate, sample rate, or bit depth is treated as 0. In the example above, Mac selects the 5,645 kbps DSD. If the DSD's bitrate is missing while ALAC still reports 2,800 kbps, Mac selects ALAC.
- Keep Largest File. Compares raw file size in bytes directly. In the example above, Mac selects the 202 MiB DSD.
- Keep Newest. Uses each file's last modified timestamp first, falling back to the date the track was added when unavailable, and keeps the more recent one.
If all criteria under the chosen rule tie, Mac keeps the first candidate in the list, which follows the group's quality-score order. You can also check multiple copies manually to keep more than one. To swap out the only checked deletable copy, check the copy you want to keep first.
What 8 bit on DSD and 24 bit on ALAC actually tell you
The 24 bit displayed on ALAC describes its PCM sample bit depth. DSD uses high-speed 1-bit sampling. For a DSF file, an 8 shown in the interface may come from the Bits per sample header field: Sony's specification defines 1 as LSB-first per byte and 8 as MSB-first per byte. That 8 describes bit-packing order, which is not the same property as PCM bit depth. Screen values alone cannot confirm the origin of that field or tell you which master is better. Sony DSF File Format Specification, p. 5
If your goal is to keep the original version, check your download or rip source first. If the ALAC was transcoded from this DSD, keep the DSD original. If the DSD was converted from this ALAC, keep the ALAC original. If both come from different editions or masters—or their origins are unknown—keeping both is reasonable.
Which files get deleted when you confirm cleanup
“Best” compares the entire group. Batch cleanup also checks whether the source supports file deletion, whether the track maps to a standalone file, and whether another source may reference the same file. Read-only sources, playlist-only entries, split tracks such as whole-disc CUE sheets, and entries that may share a source file are excluded from automatic deletion. Among the remaining copies, iPhone and iPad keep the highest-scoring one, while Mac follows the chosen rule or your manual checkboxes. If only one copy in a group qualifies for deletion, automatic cleanup leaves it untouched too.
When reviewing tracks one by one, you can choose a different version than the recommended one. For entries that may share a source file or split tracks, the interface can offer “Remove from This Device Only”. When you confirm source deletion, Primuse re-verifies groups and candidates against your current library, and asks for a separate confirmation when deleting from a music server that supports file deletion. Any track that fails to delete on the source stays in your library, and matching lyrics or artwork still referenced by kept tracks are preserved.