You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wanting to create a custom player UI for my application while still utilizing AlphaSynth under the hood. I'm using ThreeJS for this and AlphaSynth does a great job in providing midi events via midiEventsPlayed however a lot of other events are not available at this level (playedBeatChanged for example) not to mention the data model (notes, beats, chords, etc). These events/information seem to be very tied to AlphaTabApiBase which requires a UIFacade. I had considered implementing my own implementation of IUiFacade however it doesn't seem to be exported so I'm unsure of what to do.
A few ideas I have to consider are:
Allow custom implementations of IUiFacade
Moving events "lower" (either into AlphaSynth or into a new layer (AlphaPlayer?) that sits between that holds knowledge about notes, beats, etc but not how to render them).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm wanting to create a custom player UI for my application while still utilizing AlphaSynth under the hood. I'm using ThreeJS for this and AlphaSynth does a great job in providing midi events via
midiEventsPlayed
however a lot of other events are not available at this level (playedBeatChanged
for example) not to mention the data model (notes, beats, chords, etc). These events/information seem to be very tied to AlphaTabApiBase which requires a UIFacade. I had considered implementing my own implementation ofIUiFacade
however it doesn't seem to be exported so I'm unsure of what to do.A few ideas I have to consider are:
IUiFacade
AlphaPlayer
?) that sits between that holds knowledge about notes, beats, etc but not how to render them).Beta Was this translation helpful? Give feedback.
All reactions