@coderline/alphatab 1.8.0-alpha.1656 → 1.8.0-alpha.1667
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 +3 -3
- package/dist/alphaTab.core.mjs +1048 -735
- package/dist/alphaTab.d.ts +84 -4
- package/dist/alphaTab.js +1048 -735
- package/dist/alphaTab.min.js +3 -3
- package/dist/alphaTab.min.mjs +2 -2
- package/dist/alphaTab.mjs +2 -2
- package/dist/alphaTab.worker.min.mjs +2 -2
- package/dist/alphaTab.worker.mjs +2 -2
- package/dist/alphaTab.worklet.min.mjs +2 -2
- package/dist/alphaTab.worklet.mjs +2 -2
- package/package.json +3 -3
package/dist/alphaTab.d.ts
CHANGED
|
@@ -4934,11 +4934,24 @@ declare class Beat {
|
|
|
4934
4934
|
* Gets or sets the pickstroke applied on this beat.
|
|
4935
4935
|
*/
|
|
4936
4936
|
pickStroke: PickStroke;
|
|
4937
|
+
/**
|
|
4938
|
+
* Whether this beat has a tremolo picking effect.
|
|
4939
|
+
*/
|
|
4937
4940
|
get isTremolo(): boolean;
|
|
4938
4941
|
/**
|
|
4939
|
-
*
|
|
4942
|
+
* The tremolo picking effect.
|
|
4943
|
+
*/
|
|
4944
|
+
tremoloPicking?: TremoloPickingEffect;
|
|
4945
|
+
/**
|
|
4946
|
+
* The speed of the tremolo.
|
|
4947
|
+
* @deprecated Set {@link tremoloPicking} instead.
|
|
4948
|
+
*/
|
|
4949
|
+
get tremoloSpeed(): Duration | null;
|
|
4950
|
+
/**
|
|
4951
|
+
* The speed of the tremolo.
|
|
4952
|
+
* @deprecated Set {@link tremoloPicking} instead.
|
|
4940
4953
|
*/
|
|
4941
|
-
tremoloSpeed: Duration | null;
|
|
4954
|
+
set tremoloSpeed(value: Duration | null);
|
|
4942
4955
|
/**
|
|
4943
4956
|
* Gets or sets whether a crescendo/decrescendo is applied on this beat.
|
|
4944
4957
|
*/
|
|
@@ -7561,6 +7574,17 @@ export declare class EngravingSettings {
|
|
|
7561
7574
|
* in case of multi-voice note head overlaps.
|
|
7562
7575
|
*/
|
|
7563
7576
|
multiVoiceDisplacedNoteHeadSpacing: number;
|
|
7577
|
+
/**
|
|
7578
|
+
* Calculates the stem height for a note of the given duration.
|
|
7579
|
+
* @param duration The duration to calculate the height respecting flag sizes.
|
|
7580
|
+
* @param hasFlag True if we need to respect flags, false if we have beams.
|
|
7581
|
+
* @returns The total stem height
|
|
7582
|
+
*/
|
|
7583
|
+
getStemLength(duration: Duration, hasFlag: boolean): number;
|
|
7584
|
+
/**
|
|
7585
|
+
* The space needed by flags on the stem-side from top to bottom to place.
|
|
7586
|
+
*/
|
|
7587
|
+
stemFlagHeight: Map<Duration, number>;
|
|
7564
7588
|
static readonly bravuraMetadata: SmuflMetadata;
|
|
7565
7589
|
}
|
|
7566
7590
|
|
|
@@ -7958,6 +7982,10 @@ declare interface EngravingSettingsJson {
|
|
|
7958
7982
|
* in case of multi-voice note head overlaps.
|
|
7959
7983
|
*/
|
|
7960
7984
|
multiVoiceDisplacedNoteHeadSpacing?: number;
|
|
7985
|
+
/**
|
|
7986
|
+
* The space needed by flags on the stem-side from top to bottom to place.
|
|
7987
|
+
*/
|
|
7988
|
+
stemFlagHeight?: Map<Duration | keyof typeof Duration | Lowercase<keyof typeof Duration>, number>;
|
|
7961
7989
|
}
|
|
7962
7990
|
|
|
7963
7991
|
/**
|
|
@@ -11409,6 +11437,8 @@ export declare namespace model {
|
|
|
11409
11437
|
BeatBeamingMode,
|
|
11410
11438
|
BeatSubElement,
|
|
11411
11439
|
BeatStyle,
|
|
11440
|
+
TremoloPickingEffect,
|
|
11441
|
+
TremoloPickingStyle,
|
|
11412
11442
|
BendPoint,
|
|
11413
11443
|
BendStyle,
|
|
11414
11444
|
BendType,
|
|
@@ -11620,9 +11650,12 @@ declare enum MusicFontSymbol {
|
|
|
11620
11650
|
TextTupletBracketStartLongStem = 57857,
|
|
11621
11651
|
TextTuplet3LongStem = 57858,
|
|
11622
11652
|
TextTupletBracketEndLongStem = 57859,
|
|
11623
|
-
Tremolo3 = 57890,
|
|
11624
|
-
Tremolo2 = 57889,
|
|
11625
11653
|
Tremolo1 = 57888,
|
|
11654
|
+
Tremolo2 = 57889,
|
|
11655
|
+
Tremolo3 = 57890,
|
|
11656
|
+
Tremolo4 = 57891,
|
|
11657
|
+
Tremolo5 = 57892,
|
|
11658
|
+
BuzzRoll = 57898,
|
|
11626
11659
|
Flag8thUp = 57920,
|
|
11627
11660
|
Flag8thDown = 57921,
|
|
11628
11661
|
Flag16thUp = 57922,
|
|
@@ -15812,6 +15845,53 @@ declare enum TrackSubElement {
|
|
|
15812
15845
|
StringTuning = 3
|
|
15813
15846
|
}
|
|
15814
15847
|
|
|
15848
|
+
/**
|
|
15849
|
+
* Describes a tremolo picking effect.
|
|
15850
|
+
* @json
|
|
15851
|
+
* @json_strict
|
|
15852
|
+
* @cloneable
|
|
15853
|
+
* @public
|
|
15854
|
+
*/
|
|
15855
|
+
declare class TremoloPickingEffect {
|
|
15856
|
+
/**
|
|
15857
|
+
* The minimum number of marks for the tremolo picking effect to be valid.
|
|
15858
|
+
*/
|
|
15859
|
+
static readonly minMarks = 0;
|
|
15860
|
+
/**
|
|
15861
|
+
* The max number of marks for the tremolo picking effect to be valid.
|
|
15862
|
+
*/
|
|
15863
|
+
static readonly maxMarks = 5;
|
|
15864
|
+
/**
|
|
15865
|
+
* The number of marks for the tremolo.
|
|
15866
|
+
* A mark is equal to a single bar shown for a default tremolos.
|
|
15867
|
+
*/
|
|
15868
|
+
marks: number;
|
|
15869
|
+
/**
|
|
15870
|
+
* The style of the tremolo picking.
|
|
15871
|
+
*/
|
|
15872
|
+
style: TremoloPickingStyle;
|
|
15873
|
+
/**
|
|
15874
|
+
* The number of marks define the note value of the note repetition.
|
|
15875
|
+
* e.g. a single mark is an 8th note.
|
|
15876
|
+
*/
|
|
15877
|
+
get duration(): Duration;
|
|
15878
|
+
}
|
|
15879
|
+
|
|
15880
|
+
/**
|
|
15881
|
+
* The style of tremolo affecting mainly the display of the effect.
|
|
15882
|
+
* @public
|
|
15883
|
+
*/
|
|
15884
|
+
declare enum TremoloPickingStyle {
|
|
15885
|
+
/**
|
|
15886
|
+
* A classic tremolo expressed by diagonal bars on the stem.
|
|
15887
|
+
*/
|
|
15888
|
+
Default = 0,
|
|
15889
|
+
/**
|
|
15890
|
+
* A buzz roll tremolo expressed by a 'z' shaped symbol.
|
|
15891
|
+
*/
|
|
15892
|
+
BuzzRoll = 1
|
|
15893
|
+
}
|
|
15894
|
+
|
|
15815
15895
|
/**
|
|
15816
15896
|
* This public enumeration lists all feels of triplets.
|
|
15817
15897
|
* @public
|