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

Metronome bug #400

Closed
LeadGuitarMx opened this issue Sep 17, 2020 · 2 comments
Closed

Metronome bug #400

LeadGuitarMx opened this issue Sep 17, 2020 · 2 comments
Assignees
Labels
area-player Related to the audio playback engine. state-accepted This is a valid topic to work on. type-bug 🕷️
Milestone

Comments

@LeadGuitarMx
Copy link

Your environment

  • Version used: alphaTab v1.0
  • Platform used: JavaScript
  • Rendering engine used: SVG (default)
  • Browser Name and Version: Microsoft Edge, Google Chrome, Firefox
  • Operating System and version (desktop or mobile): Windows 10
  • Link to your project:

Expected Results

Play the tab and activate the metronome while playing.

Observed Results

The metronome take a random sound instead the metronome sound.

Steps to Reproduce (for bugs)

It happens only when you activate the metronome while already playing the tab.
Same problem on the alphatab.net website

One more thing

I would like to know how can I use the resizeRender() function on a: onclick function :D
I'm working on this template with a hideable sidebar, but when I toggle the sidebar I want that AlphaTab take the free space.
I did a little video for you with the metronome issue and my template : )
https://youtu.be/uBhjkQGyzrE

Thanks for all 🙂🍻 cheers

@Danielku15 Danielku15 self-assigned this Sep 17, 2020
@Danielku15 Danielku15 added type-bug 🕷️ area-player Related to the audio playback engine. state-accepted This is a valid topic to work on. labels Sep 17, 2020
@Danielku15 Danielku15 added this to the 1.1 milestone Sep 17, 2020
@Danielku15
Copy link
Member

Regarding your question on the resize() function: alphaTab listens to the resize events of the main window to trigger a resize related rendering. You can just fire off a resize event and alphaTab should do the rest:
https://stackoverflow.com/questions/1818474/how-to-trigger-the-window-resize-event-in-javascript

@Danielku15
Copy link
Member

The metronome should now activate properly again. Just grab the next version which will be published in few minutes

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. state-accepted This is a valid topic to work on. type-bug 🕷️
Projects
None yet
Development

No branches or pull requests

2 participants