-
Notifications
You must be signed in to change notification settings - Fork 220
Closed
Labels
area-playerRelated to the audio playback engine.Related to the audio playback engine.platform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.
Milestone
Description
Your environment
- Version used: 0.9.5.241 (latest)
- Platform used: JavaScript
- Rendering engine used: SVG
- Browser Name and Version: Firefox & Chromium (latest versions)
- Operating System and version (desktop or mobile): Linux desktop
Expected Results
The metronome should not be playing if its volume is set to zero.
Observed Results
On Chromium, the metronome starts playing over the playback immediately.
On Firefox, the metronome starts to play only the second time, whether the playback is looped or replayed manually.
Steps to Reproduce (for bugs)
Minimal HTML and JS script :
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div id="alphatab-container"></div>
<script src="alphatab-0.9.5.241.js"></script>
<script src="script.js"></script>
</body>
</html>(function()
{
let settings = {
player: 'default.sf2',
};
let alphatab = new alphaTab.platform.javaScript.AlphaTabApi(document.getElementById('alphatab-container'), settings);
alphatab.tex(':8 1.6 2.6 3.6 4.6 1.5 2.5 3.5 4.5 | 1.4 2.4 3.4 4.4 1.3 2.3 3.3 4.3');
alphatab.isLooping = true;
alphatab.metronomeValue = 0;
alphatab.addReadyForPlayback(function() {
alphatab.play();
});
})();Metadata
Metadata
Assignees
Labels
area-playerRelated to the audio playback engine.Related to the audio playback engine.platform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.