@coderline/alphatab-monaco 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 (763) hide show
  1. package/LICENSE +378 -0
  2. package/LICENSE.header +10 -0
  3. package/README.md +12 -0
  4. package/biome.jsonc +31 -0
  5. package/dist/abap.mjs +1419 -0
  6. package/dist/alphaTab.monaco.d.ts +40 -0
  7. package/dist/alphaTab.monaco.min.mjs +13 -0
  8. package/dist/alphaTab.monaco.mjs +14 -0
  9. package/dist/alphaTab.monaco2.mjs +205141 -0
  10. package/dist/alphatab-monaco.css +7100 -0
  11. package/dist/apex.mjs +351 -0
  12. package/dist/azcli.mjs +89 -0
  13. package/dist/bat.mjs +121 -0
  14. package/dist/bicep.mjs +130 -0
  15. package/dist/cameligo.mjs +195 -0
  16. package/dist/clojure.mjs +782 -0
  17. package/dist/coffee.mjs +253 -0
  18. package/dist/cpp.mjs +410 -0
  19. package/dist/csharp.mjs +347 -0
  20. package/dist/csp.mjs +74 -0
  21. package/dist/css.mjs +206 -0
  22. package/dist/cssMode.mjs +2106 -0
  23. package/dist/cypher.mjs +284 -0
  24. package/dist/dart.mjs +302 -0
  25. package/dist/dockerfile.mjs +151 -0
  26. package/dist/ecl.mjs +477 -0
  27. package/dist/elixir.mjs +590 -0
  28. package/dist/flow9.mjs +163 -0
  29. package/dist/freemarker2.mjs +1029 -0
  30. package/dist/fsharp.mjs +238 -0
  31. package/dist/go.mjs +239 -0
  32. package/dist/graphql.mjs +172 -0
  33. package/dist/handlebars.mjs +452 -0
  34. package/dist/hcl.mjs +204 -0
  35. package/dist/html.mjs +341 -0
  36. package/dist/htmlMode.mjs +2121 -0
  37. package/dist/ini.mjs +92 -0
  38. package/dist/java.mjs +253 -0
  39. package/dist/javascript.mjs +90 -0
  40. package/dist/jsonMode.mjs +2830 -0
  41. package/dist/julia.mjs +532 -0
  42. package/dist/kotlin.mjs +274 -0
  43. package/dist/less.mjs +182 -0
  44. package/dist/lexon.mjs +178 -0
  45. package/dist/liquid.mjs +273 -0
  46. package/dist/lua.mjs +183 -0
  47. package/dist/m3.mjs +231 -0
  48. package/dist/markdown.mjs +250 -0
  49. package/dist/mdx.mjs +197 -0
  50. package/dist/mips.mjs +219 -0
  51. package/dist/msdax.mjs +396 -0
  52. package/dist/mysql.mjs +899 -0
  53. package/dist/objective-c.mjs +204 -0
  54. package/dist/pascal.mjs +272 -0
  55. package/dist/pascaligo.mjs +185 -0
  56. package/dist/perl.mjs +647 -0
  57. package/dist/pgsql.mjs +872 -0
  58. package/dist/php.mjs +521 -0
  59. package/dist/pla.mjs +158 -0
  60. package/dist/postiats.mjs +928 -0
  61. package/dist/powerquery.mjs +911 -0
  62. package/dist/powershell.mjs +260 -0
  63. package/dist/protobuf.mjs +441 -0
  64. package/dist/pug.mjs +423 -0
  65. package/dist/python.mjs +333 -0
  66. package/dist/qsharp.mjs +322 -0
  67. package/dist/r.mjs +264 -0
  68. package/dist/razor.mjs +583 -0
  69. package/dist/redis.mjs +323 -0
  70. package/dist/redshift.mjs +830 -0
  71. package/dist/restructuredtext.mjs +195 -0
  72. package/dist/ruby.mjs +532 -0
  73. package/dist/rust.mjs +364 -0
  74. package/dist/sb.mjs +136 -0
  75. package/dist/scala.mjs +391 -0
  76. package/dist/scheme.mjs +129 -0
  77. package/dist/scss.mjs +281 -0
  78. package/dist/shell.mjs +242 -0
  79. package/dist/solidity.mjs +1388 -0
  80. package/dist/sophia.mjs +220 -0
  81. package/dist/sparql.mjs +222 -0
  82. package/dist/sql.mjs +874 -0
  83. package/dist/st.mjs +437 -0
  84. package/dist/swift.mjs +333 -0
  85. package/dist/systemverilog.mjs +597 -0
  86. package/dist/tcl.mjs +253 -0
  87. package/dist/tsMode.mjs +1384 -0
  88. package/dist/twig.mjs +413 -0
  89. package/dist/types/alphatab/src/AlphaTabApiBase.d.ts +2550 -0
  90. package/dist/types/alphatab/src/AlphaTabError.d.ts +15 -0
  91. package/dist/types/alphatab/src/CoreSettings.d.ts +212 -0
  92. package/dist/types/alphatab/src/DisplaySettings.d.ts +340 -0
  93. package/dist/types/alphatab/src/EngravingSettings.d.ts +430 -0
  94. package/dist/types/alphatab/src/Environment.d.ts +230 -0
  95. package/dist/types/alphatab/src/EventEmitter.d.ts +62 -0
  96. package/dist/types/alphatab/src/ExporterSettings.d.ts +23 -0
  97. package/dist/types/alphatab/src/FileLoadError.d.ts +9 -0
  98. package/dist/types/alphatab/src/FormatError.d.ts +8 -0
  99. package/dist/types/alphatab/src/ImporterSettings.d.ts +64 -0
  100. package/dist/types/alphatab/src/LayoutMode.d.ts +14 -0
  101. package/dist/types/alphatab/src/LogLevel.d.ts +27 -0
  102. package/dist/types/alphatab/src/Logger.d.ts +33 -0
  103. package/dist/types/alphatab/src/NotationSettings.d.ts +509 -0
  104. package/dist/types/alphatab/src/PlayerSettings.d.ts +411 -0
  105. package/dist/types/alphatab/src/ProgressEventArgs.d.ts +20 -0
  106. package/dist/types/alphatab/src/RenderingResources.d.ts +175 -0
  107. package/dist/types/alphatab/src/ResizeEventArgs.d.ts +19 -0
  108. package/dist/types/alphatab/src/Settings.d.ts +59 -0
  109. package/dist/types/alphatab/src/SmuflMetadata.d.ts +84 -0
  110. package/dist/types/alphatab/src/StaveProfile.d.ts +27 -0
  111. package/dist/types/alphatab/src/alphaTab.core.d.ts +36 -0
  112. package/dist/types/alphatab/src/alphaTab.main.d.ts +1 -0
  113. package/dist/types/alphatab/src/alphaTab.polyfills.d.ts +1 -0
  114. package/dist/types/alphatab/src/exporter/AlphaTexExporter.d.ts +24 -0
  115. package/dist/types/alphatab/src/exporter/Gp7Exporter.d.ts +10 -0
  116. package/dist/types/alphatab/src/exporter/GpifWriter.d.ts +61 -0
  117. package/dist/types/alphatab/src/exporter/ScoreExporter.d.ts +29 -0
  118. package/dist/types/alphatab/src/exporter/_barrel.d.ts +3 -0
  119. package/dist/types/alphatab/src/generated/CoreSettingsJson.d.ts +172 -0
  120. package/dist/types/alphatab/src/generated/CoreSettingsSerializer.d.ts +9 -0
  121. package/dist/types/alphatab/src/generated/DisplaySettingsJson.d.ts +328 -0
  122. package/dist/types/alphatab/src/generated/DisplaySettingsSerializer.d.ts +9 -0
  123. package/dist/types/alphatab/src/generated/EngravingSettingsCloner.d.ts +7 -0
  124. package/dist/types/alphatab/src/generated/EngravingSettingsJson.d.ts +388 -0
  125. package/dist/types/alphatab/src/generated/EngravingSettingsSerializer.d.ts +9 -0
  126. package/dist/types/alphatab/src/generated/EngravingStemInfoJson.d.ts +20 -0
  127. package/dist/types/alphatab/src/generated/EngravingStemInfoSerializer.d.ts +9 -0
  128. package/dist/types/alphatab/src/generated/ExporterSettingsJson.d.ts +24 -0
  129. package/dist/types/alphatab/src/generated/ExporterSettingsSerializer.d.ts +9 -0
  130. package/dist/types/alphatab/src/generated/ImporterSettingsJson.d.ts +65 -0
  131. package/dist/types/alphatab/src/generated/ImporterSettingsSerializer.d.ts +9 -0
  132. package/dist/types/alphatab/src/generated/NotationSettingsJson.d.ts +210 -0
  133. package/dist/types/alphatab/src/generated/NotationSettingsSerializer.d.ts +9 -0
  134. package/dist/types/alphatab/src/generated/PlayerSettingsJson.d.ts +276 -0
  135. package/dist/types/alphatab/src/generated/PlayerSettingsSerializer.d.ts +9 -0
  136. package/dist/types/alphatab/src/generated/RenderingResourcesJson.d.ts +168 -0
  137. package/dist/types/alphatab/src/generated/RenderingResourcesSerializer.d.ts +9 -0
  138. package/dist/types/alphatab/src/generated/SettingsJson.d.ts +48 -0
  139. package/dist/types/alphatab/src/generated/SettingsSerializer.d.ts +9 -0
  140. package/dist/types/alphatab/src/generated/SlidePlaybackSettingsJson.d.ts +31 -0
  141. package/dist/types/alphatab/src/generated/SlidePlaybackSettingsSerializer.d.ts +9 -0
  142. package/dist/types/alphatab/src/generated/VersionInfo.d.ts +9 -0
  143. package/dist/types/alphatab/src/generated/VibratoPlaybackSettingsJson.d.ts +49 -0
  144. package/dist/types/alphatab/src/generated/VibratoPlaybackSettingsSerializer.d.ts +9 -0
  145. package/dist/types/alphatab/src/generated/_jsonbarrel.d.ts +14 -0
  146. package/dist/types/alphatab/src/generated/model/AutomationCloner.d.ts +7 -0
  147. package/dist/types/alphatab/src/generated/model/AutomationSerializer.d.ts +9 -0
  148. package/dist/types/alphatab/src/generated/model/BackingTrackSerializer.d.ts +9 -0
  149. package/dist/types/alphatab/src/generated/model/BarSerializer.d.ts +9 -0
  150. package/dist/types/alphatab/src/generated/model/BarStyleSerializer.d.ts +9 -0
  151. package/dist/types/alphatab/src/generated/model/BeatCloner.d.ts +7 -0
  152. package/dist/types/alphatab/src/generated/model/BeatSerializer.d.ts +9 -0
  153. package/dist/types/alphatab/src/generated/model/BeatStyleSerializer.d.ts +9 -0
  154. package/dist/types/alphatab/src/generated/model/BendPointCloner.d.ts +7 -0
  155. package/dist/types/alphatab/src/generated/model/BendPointSerializer.d.ts +9 -0
  156. package/dist/types/alphatab/src/generated/model/ChordSerializer.d.ts +9 -0
  157. package/dist/types/alphatab/src/generated/model/FermataSerializer.d.ts +9 -0
  158. package/dist/types/alphatab/src/generated/model/HeaderFooterStyleSerializer.d.ts +9 -0
  159. package/dist/types/alphatab/src/generated/model/InstrumentArticulationSerializer.d.ts +9 -0
  160. package/dist/types/alphatab/src/generated/model/MasterBarSerializer.d.ts +9 -0
  161. package/dist/types/alphatab/src/generated/model/NoteCloner.d.ts +7 -0
  162. package/dist/types/alphatab/src/generated/model/NoteSerializer.d.ts +9 -0
  163. package/dist/types/alphatab/src/generated/model/NoteStyleSerializer.d.ts +9 -0
  164. package/dist/types/alphatab/src/generated/model/PlaybackInformationSerializer.d.ts +9 -0
  165. package/dist/types/alphatab/src/generated/model/RenderStylesheetSerializer.d.ts +9 -0
  166. package/dist/types/alphatab/src/generated/model/ScoreSerializer.d.ts +9 -0
  167. package/dist/types/alphatab/src/generated/model/ScoreStyleSerializer.d.ts +9 -0
  168. package/dist/types/alphatab/src/generated/model/SectionSerializer.d.ts +9 -0
  169. package/dist/types/alphatab/src/generated/model/StaffSerializer.d.ts +9 -0
  170. package/dist/types/alphatab/src/generated/model/SustainPedalMarkerSerializer.d.ts +9 -0
  171. package/dist/types/alphatab/src/generated/model/SyncPointDataCloner.d.ts +7 -0
  172. package/dist/types/alphatab/src/generated/model/SyncPointDataSerializer.d.ts +9 -0
  173. package/dist/types/alphatab/src/generated/model/TrackSerializer.d.ts +9 -0
  174. package/dist/types/alphatab/src/generated/model/TrackStyleSerializer.d.ts +9 -0
  175. package/dist/types/alphatab/src/generated/model/TuningSerializer.d.ts +9 -0
  176. package/dist/types/alphatab/src/generated/model/VoiceSerializer.d.ts +9 -0
  177. package/dist/types/alphatab/src/generated/model/VoiceStyleSerializer.d.ts +9 -0
  178. package/dist/types/alphatab/src/importer/AlphaTexImporter.d.ts +69 -0
  179. package/dist/types/alphatab/src/importer/BinaryStylesheet.d.ts +70 -0
  180. package/dist/types/alphatab/src/importer/CapellaImporter.d.ts +10 -0
  181. package/dist/types/alphatab/src/importer/CapellaParser.d.ts +75 -0
  182. package/dist/types/alphatab/src/importer/Gp3To5Importer.d.ts +95 -0
  183. package/dist/types/alphatab/src/importer/Gp7To8Importer.d.ts +10 -0
  184. package/dist/types/alphatab/src/importer/GpifParser.d.ts +131 -0
  185. package/dist/types/alphatab/src/importer/GpxFileSystem.d.ts +82 -0
  186. package/dist/types/alphatab/src/importer/GpxImporter.d.ts +10 -0
  187. package/dist/types/alphatab/src/importer/LayoutConfiguration.d.ts +38 -0
  188. package/dist/types/alphatab/src/importer/MusicXmlImporter.d.ts +128 -0
  189. package/dist/types/alphatab/src/importer/PartConfiguration.d.ts +27 -0
  190. package/dist/types/alphatab/src/importer/ScoreImporter.d.ts +22 -0
  191. package/dist/types/alphatab/src/importer/ScoreLoader.d.ts +32 -0
  192. package/dist/types/alphatab/src/importer/UnsupportedFormatError.d.ts +9 -0
  193. package/dist/types/alphatab/src/importer/_barrel.d.ts +5 -0
  194. package/dist/types/alphatab/src/importer/alphaTex/ATNF.d.ts +19 -0
  195. package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1EnumMappings.d.ts +75 -0
  196. package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1LanguageDefinitions.d.ts +39 -0
  197. package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1LanguageHandler.d.ts +72 -0
  198. package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1MetaDataReader.d.ts +42 -0
  199. package/dist/types/alphatab/src/importer/alphaTex/AlphaTexAst.d.ts +504 -0
  200. package/dist/types/alphatab/src/importer/alphaTex/AlphaTexLexer.d.ts +43 -0
  201. package/dist/types/alphatab/src/importer/alphaTex/AlphaTexParser.d.ts +60 -0
  202. package/dist/types/alphatab/src/importer/alphaTex/AlphaTexShared.d.ts +290 -0
  203. package/dist/types/alphatab/src/importer/alphaTex/IAlphaTexLanguageImportHandler.d.ts +50 -0
  204. package/dist/types/alphatab/src/importer/alphaTex/IAlphaTexMetaDataReader.d.ts +12 -0
  205. package/dist/types/alphatab/src/importer/alphaTex/_barrel.d.ts +4 -0
  206. package/dist/types/alphatab/src/io/BitReader.d.ts +18 -0
  207. package/dist/types/alphatab/src/io/ByteBuffer.d.ts +26 -0
  208. package/dist/types/alphatab/src/io/IOHelper.d.ts +38 -0
  209. package/dist/types/alphatab/src/io/IReadable.d.ts +48 -0
  210. package/dist/types/alphatab/src/io/IWriteable.d.ts +22 -0
  211. package/dist/types/alphatab/src/io/JsonHelper.d.ts +26 -0
  212. package/dist/types/alphatab/src/io/TypeConversions.d.ts +20 -0
  213. package/dist/types/alphatab/src/io/_barrel.d.ts +4 -0
  214. package/dist/types/alphatab/src/midi/AlphaSynthMidiFileHandler.d.ts +28 -0
  215. package/dist/types/alphatab/src/midi/BeatTickLookup.d.ts +63 -0
  216. package/dist/types/alphatab/src/midi/ControllerType.d.ts +84 -0
  217. package/dist/types/alphatab/src/midi/DeprecatedEvents.d.ts +103 -0
  218. package/dist/types/alphatab/src/midi/GeneralMidi.d.ts +13 -0
  219. package/dist/types/alphatab/src/midi/IMidiFileHandler.d.ts +79 -0
  220. package/dist/types/alphatab/src/midi/MasterBarTickLookup.d.ts +85 -0
  221. package/dist/types/alphatab/src/midi/MidiEvent.d.ts +292 -0
  222. package/dist/types/alphatab/src/midi/MidiFile.d.ts +72 -0
  223. package/dist/types/alphatab/src/midi/MidiFileGenerator.d.ts +150 -0
  224. package/dist/types/alphatab/src/midi/MidiPlaybackController.d.ts +36 -0
  225. package/dist/types/alphatab/src/midi/MidiTickLookup.d.ts +167 -0
  226. package/dist/types/alphatab/src/midi/MidiUtils.d.ts +37 -0
  227. package/dist/types/alphatab/src/midi/_barrel.d.ts +10 -0
  228. package/dist/types/alphatab/src/model/AccentuationType.d.ts +22 -0
  229. package/dist/types/alphatab/src/model/AccidentalType.d.ts +42 -0
  230. package/dist/types/alphatab/src/model/Automation.d.ts +113 -0
  231. package/dist/types/alphatab/src/model/BackingTrack.d.ts +13 -0
  232. package/dist/types/alphatab/src/model/Bar.d.ts +329 -0
  233. package/dist/types/alphatab/src/model/BarreShape.d.ts +18 -0
  234. package/dist/types/alphatab/src/model/Beat.d.ts +559 -0
  235. package/dist/types/alphatab/src/model/BendPoint.d.ts +26 -0
  236. package/dist/types/alphatab/src/model/BendStyle.d.ts +18 -0
  237. package/dist/types/alphatab/src/model/BendType.d.ts +46 -0
  238. package/dist/types/alphatab/src/model/BrushType.d.ts +26 -0
  239. package/dist/types/alphatab/src/model/Chord.d.ts +48 -0
  240. package/dist/types/alphatab/src/model/Clef.d.ts +26 -0
  241. package/dist/types/alphatab/src/model/Color.d.ts +40 -0
  242. package/dist/types/alphatab/src/model/CrescendoType.d.ts +18 -0
  243. package/dist/types/alphatab/src/model/Direction.d.ts +25 -0
  244. package/dist/types/alphatab/src/model/Duration.d.ts +50 -0
  245. package/dist/types/alphatab/src/model/DynamicValue.d.ts +92 -0
  246. package/dist/types/alphatab/src/model/ElementStyle.d.ts +13 -0
  247. package/dist/types/alphatab/src/model/FadeType.d.ts +22 -0
  248. package/dist/types/alphatab/src/model/Fermata.d.ts +34 -0
  249. package/dist/types/alphatab/src/model/Fingers.d.ts +34 -0
  250. package/dist/types/alphatab/src/model/Font.d.ts +117 -0
  251. package/dist/types/alphatab/src/model/GolpeType.d.ts +18 -0
  252. package/dist/types/alphatab/src/model/GraceGroup.d.ts +26 -0
  253. package/dist/types/alphatab/src/model/GraceType.d.ts +22 -0
  254. package/dist/types/alphatab/src/model/HarmonicType.d.ts +34 -0
  255. package/dist/types/alphatab/src/model/InstrumentArticulation.d.ts +71 -0
  256. package/dist/types/alphatab/src/model/JsonConverter.d.ts +95 -0
  257. package/dist/types/alphatab/src/model/KeySignature.d.ts +66 -0
  258. package/dist/types/alphatab/src/model/KeySignatureType.d.ts +14 -0
  259. package/dist/types/alphatab/src/model/Lyrics.d.ts +30 -0
  260. package/dist/types/alphatab/src/model/MasterBar.d.ts +182 -0
  261. package/dist/types/alphatab/src/model/ModelUtils.d.ts +134 -0
  262. package/dist/types/alphatab/src/model/MusicFontSymbol.d.ts +289 -0
  263. package/dist/types/alphatab/src/model/Note.d.ts +516 -0
  264. package/dist/types/alphatab/src/model/NoteAccidentalMode.d.ts +34 -0
  265. package/dist/types/alphatab/src/model/NoteOrnament.d.ts +11 -0
  266. package/dist/types/alphatab/src/model/Ottavia.d.ts +26 -0
  267. package/dist/types/alphatab/src/model/PercussionMapper.d.ts +15 -0
  268. package/dist/types/alphatab/src/model/PickStroke.d.ts +18 -0
  269. package/dist/types/alphatab/src/model/PlaybackInformation.d.ts +45 -0
  270. package/dist/types/alphatab/src/model/Rasgueado.d.ts +25 -0
  271. package/dist/types/alphatab/src/model/RenderStylesheet.d.ts +135 -0
  272. package/dist/types/alphatab/src/model/RepeatGroup.d.ts +33 -0
  273. package/dist/types/alphatab/src/model/Score.d.ts +224 -0
  274. package/dist/types/alphatab/src/model/Section.d.ts +17 -0
  275. package/dist/types/alphatab/src/model/SimileMark.d.ts +24 -0
  276. package/dist/types/alphatab/src/model/SlideInType.d.ts +18 -0
  277. package/dist/types/alphatab/src/model/SlideOutType.d.ts +34 -0
  278. package/dist/types/alphatab/src/model/Staff.d.ts +100 -0
  279. package/dist/types/alphatab/src/model/Track.d.ts +124 -0
  280. package/dist/types/alphatab/src/model/TripletFeel.d.ts +34 -0
  281. package/dist/types/alphatab/src/model/Tuning.d.ts +60 -0
  282. package/dist/types/alphatab/src/model/TupletGroup.d.ts +37 -0
  283. package/dist/types/alphatab/src/model/VibratoType.d.ts +18 -0
  284. package/dist/types/alphatab/src/model/Voice.d.ts +81 -0
  285. package/dist/types/alphatab/src/model/WahPedal.d.ts +9 -0
  286. package/dist/types/alphatab/src/model/WhammyType.d.ts +36 -0
  287. package/dist/types/alphatab/src/model/_barrel.d.ts +57 -0
  288. package/dist/types/alphatab/src/platform/Cursors.d.ts +31 -0
  289. package/dist/types/alphatab/src/platform/ICanvas.d.ts +102 -0
  290. package/dist/types/alphatab/src/platform/IContainer.d.ts +71 -0
  291. package/dist/types/alphatab/src/platform/IMouseEventArgs.d.ts +27 -0
  292. package/dist/types/alphatab/src/platform/IUiFacade.d.ts +175 -0
  293. package/dist/types/alphatab/src/platform/_barrel.d.ts +8 -0
  294. package/dist/types/alphatab/src/platform/javascript/AlphaSynthAudioExporterWorkerApi.d.ts +21 -0
  295. package/dist/types/alphatab/src/platform/javascript/AlphaSynthAudioWorkletOutput.d.ts +30 -0
  296. package/dist/types/alphatab/src/platform/javascript/AlphaSynthScriptProcessorOutput.d.ts +21 -0
  297. package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebAudioOutputBase.d.ts +57 -0
  298. package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebWorker.d.ts +31 -0
  299. package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebWorkerApi.d.ts +98 -0
  300. package/dist/types/alphatab/src/platform/javascript/AlphaSynthWorkerSynthOutput.d.ts +33 -0
  301. package/dist/types/alphatab/src/platform/javascript/AlphaTabApi.d.ts +111 -0
  302. package/dist/types/alphatab/src/platform/javascript/AlphaTabWebWorker.d.ts +16 -0
  303. package/dist/types/alphatab/src/platform/javascript/AlphaTabWorkerScoreRenderer.d.ts +34 -0
  304. package/dist/types/alphatab/src/platform/javascript/AudioElementBackingTrackSynthOutput.d.ts +49 -0
  305. package/dist/types/alphatab/src/platform/javascript/BrowserMouseEventArgs.d.ts +14 -0
  306. package/dist/types/alphatab/src/platform/javascript/BrowserUiFacade.d.ts +96 -0
  307. package/dist/types/alphatab/src/platform/javascript/Html5Canvas.d.ts +57 -0
  308. package/dist/types/alphatab/src/platform/javascript/HtmlElementContainer.d.ts +45 -0
  309. package/dist/types/alphatab/src/platform/javascript/IWorkerScope.d.ts +8 -0
  310. package/dist/types/alphatab/src/platform/javascript/IntersectionObserverPolyfill.d.ts +15 -0
  311. package/dist/types/alphatab/src/platform/javascript/JQueryAlphaTab.d.ts +68 -0
  312. package/dist/types/alphatab/src/platform/javascript/ResizeObserverPolyfill.d.ts +15 -0
  313. package/dist/types/alphatab/src/platform/javascript/ScalableHtmlElementContainer.d.ts +26 -0
  314. package/dist/types/alphatab/src/platform/javascript/WebPlatform.d.ts +10 -0
  315. package/dist/types/alphatab/src/platform/skia/SkiaCanvas.d.ts +86 -0
  316. package/dist/types/alphatab/src/platform/svg/CssFontSvgCanvas.d.ts +11 -0
  317. package/dist/types/alphatab/src/platform/svg/FontSizes.d.ts +32 -0
  318. package/dist/types/alphatab/src/platform/svg/SvgCanvas.d.ts +48 -0
  319. package/dist/types/alphatab/src/rendering/BarRendererBase.d.ts +177 -0
  320. package/dist/types/alphatab/src/rendering/BarRendererFactory.d.ts +21 -0
  321. package/dist/types/alphatab/src/rendering/BeatXPosition.d.ts +31 -0
  322. package/dist/types/alphatab/src/rendering/EffectBand.d.ts +31 -0
  323. package/dist/types/alphatab/src/rendering/EffectBandSizingInfo.d.ts +12 -0
  324. package/dist/types/alphatab/src/rendering/EffectBandSlot.d.ts +22 -0
  325. package/dist/types/alphatab/src/rendering/EffectBarGlyphSizing.d.ts +37 -0
  326. package/dist/types/alphatab/src/rendering/EffectBarRenderer.d.ts +29 -0
  327. package/dist/types/alphatab/src/rendering/EffectBarRendererFactory.d.ts +22 -0
  328. package/dist/types/alphatab/src/rendering/EffectBarRendererInfo.d.ts +62 -0
  329. package/dist/types/alphatab/src/rendering/IScoreRenderer.d.ts +151 -0
  330. package/dist/types/alphatab/src/rendering/LineBarRenderer.d.ts +64 -0
  331. package/dist/types/alphatab/src/rendering/MultiBarRestBeatContainerGlyph.d.ts +10 -0
  332. package/dist/types/alphatab/src/rendering/NumberedBarRenderer.d.ts +54 -0
  333. package/dist/types/alphatab/src/rendering/NumberedBarRendererFactory.d.ts +18 -0
  334. package/dist/types/alphatab/src/rendering/NumberedBeatContainerGlyph.d.ts +9 -0
  335. package/dist/types/alphatab/src/rendering/RenderFinishedEventArgs.d.ts +47 -0
  336. package/dist/types/alphatab/src/rendering/ScoreBarRenderer.d.ts +68 -0
  337. package/dist/types/alphatab/src/rendering/ScoreBarRendererFactory.d.ts +18 -0
  338. package/dist/types/alphatab/src/rendering/ScoreBeatContainerGlyph.d.ts +12 -0
  339. package/dist/types/alphatab/src/rendering/ScoreRenderer.d.ts +55 -0
  340. package/dist/types/alphatab/src/rendering/ScoreRendererWrapper.d.ts +37 -0
  341. package/dist/types/alphatab/src/rendering/SlashBarRenderer.d.ts +41 -0
  342. package/dist/types/alphatab/src/rendering/SlashBarRendererFactory.d.ts +18 -0
  343. package/dist/types/alphatab/src/rendering/SlashBeatContainerGlyph.d.ts +9 -0
  344. package/dist/types/alphatab/src/rendering/TabBarRenderer.d.ts +57 -0
  345. package/dist/types/alphatab/src/rendering/TabBarRendererFactory.d.ts +22 -0
  346. package/dist/types/alphatab/src/rendering/_barrel.d.ts +11 -0
  347. package/dist/types/alphatab/src/rendering/effects/AlternateEndingsEffectInfo.d.ts +19 -0
  348. package/dist/types/alphatab/src/rendering/effects/BeatBarreEffectInfo.d.ts +21 -0
  349. package/dist/types/alphatab/src/rendering/effects/BeatTimerEffectInfo.d.ts +19 -0
  350. package/dist/types/alphatab/src/rendering/effects/CapoEffectInfo.d.ts +19 -0
  351. package/dist/types/alphatab/src/rendering/effects/ChordsEffectInfo.d.ts +19 -0
  352. package/dist/types/alphatab/src/rendering/effects/CrescendoEffectInfo.d.ts +19 -0
  353. package/dist/types/alphatab/src/rendering/effects/DirectionsEffectInfo.d.ts +19 -0
  354. package/dist/types/alphatab/src/rendering/effects/DynamicsEffectInfo.d.ts +21 -0
  355. package/dist/types/alphatab/src/rendering/effects/FadeEffectInfo.d.ts +19 -0
  356. package/dist/types/alphatab/src/rendering/effects/FermataEffectInfo.d.ts +19 -0
  357. package/dist/types/alphatab/src/rendering/effects/FingeringEffectInfo.d.ts +19 -0
  358. package/dist/types/alphatab/src/rendering/effects/FreeTimeEffectInfo.d.ts +19 -0
  359. package/dist/types/alphatab/src/rendering/effects/GolpeEffectInfo.d.ts +23 -0
  360. package/dist/types/alphatab/src/rendering/effects/HarmonicsEffectInfo.d.ts +23 -0
  361. package/dist/types/alphatab/src/rendering/effects/LeftHandTapEffectInfo.d.ts +16 -0
  362. package/dist/types/alphatab/src/rendering/effects/LetRingEffectInfo.d.ts +19 -0
  363. package/dist/types/alphatab/src/rendering/effects/LyricsEffectInfo.d.ts +19 -0
  364. package/dist/types/alphatab/src/rendering/effects/MarkerEffectInfo.d.ts +19 -0
  365. package/dist/types/alphatab/src/rendering/effects/NoteEffectInfoBase.d.ts +15 -0
  366. package/dist/types/alphatab/src/rendering/effects/NoteOrnamentEffectInfo.d.ts +19 -0
  367. package/dist/types/alphatab/src/rendering/effects/OttaviaEffectInfo.d.ts +22 -0
  368. package/dist/types/alphatab/src/rendering/effects/PalmMuteEffectInfo.d.ts +16 -0
  369. package/dist/types/alphatab/src/rendering/effects/PickSlideEffectInfo.d.ts +16 -0
  370. package/dist/types/alphatab/src/rendering/effects/PickStrokeEffectInfo.d.ts +19 -0
  371. package/dist/types/alphatab/src/rendering/effects/RasgueadoEffectInfo.d.ts +19 -0
  372. package/dist/types/alphatab/src/rendering/effects/SlightBeatVibratoEffectInfo.d.ts +19 -0
  373. package/dist/types/alphatab/src/rendering/effects/SlightNoteVibratoEffectInfo.d.ts +18 -0
  374. package/dist/types/alphatab/src/rendering/effects/SustainPedalEffectInfo.d.ts +19 -0
  375. package/dist/types/alphatab/src/rendering/effects/TapEffectInfo.d.ts +19 -0
  376. package/dist/types/alphatab/src/rendering/effects/TempoEffectInfo.d.ts +19 -0
  377. package/dist/types/alphatab/src/rendering/effects/TextEffectInfo.d.ts +19 -0
  378. package/dist/types/alphatab/src/rendering/effects/TrillEffectInfo.d.ts +16 -0
  379. package/dist/types/alphatab/src/rendering/effects/TripletFeelEffectInfo.d.ts +19 -0
  380. package/dist/types/alphatab/src/rendering/effects/WahPedalEffectInfo.d.ts +19 -0
  381. package/dist/types/alphatab/src/rendering/effects/WhammyBarEffectInfo.d.ts +19 -0
  382. package/dist/types/alphatab/src/rendering/effects/WideBeatVibratoEffectInfo.d.ts +19 -0
  383. package/dist/types/alphatab/src/rendering/effects/WideNoteVibratoEffectInfo.d.ts +16 -0
  384. package/dist/types/alphatab/src/rendering/glyphs/AccentuationGlyph.d.ts +13 -0
  385. package/dist/types/alphatab/src/rendering/glyphs/AccidentalGlyph.d.ts +10 -0
  386. package/dist/types/alphatab/src/rendering/glyphs/AccidentalGroupGlyph.d.ts +8 -0
  387. package/dist/types/alphatab/src/rendering/glyphs/AlternateEndingsGlyph.d.ts +15 -0
  388. package/dist/types/alphatab/src/rendering/glyphs/ArticStaccatoAboveGlyph.d.ts +8 -0
  389. package/dist/types/alphatab/src/rendering/glyphs/AugmentationDotGlyph.d.ts +8 -0
  390. package/dist/types/alphatab/src/rendering/glyphs/BarLineGlyph.d.ts +11 -0
  391. package/dist/types/alphatab/src/rendering/glyphs/BarNumberGlyph.d.ts +11 -0
  392. package/dist/types/alphatab/src/rendering/glyphs/BarTempoGlyph.d.ts +14 -0
  393. package/dist/types/alphatab/src/rendering/glyphs/BeatContainerGlyph.d.ts +34 -0
  394. package/dist/types/alphatab/src/rendering/glyphs/BeatGlyphBase.d.ts +24 -0
  395. package/dist/types/alphatab/src/rendering/glyphs/BeatOnNoteGlyphBase.d.ts +18 -0
  396. package/dist/types/alphatab/src/rendering/glyphs/BeatTimerGlyph.d.ts +14 -0
  397. package/dist/types/alphatab/src/rendering/glyphs/BeatVibratoGlyph.d.ts +9 -0
  398. package/dist/types/alphatab/src/rendering/glyphs/BendNoteHeadGroupGlyph.d.ts +26 -0
  399. package/dist/types/alphatab/src/rendering/glyphs/ChordDiagramContainerGlyph.d.ts +10 -0
  400. package/dist/types/alphatab/src/rendering/glyphs/ChordDiagramGlyph.d.ts +16 -0
  401. package/dist/types/alphatab/src/rendering/glyphs/ClefGlyph.d.ts +15 -0
  402. package/dist/types/alphatab/src/rendering/glyphs/CrescendoGlyph.d.ts +12 -0
  403. package/dist/types/alphatab/src/rendering/glyphs/DeadNoteHeadGlyph.d.ts +7 -0
  404. package/dist/types/alphatab/src/rendering/glyphs/DeadSlappedBeatGlyph.d.ts +10 -0
  405. package/dist/types/alphatab/src/rendering/glyphs/DiamondNoteHeadGlyph.d.ts +9 -0
  406. package/dist/types/alphatab/src/rendering/glyphs/DirectionsContainerGlyph.d.ts +15 -0
  407. package/dist/types/alphatab/src/rendering/glyphs/DynamicsGlyph.d.ts +10 -0
  408. package/dist/types/alphatab/src/rendering/glyphs/EffectGlyph.d.ts +24 -0
  409. package/dist/types/alphatab/src/rendering/glyphs/FadeGlyph.d.ts +11 -0
  410. package/dist/types/alphatab/src/rendering/glyphs/FermataGlyph.d.ts +11 -0
  411. package/dist/types/alphatab/src/rendering/glyphs/FingeringGroupGlyph.d.ts +28 -0
  412. package/dist/types/alphatab/src/rendering/glyphs/FlagGlyph.d.ts +11 -0
  413. package/dist/types/alphatab/src/rendering/glyphs/GhostNoteContainerGlyph.d.ts +29 -0
  414. package/dist/types/alphatab/src/rendering/glyphs/GhostParenthesisGlyph.d.ts +13 -0
  415. package/dist/types/alphatab/src/rendering/glyphs/Glyph.d.ts +18 -0
  416. package/dist/types/alphatab/src/rendering/glyphs/GlyphGroup.d.ts +15 -0
  417. package/dist/types/alphatab/src/rendering/glyphs/GroupedEffectGlyph.d.ts +20 -0
  418. package/dist/types/alphatab/src/rendering/glyphs/GuitarGolpeGlyph.d.ts +8 -0
  419. package/dist/types/alphatab/src/rendering/glyphs/KeySignatureGlyph.d.ts +8 -0
  420. package/dist/types/alphatab/src/rendering/glyphs/LeftHandTapGlyph.d.ts +8 -0
  421. package/dist/types/alphatab/src/rendering/glyphs/LeftToRightLayoutingGlyphGroup.d.ts +11 -0
  422. package/dist/types/alphatab/src/rendering/glyphs/LineRangedGlyph.d.ts +14 -0
  423. package/dist/types/alphatab/src/rendering/glyphs/LyricsGlyph.d.ts +14 -0
  424. package/dist/types/alphatab/src/rendering/glyphs/MultiBarRestGlyph.d.ts +12 -0
  425. package/dist/types/alphatab/src/rendering/glyphs/MusicFontGlyph.d.ts +34 -0
  426. package/dist/types/alphatab/src/rendering/glyphs/NoteHeadGlyph.d.ts +14 -0
  427. package/dist/types/alphatab/src/rendering/glyphs/NoteNumberGlyph.d.ts +20 -0
  428. package/dist/types/alphatab/src/rendering/glyphs/NoteOrnamentGlyph.d.ts +10 -0
  429. package/dist/types/alphatab/src/rendering/glyphs/NoteVibratoGlyph.d.ts +26 -0
  430. package/dist/types/alphatab/src/rendering/glyphs/NumberGlyph.d.ts +16 -0
  431. package/dist/types/alphatab/src/rendering/glyphs/NumberedBeatGlyph.d.ts +37 -0
  432. package/dist/types/alphatab/src/rendering/glyphs/NumberedDashGlyph.d.ts +12 -0
  433. package/dist/types/alphatab/src/rendering/glyphs/NumberedKeySignatureGlyph.d.ts +17 -0
  434. package/dist/types/alphatab/src/rendering/glyphs/NumberedNoteHeadGlyph.d.ts +14 -0
  435. package/dist/types/alphatab/src/rendering/glyphs/NumberedSlurGlyph.d.ts +14 -0
  436. package/dist/types/alphatab/src/rendering/glyphs/NumberedTieGlyph.d.ts +21 -0
  437. package/dist/types/alphatab/src/rendering/glyphs/OttavaGlyph.d.ts +15 -0
  438. package/dist/types/alphatab/src/rendering/glyphs/PercussionNoteHeadGlyph.d.ts +14 -0
  439. package/dist/types/alphatab/src/rendering/glyphs/PickStrokeGlyph.d.ts +10 -0
  440. package/dist/types/alphatab/src/rendering/glyphs/PictEdgeOfCymbalGlyph.d.ts +8 -0
  441. package/dist/types/alphatab/src/rendering/glyphs/RepeatCountGlyph.d.ts +11 -0
  442. package/dist/types/alphatab/src/rendering/glyphs/RowContainerGlyph.d.ts +12 -0
  443. package/dist/types/alphatab/src/rendering/glyphs/RowGlyphContainer.d.ts +13 -0
  444. package/dist/types/alphatab/src/rendering/glyphs/ScoreBeatGlyph.d.ts +29 -0
  445. package/dist/types/alphatab/src/rendering/glyphs/ScoreBeatPreNotesGlyph.d.ts +14 -0
  446. package/dist/types/alphatab/src/rendering/glyphs/ScoreBendGlyph.d.ts +17 -0
  447. package/dist/types/alphatab/src/rendering/glyphs/ScoreBrushGlyph.d.ts +13 -0
  448. package/dist/types/alphatab/src/rendering/glyphs/ScoreHelperNotesBaseGlyph.d.ts +15 -0
  449. package/dist/types/alphatab/src/rendering/glyphs/ScoreLegatoGlyph.d.ts +16 -0
  450. package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteChordGlyph.d.ts +35 -0
  451. package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteChordGlyphBase.d.ts +25 -0
  452. package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteGlyphInfo.d.ts +9 -0
  453. package/dist/types/alphatab/src/rendering/glyphs/ScoreRestGlyph.d.ts +17 -0
  454. package/dist/types/alphatab/src/rendering/glyphs/ScoreSlideLineGlyph.d.ts +22 -0
  455. package/dist/types/alphatab/src/rendering/glyphs/ScoreSlurGlyph.d.ts +18 -0
  456. package/dist/types/alphatab/src/rendering/glyphs/ScoreTieGlyph.d.ts +20 -0
  457. package/dist/types/alphatab/src/rendering/glyphs/ScoreTimeSignatureGlyph.d.ts +8 -0
  458. package/dist/types/alphatab/src/rendering/glyphs/ScoreWhammyBarGlyph.d.ts +14 -0
  459. package/dist/types/alphatab/src/rendering/glyphs/SlashBeatGlyph.d.ts +24 -0
  460. package/dist/types/alphatab/src/rendering/glyphs/SlashNoteHeadGlyph.d.ts +24 -0
  461. package/dist/types/alphatab/src/rendering/glyphs/SlashRestGlyph.d.ts +9 -0
  462. package/dist/types/alphatab/src/rendering/glyphs/SlashTieGlyph.d.ts +21 -0
  463. package/dist/types/alphatab/src/rendering/glyphs/SpacingGlyph.d.ts +8 -0
  464. package/dist/types/alphatab/src/rendering/glyphs/StringNumberContainerGlyph.d.ts +11 -0
  465. package/dist/types/alphatab/src/rendering/glyphs/SustainPedalGlyph.d.ts +10 -0
  466. package/dist/types/alphatab/src/rendering/glyphs/TabBeatContainerGlyph.d.ts +13 -0
  467. package/dist/types/alphatab/src/rendering/glyphs/TabBeatGlyph.d.ts +25 -0
  468. package/dist/types/alphatab/src/rendering/glyphs/TabBeatPreNotesGlyph.d.ts +9 -0
  469. package/dist/types/alphatab/src/rendering/glyphs/TabBendGlyph.d.ts +24 -0
  470. package/dist/types/alphatab/src/rendering/glyphs/TabBendRenderPoint.d.ts +8 -0
  471. package/dist/types/alphatab/src/rendering/glyphs/TabBrushGlyph.d.ts +13 -0
  472. package/dist/types/alphatab/src/rendering/glyphs/TabClefGlyph.d.ts +8 -0
  473. package/dist/types/alphatab/src/rendering/glyphs/TabNoteChordGlyph.d.ts +33 -0
  474. package/dist/types/alphatab/src/rendering/glyphs/TabRestGlyph.d.ts +15 -0
  475. package/dist/types/alphatab/src/rendering/glyphs/TabSlideLineGlyph.d.ts +21 -0
  476. package/dist/types/alphatab/src/rendering/glyphs/TabSlurGlyph.d.ts +14 -0
  477. package/dist/types/alphatab/src/rendering/glyphs/TabTieGlyph.d.ts +21 -0
  478. package/dist/types/alphatab/src/rendering/glyphs/TabTimeSignatureGlyph.d.ts +9 -0
  479. package/dist/types/alphatab/src/rendering/glyphs/TabWhammyBarGlyph.d.ts +19 -0
  480. package/dist/types/alphatab/src/rendering/glyphs/TextGlyph.d.ts +18 -0
  481. package/dist/types/alphatab/src/rendering/glyphs/TieGlyph.d.ts +40 -0
  482. package/dist/types/alphatab/src/rendering/glyphs/TimeSignatureGlyph.d.ts +18 -0
  483. package/dist/types/alphatab/src/rendering/glyphs/TremoloPickingGlyph.d.ts +9 -0
  484. package/dist/types/alphatab/src/rendering/glyphs/TrillGlyph.d.ts +10 -0
  485. package/dist/types/alphatab/src/rendering/glyphs/TripletFeelGlyph.d.ts +15 -0
  486. package/dist/types/alphatab/src/rendering/glyphs/TuningContainerGlyph.d.ts +7 -0
  487. package/dist/types/alphatab/src/rendering/glyphs/TuningGlyph.d.ts +16 -0
  488. package/dist/types/alphatab/src/rendering/glyphs/VoiceContainerGlyph.d.ts +26 -0
  489. package/dist/types/alphatab/src/rendering/glyphs/WahPedalGlyph.d.ts +11 -0
  490. package/dist/types/alphatab/src/rendering/layout/HorizontalScreenLayout.d.ts +23 -0
  491. package/dist/types/alphatab/src/rendering/layout/PageViewLayout.d.ts +28 -0
  492. package/dist/types/alphatab/src/rendering/layout/ScoreLayout.d.ts +73 -0
  493. package/dist/types/alphatab/src/rendering/staves/BarLayoutingInfo.d.ts +44 -0
  494. package/dist/types/alphatab/src/rendering/staves/MasterBarsRenderers.d.ts +18 -0
  495. package/dist/types/alphatab/src/rendering/staves/RenderStaff.d.ts +72 -0
  496. package/dist/types/alphatab/src/rendering/staves/Spring.d.ts +16 -0
  497. package/dist/types/alphatab/src/rendering/staves/StaffSystem.d.ts +75 -0
  498. package/dist/types/alphatab/src/rendering/staves/StaffTrackGroup.d.ts +20 -0
  499. package/dist/types/alphatab/src/rendering/utils/AccidentalHelper.d.ts +89 -0
  500. package/dist/types/alphatab/src/rendering/utils/BarBounds.d.ts +45 -0
  501. package/dist/types/alphatab/src/rendering/utils/BarCollisionHelper.d.ts +31 -0
  502. package/dist/types/alphatab/src/rendering/utils/BarHelpers.d.ts +18 -0
  503. package/dist/types/alphatab/src/rendering/utils/BeamDirection.d.ts +7 -0
  504. package/dist/types/alphatab/src/rendering/utils/BeamingHelper.d.ts +92 -0
  505. package/dist/types/alphatab/src/rendering/utils/BeatBounds.d.ts +52 -0
  506. package/dist/types/alphatab/src/rendering/utils/Bounds.d.ts +23 -0
  507. package/dist/types/alphatab/src/rendering/utils/BoundsLookup.d.ts +98 -0
  508. package/dist/types/alphatab/src/rendering/utils/ElementStyleHelper.d.ts +29 -0
  509. package/dist/types/alphatab/src/rendering/utils/MasterBarBounds.d.ts +64 -0
  510. package/dist/types/alphatab/src/rendering/utils/NoteBounds.d.ts +25 -0
  511. package/dist/types/alphatab/src/rendering/utils/StaffSystemBounds.d.ts +45 -0
  512. package/dist/types/alphatab/src/synth/ActiveBeatsChangedEventArgs.d.ts +12 -0
  513. package/dist/types/alphatab/src/synth/AlphaSynth.d.ts +248 -0
  514. package/dist/types/alphatab/src/synth/AlphaSynthWrapper.d.ts +92 -0
  515. package/dist/types/alphatab/src/synth/BackingTrackPlayer.d.ts +53 -0
  516. package/dist/types/alphatab/src/synth/ExternalMediaPlayer.d.ts +55 -0
  517. package/dist/types/alphatab/src/synth/IAlphaSynth.d.ts +271 -0
  518. package/dist/types/alphatab/src/synth/IAudioExporter.d.ts +127 -0
  519. package/dist/types/alphatab/src/synth/IAudioSampleSynthesizer.d.ts +126 -0
  520. package/dist/types/alphatab/src/synth/ISynthOutput.d.ts +90 -0
  521. package/dist/types/alphatab/src/synth/MidiEventsPlayedEventArgs.d.ts +16 -0
  522. package/dist/types/alphatab/src/synth/MidiFileSequencer.d.ts +98 -0
  523. package/dist/types/alphatab/src/synth/PlaybackRange.d.ts +14 -0
  524. package/dist/types/alphatab/src/synth/PlaybackRangeChangedEventArgs.d.ts +16 -0
  525. package/dist/types/alphatab/src/synth/PlayerState.d.ts +14 -0
  526. package/dist/types/alphatab/src/synth/PlayerStateChangedEventArgs.d.ts +21 -0
  527. package/dist/types/alphatab/src/synth/PositionChangedEventArgs.d.ts +44 -0
  528. package/dist/types/alphatab/src/synth/SynthConstants.d.ts +30 -0
  529. package/dist/types/alphatab/src/synth/SynthHelper.d.ts +9 -0
  530. package/dist/types/alphatab/src/synth/_barrel.d.ts +19 -0
  531. package/dist/types/alphatab/src/synth/ds/CircularSampleBuffer.d.ts +38 -0
  532. package/dist/types/alphatab/src/synth/ds/Queue.d.ts +13 -0
  533. package/dist/types/alphatab/src/synth/soundfont/Hydra.d.ts +133 -0
  534. package/dist/types/alphatab/src/synth/soundfont/RiffChunk.d.ts +10 -0
  535. package/dist/types/alphatab/src/synth/synthesis/Channel.d.ts +21 -0
  536. package/dist/types/alphatab/src/synth/synthesis/Channels.d.ts +11 -0
  537. package/dist/types/alphatab/src/synth/synthesis/Envelope.d.ts +16 -0
  538. package/dist/types/alphatab/src/synth/synthesis/LoopMode.d.ts +8 -0
  539. package/dist/types/alphatab/src/synth/synthesis/OutputMode.d.ts +18 -0
  540. package/dist/types/alphatab/src/synth/synthesis/Preset.d.ts +10 -0
  541. package/dist/types/alphatab/src/synth/synthesis/Region.d.ts +110 -0
  542. package/dist/types/alphatab/src/synth/synthesis/SynthEvent.d.ts +12 -0
  543. package/dist/types/alphatab/src/synth/synthesis/TinySoundFont.d.ts +252 -0
  544. package/dist/types/alphatab/src/synth/synthesis/Voice.d.ts +43 -0
  545. package/dist/types/alphatab/src/synth/synthesis/VoiceEnvelope.d.ts +31 -0
  546. package/dist/types/alphatab/src/synth/synthesis/VoiceLfo.d.ts +10 -0
  547. package/dist/types/alphatab/src/synth/synthesis/VoiceLowPass.d.ts +16 -0
  548. package/dist/types/alphatab/src/synth/vorbis/IntBitReader.d.ts +26 -0
  549. package/dist/types/alphatab/src/synth/vorbis/OggReader.d.ts +23 -0
  550. package/dist/types/alphatab/src/synth/vorbis/VorbisFile.d.ts +9 -0
  551. package/dist/types/alphatab/src/synth/vorbis/VorbisStream.d.ts +13 -0
  552. package/dist/types/alphatab/src/synth/vorbis/VorbisStreamDecoder.d.ts +260 -0
  553. package/dist/types/alphatab/src/synth/vorbis/VorbisStreamReader.d.ts +49 -0
  554. package/dist/types/alphatab/src/util/FontLoadingChecker.d.ts +16 -0
  555. package/dist/types/alphatab/src/util/Lazy.d.ts +12 -0
  556. package/dist/types/alphatab/src/xml/XmlDocument.d.ts +10 -0
  557. package/dist/types/alphatab/src/xml/XmlError.d.ts +9 -0
  558. package/dist/types/alphatab/src/xml/XmlNode.d.ts +34 -0
  559. package/dist/types/alphatab/src/xml/XmlParser.d.ts +39 -0
  560. package/dist/types/alphatab/src/xml/XmlWriter.d.ts +20 -0
  561. package/dist/types/alphatab/src/zip/Crc32.d.ts +32 -0
  562. package/dist/types/alphatab/src/zip/Deflater.d.ts +74 -0
  563. package/dist/types/alphatab/src/zip/DeflaterConstants.d.ts +20 -0
  564. package/dist/types/alphatab/src/zip/DeflaterEngine.d.ts +124 -0
  565. package/dist/types/alphatab/src/zip/DeflaterHuffman.d.ts +76 -0
  566. package/dist/types/alphatab/src/zip/HuffTools.d.ts +11 -0
  567. package/dist/types/alphatab/src/zip/Huffman.d.ts +28 -0
  568. package/dist/types/alphatab/src/zip/Inflate.d.ts +40 -0
  569. package/dist/types/alphatab/src/zip/PendingBuffer.d.ts +65 -0
  570. package/dist/types/alphatab/src/zip/ZipEntry.d.ts +14 -0
  571. package/dist/types/alphatab/src/zip/ZipReader.d.ts +11 -0
  572. package/dist/types/alphatab/src/zip/ZipWriter.d.ts +16 -0
  573. package/dist/types/alphatex/src/common.d.ts +4 -0
  574. package/dist/types/alphatex/src/definitions.d.ts +8 -0
  575. package/dist/types/alphatex/src/enum.d.ts +48 -0
  576. package/dist/types/alphatex/src/metadata/bar/ac.d.ts +2 -0
  577. package/dist/types/alphatex/src/metadata/bar/accidentals.d.ts +2 -0
  578. package/dist/types/alphatex/src/metadata/bar/ae.d.ts +2 -0
  579. package/dist/types/alphatex/src/metadata/bar/barlineleft.d.ts +2 -0
  580. package/dist/types/alphatex/src/metadata/bar/barlineright.d.ts +2 -0
  581. package/dist/types/alphatex/src/metadata/bar/clef.d.ts +2 -0
  582. package/dist/types/alphatex/src/metadata/bar/db.d.ts +2 -0
  583. package/dist/types/alphatex/src/metadata/bar/ft.d.ts +2 -0
  584. package/dist/types/alphatex/src/metadata/bar/jump.d.ts +2 -0
  585. package/dist/types/alphatex/src/metadata/bar/ks.d.ts +2 -0
  586. package/dist/types/alphatex/src/metadata/bar/ottava.d.ts +2 -0
  587. package/dist/types/alphatex/src/metadata/bar/rc.d.ts +2 -0
  588. package/dist/types/alphatex/src/metadata/bar/ro.d.ts +2 -0
  589. package/dist/types/alphatex/src/metadata/bar/scale.d.ts +2 -0
  590. package/dist/types/alphatex/src/metadata/bar/section.d.ts +2 -0
  591. package/dist/types/alphatex/src/metadata/bar/simile.d.ts +2 -0
  592. package/dist/types/alphatex/src/metadata/bar/spd.d.ts +2 -0
  593. package/dist/types/alphatex/src/metadata/bar/sph.d.ts +2 -0
  594. package/dist/types/alphatex/src/metadata/bar/spu.d.ts +2 -0
  595. package/dist/types/alphatex/src/metadata/bar/sync.d.ts +2 -0
  596. package/dist/types/alphatex/src/metadata/bar/tempo.d.ts +2 -0
  597. package/dist/types/alphatex/src/metadata/bar/tf.d.ts +2 -0
  598. package/dist/types/alphatex/src/metadata/bar/ts.d.ts +2 -0
  599. package/dist/types/alphatex/src/metadata/bar/width.d.ts +2 -0
  600. package/dist/types/alphatex/src/metadata/score/album.d.ts +2 -0
  601. package/dist/types/alphatex/src/metadata/score/artist.d.ts +2 -0
  602. package/dist/types/alphatex/src/metadata/score/bracketextendmode.d.ts +2 -0
  603. package/dist/types/alphatex/src/metadata/score/copyright.d.ts +2 -0
  604. package/dist/types/alphatex/src/metadata/score/copyright2.d.ts +2 -0
  605. package/dist/types/alphatex/src/metadata/score/defaultsystemslayout.d.ts +2 -0
  606. package/dist/types/alphatex/src/metadata/score/firstsystemtracknamemode.d.ts +2 -0
  607. package/dist/types/alphatex/src/metadata/score/firstsystemtracknameorientation.d.ts +2 -0
  608. package/dist/types/alphatex/src/metadata/score/hidedynamics.d.ts +2 -0
  609. package/dist/types/alphatex/src/metadata/score/instructions.d.ts +2 -0
  610. package/dist/types/alphatex/src/metadata/score/multibarrest.d.ts +2 -0
  611. package/dist/types/alphatex/src/metadata/score/multitracktracknamepolicy.d.ts +2 -0
  612. package/dist/types/alphatex/src/metadata/score/music.d.ts +2 -0
  613. package/dist/types/alphatex/src/metadata/score/notices.d.ts +2 -0
  614. package/dist/types/alphatex/src/metadata/score/othersystemtracknamemode.d.ts +2 -0
  615. package/dist/types/alphatex/src/metadata/score/othersystemtracknameorientation.d.ts +2 -0
  616. package/dist/types/alphatex/src/metadata/score/showdynamics.d.ts +2 -0
  617. package/dist/types/alphatex/src/metadata/score/singletracktracknamepolicy.d.ts +2 -0
  618. package/dist/types/alphatex/src/metadata/score/subtitle.d.ts +2 -0
  619. package/dist/types/alphatex/src/metadata/score/systemslayout.d.ts +2 -0
  620. package/dist/types/alphatex/src/metadata/score/tab.d.ts +2 -0
  621. package/dist/types/alphatex/src/metadata/score/title.d.ts +4 -0
  622. package/dist/types/alphatex/src/metadata/score/usesystemsignseparator.d.ts +2 -0
  623. package/dist/types/alphatex/src/metadata/score/words.d.ts +2 -0
  624. package/dist/types/alphatex/src/metadata/score/wordsandmusic.d.ts +2 -0
  625. package/dist/types/alphatex/src/metadata/staff/articulation.d.ts +3 -0
  626. package/dist/types/alphatex/src/metadata/staff/capo.d.ts +2 -0
  627. package/dist/types/alphatex/src/metadata/staff/chord.d.ts +2 -0
  628. package/dist/types/alphatex/src/metadata/staff/displaytranspose.d.ts +2 -0
  629. package/dist/types/alphatex/src/metadata/staff/instrument.d.ts +2 -0
  630. package/dist/types/alphatex/src/metadata/staff/lyrics.d.ts +2 -0
  631. package/dist/types/alphatex/src/metadata/staff/transpose.d.ts +2 -0
  632. package/dist/types/alphatex/src/metadata/staff/tuning.d.ts +2 -0
  633. package/dist/types/alphatex/src/metadata/structural/staff.d.ts +2 -0
  634. package/dist/types/alphatex/src/metadata/structural/track.d.ts +2 -0
  635. package/dist/types/alphatex/src/metadata/structural/voice.d.ts +2 -0
  636. package/dist/types/alphatex/src/properties/beat/ad.d.ts +2 -0
  637. package/dist/types/alphatex/src/properties/beat/au.d.ts +2 -0
  638. package/dist/types/alphatex/src/properties/beat/balance.d.ts +2 -0
  639. package/dist/types/alphatex/src/properties/beat/bank.d.ts +2 -0
  640. package/dist/types/alphatex/src/properties/beat/barre.d.ts +2 -0
  641. package/dist/types/alphatex/src/properties/beat/bd.d.ts +2 -0
  642. package/dist/types/alphatex/src/properties/beat/beam.d.ts +2 -0
  643. package/dist/types/alphatex/src/properties/beat/bu.d.ts +2 -0
  644. package/dist/types/alphatex/src/properties/beat/ch.d.ts +2 -0
  645. package/dist/types/alphatex/src/properties/beat/cre.d.ts +2 -0
  646. package/dist/types/alphatex/src/properties/beat/d.d.ts +2 -0
  647. package/dist/types/alphatex/src/properties/beat/dd.d.ts +2 -0
  648. package/dist/types/alphatex/src/properties/beat/dec.d.ts +2 -0
  649. package/dist/types/alphatex/src/properties/beat/ds.d.ts +2 -0
  650. package/dist/types/alphatex/src/properties/beat/dy.d.ts +2 -0
  651. package/dist/types/alphatex/src/properties/beat/f.d.ts +2 -0
  652. package/dist/types/alphatex/src/properties/beat/fermata.d.ts +2 -0
  653. package/dist/types/alphatex/src/properties/beat/fo.d.ts +2 -0
  654. package/dist/types/alphatex/src/properties/beat/glpf.d.ts +2 -0
  655. package/dist/types/alphatex/src/properties/beat/glpt.d.ts +2 -0
  656. package/dist/types/alphatex/src/properties/beat/gr.d.ts +2 -0
  657. package/dist/types/alphatex/src/properties/beat/instrument.d.ts +2 -0
  658. package/dist/types/alphatex/src/properties/beat/legatoOrigin.d.ts +2 -0
  659. package/dist/types/alphatex/src/properties/beat/lyrics.d.ts +2 -0
  660. package/dist/types/alphatex/src/properties/beat/ot.d.ts +2 -0
  661. package/dist/types/alphatex/src/properties/beat/p.d.ts +2 -0
  662. package/dist/types/alphatex/src/properties/beat/rasg.d.ts +2 -0
  663. package/dist/types/alphatex/src/properties/beat/s.d.ts +2 -0
  664. package/dist/types/alphatex/src/properties/beat/sd.d.ts +2 -0
  665. package/dist/types/alphatex/src/properties/beat/slashed.d.ts +2 -0
  666. package/dist/types/alphatex/src/properties/beat/spd.d.ts +2 -0
  667. package/dist/types/alphatex/src/properties/beat/spe.d.ts +2 -0
  668. package/dist/types/alphatex/src/properties/beat/sph.d.ts +2 -0
  669. package/dist/types/alphatex/src/properties/beat/spu.d.ts +2 -0
  670. package/dist/types/alphatex/src/properties/beat/su.d.ts +2 -0
  671. package/dist/types/alphatex/src/properties/beat/tb.d.ts +2 -0
  672. package/dist/types/alphatex/src/properties/beat/tbe.d.ts +2 -0
  673. package/dist/types/alphatex/src/properties/beat/tempo.d.ts +2 -0
  674. package/dist/types/alphatex/src/properties/beat/timer.d.ts +2 -0
  675. package/dist/types/alphatex/src/properties/beat/tp.d.ts +2 -0
  676. package/dist/types/alphatex/src/properties/beat/tt.d.ts +2 -0
  677. package/dist/types/alphatex/src/properties/beat/tu.d.ts +2 -0
  678. package/dist/types/alphatex/src/properties/beat/txt.d.ts +2 -0
  679. package/dist/types/alphatex/src/properties/beat/v.d.ts +2 -0
  680. package/dist/types/alphatex/src/properties/beat/volume.d.ts +2 -0
  681. package/dist/types/alphatex/src/properties/beat/vs.d.ts +2 -0
  682. package/dist/types/alphatex/src/properties/beat/vw.d.ts +2 -0
  683. package/dist/types/alphatex/src/properties/beat/wahc.d.ts +2 -0
  684. package/dist/types/alphatex/src/properties/beat/waho.d.ts +2 -0
  685. package/dist/types/alphatex/src/properties/note/ac.d.ts +2 -0
  686. package/dist/types/alphatex/src/properties/note/acc.d.ts +2 -0
  687. package/dist/types/alphatex/src/properties/note/ah.d.ts +3 -0
  688. package/dist/types/alphatex/src/properties/note/b.d.ts +2 -0
  689. package/dist/types/alphatex/src/properties/note/be.d.ts +2 -0
  690. package/dist/types/alphatex/src/properties/note/fh.d.ts +2 -0
  691. package/dist/types/alphatex/src/properties/note/g.d.ts +2 -0
  692. package/dist/types/alphatex/src/properties/note/h.d.ts +2 -0
  693. package/dist/types/alphatex/src/properties/note/hac.d.ts +2 -0
  694. package/dist/types/alphatex/src/properties/note/hide.d.ts +2 -0
  695. package/dist/types/alphatex/src/properties/note/iturn.d.ts +2 -0
  696. package/dist/types/alphatex/src/properties/note/lf.d.ts +2 -0
  697. package/dist/types/alphatex/src/properties/note/lht.d.ts +2 -0
  698. package/dist/types/alphatex/src/properties/note/lmordent.d.ts +2 -0
  699. package/dist/types/alphatex/src/properties/note/lr.d.ts +2 -0
  700. package/dist/types/alphatex/src/properties/note/nh.d.ts +2 -0
  701. package/dist/types/alphatex/src/properties/note/ph.d.ts +2 -0
  702. package/dist/types/alphatex/src/properties/note/pm.d.ts +2 -0
  703. package/dist/types/alphatex/src/properties/note/psd.d.ts +2 -0
  704. package/dist/types/alphatex/src/properties/note/psu.d.ts +2 -0
  705. package/dist/types/alphatex/src/properties/note/rf.d.ts +2 -0
  706. package/dist/types/alphatex/src/properties/note/sh.d.ts +2 -0
  707. package/dist/types/alphatex/src/properties/note/sia.d.ts +2 -0
  708. package/dist/types/alphatex/src/properties/note/sib.d.ts +2 -0
  709. package/dist/types/alphatex/src/properties/note/sl.d.ts +2 -0
  710. package/dist/types/alphatex/src/properties/note/slur.d.ts +2 -0
  711. package/dist/types/alphatex/src/properties/note/sod.d.ts +2 -0
  712. package/dist/types/alphatex/src/properties/note/sou.d.ts +2 -0
  713. package/dist/types/alphatex/src/properties/note/ss.d.ts +2 -0
  714. package/dist/types/alphatex/src/properties/note/st.d.ts +2 -0
  715. package/dist/types/alphatex/src/properties/note/string.d.ts +2 -0
  716. package/dist/types/alphatex/src/properties/note/t.d.ts +3 -0
  717. package/dist/types/alphatex/src/properties/note/ten.d.ts +2 -0
  718. package/dist/types/alphatex/src/properties/note/th.d.ts +2 -0
  719. package/dist/types/alphatex/src/properties/note/tr.d.ts +2 -0
  720. package/dist/types/alphatex/src/properties/note/turn.d.ts +2 -0
  721. package/dist/types/alphatex/src/properties/note/umordent.d.ts +2 -0
  722. package/dist/types/alphatex/src/properties/note/v.d.ts +2 -0
  723. package/dist/types/alphatex/src/properties/note/vw.d.ts +2 -0
  724. package/dist/types/alphatex/src/properties/note/x.d.ts +2 -0
  725. package/dist/types/alphatex/src/types.d.ts +161 -0
  726. package/dist/types/lsp/src/index.d.ts +21 -0
  727. package/dist/types/lsp/src/server/completion.d.ts +3 -0
  728. package/dist/types/lsp/src/server/diagnostics.d.ts +2 -0
  729. package/dist/types/lsp/src/server/hover.d.ts +2 -0
  730. package/dist/types/lsp/src/server/index.d.ts +13 -0
  731. package/dist/types/lsp/src/server/signatureHelp.d.ts +2 -0
  732. package/dist/types/lsp/src/server/types.d.ts +15 -0
  733. package/dist/types/lsp/src/server/utils.d.ts +6 -0
  734. package/dist/types/monaco/src/alphaTab.monaco.d.ts +2 -0
  735. package/dist/types/monaco/src/alphatex.d.ts +6 -0
  736. package/dist/types/monaco/src/lsp.d.ts +20 -0
  737. package/dist/types/monaco/src/lspMonacoMappings.d.ts +24 -0
  738. package/dist/types/monaco/src/textmate.d.ts +15 -0
  739. package/dist/types/monaco/src/types.d.ts +15 -0
  740. package/dist/types/monaco/src/worker.d.ts +1 -0
  741. package/dist/types/monaco/test/placeholder.test.d.ts +1 -0
  742. package/dist/types/monaco/vite.config.d.ts +2 -0
  743. package/dist/types/tooling/src/typescript.d.ts +9 -0
  744. package/dist/types/tooling/src/vite.d.ts +13 -0
  745. package/dist/types/tooling/src/vite.plugin.dts.d.ts +1 -0
  746. package/dist/types/tooling/src/vite.plugin.min.d.ts +3 -0
  747. package/dist/typescript.mjs +375 -0
  748. package/dist/typespec.mjs +148 -0
  749. package/dist/vb.mjs +393 -0
  750. package/dist/wgsl.mjs +474 -0
  751. package/dist/xml.mjs +127 -0
  752. package/dist/yaml.mjs +238 -0
  753. package/package.json +58 -0
  754. package/src/alphaTab.monaco.ts +3 -0
  755. package/src/alphatex.ts +18 -0
  756. package/src/lsp.ts +296 -0
  757. package/src/lspMonacoMappings.ts +456 -0
  758. package/src/textmate.ts +90 -0
  759. package/src/types.ts +16 -0
  760. package/src/worker.ts +4 -0
  761. package/test/placeholder.test.ts +3 -0
  762. package/tsconfig.json +3 -0
  763. package/vite.config.ts +17 -0
@@ -0,0 +1,90 @@
1
+ import type { IEventEmitter, IEventEmitterOfT } from "./../EventEmitter";
2
+ /**
3
+ * Represents a output device on which the synth can send the audio to.
4
+ * @public
5
+ */
6
+ export interface ISynthOutputDevice {
7
+ /**
8
+ * The ID to uniquely identify the device.
9
+ */
10
+ readonly deviceId: string;
11
+ /**
12
+ * A string describing the device.
13
+ */
14
+ readonly label: string;
15
+ /**
16
+ * Gets a value indicating whether the device is the default output device.
17
+ */
18
+ readonly isDefault: boolean;
19
+ }
20
+ /**
21
+ * This is the base interface for output devices which can
22
+ * request and playback audio samples.
23
+ * @public
24
+ */
25
+ export interface ISynthOutput {
26
+ /**
27
+ * Gets the sample rate required by the output.
28
+ */
29
+ readonly sampleRate: number;
30
+ /**
31
+ * Called when the output should be opened.
32
+ */
33
+ open(bufferTimeInMilliseconds: number): void;
34
+ /**
35
+ * Called when the output should start the playback.
36
+ */
37
+ play(): void;
38
+ /**
39
+ * Requests the output to destroy itself.
40
+ */
41
+ destroy(): void;
42
+ /**
43
+ * Called when the output should stop the playback.
44
+ */
45
+ pause(): void;
46
+ /**
47
+ * Called when samples have been synthesized and should be added to the playback buffer.
48
+ * @param samples
49
+ */
50
+ addSamples(samples: Float32Array): void;
51
+ /**
52
+ * Called when the samples in the output buffer should be reset. This is neeed for instance when seeking to another position.
53
+ */
54
+ resetSamples(): void;
55
+ /**
56
+ * Activates the output component.
57
+ */
58
+ activate(): void;
59
+ /**
60
+ * Fired when the output has been successfully opened and is ready to play samples.
61
+ */
62
+ readonly ready: IEventEmitter;
63
+ /**
64
+ * Fired when a certain number of samples have been played.
65
+ */
66
+ readonly samplesPlayed: IEventEmitterOfT<number>;
67
+ /**
68
+ * Fired when the output needs more samples to be played.
69
+ */
70
+ readonly sampleRequest: IEventEmitter;
71
+ /**
72
+ * Loads and lists the available output devices. Will request permissions if needed.
73
+ * @async
74
+ */
75
+ enumerateOutputDevices(): Promise<ISynthOutputDevice[]>;
76
+ /**
77
+ * Changes the output device which should be used for playing the audio.
78
+ * @async
79
+ * @param device The output device to use, or null to switch to the default device.
80
+ */
81
+ setOutputDevice(device: ISynthOutputDevice | null): Promise<void>;
82
+ /**
83
+ * The currently configured output device if changed via {@link setOutputDevice}.
84
+ * @async
85
+ * @returns The custom configured output device which was set via {@link setOutputDevice} or `null`
86
+ * if the default outputDevice is used.
87
+ * The output device might change dynamically if devices are connected/disconnected (e.g. bluetooth headset).
88
+ */
89
+ getOutputDevice(): Promise<ISynthOutputDevice | null>;
90
+ }
@@ -0,0 +1,16 @@
1
+ import type { MidiEvent } from "./../midi/MidiEvent";
2
+ /**
3
+ * Represents the info when the synthesizer played certain midi events.
4
+ * @public
5
+ */
6
+ export declare class MidiEventsPlayedEventArgs {
7
+ /**
8
+ * Gets the events which were played.
9
+ */
10
+ readonly events: MidiEvent[];
11
+ /**
12
+ * Initializes a new instance of the {@link MidiEventsPlayedEventArgs} class.
13
+ * @param events The events which were played.
14
+ */
15
+ constructor(events: MidiEvent[]);
16
+ }
@@ -0,0 +1,98 @@
1
+ import type { MidiFile } from "./../midi/MidiFile";
2
+ import type { PlaybackRange } from "./PlaybackRange";
3
+ import { SynthEvent } from "./synthesis/SynthEvent";
4
+ import type { IAudioSampleSynthesizer } from "./IAudioSampleSynthesizer";
5
+ import { BackingTrackSyncPoint } from "./IAlphaSynth";
6
+ /**
7
+ * @internal
8
+ */
9
+ export declare class MidiFileSequencerTempoChange {
10
+ bpm: number;
11
+ ticks: number;
12
+ time: number;
13
+ constructor(bpm: number, ticks: number, time: number);
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ declare class MidiSequencerState {
19
+ tempoChanges: MidiFileSequencerTempoChange[];
20
+ tempoChangeIndex: number;
21
+ syncPoints: BackingTrackSyncPoint[];
22
+ firstProgramEventPerChannel: Map<number, SynthEvent>;
23
+ firstTimeSignatureNumerator: number;
24
+ firstTimeSignatureDenominator: number;
25
+ synthData: SynthEvent[];
26
+ division: number;
27
+ eventIndex: number;
28
+ currentTime: number;
29
+ syncPointIndex: number;
30
+ playbackRange: PlaybackRange | null;
31
+ playbackRangeStartTime: number;
32
+ playbackRangeEndTime: number;
33
+ endTick: number;
34
+ endTime: number;
35
+ currentTempo: number;
36
+ syncPointTempo: number;
37
+ }
38
+ /**
39
+ * This sequencer dispatches midi events to the synthesizer based on the current
40
+ * synthesize position. The sequencer does not consider the playback speed.
41
+ * @internal
42
+ */
43
+ export declare class MidiFileSequencer {
44
+ private _synthesizer;
45
+ private _currentState;
46
+ private _mainState;
47
+ private _oneTimeState;
48
+ private _countInState;
49
+ get isPlayingMain(): boolean;
50
+ get isPlayingOneTimeMidi(): boolean;
51
+ get isPlayingCountIn(): boolean;
52
+ constructor(synthesizer: IAudioSampleSynthesizer);
53
+ get mainPlaybackRange(): PlaybackRange | null;
54
+ set mainPlaybackRange(value: PlaybackRange | null);
55
+ isLooping: boolean;
56
+ get currentTime(): number;
57
+ /**
58
+ * Gets the duration of the song in ticks.
59
+ */
60
+ get currentEndTick(): number;
61
+ get currentEndTime(): number;
62
+ get currentTempo(): number;
63
+ get modifiedTempo(): number;
64
+ get syncPointTempo(): number;
65
+ get currentSyncPoints(): BackingTrackSyncPoint[];
66
+ /**
67
+ * Gets or sets the playback speed.
68
+ */
69
+ playbackSpeed: number;
70
+ mainSeek(timePosition: number): void;
71
+ private _mainSilentProcess;
72
+ loadOneTimeMidi(midiFile: MidiFile): void;
73
+ instrumentPrograms: Set<number>;
74
+ percussionKeys: Set<number>;
75
+ loadMidi(midiFile: MidiFile): void;
76
+ createStateFromFile(midiFile: MidiFile): MidiSequencerState;
77
+ fillMidiEventQueue(): boolean;
78
+ fillMidiEventQueueToEndTime(endTime: number): boolean;
79
+ private _fillMidiEventQueueLimited;
80
+ mainTickPositionToTimePosition(tickPosition: number): number;
81
+ mainUpdateSyncPoints(syncPoints: BackingTrackSyncPoint[]): void;
82
+ currentTimePositionToTickPosition(timePosition: number): number;
83
+ currentUpdateCurrentTempo(timePosition: number): void;
84
+ private _updateCurrentTempo;
85
+ currentUpdateSyncPoints(timePosition: number): void;
86
+ private _updateSyncPoints;
87
+ mainTimePositionFromBackingTrack(timePosition: number, backingTrackLength: number): number;
88
+ mainTimePositionToBackingTrack(timePosition: number, backingTrackLength: number): number;
89
+ private _tickPositionToTimePositionWithSpeed;
90
+ private get _internalEndTime();
91
+ get isFinished(): boolean;
92
+ stop(): void;
93
+ resetOneTimeMidi(): void;
94
+ resetCountIn(): void;
95
+ startCountIn(): void;
96
+ generateCountInMidi(): void;
97
+ }
98
+ export {};
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Represents a range of the song that should be played.
3
+ * @public
4
+ */
5
+ export declare class PlaybackRange {
6
+ /**
7
+ * The position in midi ticks from where the song should start.
8
+ */
9
+ startTick: number;
10
+ /**
11
+ * The position in midi ticks to where the song should be played.
12
+ */
13
+ endTick: number;
14
+ }
@@ -0,0 +1,16 @@
1
+ import type { PlaybackRange } from "./PlaybackRange";
2
+ /**
3
+ * Represents the info when the playback range changed.
4
+ * @public
5
+ */
6
+ export declare class PlaybackRangeChangedEventArgs {
7
+ /**
8
+ * The new playback range.
9
+ */
10
+ readonly playbackRange: PlaybackRange | null;
11
+ /**
12
+ * Initializes a new instance of the {@link PlaybackRangeChangedEventArgs} class.
13
+ * @param range The range.
14
+ */
15
+ constructor(playbackRange: PlaybackRange | null);
16
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Lists the different states of the player
3
+ * @public
4
+ */
5
+ export declare enum PlayerState {
6
+ /**
7
+ * Player is paused
8
+ */
9
+ Paused = 0,
10
+ /**
11
+ * Player is playing
12
+ */
13
+ Playing = 1
14
+ }
@@ -0,0 +1,21 @@
1
+ import type { PlayerState } from "./PlayerState";
2
+ /**
3
+ * Represents the info when the player state changes.
4
+ * @public
5
+ */
6
+ export declare class PlayerStateChangedEventArgs {
7
+ /**
8
+ * The new state of the player.
9
+ */
10
+ readonly state: PlayerState;
11
+ /**
12
+ * Gets a value indicating whether the playback was stopped or only paused.
13
+ * @returns true if the playback was stopped, false if the playback was started or paused
14
+ */
15
+ readonly stopped: boolean;
16
+ /**
17
+ * Initializes a new instance of the {@link PlayerStateChangedEventArgs} class.
18
+ * @param state The state.
19
+ */
20
+ constructor(state: PlayerState, stopped: boolean);
21
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Represents the info when the time in the synthesizer changes.
3
+ * @public
4
+ */
5
+ export declare class PositionChangedEventArgs {
6
+ /**
7
+ * The current time position within the song in milliseconds.
8
+ */
9
+ readonly currentTime: number;
10
+ /**
11
+ * The total length of the song in milliseconds.
12
+ */
13
+ readonly endTime: number;
14
+ /**
15
+ * The current time position within the song in midi ticks.
16
+ */
17
+ readonly currentTick: number;
18
+ /**
19
+ * The total length of the song in midi ticks.
20
+ */
21
+ readonly endTick: number;
22
+ /**
23
+ * Whether the position changed because of time seeking.
24
+ * @since 1.2.0
25
+ */
26
+ isSeek: boolean;
27
+ /**
28
+ * The original tempo in which alphaTab internally would be playing right now.
29
+ */
30
+ originalTempo: number;
31
+ /**
32
+ * The modified tempo in which the actual playback is happening (e.g. due to playback speed or external audio synchronization)
33
+ */
34
+ modifiedTempo: number;
35
+ /**
36
+ * Initializes a new instance of the {@link PositionChangedEventArgs} class.
37
+ * @param currentTime The current time.
38
+ * @param endTime The end time.
39
+ * @param currentTick The current tick.
40
+ * @param endTick The end tick.
41
+ * @param isSeek Whether the time was seeked.
42
+ */
43
+ constructor(currentTime: number, endTime: number, currentTick: number, endTick: number, isSeek: boolean, originalTempo: number, modifiedTempo: number);
44
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare class SynthConstants {
5
+ static readonly DefaultChannelCount: number;
6
+ static readonly MetronomeChannel: number;
7
+ static readonly MetronomeKey: number;
8
+ static readonly AudioChannels: number;
9
+ static readonly MinVolume: number;
10
+ static readonly MinProgram: number;
11
+ static readonly MaxProgram: number;
12
+ static readonly MinPlaybackSpeed: number;
13
+ static readonly MaxPlaybackSpeed: number;
14
+ static readonly PercussionChannel: number;
15
+ static readonly PercussionBank: number;
16
+ /**
17
+ * The Midi Pitch bend message is a 15-bit value
18
+ */
19
+ static readonly MaxPitchWheel: number;
20
+ /**
21
+ * The Midi 2.0 Pitch bend message is a 32-bit value
22
+ */
23
+ static readonly MaxPitchWheel20: number;
24
+ /**
25
+ * The pitch wheel value for no pitch change at all.
26
+ */
27
+ static readonly DefaultPitchWheel: number;
28
+ static readonly MicroBufferCount: number;
29
+ static readonly MicroBufferSize: number;
30
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare class SynthHelper {
5
+ static timecents2Secs(timecents: number): number;
6
+ static decibelsToGain(db: number): number;
7
+ static gainToDecibels(gain: number): number;
8
+ static cents2Hertz(cents: number): number;
9
+ }
@@ -0,0 +1,19 @@
1
+ export { AlphaSynthBase, AlphaSynth, type IAlphaSynthAudioExporter } from "./AlphaSynth";
2
+ export { CircularSampleBuffer } from "./ds/CircularSampleBuffer";
3
+ export { PlaybackRange } from "./PlaybackRange";
4
+ export type { ISynthOutput, ISynthOutputDevice } from "./ISynthOutput";
5
+ export type { IBackingTrackSynthOutput } from "./BackingTrackPlayer";
6
+ export { type IAlphaSynth, BackingTrackSyncPoint } from "./IAlphaSynth";
7
+ export { PlayerState } from "./PlayerState";
8
+ export { PlayerStateChangedEventArgs } from "./PlayerStateChangedEventArgs";
9
+ export { PlaybackRangeChangedEventArgs } from "./PlaybackRangeChangedEventArgs";
10
+ export { PositionChangedEventArgs } from "./PositionChangedEventArgs";
11
+ export { MidiEventsPlayedEventArgs } from "./MidiEventsPlayedEventArgs";
12
+ export { ActiveBeatsChangedEventArgs } from "./ActiveBeatsChangedEventArgs";
13
+ export { AlphaSynthWebWorkerApi } from "./../platform/javascript/AlphaSynthWebWorkerApi";
14
+ export { AlphaSynthWebAudioOutputBase } from "./../platform/javascript/AlphaSynthWebAudioOutputBase";
15
+ export { AlphaSynthScriptProcessorOutput } from "./../platform/javascript/AlphaSynthScriptProcessorOutput";
16
+ export { AlphaSynthAudioWorkletOutput } from "./../platform/javascript/AlphaSynthAudioWorkletOutput";
17
+ export type { IAudioElementBackingTrackSynthOutput } from "./../platform/javascript/AudioElementBackingTrackSynthOutput";
18
+ export type { IExternalMediaHandler, IExternalMediaSynthOutput } from "./ExternalMediaPlayer";
19
+ export { type IAudioExporter, type IAudioExporterWorker, AudioExportChunk, AudioExportOptions } from "./IAudioExporter";
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Represents a fixed size circular sample buffer that can be written to and read from.
3
+ * @internal
4
+ */
5
+ export declare class CircularSampleBuffer {
6
+ private _buffer;
7
+ private _writePosition;
8
+ private _readPosition;
9
+ /**
10
+ * Gets the number of samples written to the buffer.
11
+ */
12
+ count: number;
13
+ /**
14
+ * Initializes a new instance of the {@link CircularSampleBuffer} class.
15
+ * @param size The size.
16
+ */
17
+ constructor(size: number);
18
+ /**
19
+ * Clears all samples written to this buffer.
20
+ */
21
+ clear(): void;
22
+ /**
23
+ * Writes the given samples to this buffer.
24
+ * @param data The sample array to read from.
25
+ * @param offset
26
+ * @param count
27
+ * @returns
28
+ */
29
+ write(data: Float32Array, offset: number, count: number): number;
30
+ /**
31
+ * Reads the requested amount of samples from the buffer.
32
+ * @param data The sample array to store the read elements.
33
+ * @param offset The offset within the destination buffer to put the items at.
34
+ * @param count The number of items to read from this buffer.
35
+ * @returns The number of items actually read from the buffer.
36
+ */
37
+ read(data: Float32Array, offset: number, count: number): number;
38
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare class Queue<T extends object> {
5
+ private _head?;
6
+ private _tail?;
7
+ get isEmpty(): boolean;
8
+ clear(): void;
9
+ enqueue(item: T): void;
10
+ enqueueFront(item: T): void;
11
+ peek(): T | undefined;
12
+ dequeue(): T | undefined;
13
+ }
@@ -0,0 +1,133 @@
1
+ import type { IReadable } from "./../../io/IReadable";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class Hydra {
6
+ phdrs: HydraPhdr[];
7
+ pbags: HydraPbag[];
8
+ pmods: HydraPmod[];
9
+ pgens: HydraPgen[];
10
+ insts: HydraInst[];
11
+ ibags: HydraIbag[];
12
+ imods: HydraImod[];
13
+ igens: HydraIgen[];
14
+ sHdrs: HydraShdr[];
15
+ sampleData: Uint8Array;
16
+ private _sampleCache;
17
+ decodeSamples(startByte: number, endByte: number, decompressVorbis: boolean): Float32Array;
18
+ load(readable: IReadable): void;
19
+ }
20
+ /**
21
+ * @internal
22
+ */
23
+ export declare class HydraIbag {
24
+ static readonly SizeInFile: number;
25
+ instGenNdx: number;
26
+ instModNdx: number;
27
+ constructor(reader: IReadable);
28
+ }
29
+ /**
30
+ * @internal
31
+ */
32
+ export declare class HydraImod {
33
+ static readonly SizeInFile: number;
34
+ modSrcOper: number;
35
+ modDestOper: number;
36
+ modAmount: number;
37
+ modAmtSrcOper: number;
38
+ modTransOper: number;
39
+ constructor(reader: IReadable);
40
+ }
41
+ /**
42
+ * @internal
43
+ */
44
+ export declare class HydraIgen {
45
+ static readonly SizeInFile: number;
46
+ genOper: number;
47
+ genAmount: HydraGenAmount;
48
+ constructor(reader: IReadable);
49
+ }
50
+ /**
51
+ * @internal
52
+ */
53
+ export declare class HydraInst {
54
+ static readonly SizeInFile: number;
55
+ instName: string;
56
+ instBagNdx: number;
57
+ constructor(reader: IReadable);
58
+ }
59
+ /**
60
+ * @internal
61
+ */
62
+ export declare class HydraPbag {
63
+ static readonly SizeInFile: number;
64
+ genNdx: number;
65
+ modNdx: number;
66
+ constructor(reader: IReadable);
67
+ }
68
+ /**
69
+ * @internal
70
+ */
71
+ export declare class HydraPgen {
72
+ static readonly SizeInFile: number;
73
+ static readonly GenInstrument: number;
74
+ static readonly GenKeyRange: number;
75
+ static readonly GenVelRange: number;
76
+ static readonly GenSampleId: number;
77
+ genOper: number;
78
+ genAmount: HydraGenAmount;
79
+ constructor(reader: IReadable);
80
+ }
81
+ /**
82
+ * @internal
83
+ */
84
+ export declare class HydraPhdr {
85
+ static readonly SizeInFile: number;
86
+ presetName: string;
87
+ preset: number;
88
+ bank: number;
89
+ presetBagNdx: number;
90
+ library: number;
91
+ genre: number;
92
+ morphology: number;
93
+ constructor(reader: IReadable);
94
+ }
95
+ /**
96
+ * @internal
97
+ */
98
+ export declare class HydraPmod {
99
+ static readonly SizeInFile: number;
100
+ modSrcOper: number;
101
+ modDestOper: number;
102
+ modAmount: number;
103
+ modAmtSrcOper: number;
104
+ modTransOper: number;
105
+ constructor(reader: IReadable);
106
+ }
107
+ /**
108
+ * @internal
109
+ */
110
+ export declare class HydraShdr {
111
+ static readonly SizeInFile: number;
112
+ sampleName: string;
113
+ start: number;
114
+ end: number;
115
+ startLoop: number;
116
+ endLoop: number;
117
+ sampleRate: number;
118
+ originalPitch: number;
119
+ pitchCorrection: number;
120
+ sampleLink: number;
121
+ sampleType: number;
122
+ constructor(reader: IReadable);
123
+ }
124
+ /**
125
+ * @internal
126
+ */
127
+ export declare class HydraGenAmount {
128
+ wordAmount: number;
129
+ get shortAmount(): number;
130
+ get lowByteAmount(): number;
131
+ get highByteAmount(): number;
132
+ constructor(reader: IReadable);
133
+ }
@@ -0,0 +1,10 @@
1
+ import type { IReadable } from "./../../io/IReadable";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class RiffChunk {
6
+ static readonly HeaderSize: number;
7
+ id: string;
8
+ size: number;
9
+ static load(parent: RiffChunk | null, chunk: RiffChunk, stream: IReadable): boolean;
10
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare class Channel {
5
+ presetIndex: number;
6
+ bank: number;
7
+ pitchWheel: number;
8
+ perNotePitchWheel: Map<number, number>;
9
+ midiPan: number;
10
+ midiVolume: number;
11
+ midiExpression: number;
12
+ midiRpn: number;
13
+ midiData: number;
14
+ panOffset: number;
15
+ gainDb: number;
16
+ pitchRange: number;
17
+ tuning: number;
18
+ mixVolume: number;
19
+ mute: boolean;
20
+ solo: boolean;
21
+ }
@@ -0,0 +1,11 @@
1
+ import type { Channel } from "./Channel";
2
+ import type { TinySoundFont } from "./TinySoundFont";
3
+ import type { Voice } from "./Voice";
4
+ /**
5
+ * @internal
6
+ */
7
+ export declare class Channels {
8
+ activeChannel: number;
9
+ channelList: Channel[];
10
+ setupVoice(tinySoundFont: TinySoundFont, voice: Voice): void;
11
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare class Envelope {
5
+ delay: number;
6
+ attack: number;
7
+ hold: number;
8
+ decay: number;
9
+ sustain: number;
10
+ release: number;
11
+ keynumToHold: number;
12
+ keynumToDecay: number;
13
+ constructor(other?: Envelope);
14
+ clear(): void;
15
+ envToSecs(sustainIsGain: boolean): void;
16
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare enum LoopMode {
5
+ None = 0,
6
+ Continuous = 1,
7
+ Sustain = 2
8
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Supported output modes by the render methods
3
+ * @internal
4
+ */
5
+ export declare enum OutputMode {
6
+ /**
7
+ * Two channels with single left/right samples one after another
8
+ */
9
+ StereoInterleaved = 0,
10
+ /**
11
+ * Two channels with all samples for the left channel first then right
12
+ */
13
+ StereoUnweaved = 1,
14
+ /**
15
+ * A single channel (stereo instruments are mixed into center)
16
+ */
17
+ Mono = 2
18
+ }
@@ -0,0 +1,10 @@
1
+ import type { Region } from "./Region";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class Preset {
6
+ name: string;
7
+ presetNumber: number;
8
+ bank: number;
9
+ regions: Region[] | null;
10
+ }