Skip to content

Commit fe530f0

Browse files
authored
Update technical details on audio processing (#407)
* Update technical details on audio processing Clarify the use of replay gain tags for volume normalization and explain the internal processing of audio tracks in Music Assistant. * Update technical details on volume normalization Clarified that replay gain tag information can be added after measurement.
1 parent 464dcf6 commit fe530f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/faq/tech-info.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ NOTE that all audio is analyzed at playback time. If no Integrated loudness meas
2323

2424
**More technical details**
2525

26+
If volume normalization data is already available for a track via a replay gain tag then that will be used in lieu of the following process. This is true even if the tag information is added after the measurement has been taken.
27+
2628
All tracks are processed internally as raw pcm by Music Assistant. So everything that is played will be first decoded to raw pcm of 32 bits floating point in the sample rate of the origin (unless explicit resampling is enabled/needed, such as when flow mode is enabled), and the gain adjustment is done while extracting the raw source media so the pcm chunks passed into the streaming engine have the gain adjustment applied. In this way there should be enough headroom within the (final) 16 or 24 bits bit depth. If a playback target does not support bit depths higher than 16 bits, dithering will be applied to bring the signal down again to 16 bits without quality loss.
2729

2830
All further processing in MA is done at PCM raw audio level, such as the DSP Settings - if "flow mode" is enabled crossfading is also done on the raw pcm chunks but that will resample all audio into one static sample rate and bit depth to create one "flow" of audio to send to the player.

0 commit comments

Comments
 (0)