@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,210 @@
|
|
|
1
|
+
import { NotationMode } from "./../NotationSettings";
|
|
2
|
+
import { FingeringMode } from "./../NotationSettings";
|
|
3
|
+
import { NotationElement } from "./../NotationSettings";
|
|
4
|
+
import { TabRhythmMode } from "./../NotationSettings";
|
|
5
|
+
/**
|
|
6
|
+
* The notation settings control how various music notation elements are shown and behaving
|
|
7
|
+
* @json
|
|
8
|
+
* @json_declaration
|
|
9
|
+
* @public
|
|
10
|
+
* @target web
|
|
11
|
+
*/
|
|
12
|
+
export interface NotationSettingsJson {
|
|
13
|
+
/**
|
|
14
|
+
* The mode to use for display and play music notation elements.
|
|
15
|
+
* @since 0.9.6
|
|
16
|
+
* @category Notation
|
|
17
|
+
* @defaultValue `NotationMode.GuitarPro`
|
|
18
|
+
* @remarks
|
|
19
|
+
* AlphaTab provides 2 main music notation display modes `GuitarPro` and `SongBook`.
|
|
20
|
+
* As the names indicate they adjust the overall music notation rendering either to be more in line how [Arobas Guitar Pro](https://www.guitar-pro.com) displays it,
|
|
21
|
+
* or more like the common practice in paper song books practices the display.
|
|
22
|
+
*
|
|
23
|
+
* The main differences in the Songbook display mode are:
|
|
24
|
+
*
|
|
25
|
+
* 1. **Bends**
|
|
26
|
+
* For bends additional grace beats are introduced. Bends are categorized into gradual and fast bends.
|
|
27
|
+
* * Gradual bends are indicated by beat text "grad" or "grad.". Bend will sound along the beat duration.
|
|
28
|
+
* * Fast bends are done right before the next note. If the next note is tied even on-beat of the next note.
|
|
29
|
+
* 2. **Whammy Bars**
|
|
30
|
+
* Dips are shown as simple annotation over the beats. Whammy Bars are categorized into gradual and fast.
|
|
31
|
+
* * Gradual whammys are indicated by beat text "grad" or "grad.". Whammys will sound along the beat duration.
|
|
32
|
+
* * Fast whammys are done right the beat.
|
|
33
|
+
*
|
|
34
|
+
* 3. **Let Ring**
|
|
35
|
+
* Tied notes with let ring are not shown in standard notation. Let ring does not cause a longer playback, duration is defined via tied notes.
|
|
36
|
+
*
|
|
37
|
+
* 4. **Settings**
|
|
38
|
+
* Following default setting values are applied:
|
|
39
|
+
* ```js
|
|
40
|
+
* {
|
|
41
|
+
* notation: {
|
|
42
|
+
* smallGraceTabNotes: false,
|
|
43
|
+
* fingeringMode: alphaTab.FingeringMode.SingleNoteEffectBandm
|
|
44
|
+
* extendBendArrowsOnTiedNotes: false
|
|
45
|
+
* },
|
|
46
|
+
* elements: {
|
|
47
|
+
* parenthesisOnTiedBends: false,
|
|
48
|
+
* tabNotesOnTiedBends: false,
|
|
49
|
+
* zerosOnDiveWhammys: true
|
|
50
|
+
* }
|
|
51
|
+
* }
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
notationMode?: NotationMode | keyof typeof NotationMode | Lowercase<keyof typeof NotationMode>;
|
|
55
|
+
/**
|
|
56
|
+
* The fingering mode to use.
|
|
57
|
+
* @since 0.9.6
|
|
58
|
+
* @category Notation
|
|
59
|
+
* @defaultValue `FingeringMode.ScoreDefault`
|
|
60
|
+
* @remarks
|
|
61
|
+
* AlphaTab supports multiple modes on how to display fingering information in the music sheet. This setting controls how they should be displayed. The default behavior is to show the finger information
|
|
62
|
+
* directly in the score along the notes. For some use cases of training courses and for beginners this notation might be hard to read. The effect band mode allows to show a single finger information above the staff.
|
|
63
|
+
*
|
|
64
|
+
* | Score | Effect Band |
|
|
65
|
+
* |-------------------------------------------------------------|-------------------------------------------------------------------|
|
|
66
|
+
* |  |  |
|
|
67
|
+
*/
|
|
68
|
+
fingeringMode?: FingeringMode | keyof typeof FingeringMode | Lowercase<keyof typeof FingeringMode>;
|
|
69
|
+
/**
|
|
70
|
+
* Whether music notation elements are visible or not.
|
|
71
|
+
* @since 0.9.8
|
|
72
|
+
* @category Notation
|
|
73
|
+
* @defaultValue `[[NotationElement.ZerosOnDiveWhammys, false]]`
|
|
74
|
+
* @remarks
|
|
75
|
+
* AlphaTab has quite a set of notation elements that are usually shown by default or only shown when using
|
|
76
|
+
* the `SongBook` notation mode. This setting allows showing/hiding individual notation elements like the
|
|
77
|
+
* song information or the track names.
|
|
78
|
+
*
|
|
79
|
+
* For each element you can configure whether it is visible or not. The setting is a Map/Dictionary where
|
|
80
|
+
* the key is the element to configure and the value is a boolean value whether it should be visible or not.
|
|
81
|
+
* @example
|
|
82
|
+
* JavaScript
|
|
83
|
+
* Internally the setting is a [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) where the key must be a {@link NotationElement} enumeration value.
|
|
84
|
+
* For JSON input the usual enumeration serialization applies where also the names can be used. The names
|
|
85
|
+
* are case insensitive.
|
|
86
|
+
*
|
|
87
|
+
* ```js
|
|
88
|
+
* const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'), {
|
|
89
|
+
* notation: {
|
|
90
|
+
* elements: {
|
|
91
|
+
* scoreTitle: false,
|
|
92
|
+
* trackNames: false
|
|
93
|
+
* }
|
|
94
|
+
* }
|
|
95
|
+
* });
|
|
96
|
+
* api.settings.notation.elements.set(alphaTab.NotationElement.EffectWhammyBar, false);
|
|
97
|
+
* ```
|
|
98
|
+
* @example
|
|
99
|
+
* C#
|
|
100
|
+
* ```cs
|
|
101
|
+
* var settings = new AlphaTab.Settings();
|
|
102
|
+
* settings.Notation.Elements[AlphaTab.NotationElement.ScoreTitle] = false;
|
|
103
|
+
* settings.Notation.Elements[AlphaTab.NotationElement.TrackNames] = false;
|
|
104
|
+
* ```
|
|
105
|
+
* @example
|
|
106
|
+
* Android
|
|
107
|
+
* ```kotlin
|
|
108
|
+
* val settings = AlphaTab.Settings();
|
|
109
|
+
* settings.notation.elements[alphaTab.NotationElement.ScoreTitle] = false;
|
|
110
|
+
* settings.notation.elements[alphaTab.NotationElement.TrackNames] = false;
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
elements?: Map<NotationElement | keyof typeof NotationElement | Lowercase<keyof typeof NotationElement>, boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* Controls how the rhythm notation is rendered for tab staves.
|
|
116
|
+
* @since 0.9.6
|
|
117
|
+
* @category Notation
|
|
118
|
+
* @defaultValue `TabRhythmMode.Automatic`
|
|
119
|
+
* @remarks
|
|
120
|
+
* This setting enables the display of rhythm notation on tab staffs. [Demo](https://alphatab.net/docs/showcase/guitar-tabs)
|
|
121
|
+
* {@since 1.4.0} its automatically detected whether rhythm notation should be shown on tabs (based on the visibility of other staves).
|
|
122
|
+
*/
|
|
123
|
+
rhythmMode?: TabRhythmMode | keyof typeof TabRhythmMode | Lowercase<keyof typeof TabRhythmMode>;
|
|
124
|
+
/**
|
|
125
|
+
* Controls how high the ryhthm notation is rendered below the tab staff
|
|
126
|
+
* @since 0.9.6
|
|
127
|
+
* @category Notation
|
|
128
|
+
* @defaultValue `15`
|
|
129
|
+
* @remarks
|
|
130
|
+
* This setting can be used in combination with the {@link rhythmMode} setting to control how high the rhythm notation should be rendered below the tab staff.
|
|
131
|
+
*/
|
|
132
|
+
rhythmHeight?: number;
|
|
133
|
+
/**
|
|
134
|
+
* The transposition pitch offsets for the individual tracks used for rendering and playback.
|
|
135
|
+
* @since 0.9.6
|
|
136
|
+
* @category Notation
|
|
137
|
+
* @defaultValue `[]`
|
|
138
|
+
* @remarks
|
|
139
|
+
* This setting allows transposing of tracks for display and playback.
|
|
140
|
+
* The `transpositionPitches` setting allows defining an additional pitch offset per track, that is then considered when displaying the music sheet.
|
|
141
|
+
*/
|
|
142
|
+
transpositionPitches?: number[];
|
|
143
|
+
/**
|
|
144
|
+
* The transposition pitch offsets for the individual tracks used for rendering only.
|
|
145
|
+
* @since 0.9.6
|
|
146
|
+
* @category Notation
|
|
147
|
+
* @defaultValue `[]`
|
|
148
|
+
* @remarks
|
|
149
|
+
* For some instruments the pitch shown on the standard notation has an additional transposition. One example is the Guitar.
|
|
150
|
+
* Notes are shown 1 octave higher than they are on the piano. The following image shows a C4 for a piano and a guitar, and a C5 for the piano as comparison:
|
|
151
|
+
*
|
|
152
|
+
* 
|
|
153
|
+
*
|
|
154
|
+
* The `DisplayTranspositionPitch` setting allows defining an additional pitch offset per track, that is then considered when displaying the music sheet.
|
|
155
|
+
* This setting does not affect the playback of the instrument in any way. Despite the 2 different standard notations in the above example, they both play the same note height.
|
|
156
|
+
* The transposition is defined as number of semitones and one value per track of the song can be defined.
|
|
157
|
+
*/
|
|
158
|
+
displayTranspositionPitches?: number[];
|
|
159
|
+
/**
|
|
160
|
+
* If set to true the guitar tabs on grace beats are rendered smaller.
|
|
161
|
+
* @since 0.9.6
|
|
162
|
+
* @category Notation
|
|
163
|
+
* @defaultValue `true`
|
|
164
|
+
* @remarks
|
|
165
|
+
* By default, grace notes are drawn smaller on the guitar tabs than the other numbers. With this setting alphaTab can be configured to show grace tab notes with normal text size.
|
|
166
|
+
* | Enabled | Disabled |
|
|
167
|
+
* |--------------------------------------------------------------------|----------------------------------------------------------------------|
|
|
168
|
+
* |  |  |
|
|
169
|
+
*/
|
|
170
|
+
smallGraceTabNotes?: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* If set to true bend arrows expand to the end of the last tied note of the string. Otherwise they end on the next beat.
|
|
173
|
+
* @since 0.9.6
|
|
174
|
+
* @category Notation
|
|
175
|
+
* @defaultValue `true`
|
|
176
|
+
* @remarks
|
|
177
|
+
* By default the arrows and lines on bend effects are extended to the space of tied notes. This behavior is the Guitar Pro default but some applications and songbooks practice it different.
|
|
178
|
+
* There the bend only is drawn to the next beat.
|
|
179
|
+
* | Enabled | Disabled |
|
|
180
|
+
* |-----------------------------------------------------------------------------|-------------------------------------------------------------------------------|
|
|
181
|
+
* |  |  |
|
|
182
|
+
*/
|
|
183
|
+
extendBendArrowsOnTiedNotes?: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* If set to true, line effects like w/bar and let-ring are drawn until the end of the beat instead of the start
|
|
186
|
+
* @since 0.9.6
|
|
187
|
+
* @category Notation
|
|
188
|
+
* @defaultValue `false`
|
|
189
|
+
* @remarks
|
|
190
|
+
* By default effect annotations that render a line above the staff, stop on the beat. This is the typical display of Guitar Pro. In songbooks and some other tools
|
|
191
|
+
* these effects are drawn to the end of this beat.
|
|
192
|
+
* | Enabled | Disabled |
|
|
193
|
+
* |-----------------------------------------------------------------------------|-------------------------------------------------------------------------------|
|
|
194
|
+
* |  |  |
|
|
195
|
+
*/
|
|
196
|
+
extendLineEffectsToBeatEnd?: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* The height scale factor for slurs
|
|
199
|
+
* @since 0.9.6
|
|
200
|
+
* @category Notation
|
|
201
|
+
* @defaultValue `5`
|
|
202
|
+
* @remarks
|
|
203
|
+
* Slurs and ties currently calculate their height based on the distance they have from start to end note. Most music notation software do some complex collision detection to avoid a slur to overlap with other elements, alphaTab
|
|
204
|
+
* only has a simplified version of the slur positioning as of today. This setting allows adjusting the slur height to avoid collisions. The factor defined by this setting, is multiplied with the logarithmic distance between start and end.
|
|
205
|
+
* | Slur Height Default | Slur Height 14 |
|
|
206
|
+
* |------------------------------------------------------------------------|--------------------------------------------------------------|
|
|
207
|
+
* |  |  |
|
|
208
|
+
*/
|
|
209
|
+
slurHeight?: number;
|
|
210
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NotationSettings } from "./../NotationSettings";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare class NotationSettingsSerializer {
|
|
6
|
+
static fromJson(obj: NotationSettings, m: unknown): void;
|
|
7
|
+
static toJson(obj: NotationSettings | null): Map<string, unknown> | null;
|
|
8
|
+
static setProperty(obj: NotationSettings, property: string, v: unknown): boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import { PlayerOutputMode } from "./../PlayerSettings";
|
|
2
|
+
import { PlayerMode } from "./../PlayerSettings";
|
|
3
|
+
import { ScrollMode } from "./../PlayerSettings";
|
|
4
|
+
import { VibratoPlaybackSettingsJson } from "./VibratoPlaybackSettingsJson";
|
|
5
|
+
import { SlidePlaybackSettingsJson } from "./SlidePlaybackSettingsJson";
|
|
6
|
+
/**
|
|
7
|
+
* The player settings control how the audio playback and UI is behaving.
|
|
8
|
+
* @json
|
|
9
|
+
* @json_declaration
|
|
10
|
+
* @public
|
|
11
|
+
* @target web
|
|
12
|
+
*/
|
|
13
|
+
export interface PlayerSettingsJson {
|
|
14
|
+
/**
|
|
15
|
+
* The sound font file to load for the player.
|
|
16
|
+
* @target web
|
|
17
|
+
* @since 0.9.6
|
|
18
|
+
* @defaultValue `null`
|
|
19
|
+
* @category Player - JavaScript Specific
|
|
20
|
+
* @remarks
|
|
21
|
+
* When the player is enabled the soundfont from this URL will be loaded automatically after the player is ready.
|
|
22
|
+
*/
|
|
23
|
+
soundFont?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* The element to apply the scrolling on.
|
|
26
|
+
* @target web
|
|
27
|
+
* @json_read_only
|
|
28
|
+
* @json_raw
|
|
29
|
+
* @since 0.9.6
|
|
30
|
+
* @defaultValue `html,body`
|
|
31
|
+
* @category Player - JavaScript Specific
|
|
32
|
+
* @remarks
|
|
33
|
+
* When the player is active, it by default automatically scrolls the browser window to the currently played bar. This setting
|
|
34
|
+
* defines which elements should be scrolled to bring the played bar into the view port. By default scrolling happens on the `html,body`
|
|
35
|
+
* selector.
|
|
36
|
+
*/
|
|
37
|
+
scrollElement?: string | HTMLElement;
|
|
38
|
+
/**
|
|
39
|
+
* The mode used for playing audio samples
|
|
40
|
+
* @target web
|
|
41
|
+
* @since 1.3.0
|
|
42
|
+
* @defaultValue `PlayerOutputMode.WebAudioAudioWorklets`
|
|
43
|
+
* @category Player - JavaScript Specific
|
|
44
|
+
* @remarks
|
|
45
|
+
* Controls how alphaTab will play the audio samples in the browser.
|
|
46
|
+
*/
|
|
47
|
+
outputMode?: PlayerOutputMode | keyof typeof PlayerOutputMode | Lowercase<keyof typeof PlayerOutputMode>;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the player should be enabled.
|
|
50
|
+
* @since 0.9.6
|
|
51
|
+
* @defaultValue `false`
|
|
52
|
+
* @category Player
|
|
53
|
+
* @deprecated Use {@link playerMode} instead.
|
|
54
|
+
* @remarks
|
|
55
|
+
* This setting configures whether the player feature is enabled or not. Depending on the platform enabling the player needs some additional actions of the developer.
|
|
56
|
+
* For the JavaScript version the [player.soundFont](/docs/reference/settings/player/soundfont) property must be set to the URL of the sound font that should be used or it must be loaded manually via API.
|
|
57
|
+
* For .net manually the soundfont must be loaded.
|
|
58
|
+
*
|
|
59
|
+
* AlphaTab does not ship a default UI for the player. The API must be hooked up to some UI controls to allow the user to interact with the player.
|
|
60
|
+
*/
|
|
61
|
+
enablePlayer?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the player should be enabled and which mode it should use.
|
|
64
|
+
* @since 1.6.0
|
|
65
|
+
* @defaultValue `PlayerMode.Disabled`
|
|
66
|
+
* @category Player
|
|
67
|
+
* @remarks
|
|
68
|
+
* This setting configures whether the player feature is enabled or not. Depending on the platform enabling the player needs some additional actions of the developer.
|
|
69
|
+
*
|
|
70
|
+
* **Synthesizer**
|
|
71
|
+
*
|
|
72
|
+
* If the synthesizer is used (via {@link PlayerMode.EnabledAutomatic} or {@link PlayerMode.EnabledSynthesizer}) a sound font is needed so that the midi synthesizer can produce the audio samples.
|
|
73
|
+
*
|
|
74
|
+
* For the JavaScript version the [player.soundFont](/docs/reference/settings/player/soundfont) property must be set to the URL of the sound font that should be used or it must be loaded manually via API.
|
|
75
|
+
* For .net manually the soundfont must be loaded.
|
|
76
|
+
*
|
|
77
|
+
* **Backing Track**
|
|
78
|
+
*
|
|
79
|
+
* For a built-in backing track of the input file no additional data needs to be loaded (assuming everything is filled via the input file).
|
|
80
|
+
* Otherwise the `score.backingTrack` needs to be filled before loading and the related sync points need to be configured.
|
|
81
|
+
*
|
|
82
|
+
* **External Media**
|
|
83
|
+
*
|
|
84
|
+
* For synchronizing alphaTab with an external media no data needs to be loaded into alphaTab. The configured sync points on the MasterBars are used
|
|
85
|
+
* as reference to synchronize the external media with the internal time axis. Then the related APIs on the AlphaTabApi object need to be used
|
|
86
|
+
* to update the playback state and exterrnal audio position during playback.
|
|
87
|
+
*
|
|
88
|
+
* **User Interface**
|
|
89
|
+
*
|
|
90
|
+
* AlphaTab does not ship a default UI for the player. The API must be hooked up to some UI controls to allow the user to interact with the player.
|
|
91
|
+
*/
|
|
92
|
+
playerMode?: PlayerMode | keyof typeof PlayerMode | Lowercase<keyof typeof PlayerMode>;
|
|
93
|
+
/**
|
|
94
|
+
* Whether playback cursors should be displayed.
|
|
95
|
+
* @since 0.9.6
|
|
96
|
+
* @defaultValue `true` (if player is not disabled)
|
|
97
|
+
* @category Player
|
|
98
|
+
* @remarks
|
|
99
|
+
* This setting configures whether the playback cursors are shown or not. In case a developer decides to built an own cursor system the default one can be disabled with this setting. Enabling the cursor also requires the player to be active.
|
|
100
|
+
*/
|
|
101
|
+
enableCursor?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Whether the beat cursor should be animated or just ticking.
|
|
104
|
+
* @since 1.2.3
|
|
105
|
+
* @defaultValue `true`
|
|
106
|
+
* @category Player
|
|
107
|
+
* @remarks
|
|
108
|
+
* This setting configures whether the beat cursor is animated smoothly or whether it is ticking from beat to beat.
|
|
109
|
+
* The animation of the cursor might not be available on all targets so it might not have any effect.
|
|
110
|
+
*/
|
|
111
|
+
enableAnimatedBeatCursor?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Whether the notation elements of the currently played beat should be highlighted.
|
|
114
|
+
* @since 1.2.3
|
|
115
|
+
* @defaultValue `true`
|
|
116
|
+
* @category Player
|
|
117
|
+
* @remarks
|
|
118
|
+
* This setting configures whether the note elements are highlighted during playback.
|
|
119
|
+
* The highlighting of elements might not be available on all targets and render engine, so it might not have any effect.
|
|
120
|
+
*/
|
|
121
|
+
enableElementHighlighting?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Whether the default user interaction behavior should be active or not.
|
|
124
|
+
* @since 0.9.7
|
|
125
|
+
* @defaultValue `true`
|
|
126
|
+
* @category Player
|
|
127
|
+
* @remarks
|
|
128
|
+
* This setting configures whether alphaTab provides the default user interaction features like selection of the playback range and "seek on click".
|
|
129
|
+
* By default users can select the desired playback range with the mouse and also jump to individual beats by click. This behavior can be contolled with this setting.
|
|
130
|
+
*/
|
|
131
|
+
enableUserInteraction?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* The X-offset to add when scrolling.
|
|
134
|
+
* @since 0.9.6
|
|
135
|
+
* @defaultValue `0`
|
|
136
|
+
* @category Player
|
|
137
|
+
* @remarks
|
|
138
|
+
* When alphaTab does an auto-scrolling to the displayed bar, it will try to align the view port to the displayed bar. If due to
|
|
139
|
+
* some layout specifics or for aesthetics a small padding is needed, this setting allows an additional X-offset that is added to the
|
|
140
|
+
* scroll position.
|
|
141
|
+
*/
|
|
142
|
+
scrollOffsetX?: number;
|
|
143
|
+
/**
|
|
144
|
+
* The Y-offset to add when scrolling.
|
|
145
|
+
* @since 0.9.6
|
|
146
|
+
* @defaultValue `0`
|
|
147
|
+
* @category Player
|
|
148
|
+
* @remarks
|
|
149
|
+
* When alphaTab does an auto-scrolling to the displayed bar, it will try to align the view port to the displayed bar. If due to
|
|
150
|
+
* some layout specifics or for aesthetics a small padding is needed, this setting allows an additional Y-offset that is added to the
|
|
151
|
+
* scroll position.
|
|
152
|
+
*/
|
|
153
|
+
scrollOffsetY?: number;
|
|
154
|
+
/**
|
|
155
|
+
* The mode how to scroll.
|
|
156
|
+
* @since 0.9.6
|
|
157
|
+
* @defaultValue `ScrollMode.Continuous`
|
|
158
|
+
* @category Player
|
|
159
|
+
* @remarks
|
|
160
|
+
* This setting controls how alphaTab behaves for scrolling.
|
|
161
|
+
*/
|
|
162
|
+
scrollMode?: ScrollMode | keyof typeof ScrollMode | Lowercase<keyof typeof ScrollMode>;
|
|
163
|
+
/**
|
|
164
|
+
* How fast the scrolling to the new position should happen.
|
|
165
|
+
* @since 0.9.6
|
|
166
|
+
* @defaultValue `300`
|
|
167
|
+
* @category Player
|
|
168
|
+
* @remarks
|
|
169
|
+
* If possible from the platform, alphaTab will try to do a smooth scrolling to the played bar.
|
|
170
|
+
* This setting defines the speed of scrolling in milliseconds.
|
|
171
|
+
* Note that {@link nativeBrowserSmoothScroll} must be set to `false` for this to have an effect.
|
|
172
|
+
*/
|
|
173
|
+
scrollSpeed?: number;
|
|
174
|
+
/**
|
|
175
|
+
* Whether the native browser smooth scroll mechanism should be used over a custom animation.
|
|
176
|
+
* @target web
|
|
177
|
+
* @since 1.2.3
|
|
178
|
+
* @defaultValue `true`
|
|
179
|
+
* @category Player
|
|
180
|
+
* @remarks
|
|
181
|
+
* This setting configures whether the [native browser feature](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)
|
|
182
|
+
* for smooth scrolling should be used over a custom animation.
|
|
183
|
+
* If this setting is enabled, options like {@link scrollSpeed} will not have an effect anymore.
|
|
184
|
+
*/
|
|
185
|
+
nativeBrowserSmoothScroll?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* The bend duration in milliseconds for songbook bends.
|
|
188
|
+
* @since 0.9.6
|
|
189
|
+
* @defaultValue `75`
|
|
190
|
+
* @category Player
|
|
191
|
+
* @remarks
|
|
192
|
+
* If the display mode `songbook` is enabled, this has an effect on the way bends are played. For songbook bends the bend is done very quickly at the end or start of the beat.
|
|
193
|
+
* This setting defines the play duration for those bends in milliseconds. This duration is in milliseconds unlike some other settings which are in midi ticks. The reason is that on songbook bends,
|
|
194
|
+
* the bends should always be played in the same speed, regardless of the song tempo. Midi ticks are tempo dependent.
|
|
195
|
+
*/
|
|
196
|
+
songBookBendDuration?: number;
|
|
197
|
+
/**
|
|
198
|
+
* The duration of whammy dips in milliseconds for songbook whammys.
|
|
199
|
+
* @since 0.9.6
|
|
200
|
+
* @defaultValue `150`
|
|
201
|
+
* @category Player
|
|
202
|
+
* @remarks
|
|
203
|
+
* If the display mode `songbook` is enabled, this has an effect on the way whammy dips are played. For songbook dips the whammy is pressed very quickly at the start of the beat.
|
|
204
|
+
* This setting defines the play duration for those whammy bars in milliseconds. This duration is in milliseconds unlike some other settings which are in midi ticks. The reason is that on songbook dips,
|
|
205
|
+
* the whammy should always be pressed in the same speed, regardless of the song tempo. Midi ticks are tempo dependent.
|
|
206
|
+
*/
|
|
207
|
+
songBookDipDuration?: number;
|
|
208
|
+
/**
|
|
209
|
+
* The Vibrato settings allow control how the different vibrato types are generated for audio.
|
|
210
|
+
* @json_partial_names
|
|
211
|
+
* @since 0.9.6
|
|
212
|
+
* @category Player
|
|
213
|
+
* @remarks
|
|
214
|
+
* AlphaTab supports 4 types of vibratos, for each vibrato the amplitude and the wavelength can be configured. The amplitude controls how many semitones
|
|
215
|
+
* the vibrato changes the pitch up and down while playback. The wavelength controls how many midi ticks it will take to complete one up and down vibrato.
|
|
216
|
+
* The 4 vibrato types are:
|
|
217
|
+
*
|
|
218
|
+
* 1. Beat Slight - A fast vibrato on the whole beat. This vibrato is usually done with the whammy bar.
|
|
219
|
+
* 2. Beat Wide - A slow vibrato on the whole beat. This vibrato is usually done with the whammy bar.
|
|
220
|
+
* 3. Note Slight - A fast vibrato on a single note. This vibrato is usually done with the finger on the fretboard.
|
|
221
|
+
* 4. Note Wide - A slow vibrato on a single note. This vibrato is usually done with the finger on the fretboard.
|
|
222
|
+
*/
|
|
223
|
+
vibrato?: VibratoPlaybackSettingsJson;
|
|
224
|
+
/**
|
|
225
|
+
* The slide settings allow control how the different slide types are generated for audio.
|
|
226
|
+
* @json_partial_names
|
|
227
|
+
* @since 0.9.6
|
|
228
|
+
* @domWildcard
|
|
229
|
+
* @category Player
|
|
230
|
+
* @remarks
|
|
231
|
+
* AlphaTab supports various types of slides which can be grouped into 3 types:
|
|
232
|
+
*
|
|
233
|
+
* * Shift Slides
|
|
234
|
+
* * Legato Slides
|
|
235
|
+
*
|
|
236
|
+
*
|
|
237
|
+
* * Slide into from below
|
|
238
|
+
* * Slide into from above
|
|
239
|
+
* * Slide out to below
|
|
240
|
+
* * Slide out to above
|
|
241
|
+
*
|
|
242
|
+
*
|
|
243
|
+
* * Pick Slide out to above
|
|
244
|
+
* * Pick Slide out to below
|
|
245
|
+
*
|
|
246
|
+
* For the first 2 groups the audio generation can be adapted. For the pick slide the audio generation cannot be adapted
|
|
247
|
+
* as there is no mechanism yet in alphaTab to play pick slides to make them sound real.
|
|
248
|
+
*
|
|
249
|
+
* For the first group only the duration or start point of the slide can be configured while for the second group
|
|
250
|
+
* the duration/start-point and the pitch offset can be configured.
|
|
251
|
+
*/
|
|
252
|
+
slide?: SlidePlaybackSettingsJson;
|
|
253
|
+
/**
|
|
254
|
+
* Whether the triplet feel should be played or only displayed.
|
|
255
|
+
* @since 0.9.6
|
|
256
|
+
* @defaultValue `true`
|
|
257
|
+
* @category Player
|
|
258
|
+
* @remarks
|
|
259
|
+
* If this setting is enabled alphaTab will play the triplet feels accordingly, if it is disabled the triplet feel is only displayed but not played.
|
|
260
|
+
*/
|
|
261
|
+
playTripletFeel?: boolean;
|
|
262
|
+
/**
|
|
263
|
+
* The number of milliseconds the player should buffer.
|
|
264
|
+
* @since 1.2.3
|
|
265
|
+
* @defaultValue `500`
|
|
266
|
+
* @category Player
|
|
267
|
+
* @remarks
|
|
268
|
+
* Gets or sets how many milliseconds of audio samples should be buffered in total.
|
|
269
|
+
*
|
|
270
|
+
* * Larger buffers cause a delay from when audio settings like volumes will be applied.
|
|
271
|
+
* * Smaller buffers can cause audio crackling due to constant buffering that is happening.
|
|
272
|
+
*
|
|
273
|
+
* This buffer size can be changed whenever needed.
|
|
274
|
+
*/
|
|
275
|
+
bufferTimeInMilliseconds?: number;
|
|
276
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PlayerSettings } from "./../PlayerSettings";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare class PlayerSettingsSerializer {
|
|
6
|
+
static fromJson(obj: PlayerSettings, m: unknown): void;
|
|
7
|
+
static toJson(obj: PlayerSettings | null): Map<string, unknown> | null;
|
|
8
|
+
static setProperty(obj: PlayerSettings, property: string, v: unknown): boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { EngravingSettingsJson } from "./EngravingSettingsJson";
|
|
2
|
+
import { FontJson } from "./../model/Font";
|
|
3
|
+
import { ColorJson } from "./../model/Color";
|
|
4
|
+
/**
|
|
5
|
+
* This public class contains central definitions for controlling the visual appearance.
|
|
6
|
+
* @json
|
|
7
|
+
* @json_declaration
|
|
8
|
+
* @public
|
|
9
|
+
* @target web
|
|
10
|
+
*/
|
|
11
|
+
export interface RenderingResourcesJson {
|
|
12
|
+
/**
|
|
13
|
+
* The name of the SMuFL Font to use for rendering music symbols.
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* If this family name is provided, alphaTab will not load any custom font, but expects
|
|
17
|
+
* this font to be available in your environment (loadad as webfont or registered in alphaSkia).
|
|
18
|
+
*
|
|
19
|
+
* When using alphaTab in a browser environment it is rather recommended to specify the web font
|
|
20
|
+
* via the `smuflFontSources` on the `CoreSettings`and skipping this setting.
|
|
21
|
+
*
|
|
22
|
+
* You will also need to fill {@link engravingSettings} to match this font.
|
|
23
|
+
*
|
|
24
|
+
* @since 1.7.0
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
smuflFontFamilyName?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The SMuFL Metrics to use for rendering music symbols.
|
|
30
|
+
* @defaultValue `alphaTab`
|
|
31
|
+
* @since 1.7.0
|
|
32
|
+
*/
|
|
33
|
+
engravingSettings?: EngravingSettingsJson;
|
|
34
|
+
/**
|
|
35
|
+
* The font to use for displaying the songs copyright information in the header of the music sheet.
|
|
36
|
+
* @defaultValue `bold 12px Arial, sans-serif`
|
|
37
|
+
* @since 0.9.6
|
|
38
|
+
*/
|
|
39
|
+
copyrightFont?: FontJson;
|
|
40
|
+
/**
|
|
41
|
+
* The font to use for displaying the songs title in the header of the music sheet.
|
|
42
|
+
* @defaultValue `32px Georgia, serif`
|
|
43
|
+
* @since 0.9.6
|
|
44
|
+
*/
|
|
45
|
+
titleFont?: FontJson;
|
|
46
|
+
/**
|
|
47
|
+
* The font to use for displaying the songs subtitle in the header of the music sheet.
|
|
48
|
+
* @defaultValue `20px Georgia, serif`
|
|
49
|
+
* @since 0.9.6
|
|
50
|
+
*/
|
|
51
|
+
subTitleFont?: FontJson;
|
|
52
|
+
/**
|
|
53
|
+
* The font to use for displaying the lyrics information in the header of the music sheet.
|
|
54
|
+
* @defaultValue `15px Arial, sans-serif`
|
|
55
|
+
* @since 0.9.6
|
|
56
|
+
*/
|
|
57
|
+
wordsFont?: FontJson;
|
|
58
|
+
/**
|
|
59
|
+
* The font to use for displaying certain effect related elements in the music sheet.
|
|
60
|
+
* @defaultValue `italic 12px Georgia, serif`
|
|
61
|
+
* @since 0.9.6
|
|
62
|
+
*/
|
|
63
|
+
effectFont?: FontJson;
|
|
64
|
+
/**
|
|
65
|
+
* The font to use for displaying beat time information in the music sheet.
|
|
66
|
+
* @defaultValue `12px Georgia, serif`
|
|
67
|
+
* @since 1.4.0
|
|
68
|
+
*/
|
|
69
|
+
timerFont?: FontJson;
|
|
70
|
+
/**
|
|
71
|
+
* The font to use for displaying the directions texts.
|
|
72
|
+
* @defaultValue `14px Georgia, serif`
|
|
73
|
+
* @since 1.4.0
|
|
74
|
+
*/
|
|
75
|
+
directionsFont?: FontJson;
|
|
76
|
+
/**
|
|
77
|
+
* The font to use for displaying the fretboard numbers in chord diagrams.
|
|
78
|
+
* @defaultValue `11px Arial, sans-serif`
|
|
79
|
+
* @since 0.9.6
|
|
80
|
+
*/
|
|
81
|
+
fretboardNumberFont?: FontJson;
|
|
82
|
+
/**
|
|
83
|
+
* The font to use for displaying the numbered music notation in the music sheet.
|
|
84
|
+
* @defaultValue `14px Arial, sans-serif`
|
|
85
|
+
* @since 1.4.0
|
|
86
|
+
*/
|
|
87
|
+
numberedNotationFont?: FontJson;
|
|
88
|
+
/**
|
|
89
|
+
* The font to use for displaying the grace notes in numbered music notation in the music sheet.
|
|
90
|
+
* @defaultValue `16px Arial, sans-serif`
|
|
91
|
+
* @since 1.4.0
|
|
92
|
+
*/
|
|
93
|
+
numberedNotationGraceFont?: FontJson;
|
|
94
|
+
/**
|
|
95
|
+
* The font to use for displaying the guitar tablature numbers in the music sheet.
|
|
96
|
+
* @defaultValue `13px Arial, sans-serif`
|
|
97
|
+
* @since 0.9.6
|
|
98
|
+
*/
|
|
99
|
+
tablatureFont?: FontJson;
|
|
100
|
+
/**
|
|
101
|
+
* The font to use for grace notation related texts in the music sheet.
|
|
102
|
+
* @defaultValue `11px Arial, sans-serif`
|
|
103
|
+
* @since 0.9.6
|
|
104
|
+
*/
|
|
105
|
+
graceFont?: FontJson;
|
|
106
|
+
/**
|
|
107
|
+
* The color to use for rendering the lines of staves.
|
|
108
|
+
* @defaultValue `rgb(165, 165, 165)`
|
|
109
|
+
* @since 0.9.6
|
|
110
|
+
*/
|
|
111
|
+
staffLineColor?: ColorJson;
|
|
112
|
+
/**
|
|
113
|
+
* The color to use for rendering bar separators, the accolade and repeat signs.
|
|
114
|
+
* @defaultValue `rgb(34, 34, 17)`
|
|
115
|
+
* @since 0.9.6
|
|
116
|
+
*/
|
|
117
|
+
barSeparatorColor?: ColorJson;
|
|
118
|
+
/**
|
|
119
|
+
* The font to use for displaying the bar numbers above the music sheet.
|
|
120
|
+
* @defaultValue `11px Arial, sans-serif`
|
|
121
|
+
* @since 0.9.6
|
|
122
|
+
*/
|
|
123
|
+
barNumberFont?: FontJson;
|
|
124
|
+
/**
|
|
125
|
+
* The color to use for displaying the bar numbers above the music sheet.
|
|
126
|
+
* @defaultValue `rgb(200, 0, 0)`
|
|
127
|
+
* @since 0.9.6
|
|
128
|
+
*/
|
|
129
|
+
barNumberColor?: ColorJson;
|
|
130
|
+
/**
|
|
131
|
+
* The font to use for displaying finger information in the music sheet.
|
|
132
|
+
* @defaultValue `14px Georgia, serif`
|
|
133
|
+
* @since 0.9.6
|
|
134
|
+
* @deprecated Since 1.7.0 alphaTab uses the glyphs contained in the SMuFL font
|
|
135
|
+
*/
|
|
136
|
+
fingeringFont?: FontJson;
|
|
137
|
+
/**
|
|
138
|
+
* The font to use for displaying finger information when inline into the music sheet.
|
|
139
|
+
* @defaultValue `12px Georgia, serif`
|
|
140
|
+
* @since 1.4.0
|
|
141
|
+
* @deprecated Since 1.7.0 alphaTab uses the glyphs contained in the SMuFL font
|
|
142
|
+
*/
|
|
143
|
+
inlineFingeringFont?: FontJson;
|
|
144
|
+
/**
|
|
145
|
+
* The font to use for section marker labels shown above the music sheet.
|
|
146
|
+
* @defaultValue `bold 14px Georgia, serif`
|
|
147
|
+
* @since 0.9.6
|
|
148
|
+
*/
|
|
149
|
+
markerFont?: FontJson;
|
|
150
|
+
/**
|
|
151
|
+
* The color to use for music notation elements of the primary voice.
|
|
152
|
+
* @defaultValue `rgb(0, 0, 0)`
|
|
153
|
+
* @since 0.9.6
|
|
154
|
+
*/
|
|
155
|
+
mainGlyphColor?: ColorJson;
|
|
156
|
+
/**
|
|
157
|
+
* The color to use for music notation elements of the secondary voices.
|
|
158
|
+
* @defaultValue `rgb(0,0,0,0.4)`
|
|
159
|
+
* @since 0.9.6
|
|
160
|
+
*/
|
|
161
|
+
secondaryGlyphColor?: ColorJson;
|
|
162
|
+
/**
|
|
163
|
+
* The color to use for displaying the song information above the music sheets.
|
|
164
|
+
* @defaultValue `rgb(0, 0, 0)`
|
|
165
|
+
* @since 0.9.6
|
|
166
|
+
*/
|
|
167
|
+
scoreInfoColor?: ColorJson;
|
|
168
|
+
}
|