Skip to content

expose metronome click events #450

@jacopomaroli

Description

@jacopomaroli

Description

I'm currently implementing a solution to improvise along backing tracks. I'd like to show in my UI metronome counting.
It would be awesome having events dispatched containing info like current tempo, current click in measure, total clicks in current measure etc...

Possible Solutions

  1. dispatching synth events when consuming this queue https://github.com/CoderLine/alphaTab/blob/master/src/synth/MidiFileSequencer.ts#L191
  2. expose the aforementioned queue and we can infer the current metronome status from the midi tick

Current Workarounds

none as synthdata is buried in the worker :(

P.S. keep up the amazing work!

Metadata

Metadata

Assignees

Labels

area-playerRelated to the audio playback engine.state-acceptedThis is a valid topic to work on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions