Skip to content

Count-in doesn't work when playing selected area #1140

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

Closed
1 task done
leocaseiro opened this issue Apr 5, 2023 · 2 comments · Fixed by #1149
Closed
1 task done

Count-in doesn't work when playing selected area #1140

leocaseiro opened this issue Apr 5, 2023 · 2 comments · Fixed by #1149
Assignees
Labels
area-player Related to the audio playback engine. platform-all Affects all platforms state-accepted This is a valid topic to work on.

Comments

@leocaseiro
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When playing audio from a selected area, the count-in metronome is triggered but stops after that. No more audio and it normally crashes the app.

Expected Behavior

Count-in should work in the middle of a song, not just at the beginning.

Steps To Reproduce

  1. Open a file that has multiple measurements
  2. select a part of a song (in the middle) such as measures 5-8
  3. Enable count-in.
  4. Click play

Link to jsFiddle, CodePen, Project

https://www.alphatab.net/

Found in Version

1.2

Platform

Web

Environment

- **OS**: MacOS Ventura, iOS 16.3.1
- **Browser**: Chrome 111, Safari 16.3
- **.net Version**: ?

Anything else?

I can replicate it at https://www.alphatab.net/ player with any song.

@leocaseiro leocaseiro added the state-needs-triage Bug not triaged yet. label Apr 5, 2023
@Danielku15 Danielku15 added 🕷️ type-bug state-accepted This is a valid topic to work on. area-player Related to the audio playback engine. platform-all Affects all platforms and removed state-needs-triage Bug not triaged yet. labels Apr 7, 2023
@Danielku15
Copy link
Member

Thanks for reporting. Yes, this is indeed a bug.

@leocaseiro
Copy link
Author

Thank you for your fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-player Related to the audio playback engine. platform-all Affects all platforms state-accepted This is a valid topic to work on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants