Skip to content
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

Play score without soundfont #348

Open
hdaneshfar opened this issue Mar 22, 2020 · 2 comments
Open

Play score without soundfont #348

hdaneshfar opened this issue Mar 22, 2020 · 2 comments

Comments

@hdaneshfar
Copy link

Question

Can Alphatab plays and works without soundfont , just change time position after click on play button without any sounds ?
I want to play midi file of score on the background of html page, because in some mobile devices with poor hardware , Alphatab get stuck at times.
Thank You.

@Danielku15 Danielku15 self-assigned this Mar 26, 2020
@Danielku15 Danielku15 added this to the 1.x milestone Mar 26, 2020
@Danielku15
Copy link
Member

Can Alphatab plays and works without soundfont , just change time position after click on play button without any sounds ?

I thought of such a mode already where alphaTab is not generating the audio itself but rather synchronizes with an external audio source. This way it could also be combined with a youtube video or MP3.

Currently it is not possible to let alphaTab only place the cursor without generating any audio. In fact it heavily relies on the actual played samples to know where in time the playback is.

I would need to check in detail what actually is the most CPU intense part during playback to optimize this part.

I want to play midi file of score on the background of html page, because in some mobile devices with poor hardware , Alphatab get stuck at times.

I guess you meant to play a pre-recorded audio file like MP3, OGG etc.? A midi file itself is not playable directly, it exactly requires the soundfont and synthesizer part to get the audio playback.

The trickiest part is telling alphaTab when the cursor is where. If we consider repeats, tempo changes, and shifts in the audio. There is some additional information needed for alphaTab to place the cursor exactly where some other audio track is actually playing.

@hdaneshfar
Copy link
Author

Please check Alphtab on some Android Moderate CPU powered Devices with Chrome browser and solve the stuck at times.
Thanks a lot.

@Danielku15 Danielku15 removed this from the 1.x milestone May 7, 2020
@Danielku15 Danielku15 added this to the 1.5 milestone Jul 21, 2020
@Danielku15 Danielku15 removed this from the 1.5 milestone Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Candidate
Status: No status
Development

No branches or pull requests

2 participants