Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear BPM displays on eject #5916

Closed
mixxxbot opened this issue Aug 22, 2022 · 7 comments
Closed

Clear BPM displays on eject #5916

mixxxbot opened this issue Aug 22, 2022 · 7 comments
Milestone

Comments

@mixxxbot
Copy link
Collaborator

Reported by: esbrandt
Date: 2011-06-01T09:39:12Z
Status: Fix Released
Importance: Low
Launchpad Issue: lp791131
Tags: easy


  1. Load and play a track in player 2
  2. Stop playback at a point with high volume
  3. Instantly eject track using the EJECT button
  4. Notice how the VUmeter is not reset

I first noticed this when using the AutoDJ branch lp:~daschuer/mixxx/autodj (the track load behavior is different there, so the issue is always visible), but this bug is also with current trunk

@mixxxbot
Copy link
Collaborator Author

Commented by: esbrandt
Date: 2011-08-19T12:59:37Z


This is not only with Player 2 as originally thought, but with all players (even samplers).
Tested with latest trunk.

@mixxxbot
Copy link
Collaborator Author

Commented by: rryan
Date: 2011-11-07T05:29:14Z


EngineObjects need to get an onTrackLoaded/Unloaded callback so that we can clear these indicators.

@mixxxbot
Copy link
Collaborator Author

Commented by: esbrandt
Date: 2012-02-13T14:39:08Z


The decks BPM display will not reset on eject as well.

@mixxxbot
Copy link
Collaborator Author

Commented by: rroman-botnari
Date: 2012-03-22T13:39:49Z


I managed to reset the bpm by updating(reseting) the visualBpm in enginebuffer.cpp in the ejectTrack() method. It works on both decks. Is it the right method of doing this or do you think i should try to solve this differently?

@mixxxbot
Copy link
Collaborator Author

Commented by: rryan
Date: 2012-05-04T03:34:31Z


Hey Roman,

Thanks for working on this. Your suggestion worked fine and I've committed it to lp:mixxx/1.10.

The VU-meter side of this is tricky since they are separate from EngineBuffer. I think that I won't fix that now and in the enginecontrol-refactor branch I will refactor things so that eject is handled by BaseTrackPlayer/EngineDeck instead of EngineBuffer. That way all EngineObjects in a given channel can receive load/unload callbacks.

@mixxxbot
Copy link
Collaborator Author

Commented by: rroman-botnari
Date: 2012-05-04T06:25:44Z


Hi,
if you can explain to me how that part functions a litte bit more, maybe i
can do it.

Thank you

On 4 May 2012 05:34, RJ Ryan wrote:

Hey Roman,

Thanks for working on this. Your suggestion worked fine and I've
committed it to lp:mixxx/1.10.

The VU-meter side of this is tricky since they are separate from
EngineBuffer. I think that I won't fix that now and in the
enginecontrol-refactor branch I will refactor things so that eject is
handled by BaseTrackPlayer/EngineDeck instead of EngineBuffer. That way
all EngineObjects in a given channel can receive load/unload callbacks.

** Summary changed:

  • Channel volume meter and BPM displays are on eject
  • Clear BPM displays on eject

** Changed in: mixxx
Status: In Progress => Fix Committed

--
You received this bug notification because you are a bug assignee.
https://bugs.launchpad.net/bugs/791131

Title:
Clear BPM displays on eject

Status in Mixxx:
Fix Committed

Bug description:

  1. Load and play a track in player 2
  2. Stop playback at a point with high volume
  3. Instantly eject track using the EJECT button
  4. Notice how the VUmeter is not reset

I first noticed this when using the AutoDJ branch
lp:~daschuer/mixxx/autodj (the track load behavior is different there,
so the issue is always visible), but this bug is also with current
trunk

To manage notifications about this bug go to:
https://bugs.launchpad.net/mixxx/+bug/791131/+subscriptions

--
Roman Botnari

blog: http://fwddub.net/ <http://fwddub.blogspot.com/>
T: +393403852484

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Fix Released.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@mixxxbot mixxxbot added this to the 1.10.1 milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant