-
Notifications
You must be signed in to change notification settings - Fork 26
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
enhancement: Turn on/off metronome while playing #91
Comments
Hey, I can take a look at this -- are there any concerns WRT running a second Media object to the same Media Player, or is it an exclusive channel? (In which case I'd have to instantiate a second MediaPlayer) |
MediaPlayer is monophonic, so as the issue mentioned, there needs to be a separate thread that synchronizes with the MediaPlayer object -- I have no knowledge of the internals, but a metronome could be implemented via the |
When making the debug instrumental feature, I just used two media players. To my knowledge there aren't any consequences to doing so. They run on separate threads by default as you can see in the playback method: https://github.com/titinko/utsu/blob/master/src/main/java/com/utsusynth/utsu/engine/Engine.java#L114 |
@takagiy This has been implemented in #94, and is available as a branch. It would be useful to have this beta tested. One facet I'm not sure about is the metronome sound itself. The current implementation uses a pitched, slightly distorted square wave as the sound, but I'm aware most metronomes use noise pulses. Is this something that should be configurable? |
@atoko Lovely! Thanks so much for a lot of your works! |
This is a feature request.
I think editing would be easy if i can use a virtual metronome that counts the beats in accordance with the project's tempo value. Although UTAU doesn't have it, the feature is popular among many audio editing software (e.g. Piapro Studio the vocal synth editor).
The text was updated successfully, but these errors were encountered: