Waveform scratch: fast oszilating track if the mouse update rate is below audio buffer size
Bug #1117806 reported by
Daniel Schürmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Low
|
Daniel Schürmann |
Bug Description
In this case, the PID controller processes the same Mouse position two times and slow down the track as if it should be stopped.
In the next cycle it is speed ed up again. This effect sound very noisy.
Changed in mixxx: | |
status: | New → In Progress |
assignee: | nobody → Daniel Schürmann (daschuer) |
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
here is a sniped of terminal out with the patch from Bug #1117806 at 5.8 ms Audio Buffer size and a Mouse Move with ~ normal play speed, desired rate = 1.
Debug []: continue Rate 1.16917 222400 0 1.11517e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.22901 223200 0 1.11524e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.861311 223200 0 1.11531e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.02595 224000 0 1.11536e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.21289 224800 0 1.11541e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.866452 224800 0 1.11546e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.555083 224800 0 1.11552e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.06044 226000 0 1.11555e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.28151 226800 0 1.1156e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.63685 228000 0 1.11566e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.18326 228000 0 1.11573e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.23833 228800 0 1.1158e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.867138 228800 0 1.11586e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.02946 229600 0 1.11592e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.21525 230400 0 1.11597e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.867637 230400 0 1.11602e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.795327 230800 0 1.11608e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.542255 230800 0 1.11612e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.341438 230800 0 1.11615e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.16599 232400 0 1.11618e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.921062 232400 0 1.11622e+07 1.09296e+07 512 44100
Debug []: continue Rate 1.0831 233200 0 1.11627e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.774298 233200 0 1.11632e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.973621 234000 0 1.11637e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.941278 234400 0 1.11641e+07 1.09296e+07 512 44100
Debug []: continue Rate 0.649056 234400 0 1.11646e+07 1.09296e+07 512 44100