Skip to content

Playback cursor is not shown during playback #280

@cheap-glitch

Description

@cheap-glitch

Your environment

  • Version used: 0.9.5.241 (latest)
  • Platform used: JavaScript
  • Rendering engine used: SVG
  • Browser Name and Version: Firefox & Chromium (latest)
  • Operating System and version (desktop or mobile): Linux desktop

Expected Results

The playback cursor should appear when playback starts.

Observed Results

The playback cursor doesn't appear, and the note currently played is not highlighted either.

Steps to Reproduce (for bugs)

Minimal HTML and JS:

<!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',
		cursor: true,
	};

	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.addReadyForPlayback(function() {
		alphatab.play();
	});
})();

Metadata

Metadata

Assignees

Labels

area-playerRelated to the audio playback engine.platform-javascriptRelated to the JavaScript version of alphaTabplatform-netRelated to the .net version of alphaTabstate-acceptedThis is a valid topic to work on.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions