recording to wav/aiff causes very distorted audio if it saturates
Bug #1637786 reported by
JosepMa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Undecided
|
JosepMa |
Bug Description
Mixxx 2.0 and above.
Recording the mix to wav or aiff generates audio files that distort in the places where audio saturates (goes above full scale).
The root of the cause is that the conversion from float to integer does not clip the values and they overflow.
Changed in mixxx: | |
assignee: | nobody → JosepMa (josepma) |
status: | New → In Progress |
Changed in mixxx: | |
status: | In Progress → Fix Committed |
Changed in mixxx: | |
milestone: | none → 2.1.0 |
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thank you for adopting this!
Here you will find some more info to th issue: /bugs.launchpad .net/mixxx/ +bug/1415758 /bugs.launchpad .net/mixxx/ +bug/1415720
https:/
https:/
Mixxx clamps the samples when passing them to the soundcard here: /github. com/mixxxdj/ mixxx/blob/ 8d191bf7ce2d62d 24c6e0ffac4b2af d7359afa8a/ src/soundio/ sounddevice. cpp#L132
https:/
The broken normalization in sndfile is enabled here: /github. com/mixxxdj/ mixxx/blob/ 8d191bf7ce2d62d 24c6e0ffac4b2af d7359afa8a/ src/engine/ sidechain/ enginerecord. cpp#L310
https:/