@coderline/alphatab 1.5.0-alpha.1396 → 1.6.0-alpha.1397

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 +1,51 @@
1
- import*as r from"./alphaTab.core.min.mjs";export*from"./alphaTab.core.min.mjs";r.Environment.isRunningInWorker?r.Environment.initializeWorker():r.Environment.isRunningInAudioWorklet?r.Environment.initializeAudioWorklet():r.Environment.initializeMain((e=>{if(r.Environment.webPlatform===r.WebPlatform.NodeJs)throw new r.AlphaTabError(r.AlphaTabErrorType.General,"Workers not yet supported in Node.js");if(r.Environment.webPlatform===r.WebPlatform.BrowserModule||r.Environment.isWebPackBundled||r.Environment.isViteBundled){r.Logger.debug("AlphaTab","Creating webworker");try{return new r.Environment.alphaTabWorker(new r.Environment.alphaTabUrl("./alphaTab.worker.min.mjs",import.meta.url),{type:"module"})}catch(e){r.Logger.debug("AlphaTab","ESM webworker construction with direct URL failed",e)}let o="";try{o=new r.Environment.alphaTabUrl("./alphaTab.worker.min.mjs",import.meta.url);const e=`import ${JSON.stringify(o)}`,t=new Blob([e],{type:"application/javascript"});return new Worker(URL.createObjectURL(t),{type:"module"})}catch(e){r.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",o,e)}try{if(!e.core.scriptFile)throw new Error("Could not detect alphaTab script file");o=e.core.scriptFile;const r=`import ${JSON.stringify(e.core.scriptFile)}`,t=new Blob([r],{type:"application/javascript"});return new Worker(URL.createObjectURL(t),{type:"module"})}catch(o){r.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",e.core.scriptFile,o)}}if(!e.core.scriptFile)throw new r.AlphaTabError(r.AlphaTabErrorType.General,"Could not detect alphaTab script file, cannot initialize renderer");try{r.Logger.debug("AlphaTab","Creating Blob worker");const o=`importScripts('${e.core.scriptFile}')`,t=new Blob([o],{type:"application/javascript"});return new Worker(URL.createObjectURL(t))}catch(o){return r.Logger.warning("Rendering","Could not create inline worker, fallback to normal worker"),new Worker(e.core.scriptFile)}}),((e,o)=>{if(r.Environment.webPlatform===r.WebPlatform.NodeJs)throw new r.AlphaTabError(r.AlphaTabErrorType.General,"Audio Worklets not yet supported in Node.js");if(r.Environment.webPlatform===r.WebPlatform.BrowserModule||r.Environment.isWebPackBundled||r.Environment.isViteBundled){r.Logger.debug("AlphaTab","Creating Module worklet");return e.audioWorklet.addModule(new r.Environment.alphaTabUrl("./alphaTab.worklet.min.mjs",import.meta.url))}return r.Logger.debug("AlphaTab","Creating Script worklet"),e.audioWorklet.addModule(o.core.scriptFile)}));
1
+ /*!
2
+ * alphaTab v1.6.0-alpha.1397 (develop, build 1397)
3
+ *
4
+ * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
+ *
6
+ * This Source Code Form is subject to the terms of the Mozilla Public
7
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
8
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
+ *
10
+ * Integrated Libraries:
11
+ *
12
+ * Library: TinySoundFont
13
+ * License: MIT
14
+ * Copyright: Copyright (C) 2017, 2018 Bernhard Schelling
15
+ * URL: https://github.com/schellingb/TinySoundFont
16
+ * Purpose: SoundFont loading and Audio Synthesis
17
+ *
18
+ * Library: SFZero
19
+ * License: MIT
20
+ * Copyright: Copyright (C) 2012 Steve Folta ()
21
+ * URL: https://github.com/stevefolta/SFZero
22
+ * Purpose: TinySoundFont is based on SFZEro
23
+ *
24
+ * Library: Haxe Standard Library
25
+ * License: MIT
26
+ * Copyright: Copyright (C)2005-2025 Haxe Foundation
27
+ * URL: https://github.com/HaxeFoundation/haxe/tree/development/std
28
+ * Purpose: XML Parser & Zip Inflate Algorithm
29
+ *
30
+ * Library: SharpZipLib
31
+ * License: MIT
32
+ * Copyright: Copyright © 2000-2018 SharpZipLib Contributors
33
+ * URL: https://github.com/icsharpcode/SharpZipLib
34
+ * Purpose: Zip Deflate Algorithm for writing compressed Zips
35
+ *
36
+ * Library: NVorbis
37
+ * License: MIT
38
+ * Copyright: Copyright (c) 2020 Andrew Ward
39
+ * URL: https://github.com/NVorbis/NVorbis
40
+ * Purpose: Vorbis Stream Decoding
41
+ *
42
+ * Library: libvorbis
43
+ * License: BSD-3-Clause
44
+ * Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
45
+ * URL: https://github.com/xiph/vorbis
46
+ * Purpose: NVorbis adopted some code from libvorbis.
47
+ *
48
+ * @preserve
49
+ * @license
50
+ */
51
+ void 0===Symbol.dispose&&(Symbol.dispose=Symbol("Symbol.dispose"));import*as e from"./alphaTab.core.min.mjs";export*from"./alphaTab.core.min.mjs";e.Environment.isRunningInWorker?e.Environment.initializeWorker():e.Environment.isRunningInAudioWorklet?e.Environment.initializeAudioWorklet():e.Environment.initializeMain((r=>{if(e.Environment.webPlatform===e.WebPlatform.NodeJs)throw new e.AlphaTabError(e.AlphaTabErrorType.General,"Workers not yet supported in Node.js");if(e.Environment.webPlatform===e.WebPlatform.BrowserModule||e.Environment.isWebPackBundled||e.Environment.isViteBundled){e.Logger.debug("AlphaTab","Creating webworker");try{return new e.Environment.alphaTabWorker(new e.Environment.alphaTabUrl("./alphaTab.worker.min.mjs",import.meta.url),{type:"module"})}catch(r){e.Logger.debug("AlphaTab","ESM webworker construction with direct URL failed",r)}let o="";try{o=new e.Environment.alphaTabUrl("./alphaTab.worker.min.mjs",import.meta.url);const r=`import ${JSON.stringify(o)}`,t=new Blob([r],{type:"application/javascript"});return new Worker(URL.createObjectURL(t),{type:"module"})}catch(r){e.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",o,r)}try{if(!r.core.scriptFile)throw new Error("Could not detect alphaTab script file");o=r.core.scriptFile;const e=`import ${JSON.stringify(r.core.scriptFile)}`,t=new Blob([e],{type:"application/javascript"});return new Worker(URL.createObjectURL(t),{type:"module"})}catch(o){e.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",r.core.scriptFile,o)}}if(!r.core.scriptFile)throw new e.AlphaTabError(e.AlphaTabErrorType.General,"Could not detect alphaTab script file, cannot initialize renderer");try{e.Logger.debug("AlphaTab","Creating Blob worker");const o=`importScripts('${r.core.scriptFile}')`,t=new Blob([o],{type:"application/javascript"});return new Worker(URL.createObjectURL(t))}catch(o){return e.Logger.warning("Rendering","Could not create inline worker, fallback to normal worker"),new Worker(r.core.scriptFile)}}),((r,o)=>{if(e.Environment.webPlatform===e.WebPlatform.NodeJs)throw new e.AlphaTabError(e.AlphaTabErrorType.General,"Audio Worklets not yet supported in Node.js");if(e.Environment.webPlatform===e.WebPlatform.BrowserModule||e.Environment.isWebPackBundled||e.Environment.isViteBundled){e.Logger.debug("AlphaTab","Creating Module worklet");return r.audioWorklet.addModule(new e.Environment.alphaTabUrl("./alphaTab.worklet.min.mjs",import.meta.url))}return e.Logger.debug("AlphaTab","Creating Script worklet"),r.audioWorklet.addModule(o.core.scriptFile)}));
package/dist/alphaTab.mjs CHANGED
@@ -1,5 +1,5 @@
1
- /**
2
- * alphaTab v1.5.0-alpha.1396 (develop, build 1396)
1
+ /*!
2
+ * alphaTab v1.6.0-alpha.1397 (develop, build 1397)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -44,8 +44,13 @@
44
44
  * Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
45
45
  * URL: https://github.com/xiph/vorbis
46
46
  * Purpose: NVorbis adopted some code from libvorbis.
47
+ *
48
+ * @preserve
49
+ * @license
47
50
  */
48
51
 
52
+ if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
53
+
49
54
  import * as alphaTab from './alphaTab.core.mjs';
50
55
  export * from './alphaTab.core.mjs';
51
56
 
@@ -1,5 +1,5 @@
1
- /**
2
- * alphaTab v1.5.0-alpha.1396 (develop, build 1396)
1
+ /*!
2
+ * alphaTab v1.6.0-alpha.1397 (develop, build 1397)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -44,10 +44,15 @@
44
44
  * Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
45
45
  * URL: https://github.com/xiph/vorbis
46
46
  * Purpose: NVorbis adopted some code from libvorbis.
47
+ *
48
+ * @preserve
49
+ * @license
47
50
  */
48
51
 
49
52
  'use strict';
50
53
 
54
+ if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
55
+
51
56
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
52
57
 
53
58
  const path = require('node:path');
@@ -1,5 +1,5 @@
1
- /**
2
- * alphaTab v1.5.0-alpha.1396 (develop, build 1396)
1
+ /*!
2
+ * alphaTab v1.6.0-alpha.1397 (develop, build 1397)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -44,8 +44,13 @@
44
44
  * Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
45
45
  * URL: https://github.com/xiph/vorbis
46
46
  * Purpose: NVorbis adopted some code from libvorbis.
47
+ *
48
+ * @preserve
49
+ * @license
47
50
  */
48
51
 
52
+ if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
53
+
49
54
  import * as path from 'node:path';
50
55
  import path__default from 'node:path';
51
56
  import * as fs from 'node:fs';
@@ -1,5 +1,5 @@
1
- /**
2
- * alphaTab v1.5.0-alpha.1396 (develop, build 1396)
1
+ /*!
2
+ * alphaTab v1.6.0-alpha.1397 (develop, build 1397)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -44,10 +44,15 @@
44
44
  * Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
45
45
  * URL: https://github.com/xiph/vorbis
46
46
  * Purpose: NVorbis adopted some code from libvorbis.
47
+ *
48
+ * @preserve
49
+ * @license
47
50
  */
48
51
 
49
52
  'use strict';
50
53
 
54
+ if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
55
+
51
56
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
52
57
 
53
58
  const fs = require('node:fs');
@@ -1,5 +1,5 @@
1
- /**
2
- * alphaTab v1.5.0-alpha.1396 (develop, build 1396)
1
+ /*!
2
+ * alphaTab v1.6.0-alpha.1397 (develop, build 1397)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -44,8 +44,13 @@
44
44
  * Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
45
45
  * URL: https://github.com/xiph/vorbis
46
46
  * Purpose: NVorbis adopted some code from libvorbis.
47
+ *
48
+ * @preserve
49
+ * @license
47
50
  */
48
51
 
52
+ if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
53
+
49
54
  import * as fs from 'node:fs';
50
55
  import * as path from 'node:path';
51
56
  import * as url from 'node:url';
@@ -1 +1,51 @@
1
- import*as r from"./alphaTab.core.min.mjs";r.Environment.initializeWorker();
1
+ /*!
2
+ * alphaTab v1.6.0-alpha.1397 (develop, build 1397)
3
+ *
4
+ * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
+ *
6
+ * This Source Code Form is subject to the terms of the Mozilla Public
7
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
8
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
+ *
10
+ * Integrated Libraries:
11
+ *
12
+ * Library: TinySoundFont
13
+ * License: MIT
14
+ * Copyright: Copyright (C) 2017, 2018 Bernhard Schelling
15
+ * URL: https://github.com/schellingb/TinySoundFont
16
+ * Purpose: SoundFont loading and Audio Synthesis
17
+ *
18
+ * Library: SFZero
19
+ * License: MIT
20
+ * Copyright: Copyright (C) 2012 Steve Folta ()
21
+ * URL: https://github.com/stevefolta/SFZero
22
+ * Purpose: TinySoundFont is based on SFZEro
23
+ *
24
+ * Library: Haxe Standard Library
25
+ * License: MIT
26
+ * Copyright: Copyright (C)2005-2025 Haxe Foundation
27
+ * URL: https://github.com/HaxeFoundation/haxe/tree/development/std
28
+ * Purpose: XML Parser & Zip Inflate Algorithm
29
+ *
30
+ * Library: SharpZipLib
31
+ * License: MIT
32
+ * Copyright: Copyright © 2000-2018 SharpZipLib Contributors
33
+ * URL: https://github.com/icsharpcode/SharpZipLib
34
+ * Purpose: Zip Deflate Algorithm for writing compressed Zips
35
+ *
36
+ * Library: NVorbis
37
+ * License: MIT
38
+ * Copyright: Copyright (c) 2020 Andrew Ward
39
+ * URL: https://github.com/NVorbis/NVorbis
40
+ * Purpose: Vorbis Stream Decoding
41
+ *
42
+ * Library: libvorbis
43
+ * License: BSD-3-Clause
44
+ * Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
45
+ * URL: https://github.com/xiph/vorbis
46
+ * Purpose: NVorbis adopted some code from libvorbis.
47
+ *
48
+ * @preserve
49
+ * @license
50
+ */
51
+ void 0===Symbol.dispose&&(Symbol.dispose=Symbol("Symbol.dispose"));import*as o from"./alphaTab.core.min.mjs";o.Environment.initializeWorker();
@@ -1,5 +1,5 @@
1
- /**
2
- * alphaTab v1.5.0-alpha.1396 (develop, build 1396)
1
+ /*!
2
+ * alphaTab v1.6.0-alpha.1397 (develop, build 1397)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -44,8 +44,13 @@
44
44
  * Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
45
45
  * URL: https://github.com/xiph/vorbis
46
46
  * Purpose: NVorbis adopted some code from libvorbis.
47
+ *
48
+ * @preserve
49
+ * @license
47
50
  */
48
51
 
52
+ if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
53
+
49
54
  import * as alphaTab from './alphaTab.core.mjs';
50
55
 
51
56
  /**@target web */
@@ -1 +1,51 @@
1
- import*as i from"./alphaTab.core.min.mjs";i.Environment.initializeAudioWorklet();
1
+ /*!
2
+ * alphaTab v1.6.0-alpha.1397 (develop, build 1397)
3
+ *
4
+ * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
+ *
6
+ * This Source Code Form is subject to the terms of the Mozilla Public
7
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
8
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
+ *
10
+ * Integrated Libraries:
11
+ *
12
+ * Library: TinySoundFont
13
+ * License: MIT
14
+ * Copyright: Copyright (C) 2017, 2018 Bernhard Schelling
15
+ * URL: https://github.com/schellingb/TinySoundFont
16
+ * Purpose: SoundFont loading and Audio Synthesis
17
+ *
18
+ * Library: SFZero
19
+ * License: MIT
20
+ * Copyright: Copyright (C) 2012 Steve Folta ()
21
+ * URL: https://github.com/stevefolta/SFZero
22
+ * Purpose: TinySoundFont is based on SFZEro
23
+ *
24
+ * Library: Haxe Standard Library
25
+ * License: MIT
26
+ * Copyright: Copyright (C)2005-2025 Haxe Foundation
27
+ * URL: https://github.com/HaxeFoundation/haxe/tree/development/std
28
+ * Purpose: XML Parser & Zip Inflate Algorithm
29
+ *
30
+ * Library: SharpZipLib
31
+ * License: MIT
32
+ * Copyright: Copyright © 2000-2018 SharpZipLib Contributors
33
+ * URL: https://github.com/icsharpcode/SharpZipLib
34
+ * Purpose: Zip Deflate Algorithm for writing compressed Zips
35
+ *
36
+ * Library: NVorbis
37
+ * License: MIT
38
+ * Copyright: Copyright (c) 2020 Andrew Ward
39
+ * URL: https://github.com/NVorbis/NVorbis
40
+ * Purpose: Vorbis Stream Decoding
41
+ *
42
+ * Library: libvorbis
43
+ * License: BSD-3-Clause
44
+ * Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
45
+ * URL: https://github.com/xiph/vorbis
46
+ * Purpose: NVorbis adopted some code from libvorbis.
47
+ *
48
+ * @preserve
49
+ * @license
50
+ */
51
+ void 0===Symbol.dispose&&(Symbol.dispose=Symbol("Symbol.dispose"));import*as o from"./alphaTab.core.min.mjs";o.Environment.initializeAudioWorklet();
@@ -1,5 +1,5 @@
1
- /**
2
- * alphaTab v1.5.0-alpha.1396 (develop, build 1396)
1
+ /*!
2
+ * alphaTab v1.6.0-alpha.1397 (develop, build 1397)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -44,8 +44,13 @@
44
44
  * Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
45
45
  * URL: https://github.com/xiph/vorbis
46
46
  * Purpose: NVorbis adopted some code from libvorbis.
47
+ *
48
+ * @preserve
49
+ * @license
47
50
  */
48
51
 
52
+ if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
53
+
49
54
  import * as alphaTab from './alphaTab.core.mjs';
50
55
 
51
56
  /**@target web */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coderline/alphatab",
3
- "version": "1.5.0-alpha.1396",
3
+ "version": "1.6.0-alpha.1397",
4
4
  "description": "alphaTab is a music notation and guitar tablature rendering library",
5
5
  "keywords": [
6
6
  "guitar",