@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.
- package/LICENSE +378 -0
- package/LICENSE.header +10 -0
- package/README.md +12 -0
- package/biome.jsonc +31 -0
- package/dist/abap.mjs +1419 -0
- package/dist/alphaTab.monaco.d.ts +40 -0
- package/dist/alphaTab.monaco.min.mjs +13 -0
- package/dist/alphaTab.monaco.mjs +14 -0
- package/dist/alphaTab.monaco2.mjs +205141 -0
- package/dist/alphatab-monaco.css +7100 -0
- package/dist/apex.mjs +351 -0
- package/dist/azcli.mjs +89 -0
- package/dist/bat.mjs +121 -0
- package/dist/bicep.mjs +130 -0
- package/dist/cameligo.mjs +195 -0
- package/dist/clojure.mjs +782 -0
- package/dist/coffee.mjs +253 -0
- package/dist/cpp.mjs +410 -0
- package/dist/csharp.mjs +347 -0
- package/dist/csp.mjs +74 -0
- package/dist/css.mjs +206 -0
- package/dist/cssMode.mjs +2106 -0
- package/dist/cypher.mjs +284 -0
- package/dist/dart.mjs +302 -0
- package/dist/dockerfile.mjs +151 -0
- package/dist/ecl.mjs +477 -0
- package/dist/elixir.mjs +590 -0
- package/dist/flow9.mjs +163 -0
- package/dist/freemarker2.mjs +1029 -0
- package/dist/fsharp.mjs +238 -0
- package/dist/go.mjs +239 -0
- package/dist/graphql.mjs +172 -0
- package/dist/handlebars.mjs +452 -0
- package/dist/hcl.mjs +204 -0
- package/dist/html.mjs +341 -0
- package/dist/htmlMode.mjs +2121 -0
- package/dist/ini.mjs +92 -0
- package/dist/java.mjs +253 -0
- package/dist/javascript.mjs +90 -0
- package/dist/jsonMode.mjs +2830 -0
- package/dist/julia.mjs +532 -0
- package/dist/kotlin.mjs +274 -0
- package/dist/less.mjs +182 -0
- package/dist/lexon.mjs +178 -0
- package/dist/liquid.mjs +273 -0
- package/dist/lua.mjs +183 -0
- package/dist/m3.mjs +231 -0
- package/dist/markdown.mjs +250 -0
- package/dist/mdx.mjs +197 -0
- package/dist/mips.mjs +219 -0
- package/dist/msdax.mjs +396 -0
- package/dist/mysql.mjs +899 -0
- package/dist/objective-c.mjs +204 -0
- package/dist/pascal.mjs +272 -0
- package/dist/pascaligo.mjs +185 -0
- package/dist/perl.mjs +647 -0
- package/dist/pgsql.mjs +872 -0
- package/dist/php.mjs +521 -0
- package/dist/pla.mjs +158 -0
- package/dist/postiats.mjs +928 -0
- package/dist/powerquery.mjs +911 -0
- package/dist/powershell.mjs +260 -0
- package/dist/protobuf.mjs +441 -0
- package/dist/pug.mjs +423 -0
- package/dist/python.mjs +333 -0
- package/dist/qsharp.mjs +322 -0
- package/dist/r.mjs +264 -0
- package/dist/razor.mjs +583 -0
- package/dist/redis.mjs +323 -0
- package/dist/redshift.mjs +830 -0
- package/dist/restructuredtext.mjs +195 -0
- package/dist/ruby.mjs +532 -0
- package/dist/rust.mjs +364 -0
- package/dist/sb.mjs +136 -0
- package/dist/scala.mjs +391 -0
- package/dist/scheme.mjs +129 -0
- package/dist/scss.mjs +281 -0
- package/dist/shell.mjs +242 -0
- package/dist/solidity.mjs +1388 -0
- package/dist/sophia.mjs +220 -0
- package/dist/sparql.mjs +222 -0
- package/dist/sql.mjs +874 -0
- package/dist/st.mjs +437 -0
- package/dist/swift.mjs +333 -0
- package/dist/systemverilog.mjs +597 -0
- package/dist/tcl.mjs +253 -0
- package/dist/tsMode.mjs +1384 -0
- package/dist/twig.mjs +413 -0
- package/dist/types/alphatab/src/AlphaTabApiBase.d.ts +2550 -0
- package/dist/types/alphatab/src/AlphaTabError.d.ts +15 -0
- package/dist/types/alphatab/src/CoreSettings.d.ts +212 -0
- package/dist/types/alphatab/src/DisplaySettings.d.ts +340 -0
- package/dist/types/alphatab/src/EngravingSettings.d.ts +430 -0
- package/dist/types/alphatab/src/Environment.d.ts +230 -0
- package/dist/types/alphatab/src/EventEmitter.d.ts +62 -0
- package/dist/types/alphatab/src/ExporterSettings.d.ts +23 -0
- package/dist/types/alphatab/src/FileLoadError.d.ts +9 -0
- package/dist/types/alphatab/src/FormatError.d.ts +8 -0
- package/dist/types/alphatab/src/ImporterSettings.d.ts +64 -0
- package/dist/types/alphatab/src/LayoutMode.d.ts +14 -0
- package/dist/types/alphatab/src/LogLevel.d.ts +27 -0
- package/dist/types/alphatab/src/Logger.d.ts +33 -0
- package/dist/types/alphatab/src/NotationSettings.d.ts +509 -0
- package/dist/types/alphatab/src/PlayerSettings.d.ts +411 -0
- package/dist/types/alphatab/src/ProgressEventArgs.d.ts +20 -0
- package/dist/types/alphatab/src/RenderingResources.d.ts +175 -0
- package/dist/types/alphatab/src/ResizeEventArgs.d.ts +19 -0
- package/dist/types/alphatab/src/Settings.d.ts +59 -0
- package/dist/types/alphatab/src/SmuflMetadata.d.ts +84 -0
- package/dist/types/alphatab/src/StaveProfile.d.ts +27 -0
- package/dist/types/alphatab/src/alphaTab.core.d.ts +36 -0
- package/dist/types/alphatab/src/alphaTab.main.d.ts +1 -0
- package/dist/types/alphatab/src/alphaTab.polyfills.d.ts +1 -0
- package/dist/types/alphatab/src/exporter/AlphaTexExporter.d.ts +24 -0
- package/dist/types/alphatab/src/exporter/Gp7Exporter.d.ts +10 -0
- package/dist/types/alphatab/src/exporter/GpifWriter.d.ts +61 -0
- package/dist/types/alphatab/src/exporter/ScoreExporter.d.ts +29 -0
- package/dist/types/alphatab/src/exporter/_barrel.d.ts +3 -0
- package/dist/types/alphatab/src/generated/CoreSettingsJson.d.ts +172 -0
- package/dist/types/alphatab/src/generated/CoreSettingsSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/DisplaySettingsJson.d.ts +328 -0
- package/dist/types/alphatab/src/generated/DisplaySettingsSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/EngravingSettingsCloner.d.ts +7 -0
- package/dist/types/alphatab/src/generated/EngravingSettingsJson.d.ts +388 -0
- package/dist/types/alphatab/src/generated/EngravingSettingsSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/EngravingStemInfoJson.d.ts +20 -0
- package/dist/types/alphatab/src/generated/EngravingStemInfoSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/ExporterSettingsJson.d.ts +24 -0
- package/dist/types/alphatab/src/generated/ExporterSettingsSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/ImporterSettingsJson.d.ts +65 -0
- package/dist/types/alphatab/src/generated/ImporterSettingsSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/NotationSettingsJson.d.ts +210 -0
- package/dist/types/alphatab/src/generated/NotationSettingsSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/PlayerSettingsJson.d.ts +276 -0
- package/dist/types/alphatab/src/generated/PlayerSettingsSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/RenderingResourcesJson.d.ts +168 -0
- package/dist/types/alphatab/src/generated/RenderingResourcesSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/SettingsJson.d.ts +48 -0
- package/dist/types/alphatab/src/generated/SettingsSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/SlidePlaybackSettingsJson.d.ts +31 -0
- package/dist/types/alphatab/src/generated/SlidePlaybackSettingsSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/VersionInfo.d.ts +9 -0
- package/dist/types/alphatab/src/generated/VibratoPlaybackSettingsJson.d.ts +49 -0
- package/dist/types/alphatab/src/generated/VibratoPlaybackSettingsSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/_jsonbarrel.d.ts +14 -0
- package/dist/types/alphatab/src/generated/model/AutomationCloner.d.ts +7 -0
- package/dist/types/alphatab/src/generated/model/AutomationSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/BackingTrackSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/BarSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/BarStyleSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/BeatCloner.d.ts +7 -0
- package/dist/types/alphatab/src/generated/model/BeatSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/BeatStyleSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/BendPointCloner.d.ts +7 -0
- package/dist/types/alphatab/src/generated/model/BendPointSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/ChordSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/FermataSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/HeaderFooterStyleSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/InstrumentArticulationSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/MasterBarSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/NoteCloner.d.ts +7 -0
- package/dist/types/alphatab/src/generated/model/NoteSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/NoteStyleSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/PlaybackInformationSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/RenderStylesheetSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/ScoreSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/ScoreStyleSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/SectionSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/StaffSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/SustainPedalMarkerSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/SyncPointDataCloner.d.ts +7 -0
- package/dist/types/alphatab/src/generated/model/SyncPointDataSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/TrackSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/TrackStyleSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/TuningSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/VoiceSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/generated/model/VoiceStyleSerializer.d.ts +9 -0
- package/dist/types/alphatab/src/importer/AlphaTexImporter.d.ts +69 -0
- package/dist/types/alphatab/src/importer/BinaryStylesheet.d.ts +70 -0
- package/dist/types/alphatab/src/importer/CapellaImporter.d.ts +10 -0
- package/dist/types/alphatab/src/importer/CapellaParser.d.ts +75 -0
- package/dist/types/alphatab/src/importer/Gp3To5Importer.d.ts +95 -0
- package/dist/types/alphatab/src/importer/Gp7To8Importer.d.ts +10 -0
- package/dist/types/alphatab/src/importer/GpifParser.d.ts +131 -0
- package/dist/types/alphatab/src/importer/GpxFileSystem.d.ts +82 -0
- package/dist/types/alphatab/src/importer/GpxImporter.d.ts +10 -0
- package/dist/types/alphatab/src/importer/LayoutConfiguration.d.ts +38 -0
- package/dist/types/alphatab/src/importer/MusicXmlImporter.d.ts +128 -0
- package/dist/types/alphatab/src/importer/PartConfiguration.d.ts +27 -0
- package/dist/types/alphatab/src/importer/ScoreImporter.d.ts +22 -0
- package/dist/types/alphatab/src/importer/ScoreLoader.d.ts +32 -0
- package/dist/types/alphatab/src/importer/UnsupportedFormatError.d.ts +9 -0
- package/dist/types/alphatab/src/importer/_barrel.d.ts +5 -0
- package/dist/types/alphatab/src/importer/alphaTex/ATNF.d.ts +19 -0
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1EnumMappings.d.ts +75 -0
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1LanguageDefinitions.d.ts +39 -0
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1LanguageHandler.d.ts +72 -0
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1MetaDataReader.d.ts +42 -0
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTexAst.d.ts +504 -0
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTexLexer.d.ts +43 -0
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTexParser.d.ts +60 -0
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTexShared.d.ts +290 -0
- package/dist/types/alphatab/src/importer/alphaTex/IAlphaTexLanguageImportHandler.d.ts +50 -0
- package/dist/types/alphatab/src/importer/alphaTex/IAlphaTexMetaDataReader.d.ts +12 -0
- package/dist/types/alphatab/src/importer/alphaTex/_barrel.d.ts +4 -0
- package/dist/types/alphatab/src/io/BitReader.d.ts +18 -0
- package/dist/types/alphatab/src/io/ByteBuffer.d.ts +26 -0
- package/dist/types/alphatab/src/io/IOHelper.d.ts +38 -0
- package/dist/types/alphatab/src/io/IReadable.d.ts +48 -0
- package/dist/types/alphatab/src/io/IWriteable.d.ts +22 -0
- package/dist/types/alphatab/src/io/JsonHelper.d.ts +26 -0
- package/dist/types/alphatab/src/io/TypeConversions.d.ts +20 -0
- package/dist/types/alphatab/src/io/_barrel.d.ts +4 -0
- package/dist/types/alphatab/src/midi/AlphaSynthMidiFileHandler.d.ts +28 -0
- package/dist/types/alphatab/src/midi/BeatTickLookup.d.ts +63 -0
- package/dist/types/alphatab/src/midi/ControllerType.d.ts +84 -0
- package/dist/types/alphatab/src/midi/DeprecatedEvents.d.ts +103 -0
- package/dist/types/alphatab/src/midi/GeneralMidi.d.ts +13 -0
- package/dist/types/alphatab/src/midi/IMidiFileHandler.d.ts +79 -0
- package/dist/types/alphatab/src/midi/MasterBarTickLookup.d.ts +85 -0
- package/dist/types/alphatab/src/midi/MidiEvent.d.ts +292 -0
- package/dist/types/alphatab/src/midi/MidiFile.d.ts +72 -0
- package/dist/types/alphatab/src/midi/MidiFileGenerator.d.ts +150 -0
- package/dist/types/alphatab/src/midi/MidiPlaybackController.d.ts +36 -0
- package/dist/types/alphatab/src/midi/MidiTickLookup.d.ts +167 -0
- package/dist/types/alphatab/src/midi/MidiUtils.d.ts +37 -0
- package/dist/types/alphatab/src/midi/_barrel.d.ts +10 -0
- package/dist/types/alphatab/src/model/AccentuationType.d.ts +22 -0
- package/dist/types/alphatab/src/model/AccidentalType.d.ts +42 -0
- package/dist/types/alphatab/src/model/Automation.d.ts +113 -0
- package/dist/types/alphatab/src/model/BackingTrack.d.ts +13 -0
- package/dist/types/alphatab/src/model/Bar.d.ts +329 -0
- package/dist/types/alphatab/src/model/BarreShape.d.ts +18 -0
- package/dist/types/alphatab/src/model/Beat.d.ts +559 -0
- package/dist/types/alphatab/src/model/BendPoint.d.ts +26 -0
- package/dist/types/alphatab/src/model/BendStyle.d.ts +18 -0
- package/dist/types/alphatab/src/model/BendType.d.ts +46 -0
- package/dist/types/alphatab/src/model/BrushType.d.ts +26 -0
- package/dist/types/alphatab/src/model/Chord.d.ts +48 -0
- package/dist/types/alphatab/src/model/Clef.d.ts +26 -0
- package/dist/types/alphatab/src/model/Color.d.ts +40 -0
- package/dist/types/alphatab/src/model/CrescendoType.d.ts +18 -0
- package/dist/types/alphatab/src/model/Direction.d.ts +25 -0
- package/dist/types/alphatab/src/model/Duration.d.ts +50 -0
- package/dist/types/alphatab/src/model/DynamicValue.d.ts +92 -0
- package/dist/types/alphatab/src/model/ElementStyle.d.ts +13 -0
- package/dist/types/alphatab/src/model/FadeType.d.ts +22 -0
- package/dist/types/alphatab/src/model/Fermata.d.ts +34 -0
- package/dist/types/alphatab/src/model/Fingers.d.ts +34 -0
- package/dist/types/alphatab/src/model/Font.d.ts +117 -0
- package/dist/types/alphatab/src/model/GolpeType.d.ts +18 -0
- package/dist/types/alphatab/src/model/GraceGroup.d.ts +26 -0
- package/dist/types/alphatab/src/model/GraceType.d.ts +22 -0
- package/dist/types/alphatab/src/model/HarmonicType.d.ts +34 -0
- package/dist/types/alphatab/src/model/InstrumentArticulation.d.ts +71 -0
- package/dist/types/alphatab/src/model/JsonConverter.d.ts +95 -0
- package/dist/types/alphatab/src/model/KeySignature.d.ts +66 -0
- package/dist/types/alphatab/src/model/KeySignatureType.d.ts +14 -0
- package/dist/types/alphatab/src/model/Lyrics.d.ts +30 -0
- package/dist/types/alphatab/src/model/MasterBar.d.ts +182 -0
- package/dist/types/alphatab/src/model/ModelUtils.d.ts +134 -0
- package/dist/types/alphatab/src/model/MusicFontSymbol.d.ts +289 -0
- package/dist/types/alphatab/src/model/Note.d.ts +516 -0
- package/dist/types/alphatab/src/model/NoteAccidentalMode.d.ts +34 -0
- package/dist/types/alphatab/src/model/NoteOrnament.d.ts +11 -0
- package/dist/types/alphatab/src/model/Ottavia.d.ts +26 -0
- package/dist/types/alphatab/src/model/PercussionMapper.d.ts +15 -0
- package/dist/types/alphatab/src/model/PickStroke.d.ts +18 -0
- package/dist/types/alphatab/src/model/PlaybackInformation.d.ts +45 -0
- package/dist/types/alphatab/src/model/Rasgueado.d.ts +25 -0
- package/dist/types/alphatab/src/model/RenderStylesheet.d.ts +135 -0
- package/dist/types/alphatab/src/model/RepeatGroup.d.ts +33 -0
- package/dist/types/alphatab/src/model/Score.d.ts +224 -0
- package/dist/types/alphatab/src/model/Section.d.ts +17 -0
- package/dist/types/alphatab/src/model/SimileMark.d.ts +24 -0
- package/dist/types/alphatab/src/model/SlideInType.d.ts +18 -0
- package/dist/types/alphatab/src/model/SlideOutType.d.ts +34 -0
- package/dist/types/alphatab/src/model/Staff.d.ts +100 -0
- package/dist/types/alphatab/src/model/Track.d.ts +124 -0
- package/dist/types/alphatab/src/model/TripletFeel.d.ts +34 -0
- package/dist/types/alphatab/src/model/Tuning.d.ts +60 -0
- package/dist/types/alphatab/src/model/TupletGroup.d.ts +37 -0
- package/dist/types/alphatab/src/model/VibratoType.d.ts +18 -0
- package/dist/types/alphatab/src/model/Voice.d.ts +81 -0
- package/dist/types/alphatab/src/model/WahPedal.d.ts +9 -0
- package/dist/types/alphatab/src/model/WhammyType.d.ts +36 -0
- package/dist/types/alphatab/src/model/_barrel.d.ts +57 -0
- package/dist/types/alphatab/src/platform/Cursors.d.ts +31 -0
- package/dist/types/alphatab/src/platform/ICanvas.d.ts +102 -0
- package/dist/types/alphatab/src/platform/IContainer.d.ts +71 -0
- package/dist/types/alphatab/src/platform/IMouseEventArgs.d.ts +27 -0
- package/dist/types/alphatab/src/platform/IUiFacade.d.ts +175 -0
- package/dist/types/alphatab/src/platform/_barrel.d.ts +8 -0
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthAudioExporterWorkerApi.d.ts +21 -0
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthAudioWorkletOutput.d.ts +30 -0
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthScriptProcessorOutput.d.ts +21 -0
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebAudioOutputBase.d.ts +57 -0
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebWorker.d.ts +31 -0
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebWorkerApi.d.ts +98 -0
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthWorkerSynthOutput.d.ts +33 -0
- package/dist/types/alphatab/src/platform/javascript/AlphaTabApi.d.ts +111 -0
- package/dist/types/alphatab/src/platform/javascript/AlphaTabWebWorker.d.ts +16 -0
- package/dist/types/alphatab/src/platform/javascript/AlphaTabWorkerScoreRenderer.d.ts +34 -0
- package/dist/types/alphatab/src/platform/javascript/AudioElementBackingTrackSynthOutput.d.ts +49 -0
- package/dist/types/alphatab/src/platform/javascript/BrowserMouseEventArgs.d.ts +14 -0
- package/dist/types/alphatab/src/platform/javascript/BrowserUiFacade.d.ts +96 -0
- package/dist/types/alphatab/src/platform/javascript/Html5Canvas.d.ts +57 -0
- package/dist/types/alphatab/src/platform/javascript/HtmlElementContainer.d.ts +45 -0
- package/dist/types/alphatab/src/platform/javascript/IWorkerScope.d.ts +8 -0
- package/dist/types/alphatab/src/platform/javascript/IntersectionObserverPolyfill.d.ts +15 -0
- package/dist/types/alphatab/src/platform/javascript/JQueryAlphaTab.d.ts +68 -0
- package/dist/types/alphatab/src/platform/javascript/ResizeObserverPolyfill.d.ts +15 -0
- package/dist/types/alphatab/src/platform/javascript/ScalableHtmlElementContainer.d.ts +26 -0
- package/dist/types/alphatab/src/platform/javascript/WebPlatform.d.ts +10 -0
- package/dist/types/alphatab/src/platform/skia/SkiaCanvas.d.ts +86 -0
- package/dist/types/alphatab/src/platform/svg/CssFontSvgCanvas.d.ts +11 -0
- package/dist/types/alphatab/src/platform/svg/FontSizes.d.ts +32 -0
- package/dist/types/alphatab/src/platform/svg/SvgCanvas.d.ts +48 -0
- package/dist/types/alphatab/src/rendering/BarRendererBase.d.ts +177 -0
- package/dist/types/alphatab/src/rendering/BarRendererFactory.d.ts +21 -0
- package/dist/types/alphatab/src/rendering/BeatXPosition.d.ts +31 -0
- package/dist/types/alphatab/src/rendering/EffectBand.d.ts +31 -0
- package/dist/types/alphatab/src/rendering/EffectBandSizingInfo.d.ts +12 -0
- package/dist/types/alphatab/src/rendering/EffectBandSlot.d.ts +22 -0
- package/dist/types/alphatab/src/rendering/EffectBarGlyphSizing.d.ts +37 -0
- package/dist/types/alphatab/src/rendering/EffectBarRenderer.d.ts +29 -0
- package/dist/types/alphatab/src/rendering/EffectBarRendererFactory.d.ts +22 -0
- package/dist/types/alphatab/src/rendering/EffectBarRendererInfo.d.ts +62 -0
- package/dist/types/alphatab/src/rendering/IScoreRenderer.d.ts +151 -0
- package/dist/types/alphatab/src/rendering/LineBarRenderer.d.ts +64 -0
- package/dist/types/alphatab/src/rendering/MultiBarRestBeatContainerGlyph.d.ts +10 -0
- package/dist/types/alphatab/src/rendering/NumberedBarRenderer.d.ts +54 -0
- package/dist/types/alphatab/src/rendering/NumberedBarRendererFactory.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/NumberedBeatContainerGlyph.d.ts +9 -0
- package/dist/types/alphatab/src/rendering/RenderFinishedEventArgs.d.ts +47 -0
- package/dist/types/alphatab/src/rendering/ScoreBarRenderer.d.ts +68 -0
- package/dist/types/alphatab/src/rendering/ScoreBarRendererFactory.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/ScoreBeatContainerGlyph.d.ts +12 -0
- package/dist/types/alphatab/src/rendering/ScoreRenderer.d.ts +55 -0
- package/dist/types/alphatab/src/rendering/ScoreRendererWrapper.d.ts +37 -0
- package/dist/types/alphatab/src/rendering/SlashBarRenderer.d.ts +41 -0
- package/dist/types/alphatab/src/rendering/SlashBarRendererFactory.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/SlashBeatContainerGlyph.d.ts +9 -0
- package/dist/types/alphatab/src/rendering/TabBarRenderer.d.ts +57 -0
- package/dist/types/alphatab/src/rendering/TabBarRendererFactory.d.ts +22 -0
- package/dist/types/alphatab/src/rendering/_barrel.d.ts +11 -0
- package/dist/types/alphatab/src/rendering/effects/AlternateEndingsEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/BeatBarreEffectInfo.d.ts +21 -0
- package/dist/types/alphatab/src/rendering/effects/BeatTimerEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/CapoEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/ChordsEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/CrescendoEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/DirectionsEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/DynamicsEffectInfo.d.ts +21 -0
- package/dist/types/alphatab/src/rendering/effects/FadeEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/FermataEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/FingeringEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/FreeTimeEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/GolpeEffectInfo.d.ts +23 -0
- package/dist/types/alphatab/src/rendering/effects/HarmonicsEffectInfo.d.ts +23 -0
- package/dist/types/alphatab/src/rendering/effects/LeftHandTapEffectInfo.d.ts +16 -0
- package/dist/types/alphatab/src/rendering/effects/LetRingEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/LyricsEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/MarkerEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/NoteEffectInfoBase.d.ts +15 -0
- package/dist/types/alphatab/src/rendering/effects/NoteOrnamentEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/OttaviaEffectInfo.d.ts +22 -0
- package/dist/types/alphatab/src/rendering/effects/PalmMuteEffectInfo.d.ts +16 -0
- package/dist/types/alphatab/src/rendering/effects/PickSlideEffectInfo.d.ts +16 -0
- package/dist/types/alphatab/src/rendering/effects/PickStrokeEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/RasgueadoEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/SlightBeatVibratoEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/SlightNoteVibratoEffectInfo.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/effects/SustainPedalEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/TapEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/TempoEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/TextEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/TrillEffectInfo.d.ts +16 -0
- package/dist/types/alphatab/src/rendering/effects/TripletFeelEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/WahPedalEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/WhammyBarEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/WideBeatVibratoEffectInfo.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/effects/WideNoteVibratoEffectInfo.d.ts +16 -0
- package/dist/types/alphatab/src/rendering/glyphs/AccentuationGlyph.d.ts +13 -0
- package/dist/types/alphatab/src/rendering/glyphs/AccidentalGlyph.d.ts +10 -0
- package/dist/types/alphatab/src/rendering/glyphs/AccidentalGroupGlyph.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/AlternateEndingsGlyph.d.ts +15 -0
- package/dist/types/alphatab/src/rendering/glyphs/ArticStaccatoAboveGlyph.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/AugmentationDotGlyph.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/BarLineGlyph.d.ts +11 -0
- package/dist/types/alphatab/src/rendering/glyphs/BarNumberGlyph.d.ts +11 -0
- package/dist/types/alphatab/src/rendering/glyphs/BarTempoGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/BeatContainerGlyph.d.ts +34 -0
- package/dist/types/alphatab/src/rendering/glyphs/BeatGlyphBase.d.ts +24 -0
- package/dist/types/alphatab/src/rendering/glyphs/BeatOnNoteGlyphBase.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/glyphs/BeatTimerGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/BeatVibratoGlyph.d.ts +9 -0
- package/dist/types/alphatab/src/rendering/glyphs/BendNoteHeadGroupGlyph.d.ts +26 -0
- package/dist/types/alphatab/src/rendering/glyphs/ChordDiagramContainerGlyph.d.ts +10 -0
- package/dist/types/alphatab/src/rendering/glyphs/ChordDiagramGlyph.d.ts +16 -0
- package/dist/types/alphatab/src/rendering/glyphs/ClefGlyph.d.ts +15 -0
- package/dist/types/alphatab/src/rendering/glyphs/CrescendoGlyph.d.ts +12 -0
- package/dist/types/alphatab/src/rendering/glyphs/DeadNoteHeadGlyph.d.ts +7 -0
- package/dist/types/alphatab/src/rendering/glyphs/DeadSlappedBeatGlyph.d.ts +10 -0
- package/dist/types/alphatab/src/rendering/glyphs/DiamondNoteHeadGlyph.d.ts +9 -0
- package/dist/types/alphatab/src/rendering/glyphs/DirectionsContainerGlyph.d.ts +15 -0
- package/dist/types/alphatab/src/rendering/glyphs/DynamicsGlyph.d.ts +10 -0
- package/dist/types/alphatab/src/rendering/glyphs/EffectGlyph.d.ts +24 -0
- package/dist/types/alphatab/src/rendering/glyphs/FadeGlyph.d.ts +11 -0
- package/dist/types/alphatab/src/rendering/glyphs/FermataGlyph.d.ts +11 -0
- package/dist/types/alphatab/src/rendering/glyphs/FingeringGroupGlyph.d.ts +28 -0
- package/dist/types/alphatab/src/rendering/glyphs/FlagGlyph.d.ts +11 -0
- package/dist/types/alphatab/src/rendering/glyphs/GhostNoteContainerGlyph.d.ts +29 -0
- package/dist/types/alphatab/src/rendering/glyphs/GhostParenthesisGlyph.d.ts +13 -0
- package/dist/types/alphatab/src/rendering/glyphs/Glyph.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/glyphs/GlyphGroup.d.ts +15 -0
- package/dist/types/alphatab/src/rendering/glyphs/GroupedEffectGlyph.d.ts +20 -0
- package/dist/types/alphatab/src/rendering/glyphs/GuitarGolpeGlyph.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/KeySignatureGlyph.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/LeftHandTapGlyph.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/LeftToRightLayoutingGlyphGroup.d.ts +11 -0
- package/dist/types/alphatab/src/rendering/glyphs/LineRangedGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/LyricsGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/MultiBarRestGlyph.d.ts +12 -0
- package/dist/types/alphatab/src/rendering/glyphs/MusicFontGlyph.d.ts +34 -0
- package/dist/types/alphatab/src/rendering/glyphs/NoteHeadGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/NoteNumberGlyph.d.ts +20 -0
- package/dist/types/alphatab/src/rendering/glyphs/NoteOrnamentGlyph.d.ts +10 -0
- package/dist/types/alphatab/src/rendering/glyphs/NoteVibratoGlyph.d.ts +26 -0
- package/dist/types/alphatab/src/rendering/glyphs/NumberGlyph.d.ts +16 -0
- package/dist/types/alphatab/src/rendering/glyphs/NumberedBeatGlyph.d.ts +37 -0
- package/dist/types/alphatab/src/rendering/glyphs/NumberedDashGlyph.d.ts +12 -0
- package/dist/types/alphatab/src/rendering/glyphs/NumberedKeySignatureGlyph.d.ts +17 -0
- package/dist/types/alphatab/src/rendering/glyphs/NumberedNoteHeadGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/NumberedSlurGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/NumberedTieGlyph.d.ts +21 -0
- package/dist/types/alphatab/src/rendering/glyphs/OttavaGlyph.d.ts +15 -0
- package/dist/types/alphatab/src/rendering/glyphs/PercussionNoteHeadGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/PickStrokeGlyph.d.ts +10 -0
- package/dist/types/alphatab/src/rendering/glyphs/PictEdgeOfCymbalGlyph.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/RepeatCountGlyph.d.ts +11 -0
- package/dist/types/alphatab/src/rendering/glyphs/RowContainerGlyph.d.ts +12 -0
- package/dist/types/alphatab/src/rendering/glyphs/RowGlyphContainer.d.ts +13 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreBeatGlyph.d.ts +29 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreBeatPreNotesGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreBendGlyph.d.ts +17 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreBrushGlyph.d.ts +13 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreHelperNotesBaseGlyph.d.ts +15 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreLegatoGlyph.d.ts +16 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteChordGlyph.d.ts +35 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteChordGlyphBase.d.ts +25 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteGlyphInfo.d.ts +9 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreRestGlyph.d.ts +17 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreSlideLineGlyph.d.ts +22 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreSlurGlyph.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreTieGlyph.d.ts +20 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreTimeSignatureGlyph.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/ScoreWhammyBarGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/SlashBeatGlyph.d.ts +24 -0
- package/dist/types/alphatab/src/rendering/glyphs/SlashNoteHeadGlyph.d.ts +24 -0
- package/dist/types/alphatab/src/rendering/glyphs/SlashRestGlyph.d.ts +9 -0
- package/dist/types/alphatab/src/rendering/glyphs/SlashTieGlyph.d.ts +21 -0
- package/dist/types/alphatab/src/rendering/glyphs/SpacingGlyph.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/StringNumberContainerGlyph.d.ts +11 -0
- package/dist/types/alphatab/src/rendering/glyphs/SustainPedalGlyph.d.ts +10 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabBeatContainerGlyph.d.ts +13 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabBeatGlyph.d.ts +25 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabBeatPreNotesGlyph.d.ts +9 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabBendGlyph.d.ts +24 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabBendRenderPoint.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabBrushGlyph.d.ts +13 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabClefGlyph.d.ts +8 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabNoteChordGlyph.d.ts +33 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabRestGlyph.d.ts +15 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabSlideLineGlyph.d.ts +21 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabSlurGlyph.d.ts +14 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabTieGlyph.d.ts +21 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabTimeSignatureGlyph.d.ts +9 -0
- package/dist/types/alphatab/src/rendering/glyphs/TabWhammyBarGlyph.d.ts +19 -0
- package/dist/types/alphatab/src/rendering/glyphs/TextGlyph.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/glyphs/TieGlyph.d.ts +40 -0
- package/dist/types/alphatab/src/rendering/glyphs/TimeSignatureGlyph.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/glyphs/TremoloPickingGlyph.d.ts +9 -0
- package/dist/types/alphatab/src/rendering/glyphs/TrillGlyph.d.ts +10 -0
- package/dist/types/alphatab/src/rendering/glyphs/TripletFeelGlyph.d.ts +15 -0
- package/dist/types/alphatab/src/rendering/glyphs/TuningContainerGlyph.d.ts +7 -0
- package/dist/types/alphatab/src/rendering/glyphs/TuningGlyph.d.ts +16 -0
- package/dist/types/alphatab/src/rendering/glyphs/VoiceContainerGlyph.d.ts +26 -0
- package/dist/types/alphatab/src/rendering/glyphs/WahPedalGlyph.d.ts +11 -0
- package/dist/types/alphatab/src/rendering/layout/HorizontalScreenLayout.d.ts +23 -0
- package/dist/types/alphatab/src/rendering/layout/PageViewLayout.d.ts +28 -0
- package/dist/types/alphatab/src/rendering/layout/ScoreLayout.d.ts +73 -0
- package/dist/types/alphatab/src/rendering/staves/BarLayoutingInfo.d.ts +44 -0
- package/dist/types/alphatab/src/rendering/staves/MasterBarsRenderers.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/staves/RenderStaff.d.ts +72 -0
- package/dist/types/alphatab/src/rendering/staves/Spring.d.ts +16 -0
- package/dist/types/alphatab/src/rendering/staves/StaffSystem.d.ts +75 -0
- package/dist/types/alphatab/src/rendering/staves/StaffTrackGroup.d.ts +20 -0
- package/dist/types/alphatab/src/rendering/utils/AccidentalHelper.d.ts +89 -0
- package/dist/types/alphatab/src/rendering/utils/BarBounds.d.ts +45 -0
- package/dist/types/alphatab/src/rendering/utils/BarCollisionHelper.d.ts +31 -0
- package/dist/types/alphatab/src/rendering/utils/BarHelpers.d.ts +18 -0
- package/dist/types/alphatab/src/rendering/utils/BeamDirection.d.ts +7 -0
- package/dist/types/alphatab/src/rendering/utils/BeamingHelper.d.ts +92 -0
- package/dist/types/alphatab/src/rendering/utils/BeatBounds.d.ts +52 -0
- package/dist/types/alphatab/src/rendering/utils/Bounds.d.ts +23 -0
- package/dist/types/alphatab/src/rendering/utils/BoundsLookup.d.ts +98 -0
- package/dist/types/alphatab/src/rendering/utils/ElementStyleHelper.d.ts +29 -0
- package/dist/types/alphatab/src/rendering/utils/MasterBarBounds.d.ts +64 -0
- package/dist/types/alphatab/src/rendering/utils/NoteBounds.d.ts +25 -0
- package/dist/types/alphatab/src/rendering/utils/StaffSystemBounds.d.ts +45 -0
- package/dist/types/alphatab/src/synth/ActiveBeatsChangedEventArgs.d.ts +12 -0
- package/dist/types/alphatab/src/synth/AlphaSynth.d.ts +248 -0
- package/dist/types/alphatab/src/synth/AlphaSynthWrapper.d.ts +92 -0
- package/dist/types/alphatab/src/synth/BackingTrackPlayer.d.ts +53 -0
- package/dist/types/alphatab/src/synth/ExternalMediaPlayer.d.ts +55 -0
- package/dist/types/alphatab/src/synth/IAlphaSynth.d.ts +271 -0
- package/dist/types/alphatab/src/synth/IAudioExporter.d.ts +127 -0
- package/dist/types/alphatab/src/synth/IAudioSampleSynthesizer.d.ts +126 -0
- package/dist/types/alphatab/src/synth/ISynthOutput.d.ts +90 -0
- package/dist/types/alphatab/src/synth/MidiEventsPlayedEventArgs.d.ts +16 -0
- package/dist/types/alphatab/src/synth/MidiFileSequencer.d.ts +98 -0
- package/dist/types/alphatab/src/synth/PlaybackRange.d.ts +14 -0
- package/dist/types/alphatab/src/synth/PlaybackRangeChangedEventArgs.d.ts +16 -0
- package/dist/types/alphatab/src/synth/PlayerState.d.ts +14 -0
- package/dist/types/alphatab/src/synth/PlayerStateChangedEventArgs.d.ts +21 -0
- package/dist/types/alphatab/src/synth/PositionChangedEventArgs.d.ts +44 -0
- package/dist/types/alphatab/src/synth/SynthConstants.d.ts +30 -0
- package/dist/types/alphatab/src/synth/SynthHelper.d.ts +9 -0
- package/dist/types/alphatab/src/synth/_barrel.d.ts +19 -0
- package/dist/types/alphatab/src/synth/ds/CircularSampleBuffer.d.ts +38 -0
- package/dist/types/alphatab/src/synth/ds/Queue.d.ts +13 -0
- package/dist/types/alphatab/src/synth/soundfont/Hydra.d.ts +133 -0
- package/dist/types/alphatab/src/synth/soundfont/RiffChunk.d.ts +10 -0
- package/dist/types/alphatab/src/synth/synthesis/Channel.d.ts +21 -0
- package/dist/types/alphatab/src/synth/synthesis/Channels.d.ts +11 -0
- package/dist/types/alphatab/src/synth/synthesis/Envelope.d.ts +16 -0
- package/dist/types/alphatab/src/synth/synthesis/LoopMode.d.ts +8 -0
- package/dist/types/alphatab/src/synth/synthesis/OutputMode.d.ts +18 -0
- package/dist/types/alphatab/src/synth/synthesis/Preset.d.ts +10 -0
- package/dist/types/alphatab/src/synth/synthesis/Region.d.ts +110 -0
- package/dist/types/alphatab/src/synth/synthesis/SynthEvent.d.ts +12 -0
- package/dist/types/alphatab/src/synth/synthesis/TinySoundFont.d.ts +252 -0
- package/dist/types/alphatab/src/synth/synthesis/Voice.d.ts +43 -0
- package/dist/types/alphatab/src/synth/synthesis/VoiceEnvelope.d.ts +31 -0
- package/dist/types/alphatab/src/synth/synthesis/VoiceLfo.d.ts +10 -0
- package/dist/types/alphatab/src/synth/synthesis/VoiceLowPass.d.ts +16 -0
- package/dist/types/alphatab/src/synth/vorbis/IntBitReader.d.ts +26 -0
- package/dist/types/alphatab/src/synth/vorbis/OggReader.d.ts +23 -0
- package/dist/types/alphatab/src/synth/vorbis/VorbisFile.d.ts +9 -0
- package/dist/types/alphatab/src/synth/vorbis/VorbisStream.d.ts +13 -0
- package/dist/types/alphatab/src/synth/vorbis/VorbisStreamDecoder.d.ts +260 -0
- package/dist/types/alphatab/src/synth/vorbis/VorbisStreamReader.d.ts +49 -0
- package/dist/types/alphatab/src/util/FontLoadingChecker.d.ts +16 -0
- package/dist/types/alphatab/src/util/Lazy.d.ts +12 -0
- package/dist/types/alphatab/src/xml/XmlDocument.d.ts +10 -0
- package/dist/types/alphatab/src/xml/XmlError.d.ts +9 -0
- package/dist/types/alphatab/src/xml/XmlNode.d.ts +34 -0
- package/dist/types/alphatab/src/xml/XmlParser.d.ts +39 -0
- package/dist/types/alphatab/src/xml/XmlWriter.d.ts +20 -0
- package/dist/types/alphatab/src/zip/Crc32.d.ts +32 -0
- package/dist/types/alphatab/src/zip/Deflater.d.ts +74 -0
- package/dist/types/alphatab/src/zip/DeflaterConstants.d.ts +20 -0
- package/dist/types/alphatab/src/zip/DeflaterEngine.d.ts +124 -0
- package/dist/types/alphatab/src/zip/DeflaterHuffman.d.ts +76 -0
- package/dist/types/alphatab/src/zip/HuffTools.d.ts +11 -0
- package/dist/types/alphatab/src/zip/Huffman.d.ts +28 -0
- package/dist/types/alphatab/src/zip/Inflate.d.ts +40 -0
- package/dist/types/alphatab/src/zip/PendingBuffer.d.ts +65 -0
- package/dist/types/alphatab/src/zip/ZipEntry.d.ts +14 -0
- package/dist/types/alphatab/src/zip/ZipReader.d.ts +11 -0
- package/dist/types/alphatab/src/zip/ZipWriter.d.ts +16 -0
- package/dist/types/alphatex/src/common.d.ts +4 -0
- package/dist/types/alphatex/src/definitions.d.ts +8 -0
- package/dist/types/alphatex/src/enum.d.ts +48 -0
- package/dist/types/alphatex/src/metadata/bar/ac.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/accidentals.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/ae.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/barlineleft.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/barlineright.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/clef.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/db.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/ft.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/jump.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/ks.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/ottava.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/rc.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/ro.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/scale.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/section.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/simile.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/spd.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/sph.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/spu.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/sync.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/tempo.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/tf.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/ts.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/bar/width.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/album.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/artist.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/bracketextendmode.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/copyright.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/copyright2.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/defaultsystemslayout.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/firstsystemtracknamemode.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/firstsystemtracknameorientation.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/hidedynamics.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/instructions.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/multibarrest.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/multitracktracknamepolicy.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/music.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/notices.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/othersystemtracknamemode.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/othersystemtracknameorientation.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/showdynamics.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/singletracktracknamepolicy.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/subtitle.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/systemslayout.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/tab.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/title.d.ts +4 -0
- package/dist/types/alphatex/src/metadata/score/usesystemsignseparator.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/words.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/score/wordsandmusic.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/staff/articulation.d.ts +3 -0
- package/dist/types/alphatex/src/metadata/staff/capo.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/staff/chord.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/staff/displaytranspose.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/staff/instrument.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/staff/lyrics.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/staff/transpose.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/staff/tuning.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/structural/staff.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/structural/track.d.ts +2 -0
- package/dist/types/alphatex/src/metadata/structural/voice.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/ad.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/au.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/balance.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/bank.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/barre.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/bd.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/beam.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/bu.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/ch.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/cre.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/d.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/dd.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/dec.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/ds.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/dy.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/f.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/fermata.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/fo.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/glpf.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/glpt.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/gr.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/instrument.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/legatoOrigin.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/lyrics.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/ot.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/p.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/rasg.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/s.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/sd.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/slashed.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/spd.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/spe.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/sph.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/spu.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/su.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/tb.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/tbe.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/tempo.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/timer.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/tp.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/tt.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/tu.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/txt.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/v.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/volume.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/vs.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/vw.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/wahc.d.ts +2 -0
- package/dist/types/alphatex/src/properties/beat/waho.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/ac.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/acc.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/ah.d.ts +3 -0
- package/dist/types/alphatex/src/properties/note/b.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/be.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/fh.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/g.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/h.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/hac.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/hide.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/iturn.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/lf.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/lht.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/lmordent.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/lr.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/nh.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/ph.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/pm.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/psd.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/psu.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/rf.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/sh.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/sia.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/sib.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/sl.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/slur.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/sod.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/sou.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/ss.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/st.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/string.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/t.d.ts +3 -0
- package/dist/types/alphatex/src/properties/note/ten.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/th.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/tr.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/turn.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/umordent.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/v.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/vw.d.ts +2 -0
- package/dist/types/alphatex/src/properties/note/x.d.ts +2 -0
- package/dist/types/alphatex/src/types.d.ts +161 -0
- package/dist/types/lsp/src/index.d.ts +21 -0
- package/dist/types/lsp/src/server/completion.d.ts +3 -0
- package/dist/types/lsp/src/server/diagnostics.d.ts +2 -0
- package/dist/types/lsp/src/server/hover.d.ts +2 -0
- package/dist/types/lsp/src/server/index.d.ts +13 -0
- package/dist/types/lsp/src/server/signatureHelp.d.ts +2 -0
- package/dist/types/lsp/src/server/types.d.ts +15 -0
- package/dist/types/lsp/src/server/utils.d.ts +6 -0
- package/dist/types/monaco/src/alphaTab.monaco.d.ts +2 -0
- package/dist/types/monaco/src/alphatex.d.ts +6 -0
- package/dist/types/monaco/src/lsp.d.ts +20 -0
- package/dist/types/monaco/src/lspMonacoMappings.d.ts +24 -0
- package/dist/types/monaco/src/textmate.d.ts +15 -0
- package/dist/types/monaco/src/types.d.ts +15 -0
- package/dist/types/monaco/src/worker.d.ts +1 -0
- package/dist/types/monaco/test/placeholder.test.d.ts +1 -0
- package/dist/types/monaco/vite.config.d.ts +2 -0
- package/dist/types/tooling/src/typescript.d.ts +9 -0
- package/dist/types/tooling/src/vite.d.ts +13 -0
- package/dist/types/tooling/src/vite.plugin.dts.d.ts +1 -0
- package/dist/types/tooling/src/vite.plugin.min.d.ts +3 -0
- package/dist/typescript.mjs +375 -0
- package/dist/typespec.mjs +148 -0
- package/dist/vb.mjs +393 -0
- package/dist/wgsl.mjs +474 -0
- package/dist/xml.mjs +127 -0
- package/dist/yaml.mjs +238 -0
- package/package.json +58 -0
- package/src/alphaTab.monaco.ts +3 -0
- package/src/alphatex.ts +18 -0
- package/src/lsp.ts +296 -0
- package/src/lspMonacoMappings.ts +456 -0
- package/src/textmate.ts +90 -0
- package/src/types.ts +16 -0
- package/src/worker.ts +4 -0
- package/test/placeholder.test.ts +3 -0
- package/tsconfig.json +3 -0
- package/vite.config.ts +17 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { type MidiEvent } from "./../midi/MidiEvent";
|
|
2
|
+
import { MidiFile } from "./../midi/MidiFile";
|
|
3
|
+
import { Score } from "./Score";
|
|
4
|
+
import { Settings } from "./../Settings";
|
|
5
|
+
/**
|
|
6
|
+
* This class can convert a full {@link Score} instance to a simple JavaScript object and back for further
|
|
7
|
+
* JSON serialization.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare class JsonConverter {
|
|
11
|
+
/**
|
|
12
|
+
* @target web
|
|
13
|
+
*/
|
|
14
|
+
private static _jsonReplacer;
|
|
15
|
+
/**
|
|
16
|
+
* Converts the given score into a JSON encoded string.
|
|
17
|
+
* @param score The score to serialize.
|
|
18
|
+
* @returns A JSON encoded string.
|
|
19
|
+
* @target web
|
|
20
|
+
*/
|
|
21
|
+
static scoreToJson(score: Score): string;
|
|
22
|
+
/**
|
|
23
|
+
* Converts the given JSON string back to a {@link Score} object.
|
|
24
|
+
* @param json The JSON string
|
|
25
|
+
* @param settings The settings to use during conversion.
|
|
26
|
+
* @returns The converted score object.
|
|
27
|
+
* @target web
|
|
28
|
+
*/
|
|
29
|
+
static jsonToScore(json: string, settings?: Settings): Score;
|
|
30
|
+
/**
|
|
31
|
+
* Converts the score into a JavaScript object without circular dependencies.
|
|
32
|
+
* @param score The score object to serialize
|
|
33
|
+
* @returns A serialized score object without ciruclar dependencies that can be used for further serializations.
|
|
34
|
+
*/
|
|
35
|
+
static scoreToJsObject(score: Score): unknown;
|
|
36
|
+
/**
|
|
37
|
+
* Converts the given JavaScript object into a score object.
|
|
38
|
+
* @param jsObject The javascript object created via {@link Score}
|
|
39
|
+
* @param settings The settings to use during conversion.
|
|
40
|
+
* @returns The converted score object.
|
|
41
|
+
*/
|
|
42
|
+
static jsObjectToScore(jsObject: unknown, settings?: Settings): Score;
|
|
43
|
+
/**
|
|
44
|
+
* Converts the given settings into a JSON encoded string.
|
|
45
|
+
* @param settings The settings to serialize.
|
|
46
|
+
* @returns A JSON encoded string.
|
|
47
|
+
* @target web
|
|
48
|
+
*/
|
|
49
|
+
static settingsToJson(settings: Settings): string;
|
|
50
|
+
/**
|
|
51
|
+
* Converts the given JSON string back to a {@link Score} object.
|
|
52
|
+
* @param json The JSON string
|
|
53
|
+
* @returns The converted settings object.
|
|
54
|
+
* @target web
|
|
55
|
+
*/
|
|
56
|
+
static jsonToSettings(json: string): Settings;
|
|
57
|
+
/**
|
|
58
|
+
* Converts the settings object into a JavaScript object for transmission between components or saving purposes.
|
|
59
|
+
* @param settings The settings object to serialize
|
|
60
|
+
* @returns A serialized settings object without ciruclar dependencies that can be used for further serializations.
|
|
61
|
+
*/
|
|
62
|
+
static settingsToJsObject(settings: Settings): Map<string, unknown> | null;
|
|
63
|
+
/**
|
|
64
|
+
* Converts the given JavaScript object into a settings object.
|
|
65
|
+
* @param jsObject The javascript object created via {@link Settings}
|
|
66
|
+
* @returns The converted Settings object.
|
|
67
|
+
*/
|
|
68
|
+
static jsObjectToSettings(jsObject: unknown): Settings;
|
|
69
|
+
/**
|
|
70
|
+
* Converts the given JavaScript object into a MidiFile object.
|
|
71
|
+
* @param jsObject The javascript object to deserialize.
|
|
72
|
+
* @returns The converted MidiFile.
|
|
73
|
+
*/
|
|
74
|
+
static jsObjectToMidiFile(jsObject: unknown): MidiFile;
|
|
75
|
+
private static _jsObjectToMidiTrack;
|
|
76
|
+
/**
|
|
77
|
+
* Converts the given JavaScript object into a MidiEvent object.
|
|
78
|
+
* @param jsObject The javascript object to deserialize.
|
|
79
|
+
* @returns The converted MidiEvent.
|
|
80
|
+
*/
|
|
81
|
+
static jsObjectToMidiEvent(midiEvent: unknown): MidiEvent;
|
|
82
|
+
/**
|
|
83
|
+
* Converts the given MidiFile object into a serialized JavaScript object.
|
|
84
|
+
* @param midi The midi file to convert.
|
|
85
|
+
* @returns A serialized MidiFile object without ciruclar dependencies that can be used for further serializations.
|
|
86
|
+
*/
|
|
87
|
+
static midiFileToJsObject(midi: MidiFile): Map<string, unknown>;
|
|
88
|
+
private static _midiTrackToJsObject;
|
|
89
|
+
/**
|
|
90
|
+
* Converts the given MidiEvent object into a serialized JavaScript object.
|
|
91
|
+
* @param midi The midi file to convert.
|
|
92
|
+
* @returns A serialized MidiEvent object without ciruclar dependencies that can be used for further serializations.
|
|
93
|
+
*/
|
|
94
|
+
static midiEventToJsObject(midiEvent: MidiEvent): Map<string, unknown>;
|
|
95
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This public enumeration lists all available key signatures
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare enum KeySignature {
|
|
6
|
+
/**
|
|
7
|
+
* Cb (7 flats)
|
|
8
|
+
*/
|
|
9
|
+
Cb = -7,
|
|
10
|
+
/**
|
|
11
|
+
* Gb (6 flats)
|
|
12
|
+
*/
|
|
13
|
+
Gb = -6,
|
|
14
|
+
/**
|
|
15
|
+
* Db (5 flats)
|
|
16
|
+
*/
|
|
17
|
+
Db = -5,
|
|
18
|
+
/**
|
|
19
|
+
* Ab (4 flats)
|
|
20
|
+
*/
|
|
21
|
+
Ab = -4,
|
|
22
|
+
/**
|
|
23
|
+
* Eb (3 flats)
|
|
24
|
+
*/
|
|
25
|
+
Eb = -3,
|
|
26
|
+
/**
|
|
27
|
+
* Bb (2 flats)
|
|
28
|
+
*/
|
|
29
|
+
Bb = -2,
|
|
30
|
+
/**
|
|
31
|
+
* F (1 flat)
|
|
32
|
+
*/
|
|
33
|
+
F = -1,
|
|
34
|
+
/**
|
|
35
|
+
* C (no signs)
|
|
36
|
+
*/
|
|
37
|
+
C = 0,
|
|
38
|
+
/**
|
|
39
|
+
* G (1 sharp)
|
|
40
|
+
*/
|
|
41
|
+
G = 1,
|
|
42
|
+
/**
|
|
43
|
+
* D (2 sharp)
|
|
44
|
+
*/
|
|
45
|
+
D = 2,
|
|
46
|
+
/**
|
|
47
|
+
* A (3 sharp)
|
|
48
|
+
*/
|
|
49
|
+
A = 3,
|
|
50
|
+
/**
|
|
51
|
+
* E (4 sharp)
|
|
52
|
+
*/
|
|
53
|
+
E = 4,
|
|
54
|
+
/**
|
|
55
|
+
* B (5 sharp)
|
|
56
|
+
*/
|
|
57
|
+
B = 5,
|
|
58
|
+
/**
|
|
59
|
+
* F# (6 sharp)
|
|
60
|
+
*/
|
|
61
|
+
FSharp = 6,
|
|
62
|
+
/**
|
|
63
|
+
* C# (7 sharp)
|
|
64
|
+
*/
|
|
65
|
+
CSharp = 7
|
|
66
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the lyrics of a song.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare class Lyrics {
|
|
6
|
+
private static readonly _charCodeLF;
|
|
7
|
+
private static readonly _charCodeTab;
|
|
8
|
+
private static readonly _charCodeCR;
|
|
9
|
+
private static readonly _charCodeSpace;
|
|
10
|
+
private static readonly _charCodeBrackedClose;
|
|
11
|
+
private static readonly _charCodeBrackedOpen;
|
|
12
|
+
private static readonly _charCodeDash;
|
|
13
|
+
/**
|
|
14
|
+
* Gets or sets he start bar on which the lyrics should begin.
|
|
15
|
+
*/
|
|
16
|
+
startBar: number;
|
|
17
|
+
/**
|
|
18
|
+
* Gets or sets the raw lyrics text in Guitar Pro format.
|
|
19
|
+
* (spaces split word syllables, plus merge syllables, [..] are comments)
|
|
20
|
+
*/
|
|
21
|
+
text: string;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the prepared chunks of the lyrics to apply to beats.
|
|
24
|
+
*/
|
|
25
|
+
chunks: string[];
|
|
26
|
+
finish(skipEmptyEntries?: boolean): void;
|
|
27
|
+
private _parse;
|
|
28
|
+
private _addChunk;
|
|
29
|
+
private _prepareChunk;
|
|
30
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import type { Automation } from "./Automation";
|
|
2
|
+
import type { Beat } from "./Beat";
|
|
3
|
+
import type { Fermata } from "./Fermata";
|
|
4
|
+
import type { KeySignature } from "./KeySignature";
|
|
5
|
+
import type { KeySignatureType } from "./KeySignatureType";
|
|
6
|
+
import type { RepeatGroup } from "./RepeatGroup";
|
|
7
|
+
import type { Score } from "./Score";
|
|
8
|
+
import type { Section } from "./Section";
|
|
9
|
+
import { TripletFeel } from "./TripletFeel";
|
|
10
|
+
import type { Direction } from "./Direction";
|
|
11
|
+
/**
|
|
12
|
+
* The MasterBar stores information about a bar which affects
|
|
13
|
+
* all tracks.
|
|
14
|
+
* @json
|
|
15
|
+
* @json_strict
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export declare class MasterBar {
|
|
19
|
+
static readonly MaxAlternateEndings: number;
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets the bitflag for the alternate endings. Each bit defines for which repeat counts
|
|
22
|
+
* the bar is played.
|
|
23
|
+
*/
|
|
24
|
+
alternateEndings: number;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the next masterbar in the song.
|
|
27
|
+
* @json_ignore
|
|
28
|
+
*/
|
|
29
|
+
nextMasterBar: MasterBar | null;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the next masterbar in the song.
|
|
32
|
+
* @json_ignore
|
|
33
|
+
*/
|
|
34
|
+
previousMasterBar: MasterBar | null;
|
|
35
|
+
/**
|
|
36
|
+
* Gets the zero based index of the masterbar.
|
|
37
|
+
* @json_ignore
|
|
38
|
+
*/
|
|
39
|
+
index: number;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the masterbar is has any changes applied to it (e.g. tempo changes, time signature changes etc)
|
|
42
|
+
* The first bar is always considered changed due to initial setup of values. It does not consider
|
|
43
|
+
* elements like whether the tempo really changes to the previous bar.
|
|
44
|
+
*/
|
|
45
|
+
get hasChanges(): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* The key signature used on all bars.
|
|
48
|
+
* @deprecated Use key signatures on bar level
|
|
49
|
+
*/
|
|
50
|
+
get keySignature(): KeySignature;
|
|
51
|
+
/**
|
|
52
|
+
* The key signature used on all bars.
|
|
53
|
+
* @deprecated Use key signatures on bar level
|
|
54
|
+
*/
|
|
55
|
+
set keySignature(value: KeySignature);
|
|
56
|
+
/**
|
|
57
|
+
* The type of key signature (major/minor)
|
|
58
|
+
* @deprecated Use key signatures on bar level
|
|
59
|
+
*/
|
|
60
|
+
get keySignatureType(): KeySignatureType;
|
|
61
|
+
/**
|
|
62
|
+
* The type of key signature (major/minor)
|
|
63
|
+
* @deprecated Use key signatures on bar level
|
|
64
|
+
*/
|
|
65
|
+
set keySignatureType(value: KeySignatureType);
|
|
66
|
+
/**
|
|
67
|
+
* Gets or sets whether a double bar is shown for this masterbar.
|
|
68
|
+
* @deprecated Use {@link Bar.barLineLeft} and {@link Bar.barLineRight}
|
|
69
|
+
*/
|
|
70
|
+
isDoubleBar: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Gets or sets whether a repeat section starts on this masterbar.
|
|
73
|
+
*/
|
|
74
|
+
isRepeatStart: boolean;
|
|
75
|
+
get isRepeatEnd(): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Gets or sets the number of repeats for the current repeat section.
|
|
78
|
+
*/
|
|
79
|
+
repeatCount: number;
|
|
80
|
+
/**
|
|
81
|
+
* Gets or sets the repeat group this bar belongs to.
|
|
82
|
+
* @json_ignore
|
|
83
|
+
*/
|
|
84
|
+
repeatGroup: RepeatGroup;
|
|
85
|
+
/**
|
|
86
|
+
* Gets or sets the time signature numerator.
|
|
87
|
+
*/
|
|
88
|
+
timeSignatureNumerator: number;
|
|
89
|
+
/**
|
|
90
|
+
* Gets or sets the time signature denominiator.
|
|
91
|
+
*/
|
|
92
|
+
timeSignatureDenominator: number;
|
|
93
|
+
/**
|
|
94
|
+
* Gets or sets whether this is bar has a common time signature.
|
|
95
|
+
*/
|
|
96
|
+
timeSignatureCommon: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Gets or sets whether the bar indicates a free time playing.
|
|
99
|
+
*/
|
|
100
|
+
isFreeTime: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Gets or sets the triplet feel that is valid for this bar.
|
|
103
|
+
*/
|
|
104
|
+
tripletFeel: TripletFeel;
|
|
105
|
+
/**
|
|
106
|
+
* Gets or sets the new section information for this bar.
|
|
107
|
+
*/
|
|
108
|
+
section: Section | null;
|
|
109
|
+
get isSectionStart(): boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Gets or sets the first tempo automation for this bar.
|
|
112
|
+
* @deprecated Use {@link tempoAutomations}.
|
|
113
|
+
*/
|
|
114
|
+
get tempoAutomation(): Automation | null;
|
|
115
|
+
/**
|
|
116
|
+
* Gets or sets all tempo automation for this bar.
|
|
117
|
+
*/
|
|
118
|
+
tempoAutomations: Automation[];
|
|
119
|
+
/**
|
|
120
|
+
* The sync points for this master bar to synchronize the alphaTab time axis with the
|
|
121
|
+
* external backing track audio.
|
|
122
|
+
* @json_add addSyncPoint
|
|
123
|
+
*/
|
|
124
|
+
syncPoints: Automation[] | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* Gets or sets the reference to the score this song belongs to.
|
|
127
|
+
* @json_ignore
|
|
128
|
+
*/
|
|
129
|
+
score: Score;
|
|
130
|
+
/**
|
|
131
|
+
* Gets or sets the fermatas for this bar. The key is the offset of the fermata in midi ticks.
|
|
132
|
+
* @json_add addFermata
|
|
133
|
+
*/
|
|
134
|
+
fermata: Map<number, Fermata> | null;
|
|
135
|
+
/**
|
|
136
|
+
* The timeline position of the voice within the whole score. (unit: midi ticks)
|
|
137
|
+
*/
|
|
138
|
+
start: number;
|
|
139
|
+
/**
|
|
140
|
+
* Gets or sets a value indicating whether the master bar is an anacrusis (aka. pickup bar)
|
|
141
|
+
*/
|
|
142
|
+
isAnacrusis: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Gets a percentual scale for the size of the bars when displayed in a multi-track layout.
|
|
145
|
+
*/
|
|
146
|
+
displayScale: number;
|
|
147
|
+
/**
|
|
148
|
+
* An absolute width of the bar to use when displaying in a multi-track layout.
|
|
149
|
+
*/
|
|
150
|
+
displayWidth: number;
|
|
151
|
+
/**
|
|
152
|
+
* The directions applied to this masterbar.
|
|
153
|
+
* @json_add addDirection
|
|
154
|
+
*/
|
|
155
|
+
directions: Set<Direction> | null;
|
|
156
|
+
/**
|
|
157
|
+
* Calculates the time spent in this bar. (unit: midi ticks)
|
|
158
|
+
*/
|
|
159
|
+
calculateDuration(respectAnacrusis?: boolean): number;
|
|
160
|
+
/**
|
|
161
|
+
* Adds a fermata to the masterbar.
|
|
162
|
+
* @param offset The offset of the fermata within the bar in midi ticks.
|
|
163
|
+
* @param fermata The fermata.
|
|
164
|
+
*/
|
|
165
|
+
addFermata(offset: number, fermata: Fermata): void;
|
|
166
|
+
/**
|
|
167
|
+
* Adds a direction to the masterbar.
|
|
168
|
+
* @param direction The direction to add.
|
|
169
|
+
*/
|
|
170
|
+
addDirection(direction: Direction): void;
|
|
171
|
+
/**
|
|
172
|
+
* Gets the fermata for a given beat.
|
|
173
|
+
* @param beat The beat to get the fermata for.
|
|
174
|
+
* @returns
|
|
175
|
+
*/
|
|
176
|
+
getFermata(beat: Beat): Fermata | null;
|
|
177
|
+
/**
|
|
178
|
+
* Adds the given sync point to the list of sync points for this bar.
|
|
179
|
+
* @param syncPoint The sync point to add.
|
|
180
|
+
*/
|
|
181
|
+
addSyncPoint(syncPoint: Automation): void;
|
|
182
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import type { Duration } from "./Duration";
|
|
2
|
+
import { HeaderFooterStyle, type Score, type ScoreSubElement } from "./Score";
|
|
3
|
+
import type { Settings } from "./../Settings";
|
|
4
|
+
import { NoteAccidentalMode } from "./NoteAccidentalMode";
|
|
5
|
+
import type { Track } from "./Track";
|
|
6
|
+
import { MusicFontSymbol } from "./MusicFontSymbol";
|
|
7
|
+
import type { KeySignature } from "./KeySignature";
|
|
8
|
+
import { AccidentalType } from "./AccidentalType";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export declare class TuningParseResult {
|
|
13
|
+
note: string | null;
|
|
14
|
+
tone: TuningParseResultTone;
|
|
15
|
+
octave: number;
|
|
16
|
+
get realValue(): number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
export declare class TuningParseResultTone {
|
|
22
|
+
noteValue: number;
|
|
23
|
+
accidentalMode: NoteAccidentalMode;
|
|
24
|
+
constructor(noteValue?: number, accidentalMode?: NoteAccidentalMode);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* This public class contains some utilities for working with model public classes
|
|
28
|
+
* @partial
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export declare class ModelUtils {
|
|
32
|
+
static getIndex(duration: Duration): number;
|
|
33
|
+
static keySignatureIsFlat(ks: number): boolean;
|
|
34
|
+
static keySignatureIsNatural(ks: number): boolean;
|
|
35
|
+
static keySignatureIsSharp(ks: number): boolean;
|
|
36
|
+
static applyPitchOffsets(settings: Settings, score: Score): void;
|
|
37
|
+
/**
|
|
38
|
+
* Checks if the given string is a tuning inticator.
|
|
39
|
+
* @param name
|
|
40
|
+
*/
|
|
41
|
+
static isTuning(name: string): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
static readonly tuningLetters: Set<number>;
|
|
46
|
+
static parseTuning(name: string): TuningParseResult | null;
|
|
47
|
+
static getTuningForText(str: string): number;
|
|
48
|
+
static getToneForText(note: string): TuningParseResultTone | null;
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
static readonly reverseAccidentalModeMapping: Map<NoteAccidentalMode, string>;
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
static readonly accidentalModeMapping: Map<string, NoteAccidentalMode>;
|
|
57
|
+
static parseAccidentalMode(data: string): NoteAccidentalMode;
|
|
58
|
+
static newGuid(): string;
|
|
59
|
+
static isAlmostEqualTo(a: number, b: number): boolean;
|
|
60
|
+
static toHexString(n: number, digits?: number): string;
|
|
61
|
+
/**
|
|
62
|
+
* Gets the list of alternate endings on which the master bar is played.
|
|
63
|
+
* @param bitflag The alternate endings bitflag.
|
|
64
|
+
*/
|
|
65
|
+
static getAlternateEndingsList(bitflag: number): number[];
|
|
66
|
+
static deltaFretToHarmonicValue(deltaFret: number): number;
|
|
67
|
+
static clamp(value: number, min: number, max: number): number;
|
|
68
|
+
static buildMultiBarRestInfo(tracks: Track[] | null, startIndex: number, endIndexInclusive: number): Map<number, number[]> | null;
|
|
69
|
+
static computeFirstDisplayedBarIndex(score: Score, settings: Settings): number;
|
|
70
|
+
static computeLastDisplayedBarIndex(score: Score, settings: Settings, startIndex: number): number;
|
|
71
|
+
static getOrCreateHeaderFooterStyle(score: Score, element: ScoreSubElement): HeaderFooterStyle;
|
|
72
|
+
/**
|
|
73
|
+
* Performs some general consolidations of inconsistencies on the given score like
|
|
74
|
+
* missing bars, beats, duplicated midi channels etc
|
|
75
|
+
*/
|
|
76
|
+
static consolidate(score: Score): void;
|
|
77
|
+
/**
|
|
78
|
+
* Trims any empty bars at the end of the song.
|
|
79
|
+
* @param score
|
|
80
|
+
*/
|
|
81
|
+
static trimEmptyBarsAtEnd(score: Score): void;
|
|
82
|
+
private static _allMusicFontSymbols;
|
|
83
|
+
/**
|
|
84
|
+
* Gets a list of all music font symbols used in alphaTab.
|
|
85
|
+
*/
|
|
86
|
+
static getAllMusicFontSymbols(): MusicFontSymbol[];
|
|
87
|
+
/**
|
|
88
|
+
* Lists the display transpositions for some known midi instruments.
|
|
89
|
+
* It is a common practice to transpose the standard notation for instruments like guitars.
|
|
90
|
+
*/
|
|
91
|
+
static readonly displayTranspositionPitches: Map<number, number>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
static flooredDivision(a: number, b: number): number;
|
|
96
|
+
/**
|
|
97
|
+
* Converts the key transpose table to actual key signatures.
|
|
98
|
+
* @param texts An array where every item indicates the number of accidentals and which accidental
|
|
99
|
+
* placed for the key signature.
|
|
100
|
+
*
|
|
101
|
+
* e.g. 3# is 3-sharps -> KeySignature.A
|
|
102
|
+
*/
|
|
103
|
+
private static _translateKeyTransposeTable;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
private static readonly _keyTransposeTable;
|
|
108
|
+
/**
|
|
109
|
+
* Transposes the given key signature.
|
|
110
|
+
* @internal
|
|
111
|
+
* @param keySignature The key signature to transpose
|
|
112
|
+
* @param transpose The number of semitones to transpose (+/- 0-11)
|
|
113
|
+
* @returns
|
|
114
|
+
*/
|
|
115
|
+
static transposeKey(keySignature: KeySignature, transpose: number): KeySignature;
|
|
116
|
+
/**
|
|
117
|
+
* a lookup list containing an info whether the notes within an octave
|
|
118
|
+
* need an accidental rendered. the accidental symbol is determined based on the type of key signature.
|
|
119
|
+
*/
|
|
120
|
+
private static _keySignatureLookup;
|
|
121
|
+
/**
|
|
122
|
+
* Contains the list of notes within an octave have accidentals set.
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
static accidentalNotes: boolean[];
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
static computeAccidental(keySignature: KeySignature, accidentalMode: NoteAccidentalMode, noteValue: number, quarterBend: boolean, currentAccidental?: AccidentalType | null): AccidentalType;
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
static toArticulationId(plain: string): string;
|
|
134
|
+
}
|