rateRange change is changing pitch of currently playing song even with softTakeover enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Medium
|
Kevin Wern |
Bug Description
rateRange change is changing pitch of currently playing song even with softTakeover enabled.
how to reproduce the "bug":
load a song -> change it's pitch to any value besides 0% -> change pitch slider range with engine.
now the pitch of the song changes which is wrong,
desired would be that the pitch of the song remains the same, just position of the pitch slider in GUI changes to match the current pitch
To reenable hw pitch slider on your midi controller you need to "meet" the current pitch with your pitch slider.
current example from my midi mapping that produces unwanted pitch changes when changing rateRange:
G2V.init = function (channel, control, value, status, group) {
G2V.
if (G2V.defaultRat
if (G2V.defaultRat
if (G2V.defaultRat
engine.
engine.
}
G2V.onRange = function (channel, control, value, status, group) {
if (value == 0x7f) {
if (engine.
else if (engine.
else if (engine.
}
};
Changed in mixxx: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: |
added: easy removed: raterange softtakeover |
Changed in mixxx: | |
milestone: | none → 1.12.0 |
assignee: | nobody → Owen Williams (ywwg) |
Changed in mixxx: | |
assignee: | nobody → Sameer Deshmukh (sameer-deshmukh93) |
Changed in mixxx: | |
assignee: | Sameer Deshmukh (sameer-deshmukh93) → Kevin Wern (kevin-m-wern) |
Hi Vladimir,
thank you for the bug report.
A fix should be quite easy around this line: /github. com/mixxxdj/ mixxx/blob/ 4c9cda48faa2851 2408a90cfb51cb4 87787f7c49/ src/engine/ bpmcontrol. cpp#L636
https:/
Currently the rate calculation is done in a common slot. The issue can be fixed by connecting
m_pRateRange = new ControlObjectSl ave(_group, "rateRange", this); e->connectValue Changed( SLOT(slotAdjust RateSlider( )), Qt::DirectConne ction);
m_pRateRang
to a own slot (slotRateRangeC hanged( )) and move the GUI rate slider to compensate the shift. Softtakover is required on the controller.
Are you able to adopt this Bug yourselves? It is very welcome. www.mixxx. org/wiki/ doku.php/ bugfix_ workflow
Please read:
http://
and ask, if you get stucked.
Thank you very much!