@coderline/alphatab-language-server 1.7.0-alpha.1626

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.
Files changed (673) hide show
  1. package/LICENSE +378 -0
  2. package/LICENSE.header +10 -0
  3. package/README.md +16 -0
  4. package/biome.jsonc +31 -0
  5. package/dist/server.d.ts +208 -0
  6. package/dist/server.min.mjs +13 -0
  7. package/dist/server.mjs +6142 -0
  8. package/dist/server.mjs.map +1 -0
  9. package/dist/types/alphatab/src/AlphaTabApiBase.d.ts +2550 -0
  10. package/dist/types/alphatab/src/AlphaTabError.d.ts +15 -0
  11. package/dist/types/alphatab/src/CoreSettings.d.ts +212 -0
  12. package/dist/types/alphatab/src/DisplaySettings.d.ts +340 -0
  13. package/dist/types/alphatab/src/EngravingSettings.d.ts +430 -0
  14. package/dist/types/alphatab/src/Environment.d.ts +230 -0
  15. package/dist/types/alphatab/src/EventEmitter.d.ts +62 -0
  16. package/dist/types/alphatab/src/ExporterSettings.d.ts +23 -0
  17. package/dist/types/alphatab/src/FileLoadError.d.ts +9 -0
  18. package/dist/types/alphatab/src/FormatError.d.ts +8 -0
  19. package/dist/types/alphatab/src/ImporterSettings.d.ts +64 -0
  20. package/dist/types/alphatab/src/LayoutMode.d.ts +14 -0
  21. package/dist/types/alphatab/src/LogLevel.d.ts +27 -0
  22. package/dist/types/alphatab/src/Logger.d.ts +33 -0
  23. package/dist/types/alphatab/src/NotationSettings.d.ts +509 -0
  24. package/dist/types/alphatab/src/PlayerSettings.d.ts +411 -0
  25. package/dist/types/alphatab/src/ProgressEventArgs.d.ts +20 -0
  26. package/dist/types/alphatab/src/RenderingResources.d.ts +175 -0
  27. package/dist/types/alphatab/src/ResizeEventArgs.d.ts +19 -0
  28. package/dist/types/alphatab/src/Settings.d.ts +59 -0
  29. package/dist/types/alphatab/src/SmuflMetadata.d.ts +84 -0
  30. package/dist/types/alphatab/src/StaveProfile.d.ts +27 -0
  31. package/dist/types/alphatab/src/alphaTab.core.d.ts +36 -0
  32. package/dist/types/alphatab/src/alphaTab.main.d.ts +1 -0
  33. package/dist/types/alphatab/src/alphaTab.polyfills.d.ts +1 -0
  34. package/dist/types/alphatab/src/exporter/AlphaTexExporter.d.ts +24 -0
  35. package/dist/types/alphatab/src/exporter/Gp7Exporter.d.ts +10 -0
  36. package/dist/types/alphatab/src/exporter/GpifWriter.d.ts +61 -0
  37. package/dist/types/alphatab/src/exporter/ScoreExporter.d.ts +29 -0
  38. package/dist/types/alphatab/src/exporter/_barrel.d.ts +3 -0
  39. package/dist/types/alphatab/src/generated/CoreSettingsJson.d.ts +172 -0
  40. package/dist/types/alphatab/src/generated/CoreSettingsSerializer.d.ts +9 -0
  41. package/dist/types/alphatab/src/generated/DisplaySettingsJson.d.ts +328 -0
  42. package/dist/types/alphatab/src/generated/DisplaySettingsSerializer.d.ts +9 -0
  43. package/dist/types/alphatab/src/generated/EngravingSettingsCloner.d.ts +7 -0
  44. package/dist/types/alphatab/src/generated/EngravingSettingsJson.d.ts +388 -0
  45. package/dist/types/alphatab/src/generated/EngravingSettingsSerializer.d.ts +9 -0
  46. package/dist/types/alphatab/src/generated/EngravingStemInfoJson.d.ts +20 -0
  47. package/dist/types/alphatab/src/generated/EngravingStemInfoSerializer.d.ts +9 -0
  48. package/dist/types/alphatab/src/generated/ExporterSettingsJson.d.ts +24 -0
  49. package/dist/types/alphatab/src/generated/ExporterSettingsSerializer.d.ts +9 -0
  50. package/dist/types/alphatab/src/generated/ImporterSettingsJson.d.ts +65 -0
  51. package/dist/types/alphatab/src/generated/ImporterSettingsSerializer.d.ts +9 -0
  52. package/dist/types/alphatab/src/generated/NotationSettingsJson.d.ts +210 -0
  53. package/dist/types/alphatab/src/generated/NotationSettingsSerializer.d.ts +9 -0
  54. package/dist/types/alphatab/src/generated/PlayerSettingsJson.d.ts +276 -0
  55. package/dist/types/alphatab/src/generated/PlayerSettingsSerializer.d.ts +9 -0
  56. package/dist/types/alphatab/src/generated/RenderingResourcesJson.d.ts +168 -0
  57. package/dist/types/alphatab/src/generated/RenderingResourcesSerializer.d.ts +9 -0
  58. package/dist/types/alphatab/src/generated/SettingsJson.d.ts +48 -0
  59. package/dist/types/alphatab/src/generated/SettingsSerializer.d.ts +9 -0
  60. package/dist/types/alphatab/src/generated/SlidePlaybackSettingsJson.d.ts +31 -0
  61. package/dist/types/alphatab/src/generated/SlidePlaybackSettingsSerializer.d.ts +9 -0
  62. package/dist/types/alphatab/src/generated/VersionInfo.d.ts +9 -0
  63. package/dist/types/alphatab/src/generated/VibratoPlaybackSettingsJson.d.ts +49 -0
  64. package/dist/types/alphatab/src/generated/VibratoPlaybackSettingsSerializer.d.ts +9 -0
  65. package/dist/types/alphatab/src/generated/_jsonbarrel.d.ts +14 -0
  66. package/dist/types/alphatab/src/generated/model/AutomationCloner.d.ts +7 -0
  67. package/dist/types/alphatab/src/generated/model/AutomationSerializer.d.ts +9 -0
  68. package/dist/types/alphatab/src/generated/model/BackingTrackSerializer.d.ts +9 -0
  69. package/dist/types/alphatab/src/generated/model/BarSerializer.d.ts +9 -0
  70. package/dist/types/alphatab/src/generated/model/BarStyleSerializer.d.ts +9 -0
  71. package/dist/types/alphatab/src/generated/model/BeatCloner.d.ts +7 -0
  72. package/dist/types/alphatab/src/generated/model/BeatSerializer.d.ts +9 -0
  73. package/dist/types/alphatab/src/generated/model/BeatStyleSerializer.d.ts +9 -0
  74. package/dist/types/alphatab/src/generated/model/BendPointCloner.d.ts +7 -0
  75. package/dist/types/alphatab/src/generated/model/BendPointSerializer.d.ts +9 -0
  76. package/dist/types/alphatab/src/generated/model/ChordSerializer.d.ts +9 -0
  77. package/dist/types/alphatab/src/generated/model/FermataSerializer.d.ts +9 -0
  78. package/dist/types/alphatab/src/generated/model/HeaderFooterStyleSerializer.d.ts +9 -0
  79. package/dist/types/alphatab/src/generated/model/InstrumentArticulationSerializer.d.ts +9 -0
  80. package/dist/types/alphatab/src/generated/model/MasterBarSerializer.d.ts +9 -0
  81. package/dist/types/alphatab/src/generated/model/NoteCloner.d.ts +7 -0
  82. package/dist/types/alphatab/src/generated/model/NoteSerializer.d.ts +9 -0
  83. package/dist/types/alphatab/src/generated/model/NoteStyleSerializer.d.ts +9 -0
  84. package/dist/types/alphatab/src/generated/model/PlaybackInformationSerializer.d.ts +9 -0
  85. package/dist/types/alphatab/src/generated/model/RenderStylesheetSerializer.d.ts +9 -0
  86. package/dist/types/alphatab/src/generated/model/ScoreSerializer.d.ts +9 -0
  87. package/dist/types/alphatab/src/generated/model/ScoreStyleSerializer.d.ts +9 -0
  88. package/dist/types/alphatab/src/generated/model/SectionSerializer.d.ts +9 -0
  89. package/dist/types/alphatab/src/generated/model/StaffSerializer.d.ts +9 -0
  90. package/dist/types/alphatab/src/generated/model/SustainPedalMarkerSerializer.d.ts +9 -0
  91. package/dist/types/alphatab/src/generated/model/SyncPointDataCloner.d.ts +7 -0
  92. package/dist/types/alphatab/src/generated/model/SyncPointDataSerializer.d.ts +9 -0
  93. package/dist/types/alphatab/src/generated/model/TrackSerializer.d.ts +9 -0
  94. package/dist/types/alphatab/src/generated/model/TrackStyleSerializer.d.ts +9 -0
  95. package/dist/types/alphatab/src/generated/model/TuningSerializer.d.ts +9 -0
  96. package/dist/types/alphatab/src/generated/model/VoiceSerializer.d.ts +9 -0
  97. package/dist/types/alphatab/src/generated/model/VoiceStyleSerializer.d.ts +9 -0
  98. package/dist/types/alphatab/src/importer/AlphaTexImporter.d.ts +69 -0
  99. package/dist/types/alphatab/src/importer/BinaryStylesheet.d.ts +70 -0
  100. package/dist/types/alphatab/src/importer/CapellaImporter.d.ts +10 -0
  101. package/dist/types/alphatab/src/importer/CapellaParser.d.ts +75 -0
  102. package/dist/types/alphatab/src/importer/Gp3To5Importer.d.ts +95 -0
  103. package/dist/types/alphatab/src/importer/Gp7To8Importer.d.ts +10 -0
  104. package/dist/types/alphatab/src/importer/GpifParser.d.ts +131 -0
  105. package/dist/types/alphatab/src/importer/GpxFileSystem.d.ts +82 -0
  106. package/dist/types/alphatab/src/importer/GpxImporter.d.ts +10 -0
  107. package/dist/types/alphatab/src/importer/LayoutConfiguration.d.ts +38 -0
  108. package/dist/types/alphatab/src/importer/MusicXmlImporter.d.ts +128 -0
  109. package/dist/types/alphatab/src/importer/PartConfiguration.d.ts +27 -0
  110. package/dist/types/alphatab/src/importer/ScoreImporter.d.ts +22 -0
  111. package/dist/types/alphatab/src/importer/ScoreLoader.d.ts +32 -0
  112. package/dist/types/alphatab/src/importer/UnsupportedFormatError.d.ts +9 -0
  113. package/dist/types/alphatab/src/importer/_barrel.d.ts +5 -0
  114. package/dist/types/alphatab/src/importer/alphaTex/ATNF.d.ts +19 -0
  115. package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1EnumMappings.d.ts +75 -0
  116. package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1LanguageDefinitions.d.ts +39 -0
  117. package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1LanguageHandler.d.ts +72 -0
  118. package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1MetaDataReader.d.ts +42 -0
  119. package/dist/types/alphatab/src/importer/alphaTex/AlphaTexAst.d.ts +504 -0
  120. package/dist/types/alphatab/src/importer/alphaTex/AlphaTexLexer.d.ts +43 -0
  121. package/dist/types/alphatab/src/importer/alphaTex/AlphaTexParser.d.ts +60 -0
  122. package/dist/types/alphatab/src/importer/alphaTex/AlphaTexShared.d.ts +290 -0
  123. package/dist/types/alphatab/src/importer/alphaTex/IAlphaTexLanguageImportHandler.d.ts +50 -0
  124. package/dist/types/alphatab/src/importer/alphaTex/IAlphaTexMetaDataReader.d.ts +12 -0
  125. package/dist/types/alphatab/src/importer/alphaTex/_barrel.d.ts +4 -0
  126. package/dist/types/alphatab/src/io/BitReader.d.ts +18 -0
  127. package/dist/types/alphatab/src/io/ByteBuffer.d.ts +26 -0
  128. package/dist/types/alphatab/src/io/IOHelper.d.ts +38 -0
  129. package/dist/types/alphatab/src/io/IReadable.d.ts +48 -0
  130. package/dist/types/alphatab/src/io/IWriteable.d.ts +22 -0
  131. package/dist/types/alphatab/src/io/JsonHelper.d.ts +26 -0
  132. package/dist/types/alphatab/src/io/TypeConversions.d.ts +20 -0
  133. package/dist/types/alphatab/src/io/_barrel.d.ts +4 -0
  134. package/dist/types/alphatab/src/midi/AlphaSynthMidiFileHandler.d.ts +28 -0
  135. package/dist/types/alphatab/src/midi/BeatTickLookup.d.ts +63 -0
  136. package/dist/types/alphatab/src/midi/ControllerType.d.ts +84 -0
  137. package/dist/types/alphatab/src/midi/DeprecatedEvents.d.ts +103 -0
  138. package/dist/types/alphatab/src/midi/GeneralMidi.d.ts +13 -0
  139. package/dist/types/alphatab/src/midi/IMidiFileHandler.d.ts +79 -0
  140. package/dist/types/alphatab/src/midi/MasterBarTickLookup.d.ts +85 -0
  141. package/dist/types/alphatab/src/midi/MidiEvent.d.ts +292 -0
  142. package/dist/types/alphatab/src/midi/MidiFile.d.ts +72 -0
  143. package/dist/types/alphatab/src/midi/MidiFileGenerator.d.ts +150 -0
  144. package/dist/types/alphatab/src/midi/MidiPlaybackController.d.ts +36 -0
  145. package/dist/types/alphatab/src/midi/MidiTickLookup.d.ts +167 -0
  146. package/dist/types/alphatab/src/midi/MidiUtils.d.ts +37 -0
  147. package/dist/types/alphatab/src/midi/_barrel.d.ts +10 -0
  148. package/dist/types/alphatab/src/model/AccentuationType.d.ts +22 -0
  149. package/dist/types/alphatab/src/model/AccidentalType.d.ts +42 -0
  150. package/dist/types/alphatab/src/model/Automation.d.ts +113 -0
  151. package/dist/types/alphatab/src/model/BackingTrack.d.ts +13 -0
  152. package/dist/types/alphatab/src/model/Bar.d.ts +329 -0
  153. package/dist/types/alphatab/src/model/BarreShape.d.ts +18 -0
  154. package/dist/types/alphatab/src/model/Beat.d.ts +559 -0
  155. package/dist/types/alphatab/src/model/BendPoint.d.ts +26 -0
  156. package/dist/types/alphatab/src/model/BendStyle.d.ts +18 -0
  157. package/dist/types/alphatab/src/model/BendType.d.ts +46 -0
  158. package/dist/types/alphatab/src/model/BrushType.d.ts +26 -0
  159. package/dist/types/alphatab/src/model/Chord.d.ts +48 -0
  160. package/dist/types/alphatab/src/model/Clef.d.ts +26 -0
  161. package/dist/types/alphatab/src/model/Color.d.ts +40 -0
  162. package/dist/types/alphatab/src/model/CrescendoType.d.ts +18 -0
  163. package/dist/types/alphatab/src/model/Direction.d.ts +25 -0
  164. package/dist/types/alphatab/src/model/Duration.d.ts +50 -0
  165. package/dist/types/alphatab/src/model/DynamicValue.d.ts +92 -0
  166. package/dist/types/alphatab/src/model/ElementStyle.d.ts +13 -0
  167. package/dist/types/alphatab/src/model/FadeType.d.ts +22 -0
  168. package/dist/types/alphatab/src/model/Fermata.d.ts +34 -0
  169. package/dist/types/alphatab/src/model/Fingers.d.ts +34 -0
  170. package/dist/types/alphatab/src/model/Font.d.ts +117 -0
  171. package/dist/types/alphatab/src/model/GolpeType.d.ts +18 -0
  172. package/dist/types/alphatab/src/model/GraceGroup.d.ts +26 -0
  173. package/dist/types/alphatab/src/model/GraceType.d.ts +22 -0
  174. package/dist/types/alphatab/src/model/HarmonicType.d.ts +34 -0
  175. package/dist/types/alphatab/src/model/InstrumentArticulation.d.ts +71 -0
  176. package/dist/types/alphatab/src/model/JsonConverter.d.ts +95 -0
  177. package/dist/types/alphatab/src/model/KeySignature.d.ts +66 -0
  178. package/dist/types/alphatab/src/model/KeySignatureType.d.ts +14 -0
  179. package/dist/types/alphatab/src/model/Lyrics.d.ts +30 -0
  180. package/dist/types/alphatab/src/model/MasterBar.d.ts +182 -0
  181. package/dist/types/alphatab/src/model/ModelUtils.d.ts +134 -0
  182. package/dist/types/alphatab/src/model/MusicFontSymbol.d.ts +289 -0
  183. package/dist/types/alphatab/src/model/Note.d.ts +516 -0
  184. package/dist/types/alphatab/src/model/NoteAccidentalMode.d.ts +34 -0
  185. package/dist/types/alphatab/src/model/NoteOrnament.d.ts +11 -0
  186. package/dist/types/alphatab/src/model/Ottavia.d.ts +26 -0
  187. package/dist/types/alphatab/src/model/PercussionMapper.d.ts +15 -0
  188. package/dist/types/alphatab/src/model/PickStroke.d.ts +18 -0
  189. package/dist/types/alphatab/src/model/PlaybackInformation.d.ts +45 -0
  190. package/dist/types/alphatab/src/model/Rasgueado.d.ts +25 -0
  191. package/dist/types/alphatab/src/model/RenderStylesheet.d.ts +135 -0
  192. package/dist/types/alphatab/src/model/RepeatGroup.d.ts +33 -0
  193. package/dist/types/alphatab/src/model/Score.d.ts +224 -0
  194. package/dist/types/alphatab/src/model/Section.d.ts +17 -0
  195. package/dist/types/alphatab/src/model/SimileMark.d.ts +24 -0
  196. package/dist/types/alphatab/src/model/SlideInType.d.ts +18 -0
  197. package/dist/types/alphatab/src/model/SlideOutType.d.ts +34 -0
  198. package/dist/types/alphatab/src/model/Staff.d.ts +100 -0
  199. package/dist/types/alphatab/src/model/Track.d.ts +124 -0
  200. package/dist/types/alphatab/src/model/TripletFeel.d.ts +34 -0
  201. package/dist/types/alphatab/src/model/Tuning.d.ts +60 -0
  202. package/dist/types/alphatab/src/model/TupletGroup.d.ts +37 -0
  203. package/dist/types/alphatab/src/model/VibratoType.d.ts +18 -0
  204. package/dist/types/alphatab/src/model/Voice.d.ts +81 -0
  205. package/dist/types/alphatab/src/model/WahPedal.d.ts +9 -0
  206. package/dist/types/alphatab/src/model/WhammyType.d.ts +36 -0
  207. package/dist/types/alphatab/src/model/_barrel.d.ts +57 -0
  208. package/dist/types/alphatab/src/platform/Cursors.d.ts +31 -0
  209. package/dist/types/alphatab/src/platform/ICanvas.d.ts +102 -0
  210. package/dist/types/alphatab/src/platform/IContainer.d.ts +71 -0
  211. package/dist/types/alphatab/src/platform/IMouseEventArgs.d.ts +27 -0
  212. package/dist/types/alphatab/src/platform/IUiFacade.d.ts +175 -0
  213. package/dist/types/alphatab/src/platform/_barrel.d.ts +8 -0
  214. package/dist/types/alphatab/src/platform/javascript/AlphaSynthAudioExporterWorkerApi.d.ts +21 -0
  215. package/dist/types/alphatab/src/platform/javascript/AlphaSynthAudioWorkletOutput.d.ts +30 -0
  216. package/dist/types/alphatab/src/platform/javascript/AlphaSynthScriptProcessorOutput.d.ts +21 -0
  217. package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebAudioOutputBase.d.ts +57 -0
  218. package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebWorker.d.ts +31 -0
  219. package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebWorkerApi.d.ts +98 -0
  220. package/dist/types/alphatab/src/platform/javascript/AlphaSynthWorkerSynthOutput.d.ts +33 -0
  221. package/dist/types/alphatab/src/platform/javascript/AlphaTabApi.d.ts +111 -0
  222. package/dist/types/alphatab/src/platform/javascript/AlphaTabWebWorker.d.ts +16 -0
  223. package/dist/types/alphatab/src/platform/javascript/AlphaTabWorkerScoreRenderer.d.ts +34 -0
  224. package/dist/types/alphatab/src/platform/javascript/AudioElementBackingTrackSynthOutput.d.ts +49 -0
  225. package/dist/types/alphatab/src/platform/javascript/BrowserMouseEventArgs.d.ts +14 -0
  226. package/dist/types/alphatab/src/platform/javascript/BrowserUiFacade.d.ts +96 -0
  227. package/dist/types/alphatab/src/platform/javascript/Html5Canvas.d.ts +57 -0
  228. package/dist/types/alphatab/src/platform/javascript/HtmlElementContainer.d.ts +45 -0
  229. package/dist/types/alphatab/src/platform/javascript/IWorkerScope.d.ts +8 -0
  230. package/dist/types/alphatab/src/platform/javascript/IntersectionObserverPolyfill.d.ts +15 -0
  231. package/dist/types/alphatab/src/platform/javascript/JQueryAlphaTab.d.ts +68 -0
  232. package/dist/types/alphatab/src/platform/javascript/ResizeObserverPolyfill.d.ts +15 -0
  233. package/dist/types/alphatab/src/platform/javascript/ScalableHtmlElementContainer.d.ts +26 -0
  234. package/dist/types/alphatab/src/platform/javascript/WebPlatform.d.ts +10 -0
  235. package/dist/types/alphatab/src/platform/skia/SkiaCanvas.d.ts +86 -0
  236. package/dist/types/alphatab/src/platform/svg/CssFontSvgCanvas.d.ts +11 -0
  237. package/dist/types/alphatab/src/platform/svg/FontSizes.d.ts +32 -0
  238. package/dist/types/alphatab/src/platform/svg/SvgCanvas.d.ts +48 -0
  239. package/dist/types/alphatab/src/rendering/BarRendererBase.d.ts +177 -0
  240. package/dist/types/alphatab/src/rendering/BarRendererFactory.d.ts +21 -0
  241. package/dist/types/alphatab/src/rendering/BeatXPosition.d.ts +31 -0
  242. package/dist/types/alphatab/src/rendering/EffectBand.d.ts +31 -0
  243. package/dist/types/alphatab/src/rendering/EffectBandSizingInfo.d.ts +12 -0
  244. package/dist/types/alphatab/src/rendering/EffectBandSlot.d.ts +22 -0
  245. package/dist/types/alphatab/src/rendering/EffectBarGlyphSizing.d.ts +37 -0
  246. package/dist/types/alphatab/src/rendering/EffectBarRenderer.d.ts +29 -0
  247. package/dist/types/alphatab/src/rendering/EffectBarRendererFactory.d.ts +22 -0
  248. package/dist/types/alphatab/src/rendering/EffectBarRendererInfo.d.ts +62 -0
  249. package/dist/types/alphatab/src/rendering/IScoreRenderer.d.ts +151 -0
  250. package/dist/types/alphatab/src/rendering/LineBarRenderer.d.ts +64 -0
  251. package/dist/types/alphatab/src/rendering/MultiBarRestBeatContainerGlyph.d.ts +10 -0
  252. package/dist/types/alphatab/src/rendering/NumberedBarRenderer.d.ts +54 -0
  253. package/dist/types/alphatab/src/rendering/NumberedBarRendererFactory.d.ts +18 -0
  254. package/dist/types/alphatab/src/rendering/NumberedBeatContainerGlyph.d.ts +9 -0
  255. package/dist/types/alphatab/src/rendering/RenderFinishedEventArgs.d.ts +47 -0
  256. package/dist/types/alphatab/src/rendering/ScoreBarRenderer.d.ts +68 -0
  257. package/dist/types/alphatab/src/rendering/ScoreBarRendererFactory.d.ts +18 -0
  258. package/dist/types/alphatab/src/rendering/ScoreBeatContainerGlyph.d.ts +12 -0
  259. package/dist/types/alphatab/src/rendering/ScoreRenderer.d.ts +55 -0
  260. package/dist/types/alphatab/src/rendering/ScoreRendererWrapper.d.ts +37 -0
  261. package/dist/types/alphatab/src/rendering/SlashBarRenderer.d.ts +41 -0
  262. package/dist/types/alphatab/src/rendering/SlashBarRendererFactory.d.ts +18 -0
  263. package/dist/types/alphatab/src/rendering/SlashBeatContainerGlyph.d.ts +9 -0
  264. package/dist/types/alphatab/src/rendering/TabBarRenderer.d.ts +57 -0
  265. package/dist/types/alphatab/src/rendering/TabBarRendererFactory.d.ts +22 -0
  266. package/dist/types/alphatab/src/rendering/_barrel.d.ts +11 -0
  267. package/dist/types/alphatab/src/rendering/effects/AlternateEndingsEffectInfo.d.ts +19 -0
  268. package/dist/types/alphatab/src/rendering/effects/BeatBarreEffectInfo.d.ts +21 -0
  269. package/dist/types/alphatab/src/rendering/effects/BeatTimerEffectInfo.d.ts +19 -0
  270. package/dist/types/alphatab/src/rendering/effects/CapoEffectInfo.d.ts +19 -0
  271. package/dist/types/alphatab/src/rendering/effects/ChordsEffectInfo.d.ts +19 -0
  272. package/dist/types/alphatab/src/rendering/effects/CrescendoEffectInfo.d.ts +19 -0
  273. package/dist/types/alphatab/src/rendering/effects/DirectionsEffectInfo.d.ts +19 -0
  274. package/dist/types/alphatab/src/rendering/effects/DynamicsEffectInfo.d.ts +21 -0
  275. package/dist/types/alphatab/src/rendering/effects/FadeEffectInfo.d.ts +19 -0
  276. package/dist/types/alphatab/src/rendering/effects/FermataEffectInfo.d.ts +19 -0
  277. package/dist/types/alphatab/src/rendering/effects/FingeringEffectInfo.d.ts +19 -0
  278. package/dist/types/alphatab/src/rendering/effects/FreeTimeEffectInfo.d.ts +19 -0
  279. package/dist/types/alphatab/src/rendering/effects/GolpeEffectInfo.d.ts +23 -0
  280. package/dist/types/alphatab/src/rendering/effects/HarmonicsEffectInfo.d.ts +23 -0
  281. package/dist/types/alphatab/src/rendering/effects/LeftHandTapEffectInfo.d.ts +16 -0
  282. package/dist/types/alphatab/src/rendering/effects/LetRingEffectInfo.d.ts +19 -0
  283. package/dist/types/alphatab/src/rendering/effects/LyricsEffectInfo.d.ts +19 -0
  284. package/dist/types/alphatab/src/rendering/effects/MarkerEffectInfo.d.ts +19 -0
  285. package/dist/types/alphatab/src/rendering/effects/NoteEffectInfoBase.d.ts +15 -0
  286. package/dist/types/alphatab/src/rendering/effects/NoteOrnamentEffectInfo.d.ts +19 -0
  287. package/dist/types/alphatab/src/rendering/effects/OttaviaEffectInfo.d.ts +22 -0
  288. package/dist/types/alphatab/src/rendering/effects/PalmMuteEffectInfo.d.ts +16 -0
  289. package/dist/types/alphatab/src/rendering/effects/PickSlideEffectInfo.d.ts +16 -0
  290. package/dist/types/alphatab/src/rendering/effects/PickStrokeEffectInfo.d.ts +19 -0
  291. package/dist/types/alphatab/src/rendering/effects/RasgueadoEffectInfo.d.ts +19 -0
  292. package/dist/types/alphatab/src/rendering/effects/SlightBeatVibratoEffectInfo.d.ts +19 -0
  293. package/dist/types/alphatab/src/rendering/effects/SlightNoteVibratoEffectInfo.d.ts +18 -0
  294. package/dist/types/alphatab/src/rendering/effects/SustainPedalEffectInfo.d.ts +19 -0
  295. package/dist/types/alphatab/src/rendering/effects/TapEffectInfo.d.ts +19 -0
  296. package/dist/types/alphatab/src/rendering/effects/TempoEffectInfo.d.ts +19 -0
  297. package/dist/types/alphatab/src/rendering/effects/TextEffectInfo.d.ts +19 -0
  298. package/dist/types/alphatab/src/rendering/effects/TrillEffectInfo.d.ts +16 -0
  299. package/dist/types/alphatab/src/rendering/effects/TripletFeelEffectInfo.d.ts +19 -0
  300. package/dist/types/alphatab/src/rendering/effects/WahPedalEffectInfo.d.ts +19 -0
  301. package/dist/types/alphatab/src/rendering/effects/WhammyBarEffectInfo.d.ts +19 -0
  302. package/dist/types/alphatab/src/rendering/effects/WideBeatVibratoEffectInfo.d.ts +19 -0
  303. package/dist/types/alphatab/src/rendering/effects/WideNoteVibratoEffectInfo.d.ts +16 -0
  304. package/dist/types/alphatab/src/rendering/glyphs/AccentuationGlyph.d.ts +13 -0
  305. package/dist/types/alphatab/src/rendering/glyphs/AccidentalGlyph.d.ts +10 -0
  306. package/dist/types/alphatab/src/rendering/glyphs/AccidentalGroupGlyph.d.ts +8 -0
  307. package/dist/types/alphatab/src/rendering/glyphs/AlternateEndingsGlyph.d.ts +15 -0
  308. package/dist/types/alphatab/src/rendering/glyphs/ArticStaccatoAboveGlyph.d.ts +8 -0
  309. package/dist/types/alphatab/src/rendering/glyphs/AugmentationDotGlyph.d.ts +8 -0
  310. package/dist/types/alphatab/src/rendering/glyphs/BarLineGlyph.d.ts +11 -0
  311. package/dist/types/alphatab/src/rendering/glyphs/BarNumberGlyph.d.ts +11 -0
  312. package/dist/types/alphatab/src/rendering/glyphs/BarTempoGlyph.d.ts +14 -0
  313. package/dist/types/alphatab/src/rendering/glyphs/BeatContainerGlyph.d.ts +34 -0
  314. package/dist/types/alphatab/src/rendering/glyphs/BeatGlyphBase.d.ts +24 -0
  315. package/dist/types/alphatab/src/rendering/glyphs/BeatOnNoteGlyphBase.d.ts +18 -0
  316. package/dist/types/alphatab/src/rendering/glyphs/BeatTimerGlyph.d.ts +14 -0
  317. package/dist/types/alphatab/src/rendering/glyphs/BeatVibratoGlyph.d.ts +9 -0
  318. package/dist/types/alphatab/src/rendering/glyphs/BendNoteHeadGroupGlyph.d.ts +26 -0
  319. package/dist/types/alphatab/src/rendering/glyphs/ChordDiagramContainerGlyph.d.ts +10 -0
  320. package/dist/types/alphatab/src/rendering/glyphs/ChordDiagramGlyph.d.ts +16 -0
  321. package/dist/types/alphatab/src/rendering/glyphs/ClefGlyph.d.ts +15 -0
  322. package/dist/types/alphatab/src/rendering/glyphs/CrescendoGlyph.d.ts +12 -0
  323. package/dist/types/alphatab/src/rendering/glyphs/DeadNoteHeadGlyph.d.ts +7 -0
  324. package/dist/types/alphatab/src/rendering/glyphs/DeadSlappedBeatGlyph.d.ts +10 -0
  325. package/dist/types/alphatab/src/rendering/glyphs/DiamondNoteHeadGlyph.d.ts +9 -0
  326. package/dist/types/alphatab/src/rendering/glyphs/DirectionsContainerGlyph.d.ts +15 -0
  327. package/dist/types/alphatab/src/rendering/glyphs/DynamicsGlyph.d.ts +10 -0
  328. package/dist/types/alphatab/src/rendering/glyphs/EffectGlyph.d.ts +24 -0
  329. package/dist/types/alphatab/src/rendering/glyphs/FadeGlyph.d.ts +11 -0
  330. package/dist/types/alphatab/src/rendering/glyphs/FermataGlyph.d.ts +11 -0
  331. package/dist/types/alphatab/src/rendering/glyphs/FingeringGroupGlyph.d.ts +28 -0
  332. package/dist/types/alphatab/src/rendering/glyphs/FlagGlyph.d.ts +11 -0
  333. package/dist/types/alphatab/src/rendering/glyphs/GhostNoteContainerGlyph.d.ts +29 -0
  334. package/dist/types/alphatab/src/rendering/glyphs/GhostParenthesisGlyph.d.ts +13 -0
  335. package/dist/types/alphatab/src/rendering/glyphs/Glyph.d.ts +18 -0
  336. package/dist/types/alphatab/src/rendering/glyphs/GlyphGroup.d.ts +15 -0
  337. package/dist/types/alphatab/src/rendering/glyphs/GroupedEffectGlyph.d.ts +20 -0
  338. package/dist/types/alphatab/src/rendering/glyphs/GuitarGolpeGlyph.d.ts +8 -0
  339. package/dist/types/alphatab/src/rendering/glyphs/KeySignatureGlyph.d.ts +8 -0
  340. package/dist/types/alphatab/src/rendering/glyphs/LeftHandTapGlyph.d.ts +8 -0
  341. package/dist/types/alphatab/src/rendering/glyphs/LeftToRightLayoutingGlyphGroup.d.ts +11 -0
  342. package/dist/types/alphatab/src/rendering/glyphs/LineRangedGlyph.d.ts +14 -0
  343. package/dist/types/alphatab/src/rendering/glyphs/LyricsGlyph.d.ts +14 -0
  344. package/dist/types/alphatab/src/rendering/glyphs/MultiBarRestGlyph.d.ts +12 -0
  345. package/dist/types/alphatab/src/rendering/glyphs/MusicFontGlyph.d.ts +34 -0
  346. package/dist/types/alphatab/src/rendering/glyphs/NoteHeadGlyph.d.ts +14 -0
  347. package/dist/types/alphatab/src/rendering/glyphs/NoteNumberGlyph.d.ts +20 -0
  348. package/dist/types/alphatab/src/rendering/glyphs/NoteOrnamentGlyph.d.ts +10 -0
  349. package/dist/types/alphatab/src/rendering/glyphs/NoteVibratoGlyph.d.ts +26 -0
  350. package/dist/types/alphatab/src/rendering/glyphs/NumberGlyph.d.ts +16 -0
  351. package/dist/types/alphatab/src/rendering/glyphs/NumberedBeatGlyph.d.ts +37 -0
  352. package/dist/types/alphatab/src/rendering/glyphs/NumberedDashGlyph.d.ts +12 -0
  353. package/dist/types/alphatab/src/rendering/glyphs/NumberedKeySignatureGlyph.d.ts +17 -0
  354. package/dist/types/alphatab/src/rendering/glyphs/NumberedNoteHeadGlyph.d.ts +14 -0
  355. package/dist/types/alphatab/src/rendering/glyphs/NumberedSlurGlyph.d.ts +14 -0
  356. package/dist/types/alphatab/src/rendering/glyphs/NumberedTieGlyph.d.ts +21 -0
  357. package/dist/types/alphatab/src/rendering/glyphs/OttavaGlyph.d.ts +15 -0
  358. package/dist/types/alphatab/src/rendering/glyphs/PercussionNoteHeadGlyph.d.ts +14 -0
  359. package/dist/types/alphatab/src/rendering/glyphs/PickStrokeGlyph.d.ts +10 -0
  360. package/dist/types/alphatab/src/rendering/glyphs/PictEdgeOfCymbalGlyph.d.ts +8 -0
  361. package/dist/types/alphatab/src/rendering/glyphs/RepeatCountGlyph.d.ts +11 -0
  362. package/dist/types/alphatab/src/rendering/glyphs/RowContainerGlyph.d.ts +12 -0
  363. package/dist/types/alphatab/src/rendering/glyphs/RowGlyphContainer.d.ts +13 -0
  364. package/dist/types/alphatab/src/rendering/glyphs/ScoreBeatGlyph.d.ts +29 -0
  365. package/dist/types/alphatab/src/rendering/glyphs/ScoreBeatPreNotesGlyph.d.ts +14 -0
  366. package/dist/types/alphatab/src/rendering/glyphs/ScoreBendGlyph.d.ts +17 -0
  367. package/dist/types/alphatab/src/rendering/glyphs/ScoreBrushGlyph.d.ts +13 -0
  368. package/dist/types/alphatab/src/rendering/glyphs/ScoreHelperNotesBaseGlyph.d.ts +15 -0
  369. package/dist/types/alphatab/src/rendering/glyphs/ScoreLegatoGlyph.d.ts +16 -0
  370. package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteChordGlyph.d.ts +35 -0
  371. package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteChordGlyphBase.d.ts +25 -0
  372. package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteGlyphInfo.d.ts +9 -0
  373. package/dist/types/alphatab/src/rendering/glyphs/ScoreRestGlyph.d.ts +17 -0
  374. package/dist/types/alphatab/src/rendering/glyphs/ScoreSlideLineGlyph.d.ts +22 -0
  375. package/dist/types/alphatab/src/rendering/glyphs/ScoreSlurGlyph.d.ts +18 -0
  376. package/dist/types/alphatab/src/rendering/glyphs/ScoreTieGlyph.d.ts +20 -0
  377. package/dist/types/alphatab/src/rendering/glyphs/ScoreTimeSignatureGlyph.d.ts +8 -0
  378. package/dist/types/alphatab/src/rendering/glyphs/ScoreWhammyBarGlyph.d.ts +14 -0
  379. package/dist/types/alphatab/src/rendering/glyphs/SlashBeatGlyph.d.ts +24 -0
  380. package/dist/types/alphatab/src/rendering/glyphs/SlashNoteHeadGlyph.d.ts +24 -0
  381. package/dist/types/alphatab/src/rendering/glyphs/SlashRestGlyph.d.ts +9 -0
  382. package/dist/types/alphatab/src/rendering/glyphs/SlashTieGlyph.d.ts +21 -0
  383. package/dist/types/alphatab/src/rendering/glyphs/SpacingGlyph.d.ts +8 -0
  384. package/dist/types/alphatab/src/rendering/glyphs/StringNumberContainerGlyph.d.ts +11 -0
  385. package/dist/types/alphatab/src/rendering/glyphs/SustainPedalGlyph.d.ts +10 -0
  386. package/dist/types/alphatab/src/rendering/glyphs/TabBeatContainerGlyph.d.ts +13 -0
  387. package/dist/types/alphatab/src/rendering/glyphs/TabBeatGlyph.d.ts +25 -0
  388. package/dist/types/alphatab/src/rendering/glyphs/TabBeatPreNotesGlyph.d.ts +9 -0
  389. package/dist/types/alphatab/src/rendering/glyphs/TabBendGlyph.d.ts +24 -0
  390. package/dist/types/alphatab/src/rendering/glyphs/TabBendRenderPoint.d.ts +8 -0
  391. package/dist/types/alphatab/src/rendering/glyphs/TabBrushGlyph.d.ts +13 -0
  392. package/dist/types/alphatab/src/rendering/glyphs/TabClefGlyph.d.ts +8 -0
  393. package/dist/types/alphatab/src/rendering/glyphs/TabNoteChordGlyph.d.ts +33 -0
  394. package/dist/types/alphatab/src/rendering/glyphs/TabRestGlyph.d.ts +15 -0
  395. package/dist/types/alphatab/src/rendering/glyphs/TabSlideLineGlyph.d.ts +21 -0
  396. package/dist/types/alphatab/src/rendering/glyphs/TabSlurGlyph.d.ts +14 -0
  397. package/dist/types/alphatab/src/rendering/glyphs/TabTieGlyph.d.ts +21 -0
  398. package/dist/types/alphatab/src/rendering/glyphs/TabTimeSignatureGlyph.d.ts +9 -0
  399. package/dist/types/alphatab/src/rendering/glyphs/TabWhammyBarGlyph.d.ts +19 -0
  400. package/dist/types/alphatab/src/rendering/glyphs/TextGlyph.d.ts +18 -0
  401. package/dist/types/alphatab/src/rendering/glyphs/TieGlyph.d.ts +40 -0
  402. package/dist/types/alphatab/src/rendering/glyphs/TimeSignatureGlyph.d.ts +18 -0
  403. package/dist/types/alphatab/src/rendering/glyphs/TremoloPickingGlyph.d.ts +9 -0
  404. package/dist/types/alphatab/src/rendering/glyphs/TrillGlyph.d.ts +10 -0
  405. package/dist/types/alphatab/src/rendering/glyphs/TripletFeelGlyph.d.ts +15 -0
  406. package/dist/types/alphatab/src/rendering/glyphs/TuningContainerGlyph.d.ts +7 -0
  407. package/dist/types/alphatab/src/rendering/glyphs/TuningGlyph.d.ts +16 -0
  408. package/dist/types/alphatab/src/rendering/glyphs/VoiceContainerGlyph.d.ts +26 -0
  409. package/dist/types/alphatab/src/rendering/glyphs/WahPedalGlyph.d.ts +11 -0
  410. package/dist/types/alphatab/src/rendering/layout/HorizontalScreenLayout.d.ts +23 -0
  411. package/dist/types/alphatab/src/rendering/layout/PageViewLayout.d.ts +28 -0
  412. package/dist/types/alphatab/src/rendering/layout/ScoreLayout.d.ts +73 -0
  413. package/dist/types/alphatab/src/rendering/staves/BarLayoutingInfo.d.ts +44 -0
  414. package/dist/types/alphatab/src/rendering/staves/MasterBarsRenderers.d.ts +18 -0
  415. package/dist/types/alphatab/src/rendering/staves/RenderStaff.d.ts +72 -0
  416. package/dist/types/alphatab/src/rendering/staves/Spring.d.ts +16 -0
  417. package/dist/types/alphatab/src/rendering/staves/StaffSystem.d.ts +75 -0
  418. package/dist/types/alphatab/src/rendering/staves/StaffTrackGroup.d.ts +20 -0
  419. package/dist/types/alphatab/src/rendering/utils/AccidentalHelper.d.ts +89 -0
  420. package/dist/types/alphatab/src/rendering/utils/BarBounds.d.ts +45 -0
  421. package/dist/types/alphatab/src/rendering/utils/BarCollisionHelper.d.ts +31 -0
  422. package/dist/types/alphatab/src/rendering/utils/BarHelpers.d.ts +18 -0
  423. package/dist/types/alphatab/src/rendering/utils/BeamDirection.d.ts +7 -0
  424. package/dist/types/alphatab/src/rendering/utils/BeamingHelper.d.ts +92 -0
  425. package/dist/types/alphatab/src/rendering/utils/BeatBounds.d.ts +52 -0
  426. package/dist/types/alphatab/src/rendering/utils/Bounds.d.ts +23 -0
  427. package/dist/types/alphatab/src/rendering/utils/BoundsLookup.d.ts +98 -0
  428. package/dist/types/alphatab/src/rendering/utils/ElementStyleHelper.d.ts +29 -0
  429. package/dist/types/alphatab/src/rendering/utils/MasterBarBounds.d.ts +64 -0
  430. package/dist/types/alphatab/src/rendering/utils/NoteBounds.d.ts +25 -0
  431. package/dist/types/alphatab/src/rendering/utils/StaffSystemBounds.d.ts +45 -0
  432. package/dist/types/alphatab/src/synth/ActiveBeatsChangedEventArgs.d.ts +12 -0
  433. package/dist/types/alphatab/src/synth/AlphaSynth.d.ts +248 -0
  434. package/dist/types/alphatab/src/synth/AlphaSynthWrapper.d.ts +92 -0
  435. package/dist/types/alphatab/src/synth/BackingTrackPlayer.d.ts +53 -0
  436. package/dist/types/alphatab/src/synth/ExternalMediaPlayer.d.ts +55 -0
  437. package/dist/types/alphatab/src/synth/IAlphaSynth.d.ts +271 -0
  438. package/dist/types/alphatab/src/synth/IAudioExporter.d.ts +127 -0
  439. package/dist/types/alphatab/src/synth/IAudioSampleSynthesizer.d.ts +126 -0
  440. package/dist/types/alphatab/src/synth/ISynthOutput.d.ts +90 -0
  441. package/dist/types/alphatab/src/synth/MidiEventsPlayedEventArgs.d.ts +16 -0
  442. package/dist/types/alphatab/src/synth/MidiFileSequencer.d.ts +98 -0
  443. package/dist/types/alphatab/src/synth/PlaybackRange.d.ts +14 -0
  444. package/dist/types/alphatab/src/synth/PlaybackRangeChangedEventArgs.d.ts +16 -0
  445. package/dist/types/alphatab/src/synth/PlayerState.d.ts +14 -0
  446. package/dist/types/alphatab/src/synth/PlayerStateChangedEventArgs.d.ts +21 -0
  447. package/dist/types/alphatab/src/synth/PositionChangedEventArgs.d.ts +44 -0
  448. package/dist/types/alphatab/src/synth/SynthConstants.d.ts +30 -0
  449. package/dist/types/alphatab/src/synth/SynthHelper.d.ts +9 -0
  450. package/dist/types/alphatab/src/synth/_barrel.d.ts +19 -0
  451. package/dist/types/alphatab/src/synth/ds/CircularSampleBuffer.d.ts +38 -0
  452. package/dist/types/alphatab/src/synth/ds/Queue.d.ts +13 -0
  453. package/dist/types/alphatab/src/synth/soundfont/Hydra.d.ts +133 -0
  454. package/dist/types/alphatab/src/synth/soundfont/RiffChunk.d.ts +10 -0
  455. package/dist/types/alphatab/src/synth/synthesis/Channel.d.ts +21 -0
  456. package/dist/types/alphatab/src/synth/synthesis/Channels.d.ts +11 -0
  457. package/dist/types/alphatab/src/synth/synthesis/Envelope.d.ts +16 -0
  458. package/dist/types/alphatab/src/synth/synthesis/LoopMode.d.ts +8 -0
  459. package/dist/types/alphatab/src/synth/synthesis/OutputMode.d.ts +18 -0
  460. package/dist/types/alphatab/src/synth/synthesis/Preset.d.ts +10 -0
  461. package/dist/types/alphatab/src/synth/synthesis/Region.d.ts +110 -0
  462. package/dist/types/alphatab/src/synth/synthesis/SynthEvent.d.ts +12 -0
  463. package/dist/types/alphatab/src/synth/synthesis/TinySoundFont.d.ts +252 -0
  464. package/dist/types/alphatab/src/synth/synthesis/Voice.d.ts +43 -0
  465. package/dist/types/alphatab/src/synth/synthesis/VoiceEnvelope.d.ts +31 -0
  466. package/dist/types/alphatab/src/synth/synthesis/VoiceLfo.d.ts +10 -0
  467. package/dist/types/alphatab/src/synth/synthesis/VoiceLowPass.d.ts +16 -0
  468. package/dist/types/alphatab/src/synth/vorbis/IntBitReader.d.ts +26 -0
  469. package/dist/types/alphatab/src/synth/vorbis/OggReader.d.ts +23 -0
  470. package/dist/types/alphatab/src/synth/vorbis/VorbisFile.d.ts +9 -0
  471. package/dist/types/alphatab/src/synth/vorbis/VorbisStream.d.ts +13 -0
  472. package/dist/types/alphatab/src/synth/vorbis/VorbisStreamDecoder.d.ts +260 -0
  473. package/dist/types/alphatab/src/synth/vorbis/VorbisStreamReader.d.ts +49 -0
  474. package/dist/types/alphatab/src/util/FontLoadingChecker.d.ts +16 -0
  475. package/dist/types/alphatab/src/util/Lazy.d.ts +12 -0
  476. package/dist/types/alphatab/src/xml/XmlDocument.d.ts +10 -0
  477. package/dist/types/alphatab/src/xml/XmlError.d.ts +9 -0
  478. package/dist/types/alphatab/src/xml/XmlNode.d.ts +34 -0
  479. package/dist/types/alphatab/src/xml/XmlParser.d.ts +39 -0
  480. package/dist/types/alphatab/src/xml/XmlWriter.d.ts +20 -0
  481. package/dist/types/alphatab/src/zip/Crc32.d.ts +32 -0
  482. package/dist/types/alphatab/src/zip/Deflater.d.ts +74 -0
  483. package/dist/types/alphatab/src/zip/DeflaterConstants.d.ts +20 -0
  484. package/dist/types/alphatab/src/zip/DeflaterEngine.d.ts +124 -0
  485. package/dist/types/alphatab/src/zip/DeflaterHuffman.d.ts +76 -0
  486. package/dist/types/alphatab/src/zip/HuffTools.d.ts +11 -0
  487. package/dist/types/alphatab/src/zip/Huffman.d.ts +28 -0
  488. package/dist/types/alphatab/src/zip/Inflate.d.ts +40 -0
  489. package/dist/types/alphatab/src/zip/PendingBuffer.d.ts +65 -0
  490. package/dist/types/alphatab/src/zip/ZipEntry.d.ts +14 -0
  491. package/dist/types/alphatab/src/zip/ZipReader.d.ts +11 -0
  492. package/dist/types/alphatab/src/zip/ZipWriter.d.ts +16 -0
  493. package/dist/types/alphatex/src/common.d.ts +4 -0
  494. package/dist/types/alphatex/src/definitions.d.ts +8 -0
  495. package/dist/types/alphatex/src/enum.d.ts +48 -0
  496. package/dist/types/alphatex/src/metadata/bar/ac.d.ts +2 -0
  497. package/dist/types/alphatex/src/metadata/bar/accidentals.d.ts +2 -0
  498. package/dist/types/alphatex/src/metadata/bar/ae.d.ts +2 -0
  499. package/dist/types/alphatex/src/metadata/bar/barlineleft.d.ts +2 -0
  500. package/dist/types/alphatex/src/metadata/bar/barlineright.d.ts +2 -0
  501. package/dist/types/alphatex/src/metadata/bar/clef.d.ts +2 -0
  502. package/dist/types/alphatex/src/metadata/bar/db.d.ts +2 -0
  503. package/dist/types/alphatex/src/metadata/bar/ft.d.ts +2 -0
  504. package/dist/types/alphatex/src/metadata/bar/jump.d.ts +2 -0
  505. package/dist/types/alphatex/src/metadata/bar/ks.d.ts +2 -0
  506. package/dist/types/alphatex/src/metadata/bar/ottava.d.ts +2 -0
  507. package/dist/types/alphatex/src/metadata/bar/rc.d.ts +2 -0
  508. package/dist/types/alphatex/src/metadata/bar/ro.d.ts +2 -0
  509. package/dist/types/alphatex/src/metadata/bar/scale.d.ts +2 -0
  510. package/dist/types/alphatex/src/metadata/bar/section.d.ts +2 -0
  511. package/dist/types/alphatex/src/metadata/bar/simile.d.ts +2 -0
  512. package/dist/types/alphatex/src/metadata/bar/spd.d.ts +2 -0
  513. package/dist/types/alphatex/src/metadata/bar/sph.d.ts +2 -0
  514. package/dist/types/alphatex/src/metadata/bar/spu.d.ts +2 -0
  515. package/dist/types/alphatex/src/metadata/bar/sync.d.ts +2 -0
  516. package/dist/types/alphatex/src/metadata/bar/tempo.d.ts +2 -0
  517. package/dist/types/alphatex/src/metadata/bar/tf.d.ts +2 -0
  518. package/dist/types/alphatex/src/metadata/bar/ts.d.ts +2 -0
  519. package/dist/types/alphatex/src/metadata/bar/width.d.ts +2 -0
  520. package/dist/types/alphatex/src/metadata/score/album.d.ts +2 -0
  521. package/dist/types/alphatex/src/metadata/score/artist.d.ts +2 -0
  522. package/dist/types/alphatex/src/metadata/score/bracketextendmode.d.ts +2 -0
  523. package/dist/types/alphatex/src/metadata/score/copyright.d.ts +2 -0
  524. package/dist/types/alphatex/src/metadata/score/copyright2.d.ts +2 -0
  525. package/dist/types/alphatex/src/metadata/score/defaultsystemslayout.d.ts +2 -0
  526. package/dist/types/alphatex/src/metadata/score/firstsystemtracknamemode.d.ts +2 -0
  527. package/dist/types/alphatex/src/metadata/score/firstsystemtracknameorientation.d.ts +2 -0
  528. package/dist/types/alphatex/src/metadata/score/hidedynamics.d.ts +2 -0
  529. package/dist/types/alphatex/src/metadata/score/instructions.d.ts +2 -0
  530. package/dist/types/alphatex/src/metadata/score/multibarrest.d.ts +2 -0
  531. package/dist/types/alphatex/src/metadata/score/multitracktracknamepolicy.d.ts +2 -0
  532. package/dist/types/alphatex/src/metadata/score/music.d.ts +2 -0
  533. package/dist/types/alphatex/src/metadata/score/notices.d.ts +2 -0
  534. package/dist/types/alphatex/src/metadata/score/othersystemtracknamemode.d.ts +2 -0
  535. package/dist/types/alphatex/src/metadata/score/othersystemtracknameorientation.d.ts +2 -0
  536. package/dist/types/alphatex/src/metadata/score/showdynamics.d.ts +2 -0
  537. package/dist/types/alphatex/src/metadata/score/singletracktracknamepolicy.d.ts +2 -0
  538. package/dist/types/alphatex/src/metadata/score/subtitle.d.ts +2 -0
  539. package/dist/types/alphatex/src/metadata/score/systemslayout.d.ts +2 -0
  540. package/dist/types/alphatex/src/metadata/score/tab.d.ts +2 -0
  541. package/dist/types/alphatex/src/metadata/score/title.d.ts +4 -0
  542. package/dist/types/alphatex/src/metadata/score/usesystemsignseparator.d.ts +2 -0
  543. package/dist/types/alphatex/src/metadata/score/words.d.ts +2 -0
  544. package/dist/types/alphatex/src/metadata/score/wordsandmusic.d.ts +2 -0
  545. package/dist/types/alphatex/src/metadata/staff/articulation.d.ts +3 -0
  546. package/dist/types/alphatex/src/metadata/staff/capo.d.ts +2 -0
  547. package/dist/types/alphatex/src/metadata/staff/chord.d.ts +2 -0
  548. package/dist/types/alphatex/src/metadata/staff/displaytranspose.d.ts +2 -0
  549. package/dist/types/alphatex/src/metadata/staff/instrument.d.ts +2 -0
  550. package/dist/types/alphatex/src/metadata/staff/lyrics.d.ts +2 -0
  551. package/dist/types/alphatex/src/metadata/staff/transpose.d.ts +2 -0
  552. package/dist/types/alphatex/src/metadata/staff/tuning.d.ts +2 -0
  553. package/dist/types/alphatex/src/metadata/structural/staff.d.ts +2 -0
  554. package/dist/types/alphatex/src/metadata/structural/track.d.ts +2 -0
  555. package/dist/types/alphatex/src/metadata/structural/voice.d.ts +2 -0
  556. package/dist/types/alphatex/src/properties/beat/ad.d.ts +2 -0
  557. package/dist/types/alphatex/src/properties/beat/au.d.ts +2 -0
  558. package/dist/types/alphatex/src/properties/beat/balance.d.ts +2 -0
  559. package/dist/types/alphatex/src/properties/beat/bank.d.ts +2 -0
  560. package/dist/types/alphatex/src/properties/beat/barre.d.ts +2 -0
  561. package/dist/types/alphatex/src/properties/beat/bd.d.ts +2 -0
  562. package/dist/types/alphatex/src/properties/beat/beam.d.ts +2 -0
  563. package/dist/types/alphatex/src/properties/beat/bu.d.ts +2 -0
  564. package/dist/types/alphatex/src/properties/beat/ch.d.ts +2 -0
  565. package/dist/types/alphatex/src/properties/beat/cre.d.ts +2 -0
  566. package/dist/types/alphatex/src/properties/beat/d.d.ts +2 -0
  567. package/dist/types/alphatex/src/properties/beat/dd.d.ts +2 -0
  568. package/dist/types/alphatex/src/properties/beat/dec.d.ts +2 -0
  569. package/dist/types/alphatex/src/properties/beat/ds.d.ts +2 -0
  570. package/dist/types/alphatex/src/properties/beat/dy.d.ts +2 -0
  571. package/dist/types/alphatex/src/properties/beat/f.d.ts +2 -0
  572. package/dist/types/alphatex/src/properties/beat/fermata.d.ts +2 -0
  573. package/dist/types/alphatex/src/properties/beat/fo.d.ts +2 -0
  574. package/dist/types/alphatex/src/properties/beat/glpf.d.ts +2 -0
  575. package/dist/types/alphatex/src/properties/beat/glpt.d.ts +2 -0
  576. package/dist/types/alphatex/src/properties/beat/gr.d.ts +2 -0
  577. package/dist/types/alphatex/src/properties/beat/instrument.d.ts +2 -0
  578. package/dist/types/alphatex/src/properties/beat/legatoOrigin.d.ts +2 -0
  579. package/dist/types/alphatex/src/properties/beat/lyrics.d.ts +2 -0
  580. package/dist/types/alphatex/src/properties/beat/ot.d.ts +2 -0
  581. package/dist/types/alphatex/src/properties/beat/p.d.ts +2 -0
  582. package/dist/types/alphatex/src/properties/beat/rasg.d.ts +2 -0
  583. package/dist/types/alphatex/src/properties/beat/s.d.ts +2 -0
  584. package/dist/types/alphatex/src/properties/beat/sd.d.ts +2 -0
  585. package/dist/types/alphatex/src/properties/beat/slashed.d.ts +2 -0
  586. package/dist/types/alphatex/src/properties/beat/spd.d.ts +2 -0
  587. package/dist/types/alphatex/src/properties/beat/spe.d.ts +2 -0
  588. package/dist/types/alphatex/src/properties/beat/sph.d.ts +2 -0
  589. package/dist/types/alphatex/src/properties/beat/spu.d.ts +2 -0
  590. package/dist/types/alphatex/src/properties/beat/su.d.ts +2 -0
  591. package/dist/types/alphatex/src/properties/beat/tb.d.ts +2 -0
  592. package/dist/types/alphatex/src/properties/beat/tbe.d.ts +2 -0
  593. package/dist/types/alphatex/src/properties/beat/tempo.d.ts +2 -0
  594. package/dist/types/alphatex/src/properties/beat/timer.d.ts +2 -0
  595. package/dist/types/alphatex/src/properties/beat/tp.d.ts +2 -0
  596. package/dist/types/alphatex/src/properties/beat/tt.d.ts +2 -0
  597. package/dist/types/alphatex/src/properties/beat/tu.d.ts +2 -0
  598. package/dist/types/alphatex/src/properties/beat/txt.d.ts +2 -0
  599. package/dist/types/alphatex/src/properties/beat/v.d.ts +2 -0
  600. package/dist/types/alphatex/src/properties/beat/volume.d.ts +2 -0
  601. package/dist/types/alphatex/src/properties/beat/vs.d.ts +2 -0
  602. package/dist/types/alphatex/src/properties/beat/vw.d.ts +2 -0
  603. package/dist/types/alphatex/src/properties/beat/wahc.d.ts +2 -0
  604. package/dist/types/alphatex/src/properties/beat/waho.d.ts +2 -0
  605. package/dist/types/alphatex/src/properties/note/ac.d.ts +2 -0
  606. package/dist/types/alphatex/src/properties/note/acc.d.ts +2 -0
  607. package/dist/types/alphatex/src/properties/note/ah.d.ts +3 -0
  608. package/dist/types/alphatex/src/properties/note/b.d.ts +2 -0
  609. package/dist/types/alphatex/src/properties/note/be.d.ts +2 -0
  610. package/dist/types/alphatex/src/properties/note/fh.d.ts +2 -0
  611. package/dist/types/alphatex/src/properties/note/g.d.ts +2 -0
  612. package/dist/types/alphatex/src/properties/note/h.d.ts +2 -0
  613. package/dist/types/alphatex/src/properties/note/hac.d.ts +2 -0
  614. package/dist/types/alphatex/src/properties/note/hide.d.ts +2 -0
  615. package/dist/types/alphatex/src/properties/note/iturn.d.ts +2 -0
  616. package/dist/types/alphatex/src/properties/note/lf.d.ts +2 -0
  617. package/dist/types/alphatex/src/properties/note/lht.d.ts +2 -0
  618. package/dist/types/alphatex/src/properties/note/lmordent.d.ts +2 -0
  619. package/dist/types/alphatex/src/properties/note/lr.d.ts +2 -0
  620. package/dist/types/alphatex/src/properties/note/nh.d.ts +2 -0
  621. package/dist/types/alphatex/src/properties/note/ph.d.ts +2 -0
  622. package/dist/types/alphatex/src/properties/note/pm.d.ts +2 -0
  623. package/dist/types/alphatex/src/properties/note/psd.d.ts +2 -0
  624. package/dist/types/alphatex/src/properties/note/psu.d.ts +2 -0
  625. package/dist/types/alphatex/src/properties/note/rf.d.ts +2 -0
  626. package/dist/types/alphatex/src/properties/note/sh.d.ts +2 -0
  627. package/dist/types/alphatex/src/properties/note/sia.d.ts +2 -0
  628. package/dist/types/alphatex/src/properties/note/sib.d.ts +2 -0
  629. package/dist/types/alphatex/src/properties/note/sl.d.ts +2 -0
  630. package/dist/types/alphatex/src/properties/note/slur.d.ts +2 -0
  631. package/dist/types/alphatex/src/properties/note/sod.d.ts +2 -0
  632. package/dist/types/alphatex/src/properties/note/sou.d.ts +2 -0
  633. package/dist/types/alphatex/src/properties/note/ss.d.ts +2 -0
  634. package/dist/types/alphatex/src/properties/note/st.d.ts +2 -0
  635. package/dist/types/alphatex/src/properties/note/string.d.ts +2 -0
  636. package/dist/types/alphatex/src/properties/note/t.d.ts +3 -0
  637. package/dist/types/alphatex/src/properties/note/ten.d.ts +2 -0
  638. package/dist/types/alphatex/src/properties/note/th.d.ts +2 -0
  639. package/dist/types/alphatex/src/properties/note/tr.d.ts +2 -0
  640. package/dist/types/alphatex/src/properties/note/turn.d.ts +2 -0
  641. package/dist/types/alphatex/src/properties/note/umordent.d.ts +2 -0
  642. package/dist/types/alphatex/src/properties/note/v.d.ts +2 -0
  643. package/dist/types/alphatex/src/properties/note/vw.d.ts +2 -0
  644. package/dist/types/alphatex/src/properties/note/x.d.ts +2 -0
  645. package/dist/types/alphatex/src/types.d.ts +161 -0
  646. package/dist/types/lsp/src/index.d.ts +21 -0
  647. package/dist/types/lsp/src/server/completion.d.ts +3 -0
  648. package/dist/types/lsp/src/server/diagnostics.d.ts +2 -0
  649. package/dist/types/lsp/src/server/hover.d.ts +2 -0
  650. package/dist/types/lsp/src/server/index.d.ts +13 -0
  651. package/dist/types/lsp/src/server/signatureHelp.d.ts +2 -0
  652. package/dist/types/lsp/src/server/types.d.ts +15 -0
  653. package/dist/types/lsp/src/server/utils.d.ts +6 -0
  654. package/dist/types/lsp/test/placeholder.test.d.ts +1 -0
  655. package/dist/types/lsp/vite.config.d.ts +2 -0
  656. package/dist/types/tooling/src/typescript.d.ts +9 -0
  657. package/dist/types/tooling/src/vite.d.ts +13 -0
  658. package/dist/types/tooling/src/vite.plugin.dts.d.ts +1 -0
  659. package/dist/types/tooling/src/vite.plugin.min.d.ts +3 -0
  660. package/package.json +59 -0
  661. package/src/alphatex.tmLanguage.json +151 -0
  662. package/src/index.ts +56 -0
  663. package/src/language-configuration.json +70 -0
  664. package/src/server/completion.ts +553 -0
  665. package/src/server/diagnostics.ts +126 -0
  666. package/src/server/hover.ts +262 -0
  667. package/src/server/index.ts +96 -0
  668. package/src/server/signatureHelp.ts +206 -0
  669. package/src/server/types.ts +28 -0
  670. package/src/server/utils.ts +111 -0
  671. package/test/placeholder.test.ts +3 -0
  672. package/tsconfig.json +3 -0
  673. package/vite.config.ts +21 -0
@@ -0,0 +1,84 @@
1
+ /**
2
+ * Lists all midi controllers.
3
+ * @public
4
+ */
5
+ export declare enum ControllerType {
6
+ /**
7
+ * Bank Select. MSB
8
+ */
9
+ BankSelectCoarse = 0,
10
+ /**
11
+ * Modulation wheel or lever MSB
12
+ */
13
+ ModulationCoarse = 1,
14
+ /**
15
+ * Data entry MSB
16
+ */
17
+ DataEntryCoarse = 6,
18
+ /**
19
+ * Channel Volume MSB
20
+ */
21
+ VolumeCoarse = 7,
22
+ /**
23
+ * Pan MSB
24
+ */
25
+ PanCoarse = 10,
26
+ /**
27
+ * Expression Controller MSB
28
+ */
29
+ ExpressionControllerCoarse = 11,
30
+ BankSelectFine = 32,
31
+ /**
32
+ * Modulation wheel or level LSB
33
+ */
34
+ ModulationFine = 33,
35
+ /**
36
+ * Data Entry LSB
37
+ */
38
+ DataEntryFine = 38,
39
+ /**
40
+ * Channel Volume LSB
41
+ */
42
+ VolumeFine = 39,
43
+ /**
44
+ * Pan LSB
45
+ */
46
+ PanFine = 42,
47
+ /**
48
+ * Expression controller LSB
49
+ */
50
+ ExpressionControllerFine = 43,
51
+ /**
52
+ * Damper pedal (sustain)
53
+ */
54
+ HoldPedal = 64,
55
+ /**
56
+ * Legato Footswitch
57
+ */
58
+ LegatoPedal = 68,
59
+ /**
60
+ * Non-Registered Parameter Number LSB
61
+ */
62
+ NonRegisteredParameterFine = 98,
63
+ /**
64
+ * Non-Registered Parameter Number MSB
65
+ */
66
+ NonRegisteredParameterCourse = 99,
67
+ /**
68
+ * Registered Parameter Number LSB
69
+ */
70
+ RegisteredParameterFine = 100,
71
+ /**
72
+ * Registered Parameter Number MSB
73
+ */
74
+ RegisteredParameterCourse = 101,
75
+ AllSoundOff = 120,
76
+ /**
77
+ * Reset all controllers
78
+ */
79
+ ResetControllers = 121,
80
+ /**
81
+ * All notes of.
82
+ */
83
+ AllNotesOff = 123
84
+ }
@@ -0,0 +1,103 @@
1
+ import type { IWriteable } from "./../io/IWriteable";
2
+ import { MidiEvent } from "./MidiEvent";
3
+ /**
4
+ * @deprecated Move to the new concrete Midi Event Types.
5
+ * @public
6
+ */
7
+ export declare class DeprecatedMidiEvent extends MidiEvent {
8
+ constructor();
9
+ writeTo(_s: IWriteable): void;
10
+ }
11
+ /**
12
+ * @deprecated Move to the new concrete Midi Event Types.
13
+ * @public
14
+ */
15
+ export declare enum MetaEventType {
16
+ SequenceNumber = 0,
17
+ TextEvent = 1,
18
+ CopyrightNotice = 2,
19
+ SequenceOrTrackName = 3,
20
+ InstrumentName = 4,
21
+ LyricText = 5,
22
+ MarkerText = 6,
23
+ CuePoint = 7,
24
+ PatchName = 8,
25
+ PortName = 9,
26
+ MidiChannel = 32,
27
+ MidiPort = 33,
28
+ EndOfTrack = 47,
29
+ Tempo = 81,
30
+ SmpteOffset = 84,
31
+ TimeSignature = 88,
32
+ KeySignature = 89,
33
+ SequencerSpecific = 127
34
+ }
35
+ /**
36
+ * @deprecated Move to the new concrete Midi Event Types.
37
+ * @public
38
+ */
39
+ export declare class MetaEvent extends DeprecatedMidiEvent {
40
+ get metaStatus(): MetaEventType;
41
+ }
42
+ /**
43
+ * @deprecated Move to the new concrete Midi Event Types.
44
+ * @public
45
+ */
46
+ export declare class MetaDataEvent extends MetaEvent {
47
+ data: Uint8Array;
48
+ }
49
+ /**
50
+ * @deprecated Move to the new concrete Midi Event Types.
51
+ * @public
52
+ */
53
+ export declare class MetaNumberEvent extends MetaEvent {
54
+ value: number;
55
+ }
56
+ /**
57
+ * @deprecated Move to the new concrete Midi Event Types.
58
+ * @public
59
+ */
60
+ export declare class Midi20PerNotePitchBendEvent extends DeprecatedMidiEvent {
61
+ noteKey: number;
62
+ pitch: number;
63
+ }
64
+ /**
65
+ * @deprecated Move to the new concrete Midi Event Types.
66
+ * @public
67
+ */
68
+ export declare enum SystemCommonType {
69
+ SystemExclusive = 240,
70
+ MtcQuarterFrame = 241,
71
+ SongPosition = 242,
72
+ SongSelect = 243,
73
+ TuneRequest = 246,
74
+ SystemExclusive2 = 247
75
+ }
76
+ /**
77
+ * @deprecated Move to the new concrete Midi Event Types.
78
+ * @public
79
+ */
80
+ export declare class SystemCommonEvent extends DeprecatedMidiEvent {
81
+ }
82
+ /**
83
+ * @deprecated Move to the new concrete Midi Event Types.
84
+ * @public
85
+ */
86
+ export declare enum AlphaTabSystemExclusiveEvents {
87
+ MetronomeTick = 0,
88
+ Rest = 1
89
+ }
90
+ /**
91
+ * @deprecated Move to the new concrete Midi Event Types.
92
+ * @public
93
+ */
94
+ export declare class SystemExclusiveEvent extends SystemCommonEvent {
95
+ static readonly AlphaTabManufacturerId = 125;
96
+ data: Uint8Array;
97
+ get isMetronome(): boolean;
98
+ get metronomeNumerator(): number;
99
+ get metronomeDurationInTicks(): number;
100
+ get metronomeDurationInMilliseconds(): number;
101
+ get isRest(): boolean;
102
+ get manufacturerId(): number;
103
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This public class provides names for all general midi instruments.
3
+ * @internal
4
+ */
5
+ export declare class GeneralMidi {
6
+ private static _values;
7
+ static getValue(name: string): number;
8
+ static getName(input: number): string;
9
+ static isPiano(program: number): boolean;
10
+ static isGuitar(program: number): boolean;
11
+ static isBass(program: number): boolean;
12
+ static bankToLsbMsb(bank: number): [number, number];
13
+ }
@@ -0,0 +1,79 @@
1
+ import type { ControllerType } from "./ControllerType";
2
+ /**
3
+ * A handler is responsible for writing midi events to a custom structure
4
+ * @public
5
+ */
6
+ export interface IMidiFileHandler {
7
+ /**
8
+ * Adds a time signature to the generated midi file
9
+ * @param tick The midi ticks when this event should be happening.
10
+ * @param timeSignatureNumerator The time signature numerator
11
+ * @param timeSignatureDenominator The time signature denominator
12
+ */
13
+ addTimeSignature(tick: number, timeSignatureNumerator: number, timeSignatureDenominator: number): void;
14
+ /**
15
+ * Adds a rest to the generated midi file.
16
+ * @param track The midi track on which the rest should be "played".
17
+ * @param tick The midi ticks when the rest is "playing".
18
+ * @param channel The midi channel on which the rest should be "played".
19
+ */
20
+ addRest(track: number, tick: number, channel: number): void;
21
+ /**
22
+ * Adds a note to the generated midi file
23
+ * @param track The midi track on which the note should be played.
24
+ * @param start The midi ticks when the note should start playing.
25
+ * @param length The duration the note in midi ticks.
26
+ * @param key The key of the note to play
27
+ * @param velocity The velocity which should be applied to the note (derived from the note dynamics).
28
+ * @param channel The midi channel on which the note should be played.
29
+ */
30
+ addNote(track: number, start: number, length: number, key: number, velocity: number, channel: number): void;
31
+ /**
32
+ * Adds a control change to the generated midi file.
33
+ * @param track The midi track on which the controller should change.
34
+ * @param tick The midi ticks when the controller should change.
35
+ * @param channel The midi channel on which the controller should change.
36
+ * @param controller The midi controller that should change.
37
+ * @param value The value to which the midi controller should change
38
+ */
39
+ addControlChange(track: number, tick: number, channel: number, controller: ControllerType, value: number): void;
40
+ /**
41
+ * Add a program change to the generated midi file
42
+ * @param track The midi track on which the program should change.
43
+ * @param tick The midi ticks when the program should change.
44
+ * @param channel The midi channel on which the program should change.
45
+ * @param program The new program for the selected track and channel.
46
+ */
47
+ addProgramChange(track: number, tick: number, channel: number, program: number): void;
48
+ /**
49
+ * Add a tempo change to the generated midi file.
50
+ * @param tick The midi ticks when the tempo should change change.
51
+ * @param tempo The tempo as BPM
52
+ */
53
+ addTempo(tick: number, tempo: number): void;
54
+ /**
55
+ * Add a bend specific to a note to the generated midi file.
56
+ * The note does not need to be started, if this event is signaled, the next time a note
57
+ * on this channel and key is played it will be affected. The note bend is cleared on a note-off for this key.
58
+ * @param track The midi track on which the bend should change.
59
+ * @param tick The midi ticks when the bend should change.
60
+ * @param channel The midi channel on which the bend should change.
61
+ * @param channel The key of the note that should be affected by the bend.
62
+ * @param value The new bend for the selected note.
63
+ */
64
+ addNoteBend(track: number, tick: number, channel: number, key: number, value: number): void;
65
+ /**
66
+ * Add a bend to the generated midi file.
67
+ * @param track The midi track on which the bend should change.
68
+ * @param tick The midi ticks when the bend should change.
69
+ * @param channel The midi channel on which the bend should change.
70
+ * @param value The new bend for the selected track and channel.
71
+ */
72
+ addBend(track: number, tick: number, channel: number, value: number): void;
73
+ /**
74
+ * Indicates that the track is finished on the given ticks.
75
+ * @param track The track that was finished.
76
+ * @param tick The end tick for this track.
77
+ */
78
+ finishTrack(track: number, tick: number): void;
79
+ }
@@ -0,0 +1,85 @@
1
+ import { BeatTickLookup } from "./BeatTickLookup";
2
+ import type { Beat } from "./../model/Beat";
3
+ import type { MasterBar } from "./../model/MasterBar";
4
+ /**
5
+ * Represents a single point in time defining the tempo of a {@link MasterBarTickLookup}.
6
+ * This is typically the initial tempo of a master bar or a tempo change.
7
+ * @public
8
+ */
9
+ export declare class MasterBarTickLookupTempoChange {
10
+ /**
11
+ * Gets or sets the tick position within the {@link MasterBarTickLookup.start} and {@link MasterBarTickLookup.end} range.
12
+ */
13
+ tick: number;
14
+ /**
15
+ * Gets or sets the tempo at the tick position.
16
+ */
17
+ tempo: number;
18
+ constructor(tick: number, tempo: number);
19
+ }
20
+ /**
21
+ * Represents the time period, for which all bars of a {@link MasterBar} are played.
22
+ * @public
23
+ */
24
+ export declare class MasterBarTickLookup {
25
+ /**
26
+ * Gets or sets the start time in midi ticks at which the MasterBar is played.
27
+ */
28
+ start: number;
29
+ /**
30
+ * Gets or sets the end time in midi ticks at which the MasterBar is played.
31
+ */
32
+ end: number;
33
+ /**
34
+ * Gets or sets the current tempo when the MasterBar is played.
35
+ * @deprecated use {@link tempoChanges}
36
+ */
37
+ get tempo(): number;
38
+ /**
39
+ * Gets the list of tempo changes within the tick lookup.
40
+ */
41
+ readonly tempoChanges: MasterBarTickLookupTempoChange[];
42
+ /**
43
+ * Gets or sets the MasterBar which is played.
44
+ */
45
+ masterBar: MasterBar;
46
+ /**
47
+ * The first beat in the bar.
48
+ */
49
+ firstBeat: BeatTickLookup | null;
50
+ /**
51
+ * The last beat in the bar.
52
+ */
53
+ lastBeat: BeatTickLookup | null;
54
+ /**
55
+ * Inserts `newNextBeat` after `currentBeat` in the linked list of items and updates.
56
+ * the `firstBeat` and `lastBeat` respectively too.
57
+ * @param currentBeat The item in which to insert the new item afterwards
58
+ * @param newBeat The new item to insert
59
+ */
60
+ private _insertAfter;
61
+ /**
62
+ * Inserts `newNextBeat` before `currentBeat` in the linked list of items and updates.
63
+ * the `firstBeat` and `lastBeat` respectively too.
64
+ * @param currentBeat The item in which to insert the new item afterwards
65
+ * @param newBeat The new item to insert
66
+ */
67
+ private _insertBefore;
68
+ /**
69
+ * Gets or sets the {@link MasterBarTickLookup} of the next masterbar in the {@link Score}
70
+ */
71
+ nextMasterBar: MasterBarTickLookup | null;
72
+ /**
73
+ * Gets or sets the {@link MasterBarTickLookup} of the previous masterbar in the {@link Score}
74
+ */
75
+ previousMasterBar: MasterBarTickLookup | null;
76
+ /**
77
+ * Adds a new beat to this masterbar following the slicing logic required by the MidiTickLookup.
78
+ * @param beat The beat to add to this masterbat
79
+ * @param beatPlaybackStart The original start of this beat. This time is relevant for highlighting.
80
+ * @param sliceStart The slice start to which this beat should be added. This time is relevant for creating new slices.
81
+ * @param sliceDuration The slice duration to which this beat should be added. This time is relevant for creating new slices.
82
+ * @returns The first item of the chain which was affected.
83
+ */
84
+ addBeat(beat: Beat, beatPlaybackStart: number, sliceStart: number, sliceDuration: number): void;
85
+ }
@@ -0,0 +1,292 @@
1
+ import type { IWriteable } from "./../io/IWriteable";
2
+ import type { ControllerType } from "./ControllerType";
3
+ /**
4
+ * Lists all midi event types. Based on the type the instance is a specific subclass.
5
+ * @public
6
+ */
7
+ export declare enum MidiEventType {
8
+ TimeSignature = 88,// 0xFF _0x58_ in Midi 1.0
9
+ NoteOn = 128,// Aligned with Midi 1.0
10
+ NoteOff = 144,// Aligned with Midi 1.0
11
+ ControlChange = 176,// Aligned with Midi 1.0
12
+ ProgramChange = 192,// Aligned with Midi 1.0
13
+ TempoChange = 81,// 0xFF _0x51_ in Midi 1.0
14
+ PitchBend = 224,// Aligned with Midi 1.0
15
+ PerNotePitchBend = 96,// Aligned with Midi 2.0
16
+ EndOfTrack = 47,// 0xFF _0x2F_ in Midi 1.0
17
+ AlphaTabRest = 241,// SystemExclusive + 1
18
+ AlphaTabMetronome = 242,// SystemExclusive + 2
19
+ /**
20
+ * @deprecated Not used anymore internally. move to the other concrete types.
21
+ */
22
+ SystemExclusive = 240,// Aligned with Midi 1.0
23
+ /**
24
+ * @deprecated Not used anymore internally. move to the other concrete types.
25
+ */
26
+ SystemExclusive2 = 247,// Aligned with Midi 1.0
27
+ /**
28
+ * @deprecated Not used anymore internally. move to the other concrete types.
29
+ */
30
+ Meta = 255
31
+ }
32
+ /**
33
+ * Represents a midi event.
34
+ * @public
35
+ */
36
+ export declare abstract class MidiEvent {
37
+ /**
38
+ * Gets or sets the track to which the midi event belongs.
39
+ */
40
+ track: number;
41
+ /**
42
+ * Gets or sets the absolute tick of this midi event.
43
+ */
44
+ tick: number;
45
+ /**
46
+ * Gets or sets the midi command (type) of this event.
47
+ */
48
+ type: MidiEventType;
49
+ /**
50
+ * Initializes a new instance of the {@link MidiEvent} class.
51
+ * @param track The track this event belongs to.
52
+ * @param tick The absolute midi ticks of this event.
53
+ * @param command The type of this event.
54
+ */
55
+ constructor(track: number, tick: number, command: MidiEventType);
56
+ /**
57
+ * @deprecated Change to `type`
58
+ */
59
+ get command(): MidiEventType;
60
+ /**
61
+ * The 32-bit encoded raw midi message. Deprecated {@since 1.3.0}. Use the properties of the subclasses instead.
62
+ * @deprecated Use individual properties to access data.
63
+ */
64
+ get message(): number;
65
+ /**
66
+ * The first data byte. Meaning depends on midi event type. (Deprecated {@since 1.3.0}, use the specific properties of the midi event depending on type)
67
+ * @deprecated Use individual properties to access data.
68
+ */
69
+ get data1(): number;
70
+ /**
71
+ * The second data byte Meaning depends on midi event type. (Deprecated {@since 1.3.0}, use the specific properties of the midi event depending on type)
72
+ * @deprecated Use individual properties to access data.
73
+ */
74
+ get data2(): number;
75
+ /**
76
+ * Writes the midi event as binary into the given stream.
77
+ * @param s The stream to write to.
78
+ */
79
+ abstract writeTo(s: IWriteable): void;
80
+ }
81
+ /**
82
+ * Represents a time signature change event.
83
+ * @public
84
+ */
85
+ export declare class TimeSignatureEvent extends MidiEvent {
86
+ /**
87
+ * The time signature numerator.
88
+ */
89
+ numerator: number;
90
+ /**
91
+ * The denominator index is a negative power of two: 2 represents a quarter-note, 3 represents an eighth-note, etc.
92
+ * Denominator = 2^(index)
93
+ */
94
+ denominatorIndex: number;
95
+ /**
96
+ * The number of MIDI clocks in a metronome click
97
+ */
98
+ midiClocksPerMetronomeClick: number;
99
+ /**
100
+ * The number of notated 32nd-notes in what MIDI thinks of as a quarter-note (24 MIDI Clocks).
101
+ */
102
+ thirtySecondNodesInQuarter: number;
103
+ constructor(track: number, tick: number, numerator: number, denominatorIndex: number, midiClocksPerMetronomeClick: number, thirtySecondNodesInQuarter: number);
104
+ writeTo(s: IWriteable): void;
105
+ }
106
+ /**
107
+ * The base class for alphaTab specific midi events (like metronomes and rests).
108
+ * @public
109
+ */
110
+ export declare abstract class AlphaTabSysExEvent extends MidiEvent {
111
+ static readonly AlphaTabManufacturerId = 125;
112
+ static readonly MetronomeEventId = 0;
113
+ static readonly RestEventId = 1;
114
+ writeTo(s: IWriteable): void;
115
+ protected abstract writeEventData(s: IWriteable): void;
116
+ }
117
+ /**
118
+ * Represents a metronome event. This event is emitted by the synthesizer only during playback and
119
+ * is typically not part of the midi file itself.
120
+ * @public
121
+ */
122
+ export declare class AlphaTabMetronomeEvent extends AlphaTabSysExEvent {
123
+ /**
124
+ * The metronome counter as per current time signature.
125
+ */
126
+ metronomeNumerator: number;
127
+ /**
128
+ * The duration of the metronome tick in MIDI ticks.
129
+ */
130
+ metronomeDurationInTicks: number;
131
+ /**
132
+ * The duration of the metronome tick in milliseconds.
133
+ */
134
+ metronomeDurationInMilliseconds: number;
135
+ /**
136
+ * Gets a value indicating whether the current event is a metronome event.
137
+ */
138
+ readonly isMetronome: boolean;
139
+ constructor(track: number, tick: number, counter: number, durationInTicks: number, durationInMillis: number);
140
+ protected writeEventData(s: IWriteable): void;
141
+ }
142
+ /**
143
+ * Represents a REST beat being 'played'. This event supports alphaTab in placing the cursor.
144
+ * @public
145
+ */
146
+ export declare class AlphaTabRestEvent extends AlphaTabSysExEvent {
147
+ channel: number;
148
+ constructor(track: number, tick: number, channel: number);
149
+ protected writeEventData(s: IWriteable): void;
150
+ }
151
+ /**
152
+ * The base class for note related events.
153
+ * @public
154
+ */
155
+ export declare abstract class NoteEvent extends MidiEvent {
156
+ /**
157
+ * The channel on which the note is played.
158
+ */
159
+ channel: number;
160
+ /**
161
+ * The key of the note being played (aka. the note height).
162
+ */
163
+ noteKey: number;
164
+ /**
165
+ * The velocity in which the 'key' of the note is pressed (aka. the loudness/intensity of the note).
166
+ */
167
+ noteVelocity: number;
168
+ constructor(track: number, tick: number, type: MidiEventType, channel: number, noteKey: number, noteVelocity: number);
169
+ get data1(): number;
170
+ get data2(): number;
171
+ }
172
+ /**
173
+ * Represents a note being played
174
+ * @public
175
+ */
176
+ export declare class NoteOnEvent extends NoteEvent {
177
+ constructor(track: number, tick: number, channel: number, noteKey: number, noteVelocity: number);
178
+ writeTo(s: IWriteable): void;
179
+ }
180
+ /**
181
+ * Represents a note stop being played.
182
+ * @public
183
+ */
184
+ export declare class NoteOffEvent extends NoteEvent {
185
+ constructor(track: number, tick: number, channel: number, noteKey: number, noteVelocity: number);
186
+ writeTo(s: IWriteable): void;
187
+ }
188
+ /**
189
+ * Represents the change of a value on a midi controller.
190
+ * @public
191
+ */
192
+ export declare class ControlChangeEvent extends MidiEvent {
193
+ /**
194
+ * The channel for which the controller is changing.
195
+ */
196
+ channel: number;
197
+ /**
198
+ * The type of the controller which is changing.
199
+ */
200
+ controller: ControllerType;
201
+ /**
202
+ * The new value of the controller. The meaning is depending on the controller type.
203
+ */
204
+ value: number;
205
+ constructor(track: number, tick: number, channel: number, controller: ControllerType, value: number);
206
+ writeTo(s: IWriteable): void;
207
+ get data1(): number;
208
+ get data2(): number;
209
+ }
210
+ /**
211
+ * Represents the change of the midi program on a channel.
212
+ * @public
213
+ */
214
+ export declare class ProgramChangeEvent extends MidiEvent {
215
+ /**
216
+ * The midi channel for which the program changes.
217
+ */
218
+ channel: number;
219
+ /**
220
+ * The numeric value of the program indicating the instrument bank to choose.
221
+ */
222
+ program: number;
223
+ constructor(track: number, tick: number, channel: number, program: number);
224
+ writeTo(s: IWriteable): void;
225
+ get data1(): number;
226
+ }
227
+ /**
228
+ * Represents a change of the tempo in the song.
229
+ * @public
230
+ */
231
+ export declare class TempoChangeEvent extends MidiEvent {
232
+ /**
233
+ * The tempo in microseconds per quarter note (aka USQ). A time format typically for midi.
234
+ */
235
+ get microSecondsPerQuarterNote(): number;
236
+ /**
237
+ * The tempo in microseconds per quarter note (aka USQ). A time format typically for midi.
238
+ */
239
+ set microSecondsPerQuarterNote(value: number);
240
+ /**
241
+ * The tempo in beats per minute
242
+ */
243
+ beatsPerMinute: number;
244
+ constructor(tick: number, microSecondsPerQuarterNote: number);
245
+ writeTo(s: IWriteable): void;
246
+ }
247
+ /**
248
+ * Represents a change of the pitch bend (aka. pitch wheel) on a specific channel.
249
+ * @public
250
+ */
251
+ export declare class PitchBendEvent extends MidiEvent {
252
+ /**
253
+ * The channel for which the pitch bend changes.
254
+ */
255
+ channel: number;
256
+ /**
257
+ * The value to which the pitch changes. This value is according to the MIDI specification.
258
+ */
259
+ value: number;
260
+ constructor(track: number, tick: number, channel: number, value: number);
261
+ writeTo(s: IWriteable): void;
262
+ get data1(): number;
263
+ get data2(): number;
264
+ }
265
+ /**
266
+ * Represents a single note pitch bend change.
267
+ * @public
268
+ */
269
+ export declare class NoteBendEvent extends MidiEvent {
270
+ /**
271
+ * The channel on which the note is played for which the pitch changes.
272
+ */
273
+ channel: number;
274
+ /**
275
+ * The key of the note for which the pitch changes.
276
+ */
277
+ noteKey: number;
278
+ /**
279
+ * The value to which the pitch changes. This value is according to the MIDI specification.
280
+ */
281
+ value: number;
282
+ constructor(track: number, tick: number, channel: number, noteKey: number, value: number);
283
+ writeTo(_s: IWriteable): void;
284
+ }
285
+ /**
286
+ * Represents the end of the track indicating that no more events for this track follow.
287
+ * @public
288
+ */
289
+ export declare class EndOfTrackEvent extends MidiEvent {
290
+ constructor(track: number, tick: number);
291
+ writeTo(s: IWriteable): void;
292
+ }