Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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