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

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.
@@ -3664,7 +3664,7 @@ declare enum AlphaTexDiagnosticsSeverity {
3664
3664
  * @record
3665
3665
  * @public
3666
3666
  */
3667
- declare interface AlphaTexDotTokenNode extends AlphaTexTokenNode {
3667
+ declare interface AlphaTexDotTokenNode extends AlphaTexTokenNode, IAlphaTexStringSeparatorNode {
3668
3668
  nodeType: AlphaTexNodeType.Dot;
3669
3669
  }
3670
3670
 
@@ -3862,20 +3862,21 @@ declare enum AlphaTexNodeType {
3862
3862
  RParen = 7,
3863
3863
  Colon = 8,
3864
3864
  Asterisk = 9,
3865
- Ident = 10,
3866
- Tag = 11,
3867
- Meta = 12,
3868
- Arguments = 13,
3869
- Props = 14,
3870
- Prop = 15,
3871
- Number = 16,
3872
- String = 17,
3873
- Score = 18,
3874
- Bar = 19,
3875
- Beat = 20,
3876
- Duration = 21,
3877
- NoteList = 22,
3878
- Note = 23
3865
+ At = 10,
3866
+ Ident = 100,
3867
+ Tag = 101,
3868
+ Meta = 102,
3869
+ Arguments = 103,
3870
+ Props = 104,
3871
+ Prop = 105,
3872
+ Number = 106,
3873
+ String = 107,
3874
+ Score = 200,
3875
+ Bar = 201,
3876
+ Beat = 202,
3877
+ Duration = 203,
3878
+ NoteList = 204,
3879
+ Note = 205
3879
3880
  }
3880
3881
 
3881
3882
  /**
@@ -3912,9 +3913,9 @@ declare interface AlphaTexNoteNode extends AlphaTexAstNode {
3912
3913
  */
3913
3914
  noteValue: IAlphaTexNoteValueNode;
3914
3915
  /**
3915
- * The dot separating the note value and the string for fretted/stringed instruments like guitars.
3916
+ * The dot or @ separating the note value and the string for fretted/stringed instruments like guitars.
3916
3917
  */
3917
- noteStringDot?: AlphaTexDotTokenNode;
3918
+ noteStringSeparator?: IAlphaTexStringSeparatorNode;
3918
3919
  /**
3919
3920
  * The string value for fretted/stringed notes like guitars.
3920
3921
  */
@@ -4974,6 +4975,16 @@ declare class Beat {
4974
4975
  * Whether this beat should rendered and played as "dead slapped".
4975
4976
  */
4976
4977
  deadSlapped: boolean;
4978
+ /**
4979
+ * Gets or sets the chromatic tone value (0–11) of the pitch at which this rest should be displayed.
4980
+ * A value of NaN means use the default position formula.
4981
+ */
4982
+ restDisplayTone: number;
4983
+ /**
4984
+ * Gets or sets the octave at which this rest should be displayed.
4985
+ * Only relevant when {@link restDisplayTone} is set. NaN means use the default position formula.
4986
+ */
4987
+ restDisplayOctave: number;
4977
4988
  /**
4978
4989
  * Gets or sets the brush type applied to the notes of this beat.
4979
4990
  */
@@ -6686,6 +6697,13 @@ export declare class DisplaySettings {
6686
6697
  * @defaultValue `3`
6687
6698
  */
6688
6699
  accoladeBarPaddingRight: number;
6700
+ /**
6701
+ * The padding between inline tuning labels and the start of the tab staff.
6702
+ * @since 1.9.0
6703
+ * @category Display
6704
+ * @defaultValue `5`
6705
+ */
6706
+ inlineTuningPaddingRight: number;
6689
6707
  /**
6690
6708
  * The top padding applied to the first main notation staff (standard, tabs, numbered, slash).
6691
6709
  * @since 1.8.0
@@ -7124,6 +7142,13 @@ declare interface DisplaySettingsJson {
7124
7142
  * @defaultValue `3`
7125
7143
  */
7126
7144
  accoladeBarPaddingRight?: number;
7145
+ /**
7146
+ * The padding between inline tuning labels and the start of the tab staff.
7147
+ * @since 1.9.0
7148
+ * @category Display
7149
+ * @defaultValue `5`
7150
+ */
7151
+ inlineTuningPaddingRight?: number;
7127
7152
  /**
7128
7153
  * The top padding applied to the first main notation staff (standard, tabs, numbered, slash).
7129
7154
  * @since 1.8.0
@@ -9304,6 +9329,12 @@ declare interface IAlphaTexMetaDataTagPrefixNode extends IAlphaTexAstNode {
9304
9329
  declare interface IAlphaTexNoteValueNode extends IAlphaTexAstNode {
9305
9330
  }
9306
9331
 
9332
+ /**
9333
+ * @public
9334
+ */
9335
+ declare interface IAlphaTexStringSeparatorNode extends IAlphaTexAstNode {
9336
+ }
9337
+
9307
9338
  /**
9308
9339
  * A {@link IBackingTrackSynthOutput} which uses a HTMLAudioElement as playback mechanism.
9309
9340
  * Allows the access to the element for further custom usage.
@@ -11909,6 +11940,7 @@ export declare namespace model {
11909
11940
  TrackNamePolicy,
11910
11941
  TrackNameMode,
11911
11942
  TrackNameOrientation,
11943
+ TuningDisplayMode,
11912
11944
  BarNumberDisplay,
11913
11945
  RepeatGroup,
11914
11946
  Score,
@@ -15027,6 +15059,10 @@ declare class RenderStylesheet {
15027
15059
  * Whether to show the tuning.
15028
15060
  */
15029
15061
  globalDisplayTuning: boolean;
15062
+ /**
15063
+ * The place where tuning information is displayed.
15064
+ */
15065
+ tuningDisplayMode: TuningDisplayMode;
15030
15066
  /**
15031
15067
  * Whether to show the tuning.(per-track)
15032
15068
  */
@@ -16747,6 +16783,21 @@ declare class Tuning {
16747
16783
  finish(): void;
16748
16784
  }
16749
16785
 
16786
+ /**
16787
+ * Lists the different places where string tuning information is displayed.
16788
+ * @public
16789
+ */
16790
+ declare enum TuningDisplayMode {
16791
+ /**
16792
+ * Tuning information is displayed above the score.
16793
+ */
16794
+ Score = 0,
16795
+ /**
16796
+ * Tuning note names are displayed beside the corresponding tab staff lines.
16797
+ */
16798
+ Staff = 1
16799
+ }
16800
+
16750
16801
  /**
16751
16802
  * Represents a list of beats that are grouped within the same tuplet.
16752
16803
  * @public