@coderline/alphatab-monaco 1.7.0-alpha.1626 → 1.7.0-alpha.1627
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/dist/alphaTab.monaco.d.ts +2 -40
- package/dist/alphaTab.monaco.mjs +3 -2
- package/dist/alphatex.mjs +27 -0
- package/{src/lsp.ts → dist/lsp.mjs} +42 -112
- package/{src/lspMonacoMappings.ts → dist/lspMonacoMappings.mjs} +80 -136
- package/{src/textmate.ts → dist/textmate.mjs} +26 -22
- package/dist/{alphaTab.monaco.min.mjs → types.mjs} +2 -2
- package/dist/worker.mjs +6097 -0
- package/package.json +11 -3
- package/biome.jsonc +0 -31
- package/dist/abap.mjs +0 -1419
- package/dist/alphaTab.monaco2.mjs +0 -205141
- package/dist/alphatab-monaco.css +0 -7100
- package/dist/apex.mjs +0 -351
- package/dist/azcli.mjs +0 -89
- package/dist/bat.mjs +0 -121
- package/dist/bicep.mjs +0 -130
- package/dist/cameligo.mjs +0 -195
- package/dist/clojure.mjs +0 -782
- package/dist/coffee.mjs +0 -253
- package/dist/cpp.mjs +0 -410
- package/dist/csharp.mjs +0 -347
- package/dist/csp.mjs +0 -74
- package/dist/css.mjs +0 -206
- package/dist/cssMode.mjs +0 -2106
- package/dist/cypher.mjs +0 -284
- package/dist/dart.mjs +0 -302
- package/dist/dockerfile.mjs +0 -151
- package/dist/ecl.mjs +0 -477
- package/dist/elixir.mjs +0 -590
- package/dist/flow9.mjs +0 -163
- package/dist/freemarker2.mjs +0 -1029
- package/dist/fsharp.mjs +0 -238
- package/dist/go.mjs +0 -239
- package/dist/graphql.mjs +0 -172
- package/dist/handlebars.mjs +0 -452
- package/dist/hcl.mjs +0 -204
- package/dist/html.mjs +0 -341
- package/dist/htmlMode.mjs +0 -2121
- package/dist/ini.mjs +0 -92
- package/dist/java.mjs +0 -253
- package/dist/javascript.mjs +0 -90
- package/dist/jsonMode.mjs +0 -2830
- package/dist/julia.mjs +0 -532
- package/dist/kotlin.mjs +0 -274
- package/dist/less.mjs +0 -182
- package/dist/lexon.mjs +0 -178
- package/dist/liquid.mjs +0 -273
- package/dist/lua.mjs +0 -183
- package/dist/m3.mjs +0 -231
- package/dist/markdown.mjs +0 -250
- package/dist/mdx.mjs +0 -197
- package/dist/mips.mjs +0 -219
- package/dist/msdax.mjs +0 -396
- package/dist/mysql.mjs +0 -899
- package/dist/objective-c.mjs +0 -204
- package/dist/pascal.mjs +0 -272
- package/dist/pascaligo.mjs +0 -185
- package/dist/perl.mjs +0 -647
- package/dist/pgsql.mjs +0 -872
- package/dist/php.mjs +0 -521
- package/dist/pla.mjs +0 -158
- package/dist/postiats.mjs +0 -928
- package/dist/powerquery.mjs +0 -911
- package/dist/powershell.mjs +0 -260
- package/dist/protobuf.mjs +0 -441
- package/dist/pug.mjs +0 -423
- package/dist/python.mjs +0 -333
- package/dist/qsharp.mjs +0 -322
- package/dist/r.mjs +0 -264
- package/dist/razor.mjs +0 -583
- package/dist/redis.mjs +0 -323
- package/dist/redshift.mjs +0 -830
- package/dist/restructuredtext.mjs +0 -195
- package/dist/ruby.mjs +0 -532
- package/dist/rust.mjs +0 -364
- package/dist/sb.mjs +0 -136
- package/dist/scala.mjs +0 -391
- package/dist/scheme.mjs +0 -129
- package/dist/scss.mjs +0 -281
- package/dist/shell.mjs +0 -242
- package/dist/solidity.mjs +0 -1388
- package/dist/sophia.mjs +0 -220
- package/dist/sparql.mjs +0 -222
- package/dist/sql.mjs +0 -874
- package/dist/st.mjs +0 -437
- package/dist/swift.mjs +0 -333
- package/dist/systemverilog.mjs +0 -597
- package/dist/tcl.mjs +0 -253
- package/dist/tsMode.mjs +0 -1384
- package/dist/twig.mjs +0 -413
- package/dist/types/alphatab/src/AlphaTabApiBase.d.ts +0 -2550
- package/dist/types/alphatab/src/AlphaTabError.d.ts +0 -15
- package/dist/types/alphatab/src/CoreSettings.d.ts +0 -212
- package/dist/types/alphatab/src/DisplaySettings.d.ts +0 -340
- package/dist/types/alphatab/src/EngravingSettings.d.ts +0 -430
- package/dist/types/alphatab/src/Environment.d.ts +0 -230
- package/dist/types/alphatab/src/EventEmitter.d.ts +0 -62
- package/dist/types/alphatab/src/ExporterSettings.d.ts +0 -23
- package/dist/types/alphatab/src/FileLoadError.d.ts +0 -9
- package/dist/types/alphatab/src/FormatError.d.ts +0 -8
- package/dist/types/alphatab/src/ImporterSettings.d.ts +0 -64
- package/dist/types/alphatab/src/LayoutMode.d.ts +0 -14
- package/dist/types/alphatab/src/LogLevel.d.ts +0 -27
- package/dist/types/alphatab/src/Logger.d.ts +0 -33
- package/dist/types/alphatab/src/NotationSettings.d.ts +0 -509
- package/dist/types/alphatab/src/PlayerSettings.d.ts +0 -411
- package/dist/types/alphatab/src/ProgressEventArgs.d.ts +0 -20
- package/dist/types/alphatab/src/RenderingResources.d.ts +0 -175
- package/dist/types/alphatab/src/ResizeEventArgs.d.ts +0 -19
- package/dist/types/alphatab/src/Settings.d.ts +0 -59
- package/dist/types/alphatab/src/SmuflMetadata.d.ts +0 -84
- package/dist/types/alphatab/src/StaveProfile.d.ts +0 -27
- package/dist/types/alphatab/src/alphaTab.core.d.ts +0 -36
- package/dist/types/alphatab/src/alphaTab.main.d.ts +0 -1
- package/dist/types/alphatab/src/alphaTab.polyfills.d.ts +0 -1
- package/dist/types/alphatab/src/exporter/AlphaTexExporter.d.ts +0 -24
- package/dist/types/alphatab/src/exporter/Gp7Exporter.d.ts +0 -10
- package/dist/types/alphatab/src/exporter/GpifWriter.d.ts +0 -61
- package/dist/types/alphatab/src/exporter/ScoreExporter.d.ts +0 -29
- package/dist/types/alphatab/src/exporter/_barrel.d.ts +0 -3
- package/dist/types/alphatab/src/generated/CoreSettingsJson.d.ts +0 -172
- package/dist/types/alphatab/src/generated/CoreSettingsSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/DisplaySettingsJson.d.ts +0 -328
- package/dist/types/alphatab/src/generated/DisplaySettingsSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/EngravingSettingsCloner.d.ts +0 -7
- package/dist/types/alphatab/src/generated/EngravingSettingsJson.d.ts +0 -388
- package/dist/types/alphatab/src/generated/EngravingSettingsSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/EngravingStemInfoJson.d.ts +0 -20
- package/dist/types/alphatab/src/generated/EngravingStemInfoSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/ExporterSettingsJson.d.ts +0 -24
- package/dist/types/alphatab/src/generated/ExporterSettingsSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/ImporterSettingsJson.d.ts +0 -65
- package/dist/types/alphatab/src/generated/ImporterSettingsSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/NotationSettingsJson.d.ts +0 -210
- package/dist/types/alphatab/src/generated/NotationSettingsSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/PlayerSettingsJson.d.ts +0 -276
- package/dist/types/alphatab/src/generated/PlayerSettingsSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/RenderingResourcesJson.d.ts +0 -168
- package/dist/types/alphatab/src/generated/RenderingResourcesSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/SettingsJson.d.ts +0 -48
- package/dist/types/alphatab/src/generated/SettingsSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/SlidePlaybackSettingsJson.d.ts +0 -31
- package/dist/types/alphatab/src/generated/SlidePlaybackSettingsSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/VersionInfo.d.ts +0 -9
- package/dist/types/alphatab/src/generated/VibratoPlaybackSettingsJson.d.ts +0 -49
- package/dist/types/alphatab/src/generated/VibratoPlaybackSettingsSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/_jsonbarrel.d.ts +0 -14
- package/dist/types/alphatab/src/generated/model/AutomationCloner.d.ts +0 -7
- package/dist/types/alphatab/src/generated/model/AutomationSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/BackingTrackSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/BarSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/BarStyleSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/BeatCloner.d.ts +0 -7
- package/dist/types/alphatab/src/generated/model/BeatSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/BeatStyleSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/BendPointCloner.d.ts +0 -7
- package/dist/types/alphatab/src/generated/model/BendPointSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/ChordSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/FermataSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/HeaderFooterStyleSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/InstrumentArticulationSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/MasterBarSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/NoteCloner.d.ts +0 -7
- package/dist/types/alphatab/src/generated/model/NoteSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/NoteStyleSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/PlaybackInformationSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/RenderStylesheetSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/ScoreSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/ScoreStyleSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/SectionSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/StaffSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/SustainPedalMarkerSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/SyncPointDataCloner.d.ts +0 -7
- package/dist/types/alphatab/src/generated/model/SyncPointDataSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/TrackSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/TrackStyleSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/TuningSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/VoiceSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/generated/model/VoiceStyleSerializer.d.ts +0 -9
- package/dist/types/alphatab/src/importer/AlphaTexImporter.d.ts +0 -69
- package/dist/types/alphatab/src/importer/BinaryStylesheet.d.ts +0 -70
- package/dist/types/alphatab/src/importer/CapellaImporter.d.ts +0 -10
- package/dist/types/alphatab/src/importer/CapellaParser.d.ts +0 -75
- package/dist/types/alphatab/src/importer/Gp3To5Importer.d.ts +0 -95
- package/dist/types/alphatab/src/importer/Gp7To8Importer.d.ts +0 -10
- package/dist/types/alphatab/src/importer/GpifParser.d.ts +0 -131
- package/dist/types/alphatab/src/importer/GpxFileSystem.d.ts +0 -82
- package/dist/types/alphatab/src/importer/GpxImporter.d.ts +0 -10
- package/dist/types/alphatab/src/importer/LayoutConfiguration.d.ts +0 -38
- package/dist/types/alphatab/src/importer/MusicXmlImporter.d.ts +0 -128
- package/dist/types/alphatab/src/importer/PartConfiguration.d.ts +0 -27
- package/dist/types/alphatab/src/importer/ScoreImporter.d.ts +0 -22
- package/dist/types/alphatab/src/importer/ScoreLoader.d.ts +0 -32
- package/dist/types/alphatab/src/importer/UnsupportedFormatError.d.ts +0 -9
- package/dist/types/alphatab/src/importer/_barrel.d.ts +0 -5
- package/dist/types/alphatab/src/importer/alphaTex/ATNF.d.ts +0 -19
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1EnumMappings.d.ts +0 -75
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1LanguageDefinitions.d.ts +0 -39
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1LanguageHandler.d.ts +0 -72
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTex1MetaDataReader.d.ts +0 -42
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTexAst.d.ts +0 -504
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTexLexer.d.ts +0 -43
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTexParser.d.ts +0 -60
- package/dist/types/alphatab/src/importer/alphaTex/AlphaTexShared.d.ts +0 -290
- package/dist/types/alphatab/src/importer/alphaTex/IAlphaTexLanguageImportHandler.d.ts +0 -50
- package/dist/types/alphatab/src/importer/alphaTex/IAlphaTexMetaDataReader.d.ts +0 -12
- package/dist/types/alphatab/src/importer/alphaTex/_barrel.d.ts +0 -4
- package/dist/types/alphatab/src/io/BitReader.d.ts +0 -18
- package/dist/types/alphatab/src/io/ByteBuffer.d.ts +0 -26
- package/dist/types/alphatab/src/io/IOHelper.d.ts +0 -38
- package/dist/types/alphatab/src/io/IReadable.d.ts +0 -48
- package/dist/types/alphatab/src/io/IWriteable.d.ts +0 -22
- package/dist/types/alphatab/src/io/JsonHelper.d.ts +0 -26
- package/dist/types/alphatab/src/io/TypeConversions.d.ts +0 -20
- package/dist/types/alphatab/src/io/_barrel.d.ts +0 -4
- package/dist/types/alphatab/src/midi/AlphaSynthMidiFileHandler.d.ts +0 -28
- package/dist/types/alphatab/src/midi/BeatTickLookup.d.ts +0 -63
- package/dist/types/alphatab/src/midi/ControllerType.d.ts +0 -84
- package/dist/types/alphatab/src/midi/DeprecatedEvents.d.ts +0 -103
- package/dist/types/alphatab/src/midi/GeneralMidi.d.ts +0 -13
- package/dist/types/alphatab/src/midi/IMidiFileHandler.d.ts +0 -79
- package/dist/types/alphatab/src/midi/MasterBarTickLookup.d.ts +0 -85
- package/dist/types/alphatab/src/midi/MidiEvent.d.ts +0 -292
- package/dist/types/alphatab/src/midi/MidiFile.d.ts +0 -72
- package/dist/types/alphatab/src/midi/MidiFileGenerator.d.ts +0 -150
- package/dist/types/alphatab/src/midi/MidiPlaybackController.d.ts +0 -36
- package/dist/types/alphatab/src/midi/MidiTickLookup.d.ts +0 -167
- package/dist/types/alphatab/src/midi/MidiUtils.d.ts +0 -37
- package/dist/types/alphatab/src/midi/_barrel.d.ts +0 -10
- package/dist/types/alphatab/src/model/AccentuationType.d.ts +0 -22
- package/dist/types/alphatab/src/model/AccidentalType.d.ts +0 -42
- package/dist/types/alphatab/src/model/Automation.d.ts +0 -113
- package/dist/types/alphatab/src/model/BackingTrack.d.ts +0 -13
- package/dist/types/alphatab/src/model/Bar.d.ts +0 -329
- package/dist/types/alphatab/src/model/BarreShape.d.ts +0 -18
- package/dist/types/alphatab/src/model/Beat.d.ts +0 -559
- package/dist/types/alphatab/src/model/BendPoint.d.ts +0 -26
- package/dist/types/alphatab/src/model/BendStyle.d.ts +0 -18
- package/dist/types/alphatab/src/model/BendType.d.ts +0 -46
- package/dist/types/alphatab/src/model/BrushType.d.ts +0 -26
- package/dist/types/alphatab/src/model/Chord.d.ts +0 -48
- package/dist/types/alphatab/src/model/Clef.d.ts +0 -26
- package/dist/types/alphatab/src/model/Color.d.ts +0 -40
- package/dist/types/alphatab/src/model/CrescendoType.d.ts +0 -18
- package/dist/types/alphatab/src/model/Direction.d.ts +0 -25
- package/dist/types/alphatab/src/model/Duration.d.ts +0 -50
- package/dist/types/alphatab/src/model/DynamicValue.d.ts +0 -92
- package/dist/types/alphatab/src/model/ElementStyle.d.ts +0 -13
- package/dist/types/alphatab/src/model/FadeType.d.ts +0 -22
- package/dist/types/alphatab/src/model/Fermata.d.ts +0 -34
- package/dist/types/alphatab/src/model/Fingers.d.ts +0 -34
- package/dist/types/alphatab/src/model/Font.d.ts +0 -117
- package/dist/types/alphatab/src/model/GolpeType.d.ts +0 -18
- package/dist/types/alphatab/src/model/GraceGroup.d.ts +0 -26
- package/dist/types/alphatab/src/model/GraceType.d.ts +0 -22
- package/dist/types/alphatab/src/model/HarmonicType.d.ts +0 -34
- package/dist/types/alphatab/src/model/InstrumentArticulation.d.ts +0 -71
- package/dist/types/alphatab/src/model/JsonConverter.d.ts +0 -95
- package/dist/types/alphatab/src/model/KeySignature.d.ts +0 -66
- package/dist/types/alphatab/src/model/KeySignatureType.d.ts +0 -14
- package/dist/types/alphatab/src/model/Lyrics.d.ts +0 -30
- package/dist/types/alphatab/src/model/MasterBar.d.ts +0 -182
- package/dist/types/alphatab/src/model/ModelUtils.d.ts +0 -134
- package/dist/types/alphatab/src/model/MusicFontSymbol.d.ts +0 -289
- package/dist/types/alphatab/src/model/Note.d.ts +0 -516
- package/dist/types/alphatab/src/model/NoteAccidentalMode.d.ts +0 -34
- package/dist/types/alphatab/src/model/NoteOrnament.d.ts +0 -11
- package/dist/types/alphatab/src/model/Ottavia.d.ts +0 -26
- package/dist/types/alphatab/src/model/PercussionMapper.d.ts +0 -15
- package/dist/types/alphatab/src/model/PickStroke.d.ts +0 -18
- package/dist/types/alphatab/src/model/PlaybackInformation.d.ts +0 -45
- package/dist/types/alphatab/src/model/Rasgueado.d.ts +0 -25
- package/dist/types/alphatab/src/model/RenderStylesheet.d.ts +0 -135
- package/dist/types/alphatab/src/model/RepeatGroup.d.ts +0 -33
- package/dist/types/alphatab/src/model/Score.d.ts +0 -224
- package/dist/types/alphatab/src/model/Section.d.ts +0 -17
- package/dist/types/alphatab/src/model/SimileMark.d.ts +0 -24
- package/dist/types/alphatab/src/model/SlideInType.d.ts +0 -18
- package/dist/types/alphatab/src/model/SlideOutType.d.ts +0 -34
- package/dist/types/alphatab/src/model/Staff.d.ts +0 -100
- package/dist/types/alphatab/src/model/Track.d.ts +0 -124
- package/dist/types/alphatab/src/model/TripletFeel.d.ts +0 -34
- package/dist/types/alphatab/src/model/Tuning.d.ts +0 -60
- package/dist/types/alphatab/src/model/TupletGroup.d.ts +0 -37
- package/dist/types/alphatab/src/model/VibratoType.d.ts +0 -18
- package/dist/types/alphatab/src/model/Voice.d.ts +0 -81
- package/dist/types/alphatab/src/model/WahPedal.d.ts +0 -9
- package/dist/types/alphatab/src/model/WhammyType.d.ts +0 -36
- package/dist/types/alphatab/src/model/_barrel.d.ts +0 -57
- package/dist/types/alphatab/src/platform/Cursors.d.ts +0 -31
- package/dist/types/alphatab/src/platform/ICanvas.d.ts +0 -102
- package/dist/types/alphatab/src/platform/IContainer.d.ts +0 -71
- package/dist/types/alphatab/src/platform/IMouseEventArgs.d.ts +0 -27
- package/dist/types/alphatab/src/platform/IUiFacade.d.ts +0 -175
- package/dist/types/alphatab/src/platform/_barrel.d.ts +0 -8
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthAudioExporterWorkerApi.d.ts +0 -21
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthAudioWorkletOutput.d.ts +0 -30
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthScriptProcessorOutput.d.ts +0 -21
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebAudioOutputBase.d.ts +0 -57
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebWorker.d.ts +0 -31
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthWebWorkerApi.d.ts +0 -98
- package/dist/types/alphatab/src/platform/javascript/AlphaSynthWorkerSynthOutput.d.ts +0 -33
- package/dist/types/alphatab/src/platform/javascript/AlphaTabApi.d.ts +0 -111
- package/dist/types/alphatab/src/platform/javascript/AlphaTabWebWorker.d.ts +0 -16
- package/dist/types/alphatab/src/platform/javascript/AlphaTabWorkerScoreRenderer.d.ts +0 -34
- package/dist/types/alphatab/src/platform/javascript/AudioElementBackingTrackSynthOutput.d.ts +0 -49
- package/dist/types/alphatab/src/platform/javascript/BrowserMouseEventArgs.d.ts +0 -14
- package/dist/types/alphatab/src/platform/javascript/BrowserUiFacade.d.ts +0 -96
- package/dist/types/alphatab/src/platform/javascript/Html5Canvas.d.ts +0 -57
- package/dist/types/alphatab/src/platform/javascript/HtmlElementContainer.d.ts +0 -45
- package/dist/types/alphatab/src/platform/javascript/IWorkerScope.d.ts +0 -8
- package/dist/types/alphatab/src/platform/javascript/IntersectionObserverPolyfill.d.ts +0 -15
- package/dist/types/alphatab/src/platform/javascript/JQueryAlphaTab.d.ts +0 -68
- package/dist/types/alphatab/src/platform/javascript/ResizeObserverPolyfill.d.ts +0 -15
- package/dist/types/alphatab/src/platform/javascript/ScalableHtmlElementContainer.d.ts +0 -26
- package/dist/types/alphatab/src/platform/javascript/WebPlatform.d.ts +0 -10
- package/dist/types/alphatab/src/platform/skia/SkiaCanvas.d.ts +0 -86
- package/dist/types/alphatab/src/platform/svg/CssFontSvgCanvas.d.ts +0 -11
- package/dist/types/alphatab/src/platform/svg/FontSizes.d.ts +0 -32
- package/dist/types/alphatab/src/platform/svg/SvgCanvas.d.ts +0 -48
- package/dist/types/alphatab/src/rendering/BarRendererBase.d.ts +0 -177
- package/dist/types/alphatab/src/rendering/BarRendererFactory.d.ts +0 -21
- package/dist/types/alphatab/src/rendering/BeatXPosition.d.ts +0 -31
- package/dist/types/alphatab/src/rendering/EffectBand.d.ts +0 -31
- package/dist/types/alphatab/src/rendering/EffectBandSizingInfo.d.ts +0 -12
- package/dist/types/alphatab/src/rendering/EffectBandSlot.d.ts +0 -22
- package/dist/types/alphatab/src/rendering/EffectBarGlyphSizing.d.ts +0 -37
- package/dist/types/alphatab/src/rendering/EffectBarRenderer.d.ts +0 -29
- package/dist/types/alphatab/src/rendering/EffectBarRendererFactory.d.ts +0 -22
- package/dist/types/alphatab/src/rendering/EffectBarRendererInfo.d.ts +0 -62
- package/dist/types/alphatab/src/rendering/IScoreRenderer.d.ts +0 -151
- package/dist/types/alphatab/src/rendering/LineBarRenderer.d.ts +0 -64
- package/dist/types/alphatab/src/rendering/MultiBarRestBeatContainerGlyph.d.ts +0 -10
- package/dist/types/alphatab/src/rendering/NumberedBarRenderer.d.ts +0 -54
- package/dist/types/alphatab/src/rendering/NumberedBarRendererFactory.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/NumberedBeatContainerGlyph.d.ts +0 -9
- package/dist/types/alphatab/src/rendering/RenderFinishedEventArgs.d.ts +0 -47
- package/dist/types/alphatab/src/rendering/ScoreBarRenderer.d.ts +0 -68
- package/dist/types/alphatab/src/rendering/ScoreBarRendererFactory.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/ScoreBeatContainerGlyph.d.ts +0 -12
- package/dist/types/alphatab/src/rendering/ScoreRenderer.d.ts +0 -55
- package/dist/types/alphatab/src/rendering/ScoreRendererWrapper.d.ts +0 -37
- package/dist/types/alphatab/src/rendering/SlashBarRenderer.d.ts +0 -41
- package/dist/types/alphatab/src/rendering/SlashBarRendererFactory.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/SlashBeatContainerGlyph.d.ts +0 -9
- package/dist/types/alphatab/src/rendering/TabBarRenderer.d.ts +0 -57
- package/dist/types/alphatab/src/rendering/TabBarRendererFactory.d.ts +0 -22
- package/dist/types/alphatab/src/rendering/_barrel.d.ts +0 -11
- package/dist/types/alphatab/src/rendering/effects/AlternateEndingsEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/BeatBarreEffectInfo.d.ts +0 -21
- package/dist/types/alphatab/src/rendering/effects/BeatTimerEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/CapoEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/ChordsEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/CrescendoEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/DirectionsEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/DynamicsEffectInfo.d.ts +0 -21
- package/dist/types/alphatab/src/rendering/effects/FadeEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/FermataEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/FingeringEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/FreeTimeEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/GolpeEffectInfo.d.ts +0 -23
- package/dist/types/alphatab/src/rendering/effects/HarmonicsEffectInfo.d.ts +0 -23
- package/dist/types/alphatab/src/rendering/effects/LeftHandTapEffectInfo.d.ts +0 -16
- package/dist/types/alphatab/src/rendering/effects/LetRingEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/LyricsEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/MarkerEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/NoteEffectInfoBase.d.ts +0 -15
- package/dist/types/alphatab/src/rendering/effects/NoteOrnamentEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/OttaviaEffectInfo.d.ts +0 -22
- package/dist/types/alphatab/src/rendering/effects/PalmMuteEffectInfo.d.ts +0 -16
- package/dist/types/alphatab/src/rendering/effects/PickSlideEffectInfo.d.ts +0 -16
- package/dist/types/alphatab/src/rendering/effects/PickStrokeEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/RasgueadoEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/SlightBeatVibratoEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/SlightNoteVibratoEffectInfo.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/effects/SustainPedalEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/TapEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/TempoEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/TextEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/TrillEffectInfo.d.ts +0 -16
- package/dist/types/alphatab/src/rendering/effects/TripletFeelEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/WahPedalEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/WhammyBarEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/WideBeatVibratoEffectInfo.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/effects/WideNoteVibratoEffectInfo.d.ts +0 -16
- package/dist/types/alphatab/src/rendering/glyphs/AccentuationGlyph.d.ts +0 -13
- package/dist/types/alphatab/src/rendering/glyphs/AccidentalGlyph.d.ts +0 -10
- package/dist/types/alphatab/src/rendering/glyphs/AccidentalGroupGlyph.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/AlternateEndingsGlyph.d.ts +0 -15
- package/dist/types/alphatab/src/rendering/glyphs/ArticStaccatoAboveGlyph.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/AugmentationDotGlyph.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/BarLineGlyph.d.ts +0 -11
- package/dist/types/alphatab/src/rendering/glyphs/BarNumberGlyph.d.ts +0 -11
- package/dist/types/alphatab/src/rendering/glyphs/BarTempoGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/BeatContainerGlyph.d.ts +0 -34
- package/dist/types/alphatab/src/rendering/glyphs/BeatGlyphBase.d.ts +0 -24
- package/dist/types/alphatab/src/rendering/glyphs/BeatOnNoteGlyphBase.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/glyphs/BeatTimerGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/BeatVibratoGlyph.d.ts +0 -9
- package/dist/types/alphatab/src/rendering/glyphs/BendNoteHeadGroupGlyph.d.ts +0 -26
- package/dist/types/alphatab/src/rendering/glyphs/ChordDiagramContainerGlyph.d.ts +0 -10
- package/dist/types/alphatab/src/rendering/glyphs/ChordDiagramGlyph.d.ts +0 -16
- package/dist/types/alphatab/src/rendering/glyphs/ClefGlyph.d.ts +0 -15
- package/dist/types/alphatab/src/rendering/glyphs/CrescendoGlyph.d.ts +0 -12
- package/dist/types/alphatab/src/rendering/glyphs/DeadNoteHeadGlyph.d.ts +0 -7
- package/dist/types/alphatab/src/rendering/glyphs/DeadSlappedBeatGlyph.d.ts +0 -10
- package/dist/types/alphatab/src/rendering/glyphs/DiamondNoteHeadGlyph.d.ts +0 -9
- package/dist/types/alphatab/src/rendering/glyphs/DirectionsContainerGlyph.d.ts +0 -15
- package/dist/types/alphatab/src/rendering/glyphs/DynamicsGlyph.d.ts +0 -10
- package/dist/types/alphatab/src/rendering/glyphs/EffectGlyph.d.ts +0 -24
- package/dist/types/alphatab/src/rendering/glyphs/FadeGlyph.d.ts +0 -11
- package/dist/types/alphatab/src/rendering/glyphs/FermataGlyph.d.ts +0 -11
- package/dist/types/alphatab/src/rendering/glyphs/FingeringGroupGlyph.d.ts +0 -28
- package/dist/types/alphatab/src/rendering/glyphs/FlagGlyph.d.ts +0 -11
- package/dist/types/alphatab/src/rendering/glyphs/GhostNoteContainerGlyph.d.ts +0 -29
- package/dist/types/alphatab/src/rendering/glyphs/GhostParenthesisGlyph.d.ts +0 -13
- package/dist/types/alphatab/src/rendering/glyphs/Glyph.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/glyphs/GlyphGroup.d.ts +0 -15
- package/dist/types/alphatab/src/rendering/glyphs/GroupedEffectGlyph.d.ts +0 -20
- package/dist/types/alphatab/src/rendering/glyphs/GuitarGolpeGlyph.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/KeySignatureGlyph.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/LeftHandTapGlyph.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/LeftToRightLayoutingGlyphGroup.d.ts +0 -11
- package/dist/types/alphatab/src/rendering/glyphs/LineRangedGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/LyricsGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/MultiBarRestGlyph.d.ts +0 -12
- package/dist/types/alphatab/src/rendering/glyphs/MusicFontGlyph.d.ts +0 -34
- package/dist/types/alphatab/src/rendering/glyphs/NoteHeadGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/NoteNumberGlyph.d.ts +0 -20
- package/dist/types/alphatab/src/rendering/glyphs/NoteOrnamentGlyph.d.ts +0 -10
- package/dist/types/alphatab/src/rendering/glyphs/NoteVibratoGlyph.d.ts +0 -26
- package/dist/types/alphatab/src/rendering/glyphs/NumberGlyph.d.ts +0 -16
- package/dist/types/alphatab/src/rendering/glyphs/NumberedBeatGlyph.d.ts +0 -37
- package/dist/types/alphatab/src/rendering/glyphs/NumberedDashGlyph.d.ts +0 -12
- package/dist/types/alphatab/src/rendering/glyphs/NumberedKeySignatureGlyph.d.ts +0 -17
- package/dist/types/alphatab/src/rendering/glyphs/NumberedNoteHeadGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/NumberedSlurGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/NumberedTieGlyph.d.ts +0 -21
- package/dist/types/alphatab/src/rendering/glyphs/OttavaGlyph.d.ts +0 -15
- package/dist/types/alphatab/src/rendering/glyphs/PercussionNoteHeadGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/PickStrokeGlyph.d.ts +0 -10
- package/dist/types/alphatab/src/rendering/glyphs/PictEdgeOfCymbalGlyph.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/RepeatCountGlyph.d.ts +0 -11
- package/dist/types/alphatab/src/rendering/glyphs/RowContainerGlyph.d.ts +0 -12
- package/dist/types/alphatab/src/rendering/glyphs/RowGlyphContainer.d.ts +0 -13
- package/dist/types/alphatab/src/rendering/glyphs/ScoreBeatGlyph.d.ts +0 -29
- package/dist/types/alphatab/src/rendering/glyphs/ScoreBeatPreNotesGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/ScoreBendGlyph.d.ts +0 -17
- package/dist/types/alphatab/src/rendering/glyphs/ScoreBrushGlyph.d.ts +0 -13
- package/dist/types/alphatab/src/rendering/glyphs/ScoreHelperNotesBaseGlyph.d.ts +0 -15
- package/dist/types/alphatab/src/rendering/glyphs/ScoreLegatoGlyph.d.ts +0 -16
- package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteChordGlyph.d.ts +0 -35
- package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteChordGlyphBase.d.ts +0 -25
- package/dist/types/alphatab/src/rendering/glyphs/ScoreNoteGlyphInfo.d.ts +0 -9
- package/dist/types/alphatab/src/rendering/glyphs/ScoreRestGlyph.d.ts +0 -17
- package/dist/types/alphatab/src/rendering/glyphs/ScoreSlideLineGlyph.d.ts +0 -22
- package/dist/types/alphatab/src/rendering/glyphs/ScoreSlurGlyph.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/glyphs/ScoreTieGlyph.d.ts +0 -20
- package/dist/types/alphatab/src/rendering/glyphs/ScoreTimeSignatureGlyph.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/ScoreWhammyBarGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/SlashBeatGlyph.d.ts +0 -24
- package/dist/types/alphatab/src/rendering/glyphs/SlashNoteHeadGlyph.d.ts +0 -24
- package/dist/types/alphatab/src/rendering/glyphs/SlashRestGlyph.d.ts +0 -9
- package/dist/types/alphatab/src/rendering/glyphs/SlashTieGlyph.d.ts +0 -21
- package/dist/types/alphatab/src/rendering/glyphs/SpacingGlyph.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/StringNumberContainerGlyph.d.ts +0 -11
- package/dist/types/alphatab/src/rendering/glyphs/SustainPedalGlyph.d.ts +0 -10
- package/dist/types/alphatab/src/rendering/glyphs/TabBeatContainerGlyph.d.ts +0 -13
- package/dist/types/alphatab/src/rendering/glyphs/TabBeatGlyph.d.ts +0 -25
- package/dist/types/alphatab/src/rendering/glyphs/TabBeatPreNotesGlyph.d.ts +0 -9
- package/dist/types/alphatab/src/rendering/glyphs/TabBendGlyph.d.ts +0 -24
- package/dist/types/alphatab/src/rendering/glyphs/TabBendRenderPoint.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/TabBrushGlyph.d.ts +0 -13
- package/dist/types/alphatab/src/rendering/glyphs/TabClefGlyph.d.ts +0 -8
- package/dist/types/alphatab/src/rendering/glyphs/TabNoteChordGlyph.d.ts +0 -33
- package/dist/types/alphatab/src/rendering/glyphs/TabRestGlyph.d.ts +0 -15
- package/dist/types/alphatab/src/rendering/glyphs/TabSlideLineGlyph.d.ts +0 -21
- package/dist/types/alphatab/src/rendering/glyphs/TabSlurGlyph.d.ts +0 -14
- package/dist/types/alphatab/src/rendering/glyphs/TabTieGlyph.d.ts +0 -21
- package/dist/types/alphatab/src/rendering/glyphs/TabTimeSignatureGlyph.d.ts +0 -9
- package/dist/types/alphatab/src/rendering/glyphs/TabWhammyBarGlyph.d.ts +0 -19
- package/dist/types/alphatab/src/rendering/glyphs/TextGlyph.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/glyphs/TieGlyph.d.ts +0 -40
- package/dist/types/alphatab/src/rendering/glyphs/TimeSignatureGlyph.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/glyphs/TremoloPickingGlyph.d.ts +0 -9
- package/dist/types/alphatab/src/rendering/glyphs/TrillGlyph.d.ts +0 -10
- package/dist/types/alphatab/src/rendering/glyphs/TripletFeelGlyph.d.ts +0 -15
- package/dist/types/alphatab/src/rendering/glyphs/TuningContainerGlyph.d.ts +0 -7
- package/dist/types/alphatab/src/rendering/glyphs/TuningGlyph.d.ts +0 -16
- package/dist/types/alphatab/src/rendering/glyphs/VoiceContainerGlyph.d.ts +0 -26
- package/dist/types/alphatab/src/rendering/glyphs/WahPedalGlyph.d.ts +0 -11
- package/dist/types/alphatab/src/rendering/layout/HorizontalScreenLayout.d.ts +0 -23
- package/dist/types/alphatab/src/rendering/layout/PageViewLayout.d.ts +0 -28
- package/dist/types/alphatab/src/rendering/layout/ScoreLayout.d.ts +0 -73
- package/dist/types/alphatab/src/rendering/staves/BarLayoutingInfo.d.ts +0 -44
- package/dist/types/alphatab/src/rendering/staves/MasterBarsRenderers.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/staves/RenderStaff.d.ts +0 -72
- package/dist/types/alphatab/src/rendering/staves/Spring.d.ts +0 -16
- package/dist/types/alphatab/src/rendering/staves/StaffSystem.d.ts +0 -75
- package/dist/types/alphatab/src/rendering/staves/StaffTrackGroup.d.ts +0 -20
- package/dist/types/alphatab/src/rendering/utils/AccidentalHelper.d.ts +0 -89
- package/dist/types/alphatab/src/rendering/utils/BarBounds.d.ts +0 -45
- package/dist/types/alphatab/src/rendering/utils/BarCollisionHelper.d.ts +0 -31
- package/dist/types/alphatab/src/rendering/utils/BarHelpers.d.ts +0 -18
- package/dist/types/alphatab/src/rendering/utils/BeamDirection.d.ts +0 -7
- package/dist/types/alphatab/src/rendering/utils/BeamingHelper.d.ts +0 -92
- package/dist/types/alphatab/src/rendering/utils/BeatBounds.d.ts +0 -52
- package/dist/types/alphatab/src/rendering/utils/Bounds.d.ts +0 -23
- package/dist/types/alphatab/src/rendering/utils/BoundsLookup.d.ts +0 -98
- package/dist/types/alphatab/src/rendering/utils/ElementStyleHelper.d.ts +0 -29
- package/dist/types/alphatab/src/rendering/utils/MasterBarBounds.d.ts +0 -64
- package/dist/types/alphatab/src/rendering/utils/NoteBounds.d.ts +0 -25
- package/dist/types/alphatab/src/rendering/utils/StaffSystemBounds.d.ts +0 -45
- package/dist/types/alphatab/src/synth/ActiveBeatsChangedEventArgs.d.ts +0 -12
- package/dist/types/alphatab/src/synth/AlphaSynth.d.ts +0 -248
- package/dist/types/alphatab/src/synth/AlphaSynthWrapper.d.ts +0 -92
- package/dist/types/alphatab/src/synth/BackingTrackPlayer.d.ts +0 -53
- package/dist/types/alphatab/src/synth/ExternalMediaPlayer.d.ts +0 -55
- package/dist/types/alphatab/src/synth/IAlphaSynth.d.ts +0 -271
- package/dist/types/alphatab/src/synth/IAudioExporter.d.ts +0 -127
- package/dist/types/alphatab/src/synth/IAudioSampleSynthesizer.d.ts +0 -126
- package/dist/types/alphatab/src/synth/ISynthOutput.d.ts +0 -90
- package/dist/types/alphatab/src/synth/MidiEventsPlayedEventArgs.d.ts +0 -16
- package/dist/types/alphatab/src/synth/MidiFileSequencer.d.ts +0 -98
- package/dist/types/alphatab/src/synth/PlaybackRange.d.ts +0 -14
- package/dist/types/alphatab/src/synth/PlaybackRangeChangedEventArgs.d.ts +0 -16
- package/dist/types/alphatab/src/synth/PlayerState.d.ts +0 -14
- package/dist/types/alphatab/src/synth/PlayerStateChangedEventArgs.d.ts +0 -21
- package/dist/types/alphatab/src/synth/PositionChangedEventArgs.d.ts +0 -44
- package/dist/types/alphatab/src/synth/SynthConstants.d.ts +0 -30
- package/dist/types/alphatab/src/synth/SynthHelper.d.ts +0 -9
- package/dist/types/alphatab/src/synth/_barrel.d.ts +0 -19
- package/dist/types/alphatab/src/synth/ds/CircularSampleBuffer.d.ts +0 -38
- package/dist/types/alphatab/src/synth/ds/Queue.d.ts +0 -13
- package/dist/types/alphatab/src/synth/soundfont/Hydra.d.ts +0 -133
- package/dist/types/alphatab/src/synth/soundfont/RiffChunk.d.ts +0 -10
- package/dist/types/alphatab/src/synth/synthesis/Channel.d.ts +0 -21
- package/dist/types/alphatab/src/synth/synthesis/Channels.d.ts +0 -11
- package/dist/types/alphatab/src/synth/synthesis/Envelope.d.ts +0 -16
- package/dist/types/alphatab/src/synth/synthesis/LoopMode.d.ts +0 -8
- package/dist/types/alphatab/src/synth/synthesis/OutputMode.d.ts +0 -18
- package/dist/types/alphatab/src/synth/synthesis/Preset.d.ts +0 -10
- package/dist/types/alphatab/src/synth/synthesis/Region.d.ts +0 -110
- package/dist/types/alphatab/src/synth/synthesis/SynthEvent.d.ts +0 -12
- package/dist/types/alphatab/src/synth/synthesis/TinySoundFont.d.ts +0 -252
- package/dist/types/alphatab/src/synth/synthesis/Voice.d.ts +0 -43
- package/dist/types/alphatab/src/synth/synthesis/VoiceEnvelope.d.ts +0 -31
- package/dist/types/alphatab/src/synth/synthesis/VoiceLfo.d.ts +0 -10
- package/dist/types/alphatab/src/synth/synthesis/VoiceLowPass.d.ts +0 -16
- package/dist/types/alphatab/src/synth/vorbis/IntBitReader.d.ts +0 -26
- package/dist/types/alphatab/src/synth/vorbis/OggReader.d.ts +0 -23
- package/dist/types/alphatab/src/synth/vorbis/VorbisFile.d.ts +0 -9
- package/dist/types/alphatab/src/synth/vorbis/VorbisStream.d.ts +0 -13
- package/dist/types/alphatab/src/synth/vorbis/VorbisStreamDecoder.d.ts +0 -260
- package/dist/types/alphatab/src/synth/vorbis/VorbisStreamReader.d.ts +0 -49
- package/dist/types/alphatab/src/util/FontLoadingChecker.d.ts +0 -16
- package/dist/types/alphatab/src/util/Lazy.d.ts +0 -12
- package/dist/types/alphatab/src/xml/XmlDocument.d.ts +0 -10
- package/dist/types/alphatab/src/xml/XmlError.d.ts +0 -9
- package/dist/types/alphatab/src/xml/XmlNode.d.ts +0 -34
- package/dist/types/alphatab/src/xml/XmlParser.d.ts +0 -39
- package/dist/types/alphatab/src/xml/XmlWriter.d.ts +0 -20
- package/dist/types/alphatab/src/zip/Crc32.d.ts +0 -32
- package/dist/types/alphatab/src/zip/Deflater.d.ts +0 -74
- package/dist/types/alphatab/src/zip/DeflaterConstants.d.ts +0 -20
- package/dist/types/alphatab/src/zip/DeflaterEngine.d.ts +0 -124
- package/dist/types/alphatab/src/zip/DeflaterHuffman.d.ts +0 -76
- package/dist/types/alphatab/src/zip/HuffTools.d.ts +0 -11
- package/dist/types/alphatab/src/zip/Huffman.d.ts +0 -28
- package/dist/types/alphatab/src/zip/Inflate.d.ts +0 -40
- package/dist/types/alphatab/src/zip/PendingBuffer.d.ts +0 -65
- package/dist/types/alphatab/src/zip/ZipEntry.d.ts +0 -14
- package/dist/types/alphatab/src/zip/ZipReader.d.ts +0 -11
- package/dist/types/alphatab/src/zip/ZipWriter.d.ts +0 -16
- package/dist/types/alphatex/src/common.d.ts +0 -4
- package/dist/types/alphatex/src/definitions.d.ts +0 -8
- package/dist/types/alphatex/src/enum.d.ts +0 -48
- package/dist/types/alphatex/src/metadata/bar/ac.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/accidentals.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/ae.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/barlineleft.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/barlineright.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/clef.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/db.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/ft.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/jump.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/ks.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/ottava.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/rc.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/ro.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/scale.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/section.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/simile.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/spd.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/sph.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/spu.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/sync.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/tempo.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/tf.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/ts.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/bar/width.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/album.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/artist.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/bracketextendmode.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/copyright.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/copyright2.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/defaultsystemslayout.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/firstsystemtracknamemode.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/firstsystemtracknameorientation.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/hidedynamics.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/instructions.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/multibarrest.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/multitracktracknamepolicy.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/music.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/notices.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/othersystemtracknamemode.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/othersystemtracknameorientation.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/showdynamics.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/singletracktracknamepolicy.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/subtitle.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/systemslayout.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/tab.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/title.d.ts +0 -4
- package/dist/types/alphatex/src/metadata/score/usesystemsignseparator.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/words.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/score/wordsandmusic.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/staff/articulation.d.ts +0 -3
- package/dist/types/alphatex/src/metadata/staff/capo.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/staff/chord.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/staff/displaytranspose.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/staff/instrument.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/staff/lyrics.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/staff/transpose.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/staff/tuning.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/structural/staff.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/structural/track.d.ts +0 -2
- package/dist/types/alphatex/src/metadata/structural/voice.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/ad.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/au.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/balance.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/bank.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/barre.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/bd.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/beam.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/bu.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/ch.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/cre.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/d.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/dd.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/dec.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/ds.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/dy.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/f.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/fermata.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/fo.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/glpf.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/glpt.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/gr.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/instrument.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/legatoOrigin.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/lyrics.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/ot.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/p.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/rasg.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/s.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/sd.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/slashed.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/spd.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/spe.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/sph.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/spu.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/su.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/tb.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/tbe.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/tempo.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/timer.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/tp.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/tt.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/tu.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/txt.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/v.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/volume.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/vs.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/vw.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/wahc.d.ts +0 -2
- package/dist/types/alphatex/src/properties/beat/waho.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/ac.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/acc.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/ah.d.ts +0 -3
- package/dist/types/alphatex/src/properties/note/b.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/be.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/fh.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/g.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/h.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/hac.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/hide.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/iturn.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/lf.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/lht.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/lmordent.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/lr.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/nh.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/ph.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/pm.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/psd.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/psu.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/rf.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/sh.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/sia.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/sib.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/sl.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/slur.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/sod.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/sou.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/ss.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/st.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/string.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/t.d.ts +0 -3
- package/dist/types/alphatex/src/properties/note/ten.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/th.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/tr.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/turn.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/umordent.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/v.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/vw.d.ts +0 -2
- package/dist/types/alphatex/src/properties/note/x.d.ts +0 -2
- package/dist/types/alphatex/src/types.d.ts +0 -161
- package/dist/types/lsp/src/index.d.ts +0 -21
- package/dist/types/lsp/src/server/completion.d.ts +0 -3
- package/dist/types/lsp/src/server/diagnostics.d.ts +0 -2
- package/dist/types/lsp/src/server/hover.d.ts +0 -2
- package/dist/types/lsp/src/server/index.d.ts +0 -13
- package/dist/types/lsp/src/server/signatureHelp.d.ts +0 -2
- package/dist/types/lsp/src/server/types.d.ts +0 -15
- package/dist/types/lsp/src/server/utils.d.ts +0 -6
- package/dist/types/monaco/src/alphaTab.monaco.d.ts +0 -2
- package/dist/types/monaco/test/placeholder.test.d.ts +0 -1
- package/dist/types/monaco/vite.config.d.ts +0 -2
- package/dist/types/tooling/src/typescript.d.ts +0 -9
- package/dist/types/tooling/src/vite.d.ts +0 -13
- package/dist/types/tooling/src/vite.plugin.dts.d.ts +0 -1
- package/dist/types/tooling/src/vite.plugin.min.d.ts +0 -3
- package/dist/typescript.mjs +0 -375
- package/dist/typespec.mjs +0 -148
- package/dist/vb.mjs +0 -393
- package/dist/wgsl.mjs +0 -474
- package/dist/xml.mjs +0 -127
- package/dist/yaml.mjs +0 -238
- package/src/alphaTab.monaco.ts +0 -3
- package/src/alphatex.ts +0 -18
- package/src/types.ts +0 -16
- package/src/worker.ts +0 -4
- package/test/placeholder.test.ts +0 -3
- package/tsconfig.json +0 -3
- package/vite.config.ts +0 -17
- /package/dist/{types/monaco/src/alphatex.d.ts → alphatex.d.ts} +0 -0
- /package/dist/{types/monaco/src/lsp.d.ts → lsp.d.ts} +0 -0
- /package/dist/{types/monaco/src/lspMonacoMappings.d.ts → lspMonacoMappings.d.ts} +0 -0
- /package/dist/{types/monaco/src/textmate.d.ts → textmate.d.ts} +0 -0
- /package/dist/{types/monaco/src/types.d.ts → types.d.ts} +0 -0
- /package/dist/{types/monaco/src/worker.d.ts → worker.d.ts} +0 -0
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import type { Bar } from "./../model/Bar";
|
|
2
|
-
import type { Beat } from "./../model/Beat";
|
|
3
|
-
import type { Note } from "./../model/Note";
|
|
4
|
-
import { type Voice } from "./../model/Voice";
|
|
5
|
-
import { type ICanvas } from "./../platform/ICanvas";
|
|
6
|
-
import { BeatXPosition } from "./BeatXPosition";
|
|
7
|
-
import { BeatContainerGlyph } from "./glyphs/BeatContainerGlyph";
|
|
8
|
-
import type { BeatGlyphBase } from "./glyphs/BeatGlyphBase";
|
|
9
|
-
import type { Glyph } from "./glyphs/Glyph";
|
|
10
|
-
import { VoiceContainerGlyph } from "./glyphs/VoiceContainerGlyph";
|
|
11
|
-
import type { ScoreRenderer } from "./ScoreRenderer";
|
|
12
|
-
import type { BarLayoutingInfo } from "./staves/BarLayoutingInfo";
|
|
13
|
-
import type { RenderStaff } from "./staves/RenderStaff";
|
|
14
|
-
import { BarHelpers } from "./utils/BarHelpers";
|
|
15
|
-
import type { MasterBarBounds } from "./utils/MasterBarBounds";
|
|
16
|
-
import type { RenderingResources } from "./../RenderingResources";
|
|
17
|
-
import type { Settings } from "./../Settings";
|
|
18
|
-
import type { BeatOnNoteGlyphBase } from "./glyphs/BeatOnNoteGlyphBase";
|
|
19
|
-
import type { BeamingHelper } from "./utils/BeamingHelper";
|
|
20
|
-
import type { BeamDirection } from "./utils/BeamDirection";
|
|
21
|
-
/**
|
|
22
|
-
* Lists the different position modes for {@link BarRendererBase.getNoteY}
|
|
23
|
-
* @internal
|
|
24
|
-
*/
|
|
25
|
-
export declare enum NoteYPosition {
|
|
26
|
-
/**
|
|
27
|
-
* Gets the note y-position on top of the note stem or tab number.
|
|
28
|
-
*/
|
|
29
|
-
TopWithStem = 0,
|
|
30
|
-
/**
|
|
31
|
-
* Gets the note y-position on top of the note head or tab number.
|
|
32
|
-
*/
|
|
33
|
-
Top = 1,
|
|
34
|
-
/**
|
|
35
|
-
* Gets the note y-position on the center of the note head or tab number.
|
|
36
|
-
*/
|
|
37
|
-
Center = 2,
|
|
38
|
-
/**
|
|
39
|
-
* Gets the note y-position on the bottom of the note head or tab number.
|
|
40
|
-
*/
|
|
41
|
-
Bottom = 3,
|
|
42
|
-
/**
|
|
43
|
-
* Gets the note y-position on the bottom of the note stem or tab number.
|
|
44
|
-
*/
|
|
45
|
-
BottomWithStem = 4,
|
|
46
|
-
/**
|
|
47
|
-
* The position where the upwards stem should be placed.
|
|
48
|
-
*/
|
|
49
|
-
StemUp = 5,
|
|
50
|
-
/**
|
|
51
|
-
* The position where the downwards stem should be placed.
|
|
52
|
-
*/
|
|
53
|
-
StemDown = 6
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Lists the different position modes for {@link BarRendererBase.getNoteX}
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
export declare enum NoteXPosition {
|
|
60
|
-
/**
|
|
61
|
-
* Gets the note x-position on left of the note head or tab number.
|
|
62
|
-
*/
|
|
63
|
-
Left = 0,
|
|
64
|
-
/**
|
|
65
|
-
* Gets the note x-position on the center of the note head or tab number.
|
|
66
|
-
*/
|
|
67
|
-
Center = 1,
|
|
68
|
-
/**
|
|
69
|
-
* Gets the note x-position on the right of the note head or tab number.
|
|
70
|
-
*/
|
|
71
|
-
Right = 2
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* This is the base public class for creating blocks which can render bars.
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
export declare class BarRendererBase {
|
|
78
|
-
private _preBeatGlyphs;
|
|
79
|
-
private _voiceContainers;
|
|
80
|
-
private _postBeatGlyphs;
|
|
81
|
-
private _ties;
|
|
82
|
-
get nextRenderer(): BarRendererBase | null;
|
|
83
|
-
get previousRenderer(): BarRendererBase | null;
|
|
84
|
-
scoreRenderer: ScoreRenderer;
|
|
85
|
-
staff: RenderStaff;
|
|
86
|
-
layoutingInfo: BarLayoutingInfo;
|
|
87
|
-
bar: Bar;
|
|
88
|
-
additionalMultiRestBars: Bar[] | null;
|
|
89
|
-
get lastBar(): Bar;
|
|
90
|
-
x: number;
|
|
91
|
-
y: number;
|
|
92
|
-
width: number;
|
|
93
|
-
computedWidth: number;
|
|
94
|
-
height: number;
|
|
95
|
-
index: number;
|
|
96
|
-
topOverflow: number;
|
|
97
|
-
bottomOverflow: number;
|
|
98
|
-
helpers: BarHelpers;
|
|
99
|
-
/**
|
|
100
|
-
* Gets or sets whether this renderer is linked to the next one
|
|
101
|
-
* by some glyphs like a vibrato effect
|
|
102
|
-
*/
|
|
103
|
-
isLinkedToPrevious: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Gets or sets whether this renderer can wrap to the next line
|
|
106
|
-
* or it needs to stay connected to the previous one.
|
|
107
|
-
* (e.g. when having double bar repeats we must not separate the 2 bars)
|
|
108
|
-
*/
|
|
109
|
-
canWrap: boolean;
|
|
110
|
-
get showMultiBarRest(): boolean;
|
|
111
|
-
constructor(renderer: ScoreRenderer, bar: Bar);
|
|
112
|
-
registerTies(ties: Glyph[]): void;
|
|
113
|
-
get middleYPosition(): number;
|
|
114
|
-
registerOverflowTop(topOverflow: number): boolean;
|
|
115
|
-
registerOverflowBottom(bottomOverflow: number): boolean;
|
|
116
|
-
scaleToWidth(width: number): void;
|
|
117
|
-
get resources(): RenderingResources;
|
|
118
|
-
get smuflMetrics(): import("../EngravingSettings").EngravingSettings;
|
|
119
|
-
get settings(): Settings;
|
|
120
|
-
/**
|
|
121
|
-
* Gets the scale with which the bar should be displayed in case the model
|
|
122
|
-
* scale should be respected.
|
|
123
|
-
*/
|
|
124
|
-
get barDisplayScale(): number;
|
|
125
|
-
/**
|
|
126
|
-
* Gets the absolute width in which the bar should be displayed in case the model
|
|
127
|
-
* scale should be respected.
|
|
128
|
-
*/
|
|
129
|
-
get barDisplayWidth(): number;
|
|
130
|
-
protected wasFirstOfLine: boolean;
|
|
131
|
-
get isFirstOfLine(): boolean;
|
|
132
|
-
get isLast(): boolean;
|
|
133
|
-
registerLayoutingInfo(): void;
|
|
134
|
-
private _appliedLayoutingInfo;
|
|
135
|
-
applyLayoutingInfo(): boolean;
|
|
136
|
-
isFinalized: boolean;
|
|
137
|
-
finalizeRenderer(): boolean;
|
|
138
|
-
/**
|
|
139
|
-
* Gets the top padding for the main content of the renderer.
|
|
140
|
-
* Can be used to specify where i.E. the score lines of the notation start.
|
|
141
|
-
* @returns
|
|
142
|
-
*/
|
|
143
|
-
topPadding: number;
|
|
144
|
-
/**
|
|
145
|
-
* Gets the bottom padding for the main content of the renderer.
|
|
146
|
-
* Can be used to specify where i.E. the score lines of the notation end.
|
|
147
|
-
*/
|
|
148
|
-
bottomPadding: number;
|
|
149
|
-
doLayout(): void;
|
|
150
|
-
protected hasVoiceContainer(voice: Voice): boolean;
|
|
151
|
-
protected updateSizes(): void;
|
|
152
|
-
protected addPreBeatGlyph(g: Glyph): void;
|
|
153
|
-
protected addBeatGlyph(g: BeatContainerGlyph): void;
|
|
154
|
-
protected getVoiceContainer(voice: Voice): VoiceContainerGlyph | undefined;
|
|
155
|
-
getBeatContainer(beat: Beat): BeatContainerGlyph | undefined;
|
|
156
|
-
getPreNotesGlyphForBeat(beat: Beat): BeatGlyphBase | undefined;
|
|
157
|
-
getOnNotesGlyphForBeat(beat: Beat): BeatOnNoteGlyphBase | undefined;
|
|
158
|
-
paint(cx: number, cy: number, canvas: ICanvas): void;
|
|
159
|
-
protected paintBackground(cx: number, cy: number, canvas: ICanvas): void;
|
|
160
|
-
buildBoundingsLookup(masterBarBounds: MasterBarBounds, cx: number, cy: number): void;
|
|
161
|
-
protected addPostBeatGlyph(g: Glyph): void;
|
|
162
|
-
protected createPreBeatGlyphs(): void;
|
|
163
|
-
protected createBeatGlyphs(): void;
|
|
164
|
-
protected createVoiceGlyphs(_v: Voice): void;
|
|
165
|
-
protected createPostBeatGlyphs(): void;
|
|
166
|
-
get beatGlyphsStart(): number;
|
|
167
|
-
get postBeatGlyphsStart(): number;
|
|
168
|
-
getBeatX(beat: Beat, requestedPosition?: BeatXPosition): number;
|
|
169
|
-
getRatioPositionX(ticks: number): number;
|
|
170
|
-
getNoteX(note: Note, requestedPosition: NoteXPosition): number;
|
|
171
|
-
getNoteY(note: Note, requestedPosition: NoteYPosition): number;
|
|
172
|
-
reLayout(): void;
|
|
173
|
-
protected recreatePreBeatGlyphs(): void;
|
|
174
|
-
protected paintSimileMark(cx: number, cy: number, canvas: ICanvas): void;
|
|
175
|
-
completeBeamingHelper(_helper: BeamingHelper): void;
|
|
176
|
-
getBeatDirection(beat: Beat): BeamDirection;
|
|
177
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Bar } from "./../model/Bar";
|
|
2
|
-
import type { Staff } from "./../model/Staff";
|
|
3
|
-
import type { Track } from "./../model/Track";
|
|
4
|
-
import type { BarRendererBase } from "./BarRendererBase";
|
|
5
|
-
import type { ScoreRenderer } from "./ScoreRenderer";
|
|
6
|
-
import type { RenderStaff } from "./staves/RenderStaff";
|
|
7
|
-
/**
|
|
8
|
-
* This is the base public class for creating factories providing BarRenderers
|
|
9
|
-
* @internal
|
|
10
|
-
*/
|
|
11
|
-
export declare abstract class BarRendererFactory {
|
|
12
|
-
isInsideBracket: boolean;
|
|
13
|
-
isRelevantForBoundsLookup: boolean;
|
|
14
|
-
hideOnMultiTrack: boolean;
|
|
15
|
-
hideOnPercussionTrack: boolean;
|
|
16
|
-
abstract get staffId(): string;
|
|
17
|
-
abstract getStaffPaddingTop(staff: RenderStaff): number;
|
|
18
|
-
abstract getStaffPaddingBottom(staff: RenderStaff): number;
|
|
19
|
-
canCreate(_track: Track, staff: Staff): boolean;
|
|
20
|
-
abstract create(renderer: ScoreRenderer, bar: Bar): BarRendererBase;
|
|
21
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Lists the different position modes for {@link BarRendererBase.getBeatX}
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
export declare enum BeatXPosition {
|
|
6
|
-
/**
|
|
7
|
-
* Gets the pre-notes position which is located before the accidentals
|
|
8
|
-
*/
|
|
9
|
-
PreNotes = 0,
|
|
10
|
-
/**
|
|
11
|
-
* Gets the on-notes position which is located after the accidentals but before the note heads.
|
|
12
|
-
*/
|
|
13
|
-
OnNotes = 1,
|
|
14
|
-
/**
|
|
15
|
-
* Gets the middle-notes position which is located after in the middle the note heads.
|
|
16
|
-
*/
|
|
17
|
-
MiddleNotes = 2,
|
|
18
|
-
/**
|
|
19
|
-
* Gets position of the stem for this beat
|
|
20
|
-
*/
|
|
21
|
-
Stem = 3,
|
|
22
|
-
/**
|
|
23
|
-
* Get the post-notes position which is located at after the note heads.
|
|
24
|
-
*/
|
|
25
|
-
PostNotes = 4,
|
|
26
|
-
/**
|
|
27
|
-
* Get the end-beat position which is located at the end of the beat. This position is almost
|
|
28
|
-
* equal to the pre-notes position of the next beat.
|
|
29
|
-
*/
|
|
30
|
-
EndBeat = 5
|
|
31
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { type Beat } from "./../model/Beat";
|
|
2
|
-
import type { Voice } from "./../model/Voice";
|
|
3
|
-
import type { ICanvas } from "./../platform/ICanvas";
|
|
4
|
-
import type { EffectBandSlot } from "./EffectBandSlot";
|
|
5
|
-
import { Glyph } from "./glyphs/Glyph";
|
|
6
|
-
import type { EffectBarRendererInfo } from "./EffectBarRendererInfo";
|
|
7
|
-
/**
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
|
-
export declare class EffectBand extends Glyph {
|
|
11
|
-
private _uniqueEffectGlyphs;
|
|
12
|
-
private _effectGlyphs;
|
|
13
|
-
isEmpty: boolean;
|
|
14
|
-
previousBand: EffectBand | null;
|
|
15
|
-
isLinkedToPrevious: boolean;
|
|
16
|
-
firstBeat: Beat | null;
|
|
17
|
-
lastBeat: Beat | null;
|
|
18
|
-
height: number;
|
|
19
|
-
originalHeight: number;
|
|
20
|
-
voice: Voice;
|
|
21
|
-
info: EffectBarRendererInfo;
|
|
22
|
-
slot: EffectBandSlot | null;
|
|
23
|
-
constructor(voice: Voice, info: EffectBarRendererInfo);
|
|
24
|
-
doLayout(): void;
|
|
25
|
-
createGlyph(beat: Beat): void;
|
|
26
|
-
resetHeight(): void;
|
|
27
|
-
private _createOrResizeGlyph;
|
|
28
|
-
paint(cx: number, cy: number, canvas: ICanvas): void;
|
|
29
|
-
alignGlyphs(): void;
|
|
30
|
-
private _alignGlyph;
|
|
31
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { EffectBand } from "./EffectBand";
|
|
2
|
-
import { EffectBandSlot } from "./EffectBandSlot";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare class EffectBandSizingInfo {
|
|
7
|
-
private _effectSlot;
|
|
8
|
-
slots: EffectBandSlot[];
|
|
9
|
-
constructor();
|
|
10
|
-
getOrCreateSlot(band: EffectBand): EffectBandSlot;
|
|
11
|
-
register(effectBand: EffectBand): void;
|
|
12
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Beat } from "./../model/Beat";
|
|
2
|
-
import type { EffectBand } from "./EffectBand";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare class EffectBandSlotShared {
|
|
7
|
-
uniqueEffectId: string | null;
|
|
8
|
-
y: number;
|
|
9
|
-
height: number;
|
|
10
|
-
firstBeat: Beat | null;
|
|
11
|
-
lastBeat: Beat | null;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
export declare class EffectBandSlot {
|
|
17
|
-
bands: EffectBand[];
|
|
18
|
-
shared: EffectBandSlotShared;
|
|
19
|
-
constructor();
|
|
20
|
-
update(effectBand: EffectBand): void;
|
|
21
|
-
canBeUsed(band: EffectBand): boolean;
|
|
22
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Lists all sizing types of the effect bar glyphs
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
export declare enum EffectBarGlyphSizing {
|
|
6
|
-
/**
|
|
7
|
-
* The effect glyph is placed above the pre-beat glyph which is before
|
|
8
|
-
* the actual note in the area where also accidentals are renderered.
|
|
9
|
-
*/
|
|
10
|
-
SinglePreBeat = 0,
|
|
11
|
-
/**
|
|
12
|
-
* The effect glyph is placed above the on-beat glyph which is where
|
|
13
|
-
* the actual note head glyphs are placed.
|
|
14
|
-
*/
|
|
15
|
-
SingleOnBeat = 1,
|
|
16
|
-
/**
|
|
17
|
-
* The effect glyph is placed above the on-beat glyph which is where
|
|
18
|
-
* the actual note head glyphs are placed. The glyph will size to the end of
|
|
19
|
-
* the applied beat.
|
|
20
|
-
*/
|
|
21
|
-
SingleOnBeatToEnd = 2,
|
|
22
|
-
/**
|
|
23
|
-
* The effect glyph is placed above the on-beat glyph and expaded to the
|
|
24
|
-
* on-beat position of the next beat.
|
|
25
|
-
*/
|
|
26
|
-
GroupedOnBeat = 3,
|
|
27
|
-
/**
|
|
28
|
-
* The effect glyph is placed above the on-beat glyph and expaded to the
|
|
29
|
-
* on-beat position of the next beat. The glyph will size to the end of
|
|
30
|
-
* the applied beat.
|
|
31
|
-
*/
|
|
32
|
-
GroupedOnBeatToEnd = 4,
|
|
33
|
-
/**
|
|
34
|
-
* The effect glyph is placed on the whole bar covering the whole width
|
|
35
|
-
*/
|
|
36
|
-
FullBar = 5
|
|
37
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { Bar } from "./../model/Bar";
|
|
2
|
-
import type { Voice } from "./../model/Voice";
|
|
3
|
-
import type { ICanvas } from "./../platform/ICanvas";
|
|
4
|
-
import { BarRendererBase } from "./BarRendererBase";
|
|
5
|
-
import { EffectBand } from "./EffectBand";
|
|
6
|
-
import { EffectBandSizingInfo } from "./EffectBandSizingInfo";
|
|
7
|
-
import type { EffectBarRendererInfo } from "./EffectBarRendererInfo";
|
|
8
|
-
import type { ScoreRenderer } from "./ScoreRenderer";
|
|
9
|
-
/**
|
|
10
|
-
* This renderer is responsible for displaying effects above or below the other staves
|
|
11
|
-
* like the vibrato.
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
export declare class EffectBarRenderer extends BarRendererBase {
|
|
15
|
-
private _infos;
|
|
16
|
-
private _bands;
|
|
17
|
-
private _bandLookup;
|
|
18
|
-
sizingInfo: EffectBandSizingInfo | null;
|
|
19
|
-
constructor(renderer: ScoreRenderer, bar: Bar, infos: EffectBarRendererInfo[]);
|
|
20
|
-
protected updateSizes(): void;
|
|
21
|
-
finalizeRenderer(): boolean;
|
|
22
|
-
private _updateHeight;
|
|
23
|
-
applyLayoutingInfo(): boolean;
|
|
24
|
-
scaleToWidth(width: number): void;
|
|
25
|
-
protected createBeatGlyphs(): void;
|
|
26
|
-
protected createVoiceGlyphs(v: Voice): void;
|
|
27
|
-
paint(cx: number, cy: number, canvas: ICanvas): void;
|
|
28
|
-
getBand(voice: Voice, effectId: string): EffectBand | null;
|
|
29
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Bar } from "./../model/Bar";
|
|
2
|
-
import type { BarRendererBase } from "./BarRendererBase";
|
|
3
|
-
import { BarRendererFactory } from "./BarRendererFactory";
|
|
4
|
-
import type { EffectBarRendererInfo } from "./EffectBarRendererInfo";
|
|
5
|
-
import type { ScoreRenderer } from "./ScoreRenderer";
|
|
6
|
-
import type { RenderStaff } from "./staves/RenderStaff";
|
|
7
|
-
import type { Staff } from "./../model/Staff";
|
|
8
|
-
import type { Track } from "./../model/Track";
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
|
-
export declare class EffectBarRendererFactory extends BarRendererFactory {
|
|
13
|
-
infos: EffectBarRendererInfo[];
|
|
14
|
-
private _staffId;
|
|
15
|
-
get staffId(): string;
|
|
16
|
-
shouldShow: ((track: Track, staff: Staff) => boolean) | null;
|
|
17
|
-
getStaffPaddingTop(staff: RenderStaff): number;
|
|
18
|
-
getStaffPaddingBottom(staff: RenderStaff): number;
|
|
19
|
-
constructor(staffId: string, infos: EffectBarRendererInfo[], shouldShow?: ((track: Track, staff: Staff) => boolean) | null);
|
|
20
|
-
canCreate(track: Track, staff: Staff): boolean;
|
|
21
|
-
create(renderer: ScoreRenderer, bar: Bar): BarRendererBase;
|
|
22
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import type { Beat } from "./../model/Beat";
|
|
2
|
-
import type { BarRendererBase } from "./BarRendererBase";
|
|
3
|
-
import type { EffectBarGlyphSizing } from "./EffectBarGlyphSizing";
|
|
4
|
-
import type { EffectGlyph } from "./glyphs/EffectGlyph";
|
|
5
|
-
import type { Settings } from "./../Settings";
|
|
6
|
-
import type { NotationElement } from "./../NotationSettings";
|
|
7
|
-
/**
|
|
8
|
-
* A classes inheriting from this base can provide the
|
|
9
|
-
* data needed by a EffectBarRenderer to create effect glyphs dynamically.
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
|
-
export declare abstract class EffectBarRendererInfo {
|
|
13
|
-
/**
|
|
14
|
-
* Gets the unique effect name for this effect. (Used for grouping)
|
|
15
|
-
*/
|
|
16
|
-
get effectId(): string;
|
|
17
|
-
/**
|
|
18
|
-
* Gets the notation element that this effect represents. (Used for dynamic showing/hiding)
|
|
19
|
-
*/
|
|
20
|
-
abstract get notationElement(): NotationElement;
|
|
21
|
-
/**
|
|
22
|
-
* Gets a value indicating whether this effect can share the space
|
|
23
|
-
* with other effects if required.
|
|
24
|
-
* (Example: tempo and dynamics don't share their space with other effects, a let-ring and palm-mute will share the space if possible)
|
|
25
|
-
* @returns true if this effect bar should only be created once for the first track, otherwise false.
|
|
26
|
-
*/
|
|
27
|
-
abstract get canShareBand(): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Gets a value indicating whether this effect glyphs
|
|
30
|
-
* should only be added once on the first track if multiple tracks are rendered.
|
|
31
|
-
* (Example: this allows to render the tempo changes only once)
|
|
32
|
-
* @returns true if this effect bar should only be created once for the first track, otherwise false.
|
|
33
|
-
*/
|
|
34
|
-
abstract get hideOnMultiTrack(): boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Checks whether the given beat has the appropriate effect set and
|
|
37
|
-
* needs a glyph creation
|
|
38
|
-
* @param settings
|
|
39
|
-
* @param beat the beat storing the data
|
|
40
|
-
* @returns true if the beat has the effect set, otherwise false.
|
|
41
|
-
*/
|
|
42
|
-
abstract shouldCreateGlyph(settings: Settings, beat: Beat): boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Gets the sizing mode of the glyphs created by this info.
|
|
45
|
-
* @returns the sizing mode to apply to the glyphs during layout
|
|
46
|
-
*/
|
|
47
|
-
abstract get sizingMode(): EffectBarGlyphSizing;
|
|
48
|
-
/**
|
|
49
|
-
* Creates a new effect glyph for the given beat.
|
|
50
|
-
* @param renderer the renderer which requests for glyph creation
|
|
51
|
-
* @param beat the beat storing the data
|
|
52
|
-
* @returns the glyph which needs to be added to the renderer
|
|
53
|
-
*/
|
|
54
|
-
abstract createNewGlyph(renderer: BarRendererBase, beat: Beat): EffectGlyph;
|
|
55
|
-
/**
|
|
56
|
-
* Checks whether an effect glyph can be expanded to a particular beat.
|
|
57
|
-
* @param from the beat which already has the glyph applied
|
|
58
|
-
* @param to the beat which the glyph should get expanded to
|
|
59
|
-
* @returns true if the glyph can be expanded, false if a new glyph needs to be created.
|
|
60
|
-
*/
|
|
61
|
-
abstract canExpand(from: Beat, to: Beat): boolean;
|
|
62
|
-
}
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import type { IEventEmitter, IEventEmitterOfT } from "./../EventEmitter";
|
|
2
|
-
import type { Score } from "./../model/Score";
|
|
3
|
-
import type { RenderFinishedEventArgs } from "./RenderFinishedEventArgs";
|
|
4
|
-
import type { BoundsLookup } from "./utils/BoundsLookup";
|
|
5
|
-
import type { Settings } from "./../Settings";
|
|
6
|
-
/**
|
|
7
|
-
* Represents the public interface of the component that can render scores.
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export interface IScoreRenderer {
|
|
11
|
-
/**
|
|
12
|
-
* Gets or sets the lookup which allows fast access to beats at a given position.
|
|
13
|
-
*/
|
|
14
|
-
readonly boundsLookup: BoundsLookup | null;
|
|
15
|
-
/**
|
|
16
|
-
* The width of the rendered score.
|
|
17
|
-
* @remarks
|
|
18
|
-
* For layouts that grow from top to bottom (like `page`), it is required to specify a width for the renderer.
|
|
19
|
-
* The renderer will fit then the bars into this area for rendering. The alphaTab API object uses a link to the
|
|
20
|
-
* graphical user interface via a {@link IUiFacade} to get the available width for rendering. When using the low-level APIs
|
|
21
|
-
* this width must be specified manually.
|
|
22
|
-
*
|
|
23
|
-
* For layouts that grow from left to right the width and height are usually calculated automatically based on
|
|
24
|
-
* the contents.
|
|
25
|
-
* @since 0.9.6
|
|
26
|
-
*/
|
|
27
|
-
width: number;
|
|
28
|
-
/**
|
|
29
|
-
* Initiates a re-rendering of the current setup.
|
|
30
|
-
* @since 0.9.6
|
|
31
|
-
*/
|
|
32
|
-
render(): void;
|
|
33
|
-
/**
|
|
34
|
-
* Initiates a resize-optimized re-rendering of the score using the current settings.
|
|
35
|
-
* @remarks
|
|
36
|
-
* This method can be used if only re-fitting of the score into a new width should be done.
|
|
37
|
-
* alphaTab internally keeps all the information about the music notation elements like
|
|
38
|
-
* where they are placed and how they are connected. This is a rather expensive operation
|
|
39
|
-
* but it is only required to be done once.
|
|
40
|
-
*
|
|
41
|
-
* In case the UI is resized, this method can be used to trigger a rearrangement of the existing elements
|
|
42
|
-
* into the newly available space.
|
|
43
|
-
* @since 0.9.6
|
|
44
|
-
*/
|
|
45
|
-
resizeRender(): void;
|
|
46
|
-
/**
|
|
47
|
-
* Initiates the rendering of the specified tracks of the given score.
|
|
48
|
-
* @param score The score defining the tracks.
|
|
49
|
-
* @param trackIndexes The indexes of the tracks to draw.
|
|
50
|
-
* @since 0.9.6
|
|
51
|
-
*/
|
|
52
|
-
renderScore(score: Score | null, trackIndexes: number[] | null): void;
|
|
53
|
-
/**
|
|
54
|
-
* Requests the rendering of a chunk which was layed out before.
|
|
55
|
-
* @param resultId the result ID as provided by the {@link partialLayoutFinished} event.
|
|
56
|
-
* @remarks
|
|
57
|
-
* This method initiates the rendering of a layed out chunk advertised through {@link partialLayoutFinished}
|
|
58
|
-
* @since 1.2.3
|
|
59
|
-
*/
|
|
60
|
-
renderResult(resultId: string): void;
|
|
61
|
-
/**
|
|
62
|
-
* Updates the settings to the given object.
|
|
63
|
-
* @remarks
|
|
64
|
-
* This method updates the settings to the given object. On some platforms like JavaScript
|
|
65
|
-
* the settings object will need to be passed on to the corresponding worker to be really updated.
|
|
66
|
-
* It is recommended to make this call after updating any properties of the settings object to ensure
|
|
67
|
-
* it is really passed on to all components.
|
|
68
|
-
*
|
|
69
|
-
* This method will not trigger automatically any re-rendering.
|
|
70
|
-
* @since 0.9.6
|
|
71
|
-
*/
|
|
72
|
-
updateSettings(settings: Settings): void;
|
|
73
|
-
/**
|
|
74
|
-
* Destroys the renderer and all related components.
|
|
75
|
-
* @remarks
|
|
76
|
-
* This method destroys the full renderer and by this closes all potentially opened
|
|
77
|
-
* contexts and shuts down any worker.
|
|
78
|
-
*
|
|
79
|
-
* If you dynamically create/destroy renderers it is recommended to always call this method
|
|
80
|
-
* to ensure all resources are leaked.
|
|
81
|
-
|
|
82
|
-
* @since 0.9.6
|
|
83
|
-
*/
|
|
84
|
-
destroy(): void;
|
|
85
|
-
/**
|
|
86
|
-
* Occurs before the rendering of the tracks starts
|
|
87
|
-
* @remarks
|
|
88
|
-
* This event is fired when the rendering of the whole music sheet is starting. All
|
|
89
|
-
* preparations are completed and the layout and render sequence is about to start.
|
|
90
|
-
*
|
|
91
|
-
* The provided boolean indicates the rendering is triggered from a resize
|
|
92
|
-
*
|
|
93
|
-
* @eventProperty
|
|
94
|
-
* @since 0.9.4
|
|
95
|
-
*/
|
|
96
|
-
readonly preRender: IEventEmitterOfT<boolean>;
|
|
97
|
-
/**
|
|
98
|
-
* This event is fired when the rendering of the whole music sheet is finished.
|
|
99
|
-
* @remarks
|
|
100
|
-
* This event is fired when the rendering of the whole music sheet is finished from the render engine side. There might be still tasks open for
|
|
101
|
-
* the display component to visually display the rendered components when this event is notified.
|
|
102
|
-
* @eventProperty
|
|
103
|
-
* @since 0.9.4
|
|
104
|
-
*/
|
|
105
|
-
readonly renderFinished: IEventEmitterOfT<RenderFinishedEventArgs>;
|
|
106
|
-
/**
|
|
107
|
-
* Occurs whenever a part of the whole music sheet is rendered and can be displayed.
|
|
108
|
-
* @remarks
|
|
109
|
-
* AlphaTab does not render the whole music sheet into a single canvas but rather
|
|
110
|
-
* splits it down into smaller chunks. This allows faster display of results to the user
|
|
111
|
-
* and avoids issues related to browser restrictions (like maximum canvas sizes).
|
|
112
|
-
*
|
|
113
|
-
* This event is fired whenever one chunk of the music sheet is fully rendered.
|
|
114
|
-
*
|
|
115
|
-
* {@since 1.2.3} the rendering of a chunk needs to be requested via the {@link renderResult} method after
|
|
116
|
-
* a chunk was advertised through the {@link partialLayoutFinished}.
|
|
117
|
-
* @eventProperty
|
|
118
|
-
* @since 1.2.3
|
|
119
|
-
*/
|
|
120
|
-
readonly partialRenderFinished: IEventEmitterOfT<RenderFinishedEventArgs>;
|
|
121
|
-
/**
|
|
122
|
-
* Occurs whenever a part of the whole music sheet is layed out but not yet rendered.
|
|
123
|
-
* @remarks
|
|
124
|
-
* AlphaTab does not render the whole music sheet into a single canvas but rather
|
|
125
|
-
* splits it down into smaller chunks. This allows faster display of results to the user
|
|
126
|
-
* and avoids issues related to browser restrictions (like maximum canvas sizes).
|
|
127
|
-
*
|
|
128
|
-
* This event is fired whenever one chunk of the music sheet was fully layed out.
|
|
129
|
-
* @eventProperty
|
|
130
|
-
* @since 1.2.3
|
|
131
|
-
*/
|
|
132
|
-
readonly partialLayoutFinished: IEventEmitterOfT<RenderFinishedEventArgs>;
|
|
133
|
-
/**
|
|
134
|
-
* This event is fired when the rendering of the whole music sheet is finished, and all handlers of {@link renderFinished} ran.
|
|
135
|
-
* @remarks
|
|
136
|
-
* This event is fired when the rendering of the whole music sheet is finished, and all handlers of {@link renderFinished} ran. When this
|
|
137
|
-
* handlers are called, the whole rendering and display pipeline is completed.
|
|
138
|
-
* @eventProperty
|
|
139
|
-
* @since 0.9.4
|
|
140
|
-
*/
|
|
141
|
-
readonly postRenderFinished: IEventEmitter;
|
|
142
|
-
/**
|
|
143
|
-
* This event is fired when an error within alphatab occurred.
|
|
144
|
-
* @remarks
|
|
145
|
-
* This event is fired when an error within alphatab occurred. Use this event as global error handler to show errors
|
|
146
|
-
* to end-users. Due to the asynchronous nature of alphaTab, no call to the API will directly throw an error if it fails.
|
|
147
|
-
* Instead a signal to this error handlers will be sent.
|
|
148
|
-
* @since 0.9.4
|
|
149
|
-
*/
|
|
150
|
-
readonly error: IEventEmitterOfT<Error>;
|
|
151
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { BarRendererBase } from "./BarRendererBase";
|
|
2
|
-
import { type ICanvas } from "./../platform/ICanvas";
|
|
3
|
-
import { BeamingHelper } from "./utils/BeamingHelper";
|
|
4
|
-
import { BeamDirection } from "./utils/BeamDirection";
|
|
5
|
-
import { type Beat, type BeatSubElement } from "./../model/Beat";
|
|
6
|
-
import type { BarSubElement } from "./../model/Bar";
|
|
7
|
-
import { Duration } from "./../model/Duration";
|
|
8
|
-
/**
|
|
9
|
-
* This is a base class for any bar renderer which renders music notation on a staff
|
|
10
|
-
* with lines like Standard Notation, Guitar Tablatures and Slash Notation.
|
|
11
|
-
*
|
|
12
|
-
* This base class takes care of the typical bits like drawing lines,
|
|
13
|
-
* allowing note positioning and creating glyphs like repeats, bar numbers etc..
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
export declare abstract class LineBarRenderer extends BarRendererBase {
|
|
17
|
-
protected firstLineY: number;
|
|
18
|
-
private _startSpacing;
|
|
19
|
-
protected tupletSize: number;
|
|
20
|
-
get lineOffset(): number;
|
|
21
|
-
get tupletOffset(): number;
|
|
22
|
-
abstract get lineSpacing(): number;
|
|
23
|
-
abstract get heightLineCount(): number;
|
|
24
|
-
abstract get drawnLineCount(): number;
|
|
25
|
-
protected get topGlyphOverflow(): number;
|
|
26
|
-
protected get bottomGlyphOverflow(): number;
|
|
27
|
-
protected initLineBasedSizes(): void;
|
|
28
|
-
protected updateSizes(): void;
|
|
29
|
-
protected adjustSizes(): void;
|
|
30
|
-
protected updateFirstLineY(): void;
|
|
31
|
-
doLayout(): void;
|
|
32
|
-
getLineY(line: number): number;
|
|
33
|
-
getLineHeight(line: number): number;
|
|
34
|
-
protected paintBackground(cx: number, cy: number, canvas: ICanvas): void;
|
|
35
|
-
protected paintStaffLines(cx: number, cy: number, canvas: ICanvas): void;
|
|
36
|
-
protected collectSpaces(_spaces: Float32Array[][]): void;
|
|
37
|
-
protected createStartSpacing(): void;
|
|
38
|
-
protected paintTuplets(cx: number, cy: number, canvas: ICanvas, beatElement: BeatSubElement, bracketsAsArcs?: boolean): void;
|
|
39
|
-
protected abstract getBeamDirection(helper: BeamingHelper): BeamDirection;
|
|
40
|
-
protected getTupletBeamDirection(helper: BeamingHelper): BeamDirection;
|
|
41
|
-
protected abstract calculateBeamYWithDirection(h: BeamingHelper, x: number, direction: BeamDirection): number;
|
|
42
|
-
private _paintTupletHelper;
|
|
43
|
-
protected paintBeams(cx: number, cy: number, canvas: ICanvas, flagsElement: BeatSubElement, beamsElement: BeatSubElement): void;
|
|
44
|
-
drawBeamHelperAsFlags(h: BeamingHelper): boolean;
|
|
45
|
-
private _paintBeamHelper;
|
|
46
|
-
protected abstract getFlagTopY(beat: Beat, direction: BeamDirection): number;
|
|
47
|
-
protected abstract getFlagBottomY(beat: Beat, direction: BeamDirection): number;
|
|
48
|
-
protected shouldPaintFlag(beat: Beat, h: BeamingHelper): boolean;
|
|
49
|
-
protected paintFlag(cx: number, cy: number, canvas: ICanvas, h: BeamingHelper, flagsElement: BeatSubElement): void;
|
|
50
|
-
protected abstract paintBeamingStem(beat: Beat, cy: number, x: number, topY: number, bottomY: number, canvas: ICanvas): void;
|
|
51
|
-
protected getFlagStemSize(duration: Duration, forceMinStem?: boolean): number;
|
|
52
|
-
protected recreatePreBeatGlyphs(): void;
|
|
53
|
-
protected abstract getBarLineStart(beat: Beat, direction: BeamDirection): number;
|
|
54
|
-
calculateBeamY(h: BeamingHelper, x: number): number;
|
|
55
|
-
protected createPreBeatGlyphs(): void;
|
|
56
|
-
protected abstract createLinePreBeatGlyphs(): void;
|
|
57
|
-
protected createPostBeatGlyphs(): void;
|
|
58
|
-
abstract get repeatsBarSubElement(): BarSubElement;
|
|
59
|
-
abstract get barNumberBarSubElement(): BarSubElement;
|
|
60
|
-
abstract get barLineBarSubElement(): BarSubElement;
|
|
61
|
-
abstract get staffLineBarSubElement(): BarSubElement;
|
|
62
|
-
protected paintBar(cx: number, cy: number, canvas: ICanvas, h: BeamingHelper, beamsElement: BeatSubElement): void;
|
|
63
|
-
protected static paintSingleBar(canvas: ICanvas, x1: number, y1: number, x2: number, y2: number, size: number): void;
|
|
64
|
-
}
|