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

Metronome implementation #94

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

atoko
Copy link

@atoko atoko commented Apr 3, 2022

This commit adds code on Engine.java to create a metronome. The metronome "attaches" itself to the current media player, taking in as arguments the MediaPlayer, the file path of the wave file to play and an Observable BooleanProperty that represents whether or not the metronome should be beeping.

It registers itself to the parent MediaPlayer onDispose and calls dispose on itself before calling the original onDispose method on the parent.

@atoko atoko force-pushed the feature/metronome branch from 598869a to 2f6ff39 Compare April 3, 2022 17:18
@titinko
Copy link
Owner

titinko commented Apr 5, 2022

Looking good so far! Please let me know when the feature is complete, and I can integrate it into UTSU.

@atoko atoko changed the title [WIP] Wave file and Metronome(mediaplayer, tempo) implementation Metronome implementation Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants