@coderline/alphatab 1.9.0-alpha.1853 → 1.9.0-alpha.1855

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.9.0-alpha.1853 (develop, build 1853)
2
+ * alphaTab v1.9.0-alpha.1855 (develop, build 1855)
3
3
  *
4
4
  * Copyright © 2026, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -186,9 +186,9 @@ class AlphaTabError extends Error {
186
186
  * @internal
187
187
  */
188
188
  class VersionInfo {
189
- static version = "1.9.0-alpha.1853";
190
- static date = "2026-07-04T03:56:00.242Z";
191
- static commit = "770d9e5f9fa71e92e08bdeb8b27a7144b1ef1418";
189
+ static version = "1.9.0-alpha.1855";
190
+ static date = "2026-07-06T04:23:13.862Z";
191
+ static commit = "acae7e9eafc26b0209712e3c3d0c2f8564e25148";
192
192
  static print(print) {
193
193
  print(`alphaTab ${VersionInfo.version}`);
194
194
  print(`commit: ${VersionInfo.commit}`);
@@ -42505,6 +42505,7 @@ class AlphaSynthAudioWorkletOutput extends AlphaSynthWebAudioOutputBase {
42505
42505
  play() {
42506
42506
  super.play();
42507
42507
  const ctx = this.context;
42508
+ if (this._pendingEvents) this._pendingEvents = void 0;
42508
42509
  BrowserUiFacade.createAlphaSynthAudioWorklet(ctx, this._settings).then(() => {
42509
42510
  this._worklet = new AudioWorkletNode(ctx, "alphatab", {
42510
42511
  numberOfOutputs: 1,
@@ -44268,8 +44269,8 @@ class MidiFileGenerator {
44268
44269
  }
44269
44270
  const interval = MidiUtils.toTicks(initialDuration);
44270
44271
  if (audioDuration !== interval) return null;
44271
- if (beatStart % interval !== 0) return null;
44272
- if (!beat.nextBeat || beat.nextBeat.voice !== beat.voice || beat.playbackDuration !== interval) return null;
44272
+ if (beatStart % (interval * 2) !== 0) return null;
44273
+ if (!beat.nextBeat || beat.nextBeat.voice !== beat.voice || beat.nextBeat.playbackDuration !== interval || beat.nextBeat.playbackStart !== beatStart + interval) return null;
44273
44274
  const durations = new TripletFeelDurations();
44274
44275
  switch (beat.voice.bar.masterBar.tripletFeel) {
44275
44276
  case TripletFeel.Triplet8th:
package/dist/alphaTab.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.9.0-alpha.1853 (develop, build 1853)
2
+ * alphaTab v1.9.0-alpha.1855 (develop, build 1855)
3
3
  *
4
4
  * Copyright © 2026, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -190,9 +190,9 @@
190
190
  * @internal
191
191
  */
192
192
  var VersionInfo = class VersionInfo {
193
- static version = "1.9.0-alpha.1853";
194
- static date = "2026-07-04T03:56:00.242Z";
195
- static commit = "770d9e5f9fa71e92e08bdeb8b27a7144b1ef1418";
193
+ static version = "1.9.0-alpha.1855";
194
+ static date = "2026-07-06T04:23:13.862Z";
195
+ static commit = "acae7e9eafc26b0209712e3c3d0c2f8564e25148";
196
196
  static print(print) {
197
197
  print(`alphaTab ${VersionInfo.version}`);
198
198
  print(`commit: ${VersionInfo.commit}`);
@@ -42509,6 +42509,7 @@
42509
42509
  play() {
42510
42510
  super.play();
42511
42511
  const ctx = this.context;
42512
+ if (this._pendingEvents) this._pendingEvents = void 0;
42512
42513
  BrowserUiFacade.createAlphaSynthAudioWorklet(ctx, this._settings).then(() => {
42513
42514
  this._worklet = new AudioWorkletNode(ctx, "alphatab", {
42514
42515
  numberOfOutputs: 1,
@@ -44272,8 +44273,8 @@
44272
44273
  }
44273
44274
  const interval = MidiUtils.toTicks(initialDuration);
44274
44275
  if (audioDuration !== interval) return null;
44275
- if (beatStart % interval !== 0) return null;
44276
- if (!beat.nextBeat || beat.nextBeat.voice !== beat.voice || beat.playbackDuration !== interval) return null;
44276
+ if (beatStart % (interval * 2) !== 0) return null;
44277
+ if (!beat.nextBeat || beat.nextBeat.voice !== beat.voice || beat.nextBeat.playbackDuration !== interval || beat.nextBeat.playbackStart !== beatStart + interval) return null;
44277
44278
  const durations = new TripletFeelDurations();
44278
44279
  switch (beat.voice.bar.masterBar.tripletFeel) {
44279
44280
  case TripletFeel.Triplet8th: