@coderline/alphatab 1.8.0-alpha.1670 → 1.8.0-alpha.1671

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.
@@ -4457,6 +4457,7 @@ declare class Bar {
4457
4457
  * If specified, overrides the value from the stylesheet on score level.
4458
4458
  */
4459
4459
  barNumberDisplay?: BarNumberDisplay;
4460
+
4460
4461
  /**
4461
4462
  * The bar line to draw on the left side of the bar with an "automatic" type resolved to the actual one.
4462
4463
  * @param isFirstOfSystem Whether the bar is the first one in the system.
@@ -4697,6 +4698,38 @@ declare enum BarSubElement {
4697
4698
  declare enum BeamDirection {
4698
4699
  Up = 0,
4699
4700
  Down = 1
4701
+ }
4702
+
4703
+ /**
4704
+ * Defines the custom beaming rules which define how beats are beamed together or split apart
4705
+ * during the automatic beaming when displayed.
4706
+ * @json
4707
+ * @json_strict
4708
+ * @public
4709
+ *
4710
+ * @remarks
4711
+ * The beaming logic works like this:
4712
+ *
4713
+ * The time axis of the bar is sliced into even chunks. The chunk-size is defined by the respective group definition.
4714
+ * Within these chunks groups can then be placed spanning 1 or more chunks.
4715
+ *
4716
+ * If beats start within the same "group" they are beamed together.
4717
+ */
4718
+ declare class BeamingRules {
4719
+ private _singleGroupKey?;
4720
+ /**
4721
+ * The the group for a given "longest duration" within the bar.
4722
+ * @remarks
4723
+ * The map key is the duration to which the bar will be sliced into.
4724
+ * The map value defines the "groups" placed within the sliced.
4725
+ */
4726
+ groups: Map<Duration, number[]>;
4727
+
4728
+
4729
+
4730
+
4731
+
4732
+
4700
4733
  }
4701
4734
 
4702
4735
  /**
@@ -10633,6 +10666,11 @@ declare class MasterBar {
10633
10666
  * Gets or sets whether this is bar has a common time signature.
10634
10667
  */
10635
10668
  timeSignatureCommon: boolean;
10669
+ /**
10670
+ * Defines the custom beaming rules which should be applied to this bar and all bars following.
10671
+ */
10672
+ beamingRules?: BeamingRules;
10673
+
10636
10674
  /**
10637
10675
  * Gets or sets whether the bar indicates a free time playing.
10638
10676
  */
@@ -10718,6 +10756,7 @@ declare class MasterBar {
10718
10756
  * @param syncPoint The sync point to add.
10719
10757
  */
10720
10758
  addSyncPoint(syncPoint: Automation): void;
10759
+ finish(sharedDataBag: Map<string, unknown>): void;
10721
10760
  }
10722
10761
 
10723
10762
  /**
@@ -16284,6 +16323,7 @@ declare class Voice {
16284
16323
  * Gets or sets a value indicating whether this voice is empty.
16285
16324
  */
16286
16325
  get isRestOnly(): boolean;
16326
+
16287
16327
  insertBeat(after: Beat, newBeat: Beat): void;
16288
16328
  addBeat(beat: Beat): void;
16289
16329
  private _chain;