8000 enhancement: Turn on/off metronome while playing · Issue #91 · titinko/utsu · GitHub
[go: up one dir, main page]

Skip to content

enhancement: Turn on/off metronome while playing #91

Open

Description

@takagiy

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).

Activity

  1. atoko commented on Apr 1, 2022

    @atoko

    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)

  2. atoko commented on Apr 1, 2022

    @atoko

    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 onMarker event, if processing event markers isn't too resource intensive on the CPU

  3. titinko commented on Apr 2, 2022

    @titinko
    Owner

    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

  4. atoko commented on Sep 18, 2022

    @atoko

    @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?

  5. takagiy commented on Sep 18, 2022

    @takagiy
    Author

    @atoko Lovely! Thanks so much for a lot of your works!
    I think that the metronome sound can vary depending on software and has not to be realistic metronome sound.
    In most cases, only one type of metronome sound is provided (not configurable).
    Could you give me some days to try the latest implementation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0