@coderline/alphatab-language-server 1.7.0-alpha.1626
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +378 -0
- package/LICENSE.header +10 -0
- package/README.md +16 -0
- package/biome.jsonc +31 -0
- package/dist/server.d.ts +208 -0
- package/dist/server.min.mjs +13 -0
- package/dist/server.mjs +6142 -0
- package/dist/server.mjs.map +1 -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/lsp/test/placeholder.test.d.ts +1 -0
- package/dist/types/lsp/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/package.json +59 -0
- package/src/alphatex.tmLanguage.json +151 -0
- package/src/index.ts +56 -0
- package/src/language-configuration.json +70 -0
- package/src/server/completion.ts +553 -0
- package/src/server/diagnostics.ts +126 -0
- package/src/server/hover.ts +262 -0
- package/src/server/index.ts +96 -0
- package/src/server/signatureHelp.ts +206 -0
- package/src/server/types.ts +28 -0
- package/src/server/utils.ts +111 -0
- package/test/placeholder.test.ts +3 -0
- package/tsconfig.json +3 -0
- package/vite.config.ts +21 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lists all midi controllers.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare enum ControllerType {
|
|
6
|
+
/**
|
|
7
|
+
* Bank Select. MSB
|
|
8
|
+
*/
|
|
9
|
+
BankSelectCoarse = 0,
|
|
10
|
+
/**
|
|
11
|
+
* Modulation wheel or lever MSB
|
|
12
|
+
*/
|
|
13
|
+
ModulationCoarse = 1,
|
|
14
|
+
/**
|
|
15
|
+
* Data entry MSB
|
|
16
|
+
*/
|
|
17
|
+
DataEntryCoarse = 6,
|
|
18
|
+
/**
|
|
19
|
+
* Channel Volume MSB
|
|
20
|
+
*/
|
|
21
|
+
VolumeCoarse = 7,
|
|
22
|
+
/**
|
|
23
|
+
* Pan MSB
|
|
24
|
+
*/
|
|
25
|
+
PanCoarse = 10,
|
|
26
|
+
/**
|
|
27
|
+
* Expression Controller MSB
|
|
28
|
+
*/
|
|
29
|
+
ExpressionControllerCoarse = 11,
|
|
30
|
+
BankSelectFine = 32,
|
|
31
|
+
/**
|
|
32
|
+
* Modulation wheel or level LSB
|
|
33
|
+
*/
|
|
34
|
+
ModulationFine = 33,
|
|
35
|
+
/**
|
|
36
|
+
* Data Entry LSB
|
|
37
|
+
*/
|
|
38
|
+
DataEntryFine = 38,
|
|
39
|
+
/**
|
|
40
|
+
* Channel Volume LSB
|
|
41
|
+
*/
|
|
42
|
+
VolumeFine = 39,
|
|
43
|
+
/**
|
|
44
|
+
* Pan LSB
|
|
45
|
+
*/
|
|
46
|
+
PanFine = 42,
|
|
47
|
+
/**
|
|
48
|
+
* Expression controller LSB
|
|
49
|
+
*/
|
|
50
|
+
ExpressionControllerFine = 43,
|
|
51
|
+
/**
|
|
52
|
+
* Damper pedal (sustain)
|
|
53
|
+
*/
|
|
54
|
+
HoldPedal = 64,
|
|
55
|
+
/**
|
|
56
|
+
* Legato Footswitch
|
|
57
|
+
*/
|
|
58
|
+
LegatoPedal = 68,
|
|
59
|
+
/**
|
|
60
|
+
* Non-Registered Parameter Number LSB
|
|
61
|
+
*/
|
|
62
|
+
NonRegisteredParameterFine = 98,
|
|
63
|
+
/**
|
|
64
|
+
* Non-Registered Parameter Number MSB
|
|
65
|
+
*/
|
|
66
|
+
NonRegisteredParameterCourse = 99,
|
|
67
|
+
/**
|
|
68
|
+
* Registered Parameter Number LSB
|
|
69
|
+
*/
|
|
70
|
+
RegisteredParameterFine = 100,
|
|
71
|
+
/**
|
|
72
|
+
* Registered Parameter Number MSB
|
|
73
|
+
*/
|
|
74
|
+
RegisteredParameterCourse = 101,
|
|
75
|
+
AllSoundOff = 120,
|
|
76
|
+
/**
|
|
77
|
+
* Reset all controllers
|
|
78
|
+
*/
|
|
79
|
+
ResetControllers = 121,
|
|
80
|
+
/**
|
|
81
|
+
* All notes of.
|
|
82
|
+
*/
|
|
83
|
+
AllNotesOff = 123
|
|
84
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { IWriteable } from "./../io/IWriteable";
|
|
2
|
+
import { MidiEvent } from "./MidiEvent";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Move to the new concrete Midi Event Types.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class DeprecatedMidiEvent extends MidiEvent {
|
|
8
|
+
constructor();
|
|
9
|
+
writeTo(_s: IWriteable): void;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated Move to the new concrete Midi Event Types.
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export declare enum MetaEventType {
|
|
16
|
+
SequenceNumber = 0,
|
|
17
|
+
TextEvent = 1,
|
|
18
|
+
CopyrightNotice = 2,
|
|
19
|
+
SequenceOrTrackName = 3,
|
|
20
|
+
InstrumentName = 4,
|
|
21
|
+
LyricText = 5,
|
|
22
|
+
MarkerText = 6,
|
|
23
|
+
CuePoint = 7,
|
|
24
|
+
PatchName = 8,
|
|
25
|
+
PortName = 9,
|
|
26
|
+
MidiChannel = 32,
|
|
27
|
+
MidiPort = 33,
|
|
28
|
+
EndOfTrack = 47,
|
|
29
|
+
Tempo = 81,
|
|
30
|
+
SmpteOffset = 84,
|
|
31
|
+
TimeSignature = 88,
|
|
32
|
+
KeySignature = 89,
|
|
33
|
+
SequencerSpecific = 127
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated Move to the new concrete Midi Event Types.
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export declare class MetaEvent extends DeprecatedMidiEvent {
|
|
40
|
+
get metaStatus(): MetaEventType;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated Move to the new concrete Midi Event Types.
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class MetaDataEvent extends MetaEvent {
|
|
47
|
+
data: Uint8Array;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated Move to the new concrete Midi Event Types.
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export declare class MetaNumberEvent extends MetaEvent {
|
|
54
|
+
value: number;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated Move to the new concrete Midi Event Types.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class Midi20PerNotePitchBendEvent extends DeprecatedMidiEvent {
|
|
61
|
+
noteKey: number;
|
|
62
|
+
pitch: number;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @deprecated Move to the new concrete Midi Event Types.
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare enum SystemCommonType {
|
|
69
|
+
SystemExclusive = 240,
|
|
70
|
+
MtcQuarterFrame = 241,
|
|
71
|
+
SongPosition = 242,
|
|
72
|
+
SongSelect = 243,
|
|
73
|
+
TuneRequest = 246,
|
|
74
|
+
SystemExclusive2 = 247
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated Move to the new concrete Midi Event Types.
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class SystemCommonEvent extends DeprecatedMidiEvent {
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @deprecated Move to the new concrete Midi Event Types.
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare enum AlphaTabSystemExclusiveEvents {
|
|
87
|
+
MetronomeTick = 0,
|
|
88
|
+
Rest = 1
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @deprecated Move to the new concrete Midi Event Types.
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class SystemExclusiveEvent extends SystemCommonEvent {
|
|
95
|
+
static readonly AlphaTabManufacturerId = 125;
|
|
96
|
+
data: Uint8Array;
|
|
97
|
+
get isMetronome(): boolean;
|
|
98
|
+
get metronomeNumerator(): number;
|
|
99
|
+
get metronomeDurationInTicks(): number;
|
|
100
|
+
get metronomeDurationInMilliseconds(): number;
|
|
101
|
+
get isRest(): boolean;
|
|
102
|
+
get manufacturerId(): number;
|
|
103
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This public class provides names for all general midi instruments.
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare class GeneralMidi {
|
|
6
|
+
private static _values;
|
|
7
|
+
static getValue(name: string): number;
|
|
8
|
+
static getName(input: number): string;
|
|
9
|
+
static isPiano(program: number): boolean;
|
|
10
|
+
static isGuitar(program: number): boolean;
|
|
11
|
+
static isBass(program: number): boolean;
|
|
12
|
+
static bankToLsbMsb(bank: number): [number, number];
|
|
13
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { ControllerType } from "./ControllerType";
|
|
2
|
+
/**
|
|
3
|
+
* A handler is responsible for writing midi events to a custom structure
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface IMidiFileHandler {
|
|
7
|
+
/**
|
|
8
|
+
* Adds a time signature to the generated midi file
|
|
9
|
+
* @param tick The midi ticks when this event should be happening.
|
|
10
|
+
* @param timeSignatureNumerator The time signature numerator
|
|
11
|
+
* @param timeSignatureDenominator The time signature denominator
|
|
12
|
+
*/
|
|
13
|
+
addTimeSignature(tick: number, timeSignatureNumerator: number, timeSignatureDenominator: number): void;
|
|
14
|
+
/**
|
|
15
|
+
* Adds a rest to the generated midi file.
|
|
16
|
+
* @param track The midi track on which the rest should be "played".
|
|
17
|
+
* @param tick The midi ticks when the rest is "playing".
|
|
18
|
+
* @param channel The midi channel on which the rest should be "played".
|
|
19
|
+
*/
|
|
20
|
+
addRest(track: number, tick: number, channel: number): void;
|
|
21
|
+
/**
|
|
22
|
+
* Adds a note to the generated midi file
|
|
23
|
+
* @param track The midi track on which the note should be played.
|
|
24
|
+
* @param start The midi ticks when the note should start playing.
|
|
25
|
+
* @param length The duration the note in midi ticks.
|
|
26
|
+
* @param key The key of the note to play
|
|
27
|
+
* @param velocity The velocity which should be applied to the note (derived from the note dynamics).
|
|
28
|
+
* @param channel The midi channel on which the note should be played.
|
|
29
|
+
*/
|
|
30
|
+
addNote(track: number, start: number, length: number, key: number, velocity: number, channel: number): void;
|
|
31
|
+
/**
|
|
32
|
+
* Adds a control change to the generated midi file.
|
|
33
|
+
* @param track The midi track on which the controller should change.
|
|
34
|
+
* @param tick The midi ticks when the controller should change.
|
|
35
|
+
* @param channel The midi channel on which the controller should change.
|
|
36
|
+
* @param controller The midi controller that should change.
|
|
37
|
+
* @param value The value to which the midi controller should change
|
|
38
|
+
*/
|
|
39
|
+
addControlChange(track: number, tick: number, channel: number, controller: ControllerType, value: number): void;
|
|
40
|
+
/**
|
|
41
|
+
* Add a program change to the generated midi file
|
|
42
|
+
* @param track The midi track on which the program should change.
|
|
43
|
+
* @param tick The midi ticks when the program should change.
|
|
44
|
+
* @param channel The midi channel on which the program should change.
|
|
45
|
+
* @param program The new program for the selected track and channel.
|
|
46
|
+
*/
|
|
47
|
+
addProgramChange(track: number, tick: number, channel: number, program: number): void;
|
|
48
|
+
/**
|
|
49
|
+
* Add a tempo change to the generated midi file.
|
|
50
|
+
* @param tick The midi ticks when the tempo should change change.
|
|
51
|
+
* @param tempo The tempo as BPM
|
|
52
|
+
*/
|
|
53
|
+
addTempo(tick: number, tempo: number): void;
|
|
54
|
+
/**
|
|
55
|
+
* Add a bend specific to a note to the generated midi file.
|
|
56
|
+
* The note does not need to be started, if this event is signaled, the next time a note
|
|
57
|
+
* on this channel and key is played it will be affected. The note bend is cleared on a note-off for this key.
|
|
58
|
+
* @param track The midi track on which the bend should change.
|
|
59
|
+
* @param tick The midi ticks when the bend should change.
|
|
60
|
+
* @param channel The midi channel on which the bend should change.
|
|
61
|
+
* @param channel The key of the note that should be affected by the bend.
|
|
62
|
+
* @param value The new bend for the selected note.
|
|
63
|
+
*/
|
|
64
|
+
addNoteBend(track: number, tick: number, channel: number, key: number, value: number): void;
|
|
65
|
+
/**
|
|
66
|
+
* Add a bend to the generated midi file.
|
|
67
|
+
* @param track The midi track on which the bend should change.
|
|
68
|
+
* @param tick The midi ticks when the bend should change.
|
|
69
|
+
* @param channel The midi channel on which the bend should change.
|
|
70
|
+
* @param value The new bend for the selected track and channel.
|
|
71
|
+
*/
|
|
72
|
+
addBend(track: number, tick: number, channel: number, value: number): void;
|
|
73
|
+
/**
|
|
74
|
+
* Indicates that the track is finished on the given ticks.
|
|
75
|
+
* @param track The track that was finished.
|
|
76
|
+
* @param tick The end tick for this track.
|
|
77
|
+
*/
|
|
78
|
+
finishTrack(track: number, tick: number): void;
|
|
79
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { BeatTickLookup } from "./BeatTickLookup";
|
|
2
|
+
import type { Beat } from "./../model/Beat";
|
|
3
|
+
import type { MasterBar } from "./../model/MasterBar";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a single point in time defining the tempo of a {@link MasterBarTickLookup}.
|
|
6
|
+
* This is typically the initial tempo of a master bar or a tempo change.
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class MasterBarTickLookupTempoChange {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the tick position within the {@link MasterBarTickLookup.start} and {@link MasterBarTickLookup.end} range.
|
|
12
|
+
*/
|
|
13
|
+
tick: number;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the tempo at the tick position.
|
|
16
|
+
*/
|
|
17
|
+
tempo: number;
|
|
18
|
+
constructor(tick: number, tempo: number);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Represents the time period, for which all bars of a {@link MasterBar} are played.
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export declare class MasterBarTickLookup {
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the start time in midi ticks at which the MasterBar is played.
|
|
27
|
+
*/
|
|
28
|
+
start: number;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets the end time in midi ticks at which the MasterBar is played.
|
|
31
|
+
*/
|
|
32
|
+
end: number;
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets the current tempo when the MasterBar is played.
|
|
35
|
+
* @deprecated use {@link tempoChanges}
|
|
36
|
+
*/
|
|
37
|
+
get tempo(): number;
|
|
38
|
+
/**
|
|
39
|
+
* Gets the list of tempo changes within the tick lookup.
|
|
40
|
+
*/
|
|
41
|
+
readonly tempoChanges: MasterBarTickLookupTempoChange[];
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets the MasterBar which is played.
|
|
44
|
+
*/
|
|
45
|
+
masterBar: MasterBar;
|
|
46
|
+
/**
|
|
47
|
+
* The first beat in the bar.
|
|
48
|
+
*/
|
|
49
|
+
firstBeat: BeatTickLookup | null;
|
|
50
|
+
/**
|
|
51
|
+
* The last beat in the bar.
|
|
52
|
+
*/
|
|
53
|
+
lastBeat: BeatTickLookup | null;
|
|
54
|
+
/**
|
|
55
|
+
* Inserts `newNextBeat` after `currentBeat` in the linked list of items and updates.
|
|
56
|
+
* the `firstBeat` and `lastBeat` respectively too.
|
|
57
|
+
* @param currentBeat The item in which to insert the new item afterwards
|
|
58
|
+
* @param newBeat The new item to insert
|
|
59
|
+
*/
|
|
60
|
+
private _insertAfter;
|
|
61
|
+
/**
|
|
62
|
+
* Inserts `newNextBeat` before `currentBeat` in the linked list of items and updates.
|
|
63
|
+
* the `firstBeat` and `lastBeat` respectively too.
|
|
64
|
+
* @param currentBeat The item in which to insert the new item afterwards
|
|
65
|
+
* @param newBeat The new item to insert
|
|
66
|
+
*/
|
|
67
|
+
private _insertBefore;
|
|
68
|
+
/**
|
|
69
|
+
* Gets or sets the {@link MasterBarTickLookup} of the next masterbar in the {@link Score}
|
|
70
|
+
*/
|
|
71
|
+
nextMasterBar: MasterBarTickLookup | null;
|
|
72
|
+
/**
|
|
73
|
+
* Gets or sets the {@link MasterBarTickLookup} of the previous masterbar in the {@link Score}
|
|
74
|
+
*/
|
|
75
|
+
previousMasterBar: MasterBarTickLookup | null;
|
|
76
|
+
/**
|
|
77
|
+
* Adds a new beat to this masterbar following the slicing logic required by the MidiTickLookup.
|
|
78
|
+
* @param beat The beat to add to this masterbat
|
|
79
|
+
* @param beatPlaybackStart The original start of this beat. This time is relevant for highlighting.
|
|
80
|
+
* @param sliceStart The slice start to which this beat should be added. This time is relevant for creating new slices.
|
|
81
|
+
* @param sliceDuration The slice duration to which this beat should be added. This time is relevant for creating new slices.
|
|
82
|
+
* @returns The first item of the chain which was affected.
|
|
83
|
+
*/
|
|
84
|
+
addBeat(beat: Beat, beatPlaybackStart: number, sliceStart: number, sliceDuration: number): void;
|
|
85
|
+
}
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import type { IWriteable } from "./../io/IWriteable";
|
|
2
|
+
import type { ControllerType } from "./ControllerType";
|
|
3
|
+
/**
|
|
4
|
+
* Lists all midi event types. Based on the type the instance is a specific subclass.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare enum MidiEventType {
|
|
8
|
+
TimeSignature = 88,// 0xFF _0x58_ in Midi 1.0
|
|
9
|
+
NoteOn = 128,// Aligned with Midi 1.0
|
|
10
|
+
NoteOff = 144,// Aligned with Midi 1.0
|
|
11
|
+
ControlChange = 176,// Aligned with Midi 1.0
|
|
12
|
+
ProgramChange = 192,// Aligned with Midi 1.0
|
|
13
|
+
TempoChange = 81,// 0xFF _0x51_ in Midi 1.0
|
|
14
|
+
PitchBend = 224,// Aligned with Midi 1.0
|
|
15
|
+
PerNotePitchBend = 96,// Aligned with Midi 2.0
|
|
16
|
+
EndOfTrack = 47,// 0xFF _0x2F_ in Midi 1.0
|
|
17
|
+
AlphaTabRest = 241,// SystemExclusive + 1
|
|
18
|
+
AlphaTabMetronome = 242,// SystemExclusive + 2
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated Not used anymore internally. move to the other concrete types.
|
|
21
|
+
*/
|
|
22
|
+
SystemExclusive = 240,// Aligned with Midi 1.0
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated Not used anymore internally. move to the other concrete types.
|
|
25
|
+
*/
|
|
26
|
+
SystemExclusive2 = 247,// Aligned with Midi 1.0
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated Not used anymore internally. move to the other concrete types.
|
|
29
|
+
*/
|
|
30
|
+
Meta = 255
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Represents a midi event.
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare abstract class MidiEvent {
|
|
37
|
+
/**
|
|
38
|
+
* Gets or sets the track to which the midi event belongs.
|
|
39
|
+
*/
|
|
40
|
+
track: number;
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets the absolute tick of this midi event.
|
|
43
|
+
*/
|
|
44
|
+
tick: number;
|
|
45
|
+
/**
|
|
46
|
+
* Gets or sets the midi command (type) of this event.
|
|
47
|
+
*/
|
|
48
|
+
type: MidiEventType;
|
|
49
|
+
/**
|
|
50
|
+
* Initializes a new instance of the {@link MidiEvent} class.
|
|
51
|
+
* @param track The track this event belongs to.
|
|
52
|
+
* @param tick The absolute midi ticks of this event.
|
|
53
|
+
* @param command The type of this event.
|
|
54
|
+
*/
|
|
55
|
+
constructor(track: number, tick: number, command: MidiEventType);
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated Change to `type`
|
|
58
|
+
*/
|
|
59
|
+
get command(): MidiEventType;
|
|
60
|
+
/**
|
|
61
|
+
* The 32-bit encoded raw midi message. Deprecated {@since 1.3.0}. Use the properties of the subclasses instead.
|
|
62
|
+
* @deprecated Use individual properties to access data.
|
|
63
|
+
*/
|
|
64
|
+
get message(): number;
|
|
65
|
+
/**
|
|
66
|
+
* The first data byte. Meaning depends on midi event type. (Deprecated {@since 1.3.0}, use the specific properties of the midi event depending on type)
|
|
67
|
+
* @deprecated Use individual properties to access data.
|
|
68
|
+
*/
|
|
69
|
+
get data1(): number;
|
|
70
|
+
/**
|
|
71
|
+
* The second data byte Meaning depends on midi event type. (Deprecated {@since 1.3.0}, use the specific properties of the midi event depending on type)
|
|
72
|
+
* @deprecated Use individual properties to access data.
|
|
73
|
+
*/
|
|
74
|
+
get data2(): number;
|
|
75
|
+
/**
|
|
76
|
+
* Writes the midi event as binary into the given stream.
|
|
77
|
+
* @param s The stream to write to.
|
|
78
|
+
*/
|
|
79
|
+
abstract writeTo(s: IWriteable): void;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Represents a time signature change event.
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class TimeSignatureEvent extends MidiEvent {
|
|
86
|
+
/**
|
|
87
|
+
* The time signature numerator.
|
|
88
|
+
*/
|
|
89
|
+
numerator: number;
|
|
90
|
+
/**
|
|
91
|
+
* The denominator index is a negative power of two: 2 represents a quarter-note, 3 represents an eighth-note, etc.
|
|
92
|
+
* Denominator = 2^(index)
|
|
93
|
+
*/
|
|
94
|
+
denominatorIndex: number;
|
|
95
|
+
/**
|
|
96
|
+
* The number of MIDI clocks in a metronome click
|
|
97
|
+
*/
|
|
98
|
+
midiClocksPerMetronomeClick: number;
|
|
99
|
+
/**
|
|
100
|
+
* The number of notated 32nd-notes in what MIDI thinks of as a quarter-note (24 MIDI Clocks).
|
|
101
|
+
*/
|
|
102
|
+
thirtySecondNodesInQuarter: number;
|
|
103
|
+
constructor(track: number, tick: number, numerator: number, denominatorIndex: number, midiClocksPerMetronomeClick: number, thirtySecondNodesInQuarter: number);
|
|
104
|
+
writeTo(s: IWriteable): void;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The base class for alphaTab specific midi events (like metronomes and rests).
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare abstract class AlphaTabSysExEvent extends MidiEvent {
|
|
111
|
+
static readonly AlphaTabManufacturerId = 125;
|
|
112
|
+
static readonly MetronomeEventId = 0;
|
|
113
|
+
static readonly RestEventId = 1;
|
|
114
|
+
writeTo(s: IWriteable): void;
|
|
115
|
+
protected abstract writeEventData(s: IWriteable): void;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Represents a metronome event. This event is emitted by the synthesizer only during playback and
|
|
119
|
+
* is typically not part of the midi file itself.
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export declare class AlphaTabMetronomeEvent extends AlphaTabSysExEvent {
|
|
123
|
+
/**
|
|
124
|
+
* The metronome counter as per current time signature.
|
|
125
|
+
*/
|
|
126
|
+
metronomeNumerator: number;
|
|
127
|
+
/**
|
|
128
|
+
* The duration of the metronome tick in MIDI ticks.
|
|
129
|
+
*/
|
|
130
|
+
metronomeDurationInTicks: number;
|
|
131
|
+
/**
|
|
132
|
+
* The duration of the metronome tick in milliseconds.
|
|
133
|
+
*/
|
|
134
|
+
metronomeDurationInMilliseconds: number;
|
|
135
|
+
/**
|
|
136
|
+
* Gets a value indicating whether the current event is a metronome event.
|
|
137
|
+
*/
|
|
138
|
+
readonly isMetronome: boolean;
|
|
139
|
+
constructor(track: number, tick: number, counter: number, durationInTicks: number, durationInMillis: number);
|
|
140
|
+
protected writeEventData(s: IWriteable): void;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Represents a REST beat being 'played'. This event supports alphaTab in placing the cursor.
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export declare class AlphaTabRestEvent extends AlphaTabSysExEvent {
|
|
147
|
+
channel: number;
|
|
148
|
+
constructor(track: number, tick: number, channel: number);
|
|
149
|
+
protected writeEventData(s: IWriteable): void;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* The base class for note related events.
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export declare abstract class NoteEvent extends MidiEvent {
|
|
156
|
+
/**
|
|
157
|
+
* The channel on which the note is played.
|
|
158
|
+
*/
|
|
159
|
+
channel: number;
|
|
160
|
+
/**
|
|
161
|
+
* The key of the note being played (aka. the note height).
|
|
162
|
+
*/
|
|
163
|
+
noteKey: number;
|
|
164
|
+
/**
|
|
165
|
+
* The velocity in which the 'key' of the note is pressed (aka. the loudness/intensity of the note).
|
|
166
|
+
*/
|
|
167
|
+
noteVelocity: number;
|
|
168
|
+
constructor(track: number, tick: number, type: MidiEventType, channel: number, noteKey: number, noteVelocity: number);
|
|
169
|
+
get data1(): number;
|
|
170
|
+
get data2(): number;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Represents a note being played
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export declare class NoteOnEvent extends NoteEvent {
|
|
177
|
+
constructor(track: number, tick: number, channel: number, noteKey: number, noteVelocity: number);
|
|
178
|
+
writeTo(s: IWriteable): void;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Represents a note stop being played.
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export declare class NoteOffEvent extends NoteEvent {
|
|
185
|
+
constructor(track: number, tick: number, channel: number, noteKey: number, noteVelocity: number);
|
|
186
|
+
writeTo(s: IWriteable): void;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Represents the change of a value on a midi controller.
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export declare class ControlChangeEvent extends MidiEvent {
|
|
193
|
+
/**
|
|
194
|
+
* The channel for which the controller is changing.
|
|
195
|
+
*/
|
|
196
|
+
channel: number;
|
|
197
|
+
/**
|
|
198
|
+
* The type of the controller which is changing.
|
|
199
|
+
*/
|
|
200
|
+
controller: ControllerType;
|
|
201
|
+
/**
|
|
202
|
+
* The new value of the controller. The meaning is depending on the controller type.
|
|
203
|
+
*/
|
|
204
|
+
value: number;
|
|
205
|
+
constructor(track: number, tick: number, channel: number, controller: ControllerType, value: number);
|
|
206
|
+
writeTo(s: IWriteable): void;
|
|
207
|
+
get data1(): number;
|
|
208
|
+
get data2(): number;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Represents the change of the midi program on a channel.
|
|
212
|
+
* @public
|
|
213
|
+
*/
|
|
214
|
+
export declare class ProgramChangeEvent extends MidiEvent {
|
|
215
|
+
/**
|
|
216
|
+
* The midi channel for which the program changes.
|
|
217
|
+
*/
|
|
218
|
+
channel: number;
|
|
219
|
+
/**
|
|
220
|
+
* The numeric value of the program indicating the instrument bank to choose.
|
|
221
|
+
*/
|
|
222
|
+
program: number;
|
|
223
|
+
constructor(track: number, tick: number, channel: number, program: number);
|
|
224
|
+
writeTo(s: IWriteable): void;
|
|
225
|
+
get data1(): number;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Represents a change of the tempo in the song.
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export declare class TempoChangeEvent extends MidiEvent {
|
|
232
|
+
/**
|
|
233
|
+
* The tempo in microseconds per quarter note (aka USQ). A time format typically for midi.
|
|
234
|
+
*/
|
|
235
|
+
get microSecondsPerQuarterNote(): number;
|
|
236
|
+
/**
|
|
237
|
+
* The tempo in microseconds per quarter note (aka USQ). A time format typically for midi.
|
|
238
|
+
*/
|
|
239
|
+
set microSecondsPerQuarterNote(value: number);
|
|
240
|
+
/**
|
|
241
|
+
* The tempo in beats per minute
|
|
242
|
+
*/
|
|
243
|
+
beatsPerMinute: number;
|
|
244
|
+
constructor(tick: number, microSecondsPerQuarterNote: number);
|
|
245
|
+
writeTo(s: IWriteable): void;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Represents a change of the pitch bend (aka. pitch wheel) on a specific channel.
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
export declare class PitchBendEvent extends MidiEvent {
|
|
252
|
+
/**
|
|
253
|
+
* The channel for which the pitch bend changes.
|
|
254
|
+
*/
|
|
255
|
+
channel: number;
|
|
256
|
+
/**
|
|
257
|
+
* The value to which the pitch changes. This value is according to the MIDI specification.
|
|
258
|
+
*/
|
|
259
|
+
value: number;
|
|
260
|
+
constructor(track: number, tick: number, channel: number, value: number);
|
|
261
|
+
writeTo(s: IWriteable): void;
|
|
262
|
+
get data1(): number;
|
|
263
|
+
get data2(): number;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* Represents a single note pitch bend change.
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
export declare class NoteBendEvent extends MidiEvent {
|
|
270
|
+
/**
|
|
271
|
+
* The channel on which the note is played for which the pitch changes.
|
|
272
|
+
*/
|
|
273
|
+
channel: number;
|
|
274
|
+
/**
|
|
275
|
+
* The key of the note for which the pitch changes.
|
|
276
|
+
*/
|
|
277
|
+
noteKey: number;
|
|
278
|
+
/**
|
|
279
|
+
* The value to which the pitch changes. This value is according to the MIDI specification.
|
|
280
|
+
*/
|
|
281
|
+
value: number;
|
|
282
|
+
constructor(track: number, tick: number, channel: number, noteKey: number, value: number);
|
|
283
|
+
writeTo(_s: IWriteable): void;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Represents the end of the track indicating that no more events for this track follow.
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
export declare class EndOfTrackEvent extends MidiEvent {
|
|
290
|
+
constructor(track: number, tick: number);
|
|
291
|
+
writeTo(s: IWriteable): void;
|
|
292
|
+
}
|