@coderline/alphatab 1.9.0-alpha.1855 → 1.9.0-alpha.1861
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.
- package/dist/alphaTab.core.min.mjs +2 -2
- package/dist/alphaTab.core.mjs +271 -91
- package/dist/alphaTab.d.ts +77 -3
- package/dist/alphaTab.js +271 -91
- package/dist/alphaTab.min.js +2 -2
- package/dist/alphaTab.min.mjs +1 -1
- package/dist/alphaTab.mjs +1 -1
- package/dist/alphaTab.worker.min.mjs +1 -1
- package/dist/alphaTab.worker.mjs +1 -1
- package/dist/alphaTab.worklet.min.mjs +1 -1
- package/dist/alphaTab.worklet.mjs +1 -1
- package/package.json +2 -2
package/dist/alphaTab.d.ts
CHANGED
|
@@ -2083,6 +2083,7 @@ export declare class AlphaTabApiBase<TSettings> {
|
|
|
2083
2083
|
private _onBeatMouseMove;
|
|
2084
2084
|
private _onNoteMouseMove;
|
|
2085
2085
|
private _onBeatMouseUp;
|
|
2086
|
+
private _seekToBeat;
|
|
2086
2087
|
private _onNoteMouseUp;
|
|
2087
2088
|
private _updateSelectionCursor;
|
|
2088
2089
|
private _setupClickHandling;
|
|
@@ -2170,6 +2171,7 @@ export declare class AlphaTabApiBase<TSettings> {
|
|
|
2170
2171
|
* ```
|
|
2171
2172
|
*/
|
|
2172
2173
|
applyPlaybackRangeFromHighlight(): void;
|
|
2174
|
+
private _internalApplyPlaybackRangeFromHighlight;
|
|
2173
2175
|
/**
|
|
2174
2176
|
* Clears the highlight markers marking the currently selected playback range.
|
|
2175
2177
|
*
|
|
@@ -9836,10 +9838,20 @@ export declare class ImporterSettings {
|
|
|
9836
9838
|
*
|
|
9837
9839
|
* * Guitar Pro 7
|
|
9838
9840
|
* * Guitar Pro 6
|
|
9839
|
-
* * Guitar Pro 3-5
|
|
9840
9841
|
* * MusicXML
|
|
9841
9842
|
*/
|
|
9842
9843
|
encoding: string;
|
|
9844
|
+
/**
|
|
9845
|
+
* The text encoding to use when decoding strings within GuitarPro3-5 files.
|
|
9846
|
+
* @since 1.9.0
|
|
9847
|
+
* @defaultValue `windows-1252`
|
|
9848
|
+
* @category Importer
|
|
9849
|
+
* @remarks
|
|
9850
|
+
* Guitar Pro 3-5 encode strings as system specific ANSI encoding, typically Windows-1252 in western system cultures.
|
|
9851
|
+
* This is different to the other typically used utf-8 encoding.
|
|
9852
|
+
* Via this setting the Guitar Pro 3-5 specific decoding can be used.
|
|
9853
|
+
*/
|
|
9854
|
+
gp3To5encoding: string;
|
|
9843
9855
|
/**
|
|
9844
9856
|
* If part-groups should be merged into a single track (MusicXML).
|
|
9845
9857
|
* @since 0.9.6
|
|
@@ -9913,10 +9925,20 @@ declare interface ImporterSettingsJson {
|
|
|
9913
9925
|
*
|
|
9914
9926
|
* * Guitar Pro 7
|
|
9915
9927
|
* * Guitar Pro 6
|
|
9916
|
-
* * Guitar Pro 3-5
|
|
9917
9928
|
* * MusicXML
|
|
9918
9929
|
*/
|
|
9919
9930
|
encoding?: string;
|
|
9931
|
+
/**
|
|
9932
|
+
* The text encoding to use when decoding strings within GuitarPro3-5 files.
|
|
9933
|
+
* @since 1.9.0
|
|
9934
|
+
* @defaultValue `windows-1252`
|
|
9935
|
+
* @category Importer
|
|
9936
|
+
* @remarks
|
|
9937
|
+
* Guitar Pro 3-5 encode strings as system specific ANSI encoding, typically Windows-1252 in western system cultures.
|
|
9938
|
+
* This is different to the other typically used utf-8 encoding.
|
|
9939
|
+
* Via this setting the Guitar Pro 3-5 specific decoding can be used.
|
|
9940
|
+
*/
|
|
9941
|
+
gp3To5encoding?: string;
|
|
9920
9942
|
/**
|
|
9921
9943
|
* If part-groups should be merged into a single track (MusicXML).
|
|
9922
9944
|
* @since 0.9.6
|
|
@@ -13976,11 +13998,39 @@ export declare class PlayerSettings {
|
|
|
13976
13998
|
* @since 0.9.7
|
|
13977
13999
|
* @defaultValue `true`
|
|
13978
14000
|
* @category Player
|
|
14001
|
+
* @json_read_only
|
|
13979
14002
|
* @remarks
|
|
13980
14003
|
* This setting configures whether alphaTab provides the default user interaction features like selection of the playback range and "seek on click".
|
|
13981
14004
|
* By default users can select the desired playback range with the mouse and also jump to individual beats by click. This behavior can be contolled with this setting.
|
|
14005
|
+
* @deprecated Use {@link enableSeekToClick} and {@link enablePlaybackRangeSelection} individually
|
|
14006
|
+
*/
|
|
14007
|
+
get enableUserInteraction(): boolean;
|
|
14008
|
+
/**
|
|
14009
|
+
* @deprecated Use {@link enableSeekToClick} and {@link enablePlaybackRangeSelection} individually
|
|
14010
|
+
*/
|
|
14011
|
+
set enableUserInteraction(value: boolean);
|
|
14012
|
+
/**
|
|
14013
|
+
* Whether the a click on the music sheet triggers a player seek to the note/beat at the
|
|
14014
|
+
* clicked location.
|
|
14015
|
+
* @since 1.9.0
|
|
14016
|
+
* @defaultValue `true`
|
|
14017
|
+
* @category Player
|
|
14018
|
+
*/
|
|
14019
|
+
enableSeekToClick: boolean;
|
|
14020
|
+
/**
|
|
14021
|
+
* Whether user click and drag results in a selection defining the playback range.
|
|
14022
|
+
* @since 1.9.0
|
|
14023
|
+
* @defaultValue `true`
|
|
14024
|
+
* @category Player
|
|
14025
|
+
*/
|
|
14026
|
+
enablePlaybackRangeSelection: boolean;
|
|
14027
|
+
/**
|
|
14028
|
+
* Whether a simple click (no range drag) should reset the current playback range.
|
|
14029
|
+
* @since 1.9.0
|
|
14030
|
+
* @defaultValue `true`
|
|
14031
|
+
* @category Player
|
|
13982
14032
|
*/
|
|
13983
|
-
|
|
14033
|
+
resetPlaybackRangeOnClick: boolean;
|
|
13984
14034
|
/**
|
|
13985
14035
|
* The X-offset to add when scrolling.
|
|
13986
14036
|
* @since 0.9.6
|
|
@@ -14248,11 +14298,35 @@ declare interface PlayerSettingsJson {
|
|
|
14248
14298
|
* @since 0.9.7
|
|
14249
14299
|
* @defaultValue `true`
|
|
14250
14300
|
* @category Player
|
|
14301
|
+
* @json_read_only
|
|
14251
14302
|
* @remarks
|
|
14252
14303
|
* This setting configures whether alphaTab provides the default user interaction features like selection of the playback range and "seek on click".
|
|
14253
14304
|
* By default users can select the desired playback range with the mouse and also jump to individual beats by click. This behavior can be contolled with this setting.
|
|
14305
|
+
* @deprecated Use {@link enableSeekToClick} and {@link enablePlaybackRangeSelection} individually
|
|
14254
14306
|
*/
|
|
14255
14307
|
enableUserInteraction?: boolean;
|
|
14308
|
+
/**
|
|
14309
|
+
* Whether the a click on the music sheet triggers a player seek to the note/beat at the
|
|
14310
|
+
* clicked location.
|
|
14311
|
+
* @since 1.9.0
|
|
14312
|
+
* @defaultValue `true`
|
|
14313
|
+
* @category Player
|
|
14314
|
+
*/
|
|
14315
|
+
enableSeekToClick?: boolean;
|
|
14316
|
+
/**
|
|
14317
|
+
* Whether user click and drag results in a selection defining the playback range.
|
|
14318
|
+
* @since 1.9.0
|
|
14319
|
+
* @defaultValue `true`
|
|
14320
|
+
* @category Player
|
|
14321
|
+
*/
|
|
14322
|
+
enablePlaybackRangeSelection?: boolean;
|
|
14323
|
+
/**
|
|
14324
|
+
* Whether a simple click (no range drag) should reset the current playback range.
|
|
14325
|
+
* @since 1.9.0
|
|
14326
|
+
* @defaultValue `true`
|
|
14327
|
+
* @category Player
|
|
14328
|
+
*/
|
|
14329
|
+
resetPlaybackRangeOnClick?: boolean;
|
|
14256
14330
|
/**
|
|
14257
14331
|
* The X-offset to add when scrolling.
|
|
14258
14332
|
* @since 0.9.6
|