@drop-ai/core 0.2.0
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 +21 -0
- package/README.md +316 -0
- package/dist/actions/ActionRegistry.d.ts +33 -0
- package/dist/actions/ActionRegistry.d.ts.map +1 -0
- package/dist/actions/ActionRegistry.js +96 -0
- package/dist/actions/ActionRegistry.js.map +1 -0
- package/dist/actions/types.d.ts +31 -0
- package/dist/actions/types.d.ts.map +1 -0
- package/dist/actions/types.js +11 -0
- package/dist/actions/types.js.map +1 -0
- package/dist/analysis/TransientDetector.d.ts +28 -0
- package/dist/analysis/TransientDetector.d.ts.map +1 -0
- package/dist/analysis/TransientDetector.js +109 -0
- package/dist/analysis/TransientDetector.js.map +1 -0
- package/dist/audio/AudioEngine.d.ts +107 -0
- package/dist/audio/AudioEngine.d.ts.map +1 -0
- package/dist/audio/AudioEngine.js +798 -0
- package/dist/audio/AudioEngine.js.map +1 -0
- package/dist/audio/AudioProvider.d.ts +96 -0
- package/dist/audio/AudioProvider.d.ts.map +1 -0
- package/dist/audio/AudioProvider.js +2 -0
- package/dist/audio/AudioProvider.js.map +1 -0
- package/dist/audio/BufferPool.d.ts +92 -0
- package/dist/audio/BufferPool.d.ts.map +1 -0
- package/dist/audio/BufferPool.js +172 -0
- package/dist/audio/BufferPool.js.map +1 -0
- package/dist/audio/LoudnessUtils.d.ts +18 -0
- package/dist/audio/LoudnessUtils.d.ts.map +1 -0
- package/dist/audio/LoudnessUtils.js +91 -0
- package/dist/audio/LoudnessUtils.js.map +1 -0
- package/dist/audio/MeterUtils.d.ts +37 -0
- package/dist/audio/MeterUtils.d.ts.map +1 -0
- package/dist/audio/MeterUtils.js +71 -0
- package/dist/audio/MeterUtils.js.map +1 -0
- package/dist/audio/OfflineExporter.d.ts +48 -0
- package/dist/audio/OfflineExporter.d.ts.map +1 -0
- package/dist/audio/OfflineExporter.js +202 -0
- package/dist/audio/OfflineExporter.js.map +1 -0
- package/dist/audio/ProcessingGraph.d.ts +152 -0
- package/dist/audio/ProcessingGraph.d.ts.map +1 -0
- package/dist/audio/ProcessingGraph.js +360 -0
- package/dist/audio/ProcessingGraph.js.map +1 -0
- package/dist/audio/SourceCache.d.ts +124 -0
- package/dist/audio/SourceCache.d.ts.map +1 -0
- package/dist/audio/SourceCache.js +205 -0
- package/dist/audio/SourceCache.js.map +1 -0
- package/dist/audio/dto.d.ts +50 -0
- package/dist/audio/dto.d.ts.map +1 -0
- package/dist/audio/dto.js +2 -0
- package/dist/audio/dto.js.map +1 -0
- package/dist/audio/engine/PlaylistEngine.d.ts +19 -0
- package/dist/audio/engine/PlaylistEngine.d.ts.map +1 -0
- package/dist/audio/engine/PlaylistEngine.js +83 -0
- package/dist/audio/engine/PlaylistEngine.js.map +1 -0
- package/dist/automation/AutomationCurve.d.ts +61 -0
- package/dist/automation/AutomationCurve.d.ts.map +1 -0
- package/dist/automation/AutomationCurve.js +198 -0
- package/dist/automation/AutomationCurve.js.map +1 -0
- package/dist/automation/AutomationList.d.ts +185 -0
- package/dist/automation/AutomationList.d.ts.map +1 -0
- package/dist/automation/AutomationList.js +459 -0
- package/dist/automation/AutomationList.js.map +1 -0
- package/dist/automation/AutomationMode.d.ts +17 -0
- package/dist/automation/AutomationMode.d.ts.map +1 -0
- package/dist/automation/AutomationMode.js +18 -0
- package/dist/automation/AutomationMode.js.map +1 -0
- package/dist/automation/ParameterDescriptor.d.ts +65 -0
- package/dist/automation/ParameterDescriptor.d.ts.map +1 -0
- package/dist/automation/ParameterDescriptor.js +113 -0
- package/dist/automation/ParameterDescriptor.js.map +1 -0
- package/dist/automation/PointThinning.d.ts +14 -0
- package/dist/automation/PointThinning.d.ts.map +1 -0
- package/dist/automation/PointThinning.js +52 -0
- package/dist/automation/PointThinning.js.map +1 -0
- package/dist/automation/types.d.ts +14 -0
- package/dist/automation/types.d.ts.map +1 -0
- package/dist/automation/types.js +9 -0
- package/dist/automation/types.js.map +1 -0
- package/dist/commands/Command.d.ts +8 -0
- package/dist/commands/Command.d.ts.map +1 -0
- package/dist/commands/Command.js +2 -0
- package/dist/commands/Command.js.map +1 -0
- package/dist/commands/CommandExecutor.d.ts +36 -0
- package/dist/commands/CommandExecutor.d.ts.map +1 -0
- package/dist/commands/CommandExecutor.js +108 -0
- package/dist/commands/CommandExecutor.js.map +1 -0
- package/dist/commands/CommandHistory.d.ts +155 -0
- package/dist/commands/CommandHistory.d.ts.map +1 -0
- package/dist/commands/CommandHistory.js +316 -0
- package/dist/commands/CommandHistory.js.map +1 -0
- package/dist/commands/CommandRegistry.d.ts +110 -0
- package/dist/commands/CommandRegistry.d.ts.map +1 -0
- package/dist/commands/CommandRegistry.js +91 -0
- package/dist/commands/CommandRegistry.js.map +1 -0
- package/dist/commands/UndoTransaction.d.ts +54 -0
- package/dist/commands/UndoTransaction.d.ts.map +1 -0
- package/dist/commands/UndoTransaction.js +77 -0
- package/dist/commands/UndoTransaction.js.map +1 -0
- package/dist/commands/handlers/AutomationHandler.d.ts +14 -0
- package/dist/commands/handlers/AutomationHandler.d.ts.map +1 -0
- package/dist/commands/handlers/AutomationHandler.js +84 -0
- package/dist/commands/handlers/AutomationHandler.js.map +1 -0
- package/dist/commands/handlers/CommandHandler.d.ts +57 -0
- package/dist/commands/handlers/CommandHandler.d.ts.map +1 -0
- package/dist/commands/handlers/CommandHandler.js +22 -0
- package/dist/commands/handlers/CommandHandler.js.map +1 -0
- package/dist/commands/handlers/ExportHandler.d.ts +14 -0
- package/dist/commands/handlers/ExportHandler.d.ts.map +1 -0
- package/dist/commands/handlers/ExportHandler.js +166 -0
- package/dist/commands/handlers/ExportHandler.js.map +1 -0
- package/dist/commands/handlers/HistoryHandler.d.ts +29 -0
- package/dist/commands/handlers/HistoryHandler.d.ts.map +1 -0
- package/dist/commands/handlers/HistoryHandler.js +124 -0
- package/dist/commands/handlers/HistoryHandler.js.map +1 -0
- package/dist/commands/handlers/IOHandler.d.ts +14 -0
- package/dist/commands/handlers/IOHandler.d.ts.map +1 -0
- package/dist/commands/handlers/IOHandler.js +59 -0
- package/dist/commands/handlers/IOHandler.js.map +1 -0
- package/dist/commands/handlers/MarkerHandler.d.ts +13 -0
- package/dist/commands/handlers/MarkerHandler.d.ts.map +1 -0
- package/dist/commands/handlers/MarkerHandler.js +95 -0
- package/dist/commands/handlers/MarkerHandler.js.map +1 -0
- package/dist/commands/handlers/MidiHandler.d.ts +14 -0
- package/dist/commands/handlers/MidiHandler.d.ts.map +1 -0
- package/dist/commands/handlers/MidiHandler.js +153 -0
- package/dist/commands/handlers/MidiHandler.js.map +1 -0
- package/dist/commands/handlers/MixerSceneHandler.d.ts +12 -0
- package/dist/commands/handlers/MixerSceneHandler.d.ts.map +1 -0
- package/dist/commands/handlers/MixerSceneHandler.js +113 -0
- package/dist/commands/handlers/MixerSceneHandler.js.map +1 -0
- package/dist/commands/handlers/RangeHandler.d.ts +14 -0
- package/dist/commands/handlers/RangeHandler.d.ts.map +1 -0
- package/dist/commands/handlers/RangeHandler.js +108 -0
- package/dist/commands/handlers/RangeHandler.js.map +1 -0
- package/dist/commands/handlers/RegionHandler.d.ts +14 -0
- package/dist/commands/handlers/RegionHandler.d.ts.map +1 -0
- package/dist/commands/handlers/RegionHandler.js +313 -0
- package/dist/commands/handlers/RegionHandler.js.map +1 -0
- package/dist/commands/handlers/SendBusHandler.d.ts +14 -0
- package/dist/commands/handlers/SendBusHandler.d.ts.map +1 -0
- package/dist/commands/handlers/SendBusHandler.js +55 -0
- package/dist/commands/handlers/SendBusHandler.js.map +1 -0
- package/dist/commands/handlers/SessionHandler.d.ts +14 -0
- package/dist/commands/handlers/SessionHandler.d.ts.map +1 -0
- package/dist/commands/handlers/SessionHandler.js +80 -0
- package/dist/commands/handlers/SessionHandler.js.map +1 -0
- package/dist/commands/handlers/TrackGroupHandler.d.ts +18 -0
- package/dist/commands/handlers/TrackGroupHandler.d.ts.map +1 -0
- package/dist/commands/handlers/TrackGroupHandler.js +210 -0
- package/dist/commands/handlers/TrackGroupHandler.js.map +1 -0
- package/dist/commands/handlers/TrackHandler.d.ts +14 -0
- package/dist/commands/handlers/TrackHandler.d.ts.map +1 -0
- package/dist/commands/handlers/TrackHandler.js +241 -0
- package/dist/commands/handlers/TrackHandler.js.map +1 -0
- package/dist/commands/handlers/TransportHandler.d.ts +14 -0
- package/dist/commands/handlers/TransportHandler.d.ts.map +1 -0
- package/dist/commands/handlers/TransportHandler.js +117 -0
- package/dist/commands/handlers/TransportHandler.js.map +1 -0
- package/dist/commands/handlers/index.d.ts +18 -0
- package/dist/commands/handlers/index.d.ts.map +1 -0
- package/dist/commands/handlers/index.js +17 -0
- package/dist/commands/handlers/index.js.map +1 -0
- package/dist/commands/impl/AddAutomationPointCommand.d.ts +20 -0
- package/dist/commands/impl/AddAutomationPointCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddAutomationPointCommand.js +45 -0
- package/dist/commands/impl/AddAutomationPointCommand.js.map +1 -0
- package/dist/commands/impl/AddAuxTrackCommand.d.ts +11 -0
- package/dist/commands/impl/AddAuxTrackCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddAuxTrackCommand.js +23 -0
- package/dist/commands/impl/AddAuxTrackCommand.js.map +1 -0
- package/dist/commands/impl/AddBusTrackCommand.d.ts +11 -0
- package/dist/commands/impl/AddBusTrackCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddBusTrackCommand.js +23 -0
- package/dist/commands/impl/AddBusTrackCommand.js.map +1 -0
- package/dist/commands/impl/AddMarkerCommand.d.ts +13 -0
- package/dist/commands/impl/AddMarkerCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddMarkerCommand.js +25 -0
- package/dist/commands/impl/AddMarkerCommand.js.map +1 -0
- package/dist/commands/impl/AddMidiNoteCommand.d.ts +22 -0
- package/dist/commands/impl/AddMidiNoteCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddMidiNoteCommand.js +45 -0
- package/dist/commands/impl/AddMidiNoteCommand.js.map +1 -0
- package/dist/commands/impl/AddPluginCommand.d.ts +19 -0
- package/dist/commands/impl/AddPluginCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddPluginCommand.js +43 -0
- package/dist/commands/impl/AddPluginCommand.js.map +1 -0
- package/dist/commands/impl/AddRangeCommand.d.ts +19 -0
- package/dist/commands/impl/AddRangeCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddRangeCommand.js +32 -0
- package/dist/commands/impl/AddRangeCommand.js.map +1 -0
- package/dist/commands/impl/AddRegionCommand.d.ts +19 -0
- package/dist/commands/impl/AddRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddRegionCommand.js +58 -0
- package/dist/commands/impl/AddRegionCommand.js.map +1 -0
- package/dist/commands/impl/AddSendBusCommand.d.ts +23 -0
- package/dist/commands/impl/AddSendBusCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddSendBusCommand.js +30 -0
- package/dist/commands/impl/AddSendBusCommand.js.map +1 -0
- package/dist/commands/impl/AddSourceCommand.d.ts +12 -0
- package/dist/commands/impl/AddSourceCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddSourceCommand.js +16 -0
- package/dist/commands/impl/AddSourceCommand.js.map +1 -0
- package/dist/commands/impl/AddTempoChangeCommand.d.ts +15 -0
- package/dist/commands/impl/AddTempoChangeCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddTempoChangeCommand.js +45 -0
- package/dist/commands/impl/AddTempoChangeCommand.js.map +1 -0
- package/dist/commands/impl/AddTrackCommand.d.ts +13 -0
- package/dist/commands/impl/AddTrackCommand.d.ts.map +1 -0
- package/dist/commands/impl/AddTrackCommand.js +26 -0
- package/dist/commands/impl/AddTrackCommand.js.map +1 -0
- package/dist/commands/impl/ConnectIOCommand.d.ts +13 -0
- package/dist/commands/impl/ConnectIOCommand.d.ts.map +1 -0
- package/dist/commands/impl/ConnectIOCommand.js +31 -0
- package/dist/commands/impl/ConnectIOCommand.js.map +1 -0
- package/dist/commands/impl/CopyRegionCommand.d.ts +12 -0
- package/dist/commands/impl/CopyRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/CopyRegionCommand.js +42 -0
- package/dist/commands/impl/CopyRegionCommand.js.map +1 -0
- package/dist/commands/impl/DisconnectIOCommand.d.ts +13 -0
- package/dist/commands/impl/DisconnectIOCommand.d.ts.map +1 -0
- package/dist/commands/impl/DisconnectIOCommand.js +24 -0
- package/dist/commands/impl/DisconnectIOCommand.js.map +1 -0
- package/dist/commands/impl/DuplicateRegionCommand.d.ts +15 -0
- package/dist/commands/impl/DuplicateRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/DuplicateRegionCommand.js +49 -0
- package/dist/commands/impl/DuplicateRegionCommand.js.map +1 -0
- package/dist/commands/impl/ExportCommand.d.ts +17 -0
- package/dist/commands/impl/ExportCommand.d.ts.map +1 -0
- package/dist/commands/impl/ExportCommand.js +92 -0
- package/dist/commands/impl/ExportCommand.js.map +1 -0
- package/dist/commands/impl/FreezeTrackCommand.d.ts +25 -0
- package/dist/commands/impl/FreezeTrackCommand.d.ts.map +1 -0
- package/dist/commands/impl/FreezeTrackCommand.js +94 -0
- package/dist/commands/impl/FreezeTrackCommand.js.map +1 -0
- package/dist/commands/impl/GroupRegionsCommand.d.ts +15 -0
- package/dist/commands/impl/GroupRegionsCommand.d.ts.map +1 -0
- package/dist/commands/impl/GroupRegionsCommand.js +28 -0
- package/dist/commands/impl/GroupRegionsCommand.js.map +1 -0
- package/dist/commands/impl/LoadSessionCommand.d.ts +24 -0
- package/dist/commands/impl/LoadSessionCommand.d.ts.map +1 -0
- package/dist/commands/impl/LoadSessionCommand.js +77 -0
- package/dist/commands/impl/LoadSessionCommand.js.map +1 -0
- package/dist/commands/impl/LockRegionCommand.d.ts +16 -0
- package/dist/commands/impl/LockRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/LockRegionCommand.js +37 -0
- package/dist/commands/impl/LockRegionCommand.js.map +1 -0
- package/dist/commands/impl/MergeRegionsCommand.d.ts +19 -0
- package/dist/commands/impl/MergeRegionsCommand.d.ts.map +1 -0
- package/dist/commands/impl/MergeRegionsCommand.js +85 -0
- package/dist/commands/impl/MergeRegionsCommand.js.map +1 -0
- package/dist/commands/impl/MoveAutomationPointCommand.d.ts +20 -0
- package/dist/commands/impl/MoveAutomationPointCommand.d.ts.map +1 -0
- package/dist/commands/impl/MoveAutomationPointCommand.js +73 -0
- package/dist/commands/impl/MoveAutomationPointCommand.js.map +1 -0
- package/dist/commands/impl/MoveMarkerCommand.d.ts +13 -0
- package/dist/commands/impl/MoveMarkerCommand.d.ts.map +1 -0
- package/dist/commands/impl/MoveMarkerCommand.js +29 -0
- package/dist/commands/impl/MoveMarkerCommand.js.map +1 -0
- package/dist/commands/impl/MoveMidiNoteCommand.d.ts +20 -0
- package/dist/commands/impl/MoveMidiNoteCommand.d.ts.map +1 -0
- package/dist/commands/impl/MoveMidiNoteCommand.js +55 -0
- package/dist/commands/impl/MoveMidiNoteCommand.js.map +1 -0
- package/dist/commands/impl/MoveRegionCommand.d.ts +22 -0
- package/dist/commands/impl/MoveRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/MoveRegionCommand.js +148 -0
- package/dist/commands/impl/MoveRegionCommand.js.map +1 -0
- package/dist/commands/impl/NewSessionCommand.d.ts +17 -0
- package/dist/commands/impl/NewSessionCommand.d.ts.map +1 -0
- package/dist/commands/impl/NewSessionCommand.js +88 -0
- package/dist/commands/impl/NewSessionCommand.js.map +1 -0
- package/dist/commands/impl/NormalizeRegionCommand.d.ts +24 -0
- package/dist/commands/impl/NormalizeRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/NormalizeRegionCommand.js +60 -0
- package/dist/commands/impl/NormalizeRegionCommand.js.map +1 -0
- package/dist/commands/impl/PasteRegionCommand.d.ts +18 -0
- package/dist/commands/impl/PasteRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/PasteRegionCommand.js +66 -0
- package/dist/commands/impl/PasteRegionCommand.js.map +1 -0
- package/dist/commands/impl/RemoveAutomationPointCommand.d.ts +17 -0
- package/dist/commands/impl/RemoveAutomationPointCommand.d.ts.map +1 -0
- package/dist/commands/impl/RemoveAutomationPointCommand.js +69 -0
- package/dist/commands/impl/RemoveAutomationPointCommand.js.map +1 -0
- package/dist/commands/impl/RemoveMarkerCommand.d.ts +14 -0
- package/dist/commands/impl/RemoveMarkerCommand.d.ts.map +1 -0
- package/dist/commands/impl/RemoveMarkerCommand.js +32 -0
- package/dist/commands/impl/RemoveMarkerCommand.js.map +1 -0
- package/dist/commands/impl/RemoveMidiNoteCommand.d.ts +16 -0
- package/dist/commands/impl/RemoveMidiNoteCommand.d.ts.map +1 -0
- package/dist/commands/impl/RemoveMidiNoteCommand.js +38 -0
- package/dist/commands/impl/RemoveMidiNoteCommand.js.map +1 -0
- package/dist/commands/impl/RemovePluginCommand.d.ts +17 -0
- package/dist/commands/impl/RemovePluginCommand.d.ts.map +1 -0
- package/dist/commands/impl/RemovePluginCommand.js +55 -0
- package/dist/commands/impl/RemovePluginCommand.js.map +1 -0
- package/dist/commands/impl/RemoveRangeCommand.d.ts +15 -0
- package/dist/commands/impl/RemoveRangeCommand.d.ts.map +1 -0
- package/dist/commands/impl/RemoveRangeCommand.js +34 -0
- package/dist/commands/impl/RemoveRangeCommand.js.map +1 -0
- package/dist/commands/impl/RemoveRegionCommand.d.ts +17 -0
- package/dist/commands/impl/RemoveRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/RemoveRegionCommand.js +58 -0
- package/dist/commands/impl/RemoveRegionCommand.js.map +1 -0
- package/dist/commands/impl/RemoveSendBusCommand.d.ts +17 -0
- package/dist/commands/impl/RemoveSendBusCommand.d.ts.map +1 -0
- package/dist/commands/impl/RemoveSendBusCommand.js +34 -0
- package/dist/commands/impl/RemoveSendBusCommand.js.map +1 -0
- package/dist/commands/impl/RemoveTempoChangeCommand.d.ts +11 -0
- package/dist/commands/impl/RemoveTempoChangeCommand.d.ts.map +1 -0
- package/dist/commands/impl/RemoveTempoChangeCommand.js +32 -0
- package/dist/commands/impl/RemoveTempoChangeCommand.js.map +1 -0
- package/dist/commands/impl/RemoveTrackCommand.d.ts +11 -0
- package/dist/commands/impl/RemoveTrackCommand.d.ts.map +1 -0
- package/dist/commands/impl/RemoveTrackCommand.js +28 -0
- package/dist/commands/impl/RemoveTrackCommand.js.map +1 -0
- package/dist/commands/impl/ReorderTrackCommand.d.ts +15 -0
- package/dist/commands/impl/ReorderTrackCommand.d.ts.map +1 -0
- package/dist/commands/impl/ReorderTrackCommand.js +25 -0
- package/dist/commands/impl/ReorderTrackCommand.js.map +1 -0
- package/dist/commands/impl/ResizeRegionCommand.d.ts +18 -0
- package/dist/commands/impl/ResizeRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/ResizeRegionCommand.js +65 -0
- package/dist/commands/impl/ResizeRegionCommand.js.map +1 -0
- package/dist/commands/impl/ReverseRegionCommand.d.ts +22 -0
- package/dist/commands/impl/ReverseRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/ReverseRegionCommand.js +50 -0
- package/dist/commands/impl/ReverseRegionCommand.js.map +1 -0
- package/dist/commands/impl/SaveSessionCommand.d.ts +11 -0
- package/dist/commands/impl/SaveSessionCommand.d.ts.map +1 -0
- package/dist/commands/impl/SaveSessionCommand.js +33 -0
- package/dist/commands/impl/SaveSessionCommand.js.map +1 -0
- package/dist/commands/impl/SaveSnapshotCommand.d.ts +15 -0
- package/dist/commands/impl/SaveSnapshotCommand.d.ts.map +1 -0
- package/dist/commands/impl/SaveSnapshotCommand.js +34 -0
- package/dist/commands/impl/SaveSnapshotCommand.js.map +1 -0
- package/dist/commands/impl/SetGridCommand.d.ts +20 -0
- package/dist/commands/impl/SetGridCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetGridCommand.js +35 -0
- package/dist/commands/impl/SetGridCommand.js.map +1 -0
- package/dist/commands/impl/SetLoopRangeCommand.d.ts +18 -0
- package/dist/commands/impl/SetLoopRangeCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetLoopRangeCommand.js +44 -0
- package/dist/commands/impl/SetLoopRangeCommand.js.map +1 -0
- package/dist/commands/impl/SetPluginParameterCommand.d.ts +16 -0
- package/dist/commands/impl/SetPluginParameterCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetPluginParameterCommand.js +49 -0
- package/dist/commands/impl/SetPluginParameterCommand.js.map +1 -0
- package/dist/commands/impl/SetPunchRangeCommand.d.ts +18 -0
- package/dist/commands/impl/SetPunchRangeCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetPunchRangeCommand.js +42 -0
- package/dist/commands/impl/SetPunchRangeCommand.js.map +1 -0
- package/dist/commands/impl/SetRangeCommand.d.ts +27 -0
- package/dist/commands/impl/SetRangeCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetRangeCommand.js +66 -0
- package/dist/commands/impl/SetRangeCommand.js.map +1 -0
- package/dist/commands/impl/SetRegionFadesCommand.d.ts +16 -0
- package/dist/commands/impl/SetRegionFadesCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetRegionFadesCommand.js +46 -0
- package/dist/commands/impl/SetRegionFadesCommand.js.map +1 -0
- package/dist/commands/impl/SetRegionPlaybackRateCommand.d.ts +23 -0
- package/dist/commands/impl/SetRegionPlaybackRateCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetRegionPlaybackRateCommand.js +46 -0
- package/dist/commands/impl/SetRegionPlaybackRateCommand.js.map +1 -0
- package/dist/commands/impl/SetRegionTimeDomainCommand.d.ts +16 -0
- package/dist/commands/impl/SetRegionTimeDomainCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetRegionTimeDomainCommand.js +42 -0
- package/dist/commands/impl/SetRegionTimeDomainCommand.js.map +1 -0
- package/dist/commands/impl/SetSendLevelCommand.d.ts +18 -0
- package/dist/commands/impl/SetSendLevelCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetSendLevelCommand.js +35 -0
- package/dist/commands/impl/SetSendLevelCommand.js.map +1 -0
- package/dist/commands/impl/SetTrackMuteCommand.d.ts +15 -0
- package/dist/commands/impl/SetTrackMuteCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetTrackMuteCommand.js +29 -0
- package/dist/commands/impl/SetTrackMuteCommand.js.map +1 -0
- package/dist/commands/impl/SetTrackPanCommand.d.ts +15 -0
- package/dist/commands/impl/SetTrackPanCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetTrackPanCommand.js +29 -0
- package/dist/commands/impl/SetTrackPanCommand.js.map +1 -0
- package/dist/commands/impl/SetTrackSoloCommand.d.ts +15 -0
- package/dist/commands/impl/SetTrackSoloCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetTrackSoloCommand.js +29 -0
- package/dist/commands/impl/SetTrackSoloCommand.js.map +1 -0
- package/dist/commands/impl/SetTrackVolumeCommand.d.ts +15 -0
- package/dist/commands/impl/SetTrackVolumeCommand.d.ts.map +1 -0
- package/dist/commands/impl/SetTrackVolumeCommand.js +29 -0
- package/dist/commands/impl/SetTrackVolumeCommand.js.map +1 -0
- package/dist/commands/impl/SplitAtPlayheadCommand.d.ts +32 -0
- package/dist/commands/impl/SplitAtPlayheadCommand.d.ts.map +1 -0
- package/dist/commands/impl/SplitAtPlayheadCommand.js +100 -0
- package/dist/commands/impl/SplitAtPlayheadCommand.js.map +1 -0
- package/dist/commands/impl/SplitRegionCommand.d.ts +22 -0
- package/dist/commands/impl/SplitRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/SplitRegionCommand.js +69 -0
- package/dist/commands/impl/SplitRegionCommand.js.map +1 -0
- package/dist/commands/impl/StripSilenceCommand.d.ts +26 -0
- package/dist/commands/impl/StripSilenceCommand.d.ts.map +1 -0
- package/dist/commands/impl/StripSilenceCommand.js +83 -0
- package/dist/commands/impl/StripSilenceCommand.js.map +1 -0
- package/dist/commands/impl/TimeStretchRegionCommand.d.ts +28 -0
- package/dist/commands/impl/TimeStretchRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/TimeStretchRegionCommand.js +55 -0
- package/dist/commands/impl/TimeStretchRegionCommand.js.map +1 -0
- package/dist/commands/impl/ToggleLoopCommand.d.ts +12 -0
- package/dist/commands/impl/ToggleLoopCommand.d.ts.map +1 -0
- package/dist/commands/impl/ToggleLoopCommand.js +27 -0
- package/dist/commands/impl/ToggleLoopCommand.js.map +1 -0
- package/dist/commands/impl/TrimRegionCommand.d.ts +22 -0
- package/dist/commands/impl/TrimRegionCommand.d.ts.map +1 -0
- package/dist/commands/impl/TrimRegionCommand.js +92 -0
- package/dist/commands/impl/TrimRegionCommand.js.map +1 -0
- package/dist/commands/impl/UngroupRegionsCommand.d.ts +14 -0
- package/dist/commands/impl/UngroupRegionsCommand.d.ts.map +1 -0
- package/dist/commands/impl/UngroupRegionsCommand.js +28 -0
- package/dist/commands/impl/UngroupRegionsCommand.js.map +1 -0
- package/dist/commands/types.d.ts +1895 -0
- package/dist/commands/types.d.ts.map +1 -0
- package/dist/commands/types.js +1338 -0
- package/dist/commands/types.js.map +1 -0
- package/dist/domain/ABComparison.d.ts +33 -0
- package/dist/domain/ABComparison.d.ts.map +1 -0
- package/dist/domain/ABComparison.js +78 -0
- package/dist/domain/ABComparison.js.map +1 -0
- package/dist/domain/CDMarker.d.ts +36 -0
- package/dist/domain/CDMarker.d.ts.map +1 -0
- package/dist/domain/CDMarker.js +78 -0
- package/dist/domain/CDMarker.js.map +1 -0
- package/dist/domain/ClockMode.d.ts +19 -0
- package/dist/domain/ClockMode.d.ts.map +1 -0
- package/dist/domain/ClockMode.js +65 -0
- package/dist/domain/ClockMode.js.map +1 -0
- package/dist/domain/CrossfadeEngine.d.ts +27 -0
- package/dist/domain/CrossfadeEngine.d.ts.map +1 -0
- package/dist/domain/CrossfadeEngine.js +47 -0
- package/dist/domain/CrossfadeEngine.js.map +1 -0
- package/dist/domain/DragManager.d.ts +21 -0
- package/dist/domain/DragManager.d.ts.map +1 -0
- package/dist/domain/DragManager.js +37 -0
- package/dist/domain/DragManager.js.map +1 -0
- package/dist/domain/EditMode.d.ts +15 -0
- package/dist/domain/EditMode.d.ts.map +1 -0
- package/dist/domain/EditMode.js +16 -0
- package/dist/domain/EditMode.js.map +1 -0
- package/dist/domain/ExportConfig.d.ts +55 -0
- package/dist/domain/ExportConfig.d.ts.map +1 -0
- package/dist/domain/ExportConfig.js +115 -0
- package/dist/domain/ExportConfig.js.map +1 -0
- package/dist/domain/ExportStatus.d.ts +46 -0
- package/dist/domain/ExportStatus.d.ts.map +1 -0
- package/dist/domain/ExportStatus.js +113 -0
- package/dist/domain/ExportStatus.js.map +1 -0
- package/dist/domain/FadeEnvelope.d.ts +31 -0
- package/dist/domain/FadeEnvelope.d.ts.map +1 -0
- package/dist/domain/FadeEnvelope.js +44 -0
- package/dist/domain/FadeEnvelope.js.map +1 -0
- package/dist/domain/GridSettings.d.ts +99 -0
- package/dist/domain/GridSettings.d.ts.map +1 -0
- package/dist/domain/GridSettings.js +213 -0
- package/dist/domain/GridSettings.js.map +1 -0
- package/dist/domain/Marker.d.ts +31 -0
- package/dist/domain/Marker.d.ts.map +1 -0
- package/dist/domain/Marker.js +56 -0
- package/dist/domain/Marker.js.map +1 -0
- package/dist/domain/MeterData.d.ts +26 -0
- package/dist/domain/MeterData.d.ts.map +1 -0
- package/dist/domain/MeterData.js +2 -0
- package/dist/domain/MeterData.js.map +1 -0
- package/dist/domain/MeterType.d.ts +22 -0
- package/dist/domain/MeterType.d.ts.map +1 -0
- package/dist/domain/MeterType.js +24 -0
- package/dist/domain/MeterType.js.map +1 -0
- package/dist/domain/MidiClip.d.ts +56 -0
- package/dist/domain/MidiClip.d.ts.map +1 -0
- package/dist/domain/MidiClip.js +119 -0
- package/dist/domain/MidiClip.js.map +1 -0
- package/dist/domain/MidiNote.d.ts +38 -0
- package/dist/domain/MidiNote.d.ts.map +1 -0
- package/dist/domain/MidiNote.js +82 -0
- package/dist/domain/MidiNote.js.map +1 -0
- package/dist/domain/MidiRegion.d.ts +65 -0
- package/dist/domain/MidiRegion.d.ts.map +1 -0
- package/dist/domain/MidiRegion.js +123 -0
- package/dist/domain/MidiRegion.js.map +1 -0
- package/dist/domain/MixerScene.d.ts +62 -0
- package/dist/domain/MixerScene.d.ts.map +1 -0
- package/dist/domain/MixerScene.js +131 -0
- package/dist/domain/MixerScene.js.map +1 -0
- package/dist/domain/MonitorMode.d.ts +15 -0
- package/dist/domain/MonitorMode.d.ts.map +1 -0
- package/dist/domain/MonitorMode.js +16 -0
- package/dist/domain/MonitorMode.js.map +1 -0
- package/dist/domain/MouseMode.d.ts +25 -0
- package/dist/domain/MouseMode.d.ts.map +1 -0
- package/dist/domain/MouseMode.js +26 -0
- package/dist/domain/MouseMode.js.map +1 -0
- package/dist/domain/OverlapType.d.ts +18 -0
- package/dist/domain/OverlapType.d.ts.map +1 -0
- package/dist/domain/OverlapType.js +19 -0
- package/dist/domain/OverlapType.js.map +1 -0
- package/dist/domain/Playlist.d.ts +83 -0
- package/dist/domain/Playlist.d.ts.map +1 -0
- package/dist/domain/Playlist.js +205 -0
- package/dist/domain/Playlist.js.map +1 -0
- package/dist/domain/Range.d.ts +35 -0
- package/dist/domain/Range.d.ts.map +1 -0
- package/dist/domain/Range.js +59 -0
- package/dist/domain/Range.js.map +1 -0
- package/dist/domain/RecordMode.d.ts +13 -0
- package/dist/domain/RecordMode.d.ts.map +1 -0
- package/dist/domain/RecordMode.js +14 -0
- package/dist/domain/RecordMode.js.map +1 -0
- package/dist/domain/Region.d.ts +96 -0
- package/dist/domain/Region.d.ts.map +1 -0
- package/dist/domain/Region.js +219 -0
- package/dist/domain/Region.js.map +1 -0
- package/dist/domain/RegionClipboard.d.ts +56 -0
- package/dist/domain/RegionClipboard.d.ts.map +1 -0
- package/dist/domain/RegionClipboard.js +70 -0
- package/dist/domain/RegionClipboard.js.map +1 -0
- package/dist/domain/RegionGroup.d.ts +16 -0
- package/dist/domain/RegionGroup.d.ts.map +1 -0
- package/dist/domain/RegionGroup.js +36 -0
- package/dist/domain/RegionGroup.js.map +1 -0
- package/dist/domain/Route.d.ts +104 -0
- package/dist/domain/Route.d.ts.map +1 -0
- package/dist/domain/Route.js +192 -0
- package/dist/domain/Route.js.map +1 -0
- package/dist/domain/RulerType.d.ts +21 -0
- package/dist/domain/RulerType.d.ts.map +1 -0
- package/dist/domain/RulerType.js +22 -0
- package/dist/domain/RulerType.js.map +1 -0
- package/dist/domain/SelectionHistory.d.ts +38 -0
- package/dist/domain/SelectionHistory.d.ts.map +1 -0
- package/dist/domain/SelectionHistory.js +70 -0
- package/dist/domain/SelectionHistory.js.map +1 -0
- package/dist/domain/SendBus.d.ts +28 -0
- package/dist/domain/SendBus.d.ts.map +1 -0
- package/dist/domain/SendBus.js +43 -0
- package/dist/domain/SendBus.js.map +1 -0
- package/dist/domain/Session.d.ts +347 -0
- package/dist/domain/Session.d.ts.map +1 -0
- package/dist/domain/Session.js +965 -0
- package/dist/domain/Session.js.map +1 -0
- package/dist/domain/SidechainConfig.d.ts +51 -0
- package/dist/domain/SidechainConfig.d.ts.map +1 -0
- package/dist/domain/SidechainConfig.js +84 -0
- package/dist/domain/SidechainConfig.js.map +1 -0
- package/dist/domain/Source.d.ts +11 -0
- package/dist/domain/Source.d.ts.map +1 -0
- package/dist/domain/Source.js +11 -0
- package/dist/domain/Source.js.map +1 -0
- package/dist/domain/Take.d.ts +66 -0
- package/dist/domain/Take.d.ts.map +1 -0
- package/dist/domain/Take.js +106 -0
- package/dist/domain/Take.js.map +1 -0
- package/dist/domain/Track.d.ts +58 -0
- package/dist/domain/Track.d.ts.map +1 -0
- package/dist/domain/Track.js +124 -0
- package/dist/domain/Track.js.map +1 -0
- package/dist/domain/TrackGroup.d.ts +39 -0
- package/dist/domain/TrackGroup.d.ts.map +1 -0
- package/dist/domain/TrackGroup.js +86 -0
- package/dist/domain/TrackGroup.js.map +1 -0
- package/dist/domain/TransportFSM.d.ts +188 -0
- package/dist/domain/TransportFSM.d.ts.map +1 -0
- package/dist/domain/TransportFSM.js +412 -0
- package/dist/domain/TransportFSM.js.map +1 -0
- package/dist/domain/TransportMode.d.ts +23 -0
- package/dist/domain/TransportMode.d.ts.map +1 -0
- package/dist/domain/TransportMode.js +38 -0
- package/dist/domain/TransportMode.js.map +1 -0
- package/dist/domain/VCATrack.d.ts +48 -0
- package/dist/domain/VCATrack.d.ts.map +1 -0
- package/dist/domain/VCATrack.js +85 -0
- package/dist/domain/VCATrack.js.map +1 -0
- package/dist/domain/ZoomFocus.d.ts +21 -0
- package/dist/domain/ZoomFocus.d.ts.map +1 -0
- package/dist/domain/ZoomFocus.js +22 -0
- package/dist/domain/ZoomFocus.js.map +1 -0
- package/dist/domain/index.d.ts +11 -0
- package/dist/domain/index.d.ts.map +1 -0
- package/dist/domain/index.js +12 -0
- package/dist/domain/index.js.map +1 -0
- package/dist/domain/temporal/TempoMap.d.ts +68 -0
- package/dist/domain/temporal/TempoMap.d.ts.map +1 -0
- package/dist/domain/temporal/TempoMap.js +151 -0
- package/dist/domain/temporal/TempoMap.js.map +1 -0
- package/dist/domain/temporal/types.d.ts +34 -0
- package/dist/domain/temporal/types.d.ts.map +1 -0
- package/dist/domain/temporal/types.js +54 -0
- package/dist/domain/temporal/types.js.map +1 -0
- package/dist/domain/types.d.ts +26 -0
- package/dist/domain/types.d.ts.map +1 -0
- package/dist/domain/types.js +11 -0
- package/dist/domain/types.js.map +1 -0
- package/dist/errors/DAWErrors.d.ts +107 -0
- package/dist/errors/DAWErrors.d.ts.map +1 -0
- package/dist/errors/DAWErrors.js +159 -0
- package/dist/errors/DAWErrors.js.map +1 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +59 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/Signal.d.ts +28 -0
- package/dist/lib/Signal.d.ts.map +1 -0
- package/dist/lib/Signal.js +34 -0
- package/dist/lib/Signal.js.map +1 -0
- package/dist/midi/MidiInput.d.ts +61 -0
- package/dist/midi/MidiInput.d.ts.map +1 -0
- package/dist/midi/MidiInput.js +153 -0
- package/dist/midi/MidiInput.js.map +1 -0
- package/dist/plugins/AutomatableParameter.d.ts +28 -0
- package/dist/plugins/AutomatableParameter.d.ts.map +1 -0
- package/dist/plugins/AutomatableParameter.js +89 -0
- package/dist/plugins/AutomatableParameter.js.map +1 -0
- package/dist/plugins/Plugin.d.ts +31 -0
- package/dist/plugins/Plugin.d.ts.map +1 -0
- package/dist/plugins/Plugin.js +7 -0
- package/dist/plugins/Plugin.js.map +1 -0
- package/dist/plugins/PluginManager.d.ts +15 -0
- package/dist/plugins/PluginManager.d.ts.map +1 -0
- package/dist/plugins/PluginManager.js +199 -0
- package/dist/plugins/PluginManager.js.map +1 -0
- package/dist/plugins/PluginPreset.d.ts +50 -0
- package/dist/plugins/PluginPreset.d.ts.map +1 -0
- package/dist/plugins/PluginPreset.js +292 -0
- package/dist/plugins/PluginPreset.js.map +1 -0
- package/dist/plugins/impl/AutoPanPlugin.d.ts +28 -0
- package/dist/plugins/impl/AutoPanPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/AutoPanPlugin.js +48 -0
- package/dist/plugins/impl/AutoPanPlugin.js.map +1 -0
- package/dist/plugins/impl/ConvolutionReverbPlugin.d.ts +35 -0
- package/dist/plugins/impl/ConvolutionReverbPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/ConvolutionReverbPlugin.js +65 -0
- package/dist/plugins/impl/ConvolutionReverbPlugin.js.map +1 -0
- package/dist/plugins/impl/DeEsserPlugin.d.ts +35 -0
- package/dist/plugins/impl/DeEsserPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/DeEsserPlugin.js +87 -0
- package/dist/plugins/impl/DeEsserPlugin.js.map +1 -0
- package/dist/plugins/impl/ExpanderPlugin.d.ts +42 -0
- package/dist/plugins/impl/ExpanderPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/ExpanderPlugin.js +105 -0
- package/dist/plugins/impl/ExpanderPlugin.js.map +1 -0
- package/dist/plugins/impl/GenericPlugin.d.ts +20 -0
- package/dist/plugins/impl/GenericPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/GenericPlugin.js +37 -0
- package/dist/plugins/impl/GenericPlugin.js.map +1 -0
- package/dist/plugins/impl/MultibandCompressorPlugin.d.ts +33 -0
- package/dist/plugins/impl/MultibandCompressorPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/MultibandCompressorPlugin.js +169 -0
- package/dist/plugins/impl/MultibandCompressorPlugin.js.map +1 -0
- package/dist/plugins/impl/ParametricEQPlugin.d.ts +25 -0
- package/dist/plugins/impl/ParametricEQPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/ParametricEQPlugin.js +79 -0
- package/dist/plugins/impl/ParametricEQPlugin.js.map +1 -0
- package/dist/plugins/impl/PhaserPlugin.d.ts +29 -0
- package/dist/plugins/impl/PhaserPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/PhaserPlugin.js +50 -0
- package/dist/plugins/impl/PhaserPlugin.js.map +1 -0
- package/dist/plugins/impl/SyncDelayPlugin.d.ts +52 -0
- package/dist/plugins/impl/SyncDelayPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/SyncDelayPlugin.js +95 -0
- package/dist/plugins/impl/SyncDelayPlugin.js.map +1 -0
- package/dist/plugins/impl/TapeSaturationPlugin.d.ts +35 -0
- package/dist/plugins/impl/TapeSaturationPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/TapeSaturationPlugin.js +87 -0
- package/dist/plugins/impl/TapeSaturationPlugin.js.map +1 -0
- package/dist/plugins/impl/TremoloPlugin.d.ts +29 -0
- package/dist/plugins/impl/TremoloPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/TremoloPlugin.js +50 -0
- package/dist/plugins/impl/TremoloPlugin.js.map +1 -0
- package/dist/plugins/impl/VibratoPlugin.d.ts +28 -0
- package/dist/plugins/impl/VibratoPlugin.d.ts.map +1 -0
- package/dist/plugins/impl/VibratoPlugin.js +48 -0
- package/dist/plugins/impl/VibratoPlugin.js.map +1 -0
- package/dist/preferences/KeyBindings.d.ts +38 -0
- package/dist/preferences/KeyBindings.d.ts.map +1 -0
- package/dist/preferences/KeyBindings.js +83 -0
- package/dist/preferences/KeyBindings.js.map +1 -0
- package/dist/preferences/Preferences.d.ts +49 -0
- package/dist/preferences/Preferences.d.ts.map +1 -0
- package/dist/preferences/Preferences.js +93 -0
- package/dist/preferences/Preferences.js.map +1 -0
- package/dist/preferences/index.d.ts +4 -0
- package/dist/preferences/index.d.ts.map +1 -0
- package/dist/preferences/index.js +3 -0
- package/dist/preferences/index.js.map +1 -0
- package/dist/processing/GainProcessor.d.ts +10 -0
- package/dist/processing/GainProcessor.d.ts.map +1 -0
- package/dist/processing/GainProcessor.js +21 -0
- package/dist/processing/GainProcessor.js.map +1 -0
- package/dist/processing/IO.d.ts +15 -0
- package/dist/processing/IO.d.ts.map +1 -0
- package/dist/processing/IO.js +34 -0
- package/dist/processing/IO.js.map +1 -0
- package/dist/processing/MeterProcessor.d.ts +101 -0
- package/dist/processing/MeterProcessor.d.ts.map +1 -0
- package/dist/processing/MeterProcessor.js +195 -0
- package/dist/processing/MeterProcessor.js.map +1 -0
- package/dist/processing/PanProcessor.d.ts +15 -0
- package/dist/processing/PanProcessor.d.ts.map +1 -0
- package/dist/processing/PanProcessor.js +35 -0
- package/dist/processing/PanProcessor.js.map +1 -0
- package/dist/processing/PluginInsert.d.ts +9 -0
- package/dist/processing/PluginInsert.d.ts.map +1 -0
- package/dist/processing/PluginInsert.js +16 -0
- package/dist/processing/PluginInsert.js.map +1 -0
- package/dist/processing/PolarityProcessor.d.ts +25 -0
- package/dist/processing/PolarityProcessor.d.ts.map +1 -0
- package/dist/processing/PolarityProcessor.js +35 -0
- package/dist/processing/PolarityProcessor.js.map +1 -0
- package/dist/processing/Processor.d.ts +31 -0
- package/dist/processing/Processor.d.ts.map +1 -0
- package/dist/processing/Processor.js +45 -0
- package/dist/processing/Processor.js.map +1 -0
- package/dist/processing/SendProcessor.d.ts +55 -0
- package/dist/processing/SendProcessor.d.ts.map +1 -0
- package/dist/processing/SendProcessor.js +97 -0
- package/dist/processing/SendProcessor.js.map +1 -0
- package/dist/storage/AutoSave.d.ts +48 -0
- package/dist/storage/AutoSave.d.ts.map +1 -0
- package/dist/storage/AutoSave.js +108 -0
- package/dist/storage/AutoSave.js.map +1 -0
- package/dist/storage/SessionStorage.d.ts +74 -0
- package/dist/storage/SessionStorage.d.ts.map +1 -0
- package/dist/storage/SessionStorage.js +192 -0
- package/dist/storage/SessionStorage.js.map +1 -0
- package/dist/storage/SessionTemplate.d.ts +22 -0
- package/dist/storage/SessionTemplate.d.ts.map +1 -0
- package/dist/storage/SessionTemplate.js +77 -0
- package/dist/storage/SessionTemplate.js.map +1 -0
- package/dist/utils/AudioBufferToWav.d.ts +28 -0
- package/dist/utils/AudioBufferToWav.d.ts.map +1 -0
- package/dist/utils/AudioBufferToWav.js +110 -0
- package/dist/utils/AudioBufferToWav.js.map +1 -0
- package/dist/utils/DitherProcessor.d.ts +41 -0
- package/dist/utils/DitherProcessor.d.ts.map +1 -0
- package/dist/utils/DitherProcessor.js +78 -0
- package/dist/utils/DitherProcessor.js.map +1 -0
- package/dist/utils/FlacEncoder.d.ts +22 -0
- package/dist/utils/FlacEncoder.d.ts.map +1 -0
- package/dist/utils/FlacEncoder.js +196 -0
- package/dist/utils/FlacEncoder.js.map +1 -0
- package/dist/utils/OggEncoder.d.ts +40 -0
- package/dist/utils/OggEncoder.d.ts.map +1 -0
- package/dist/utils/OggEncoder.js +183 -0
- package/dist/utils/OggEncoder.js.map +1 -0
- package/package.json +67 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { PluginType } from '../Plugin';
|
|
2
|
+
import { Signal } from '../../lib/Signal';
|
|
3
|
+
/**
|
|
4
|
+
* De-Esser Plugin (I-1)
|
|
5
|
+
*
|
|
6
|
+
* Reduces sibilance in vocal recordings by applying dynamic gain reduction
|
|
7
|
+
* to a narrow frequency band (typically 2-12 kHz).
|
|
8
|
+
*
|
|
9
|
+
* Parameters:
|
|
10
|
+
* - frequency: Center frequency of the sibilance band (2000-12000 Hz)
|
|
11
|
+
* - threshold: Level above which reduction is applied (-40 to 0 dB)
|
|
12
|
+
* - reduction: Amount of gain reduction to apply (0-20 dB)
|
|
13
|
+
* - listenMode: Solo the sibilance band for monitoring (0=off, 1=on)
|
|
14
|
+
*
|
|
15
|
+
* Registered as: internal-deesser
|
|
16
|
+
*/
|
|
17
|
+
export class DeEsserPlugin {
|
|
18
|
+
constructor(id, name = 'De-Esser', type = PluginType.EFFECT) {
|
|
19
|
+
this.parameterChanged = new Signal();
|
|
20
|
+
this.parameters = new Map();
|
|
21
|
+
this.id = id;
|
|
22
|
+
this.name = name;
|
|
23
|
+
this.type = type;
|
|
24
|
+
this.initParameters();
|
|
25
|
+
}
|
|
26
|
+
initParameters() {
|
|
27
|
+
this.addParameter({
|
|
28
|
+
id: 'frequency',
|
|
29
|
+
name: 'Frequency',
|
|
30
|
+
value: 6000,
|
|
31
|
+
min: 2000,
|
|
32
|
+
max: 12000,
|
|
33
|
+
step: 100,
|
|
34
|
+
});
|
|
35
|
+
this.addParameter({
|
|
36
|
+
id: 'threshold',
|
|
37
|
+
name: 'Threshold',
|
|
38
|
+
value: -20,
|
|
39
|
+
min: -40,
|
|
40
|
+
max: 0,
|
|
41
|
+
step: 0.5,
|
|
42
|
+
});
|
|
43
|
+
this.addParameter({
|
|
44
|
+
id: 'reduction',
|
|
45
|
+
name: 'Reduction',
|
|
46
|
+
value: 6,
|
|
47
|
+
min: 0,
|
|
48
|
+
max: 20,
|
|
49
|
+
step: 0.5,
|
|
50
|
+
});
|
|
51
|
+
this.addParameter({
|
|
52
|
+
id: 'listenMode',
|
|
53
|
+
name: 'Listen',
|
|
54
|
+
value: 0,
|
|
55
|
+
min: 0,
|
|
56
|
+
max: 1,
|
|
57
|
+
step: 1,
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
addParameter(param) {
|
|
61
|
+
this.parameters.set(param.id, param);
|
|
62
|
+
}
|
|
63
|
+
getParameters() {
|
|
64
|
+
return Array.from(this.parameters.values());
|
|
65
|
+
}
|
|
66
|
+
getParameter(id) {
|
|
67
|
+
return this.parameters.get(id);
|
|
68
|
+
}
|
|
69
|
+
setParameter(id, value) {
|
|
70
|
+
const param = this.parameters.get(id);
|
|
71
|
+
if (param) {
|
|
72
|
+
param.value = Math.max(param.min, Math.min(param.max, value));
|
|
73
|
+
this.parameterChanged.emit({ id, value: param.value });
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
getState() {
|
|
77
|
+
const state = {};
|
|
78
|
+
this.parameters.forEach((p, k) => (state[k] = p.value));
|
|
79
|
+
return state;
|
|
80
|
+
}
|
|
81
|
+
setState(state) {
|
|
82
|
+
for (const key in state) {
|
|
83
|
+
this.setParameter(key, state[key]);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=DeEsserPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeEsserPlugin.js","sourceRoot":"","sources":["../../../src/plugins/impl/DeEsserPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,UAAU,EAAgC,MAAM,WAAW,CAAC;AACvF,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,aAAa;IAStB,YAAY,EAAY,EAAE,OAAe,UAAU,EAAE,OAAmB,UAAU,CAAC,MAAM;QAJzE,qBAAgB,GAAG,IAAI,MAAM,EAAsC,CAAC;QAE5E,eAAU,GAAsC,IAAI,GAAG,EAAE,CAAC;QAG9D,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAEjB,IAAI,CAAC,cAAc,EAAE,CAAC;IAC1B,CAAC;IAEO,cAAc;QAClB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,EAAE,WAAW;YACf,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE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I,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;YAC9D,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC;IAEM,QAAQ;QACX,MAAM,KAAK,GAA2B,EAAE,CAAC;QACzC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QACxD,OAAO,KAAK,CAAC;IACjB,CAAC;IAEM,QAAQ,CAAC,KAA6B;QACzC,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE,CAAC;YACtB,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QACvC,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Expander / Noise Gate Plugin (G-3)
|
|
3
|
+
*
|
|
4
|
+
* Modeled after Ardour's a-exp expander with gate mode.
|
|
5
|
+
* Parameters:
|
|
6
|
+
* - threshold (-60 to 0 dB)
|
|
7
|
+
* - ratio (1 to 20, expressed as expansion ratio 1:N)
|
|
8
|
+
* - attack (0.1 to 100 ms)
|
|
9
|
+
* - release (1 to 1000 ms)
|
|
10
|
+
* - knee (0 to 20 dB)
|
|
11
|
+
* - range (-90 to 0 dB) — maximum gain reduction; -90 dB = full gate
|
|
12
|
+
*
|
|
13
|
+
* When range = -90 dB and ratio >= 20, the expander behaves as a noise gate.
|
|
14
|
+
* A separate `internal-gate` descriptor in PluginManager uses different defaults.
|
|
15
|
+
*
|
|
16
|
+
* Actual DSP is handled by the AudioProvider; this file defines the
|
|
17
|
+
* parameter model only, following the GenericPlugin pattern.
|
|
18
|
+
*/
|
|
19
|
+
import { GenericPlugin } from './GenericPlugin';
|
|
20
|
+
import { PluginId } from '../Plugin';
|
|
21
|
+
export interface ExpanderDefaults {
|
|
22
|
+
threshold: number;
|
|
23
|
+
ratio: number;
|
|
24
|
+
attack: number;
|
|
25
|
+
release: number;
|
|
26
|
+
knee: number;
|
|
27
|
+
range: number;
|
|
28
|
+
}
|
|
29
|
+
/** Default values for the expander configuration. */
|
|
30
|
+
export declare const EXPANDER_DEFAULTS: ExpanderDefaults;
|
|
31
|
+
/** Default values for the gate configuration (same plugin, different defaults). */
|
|
32
|
+
export declare const GATE_DEFAULTS: ExpanderDefaults;
|
|
33
|
+
/**
|
|
34
|
+
* Adds expander/gate parameters to a GenericPlugin instance.
|
|
35
|
+
* Called from PluginManager.createPlugin() for `internal-expander` and `internal-gate`.
|
|
36
|
+
*/
|
|
37
|
+
export declare function initExpanderParameters(plugin: GenericPlugin, defaults: ExpanderDefaults): void;
|
|
38
|
+
/** Convenience helper – creates a fully-initialised expander plugin. */
|
|
39
|
+
export declare function createExpanderPlugin(id: PluginId): GenericPlugin;
|
|
40
|
+
/** Convenience helper – creates a fully-initialised noise gate plugin. */
|
|
41
|
+
export declare function createGatePlugin(id: PluginId): GenericPlugin;
|
|
42
|
+
//# sourceMappingURL=ExpanderPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpanderPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/impl/ExpanderPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAc,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,qDAAqD;AACrD,eAAO,MAAM,iBAAiB,EAAE,gBAO/B,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,aAAa,EAAE,gBAO3B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAsD9F;AAED,wEAAwE;AACxE,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,QAAQ,GAAG,aAAa,CAIhE;AAED,0EAA0E;AAC1E,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,QAAQ,GAAG,aAAa,CAI5D"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Expander / Noise Gate Plugin (G-3)
|
|
3
|
+
*
|
|
4
|
+
* Modeled after Ardour's a-exp expander with gate mode.
|
|
5
|
+
* Parameters:
|
|
6
|
+
* - threshold (-60 to 0 dB)
|
|
7
|
+
* - ratio (1 to 20, expressed as expansion ratio 1:N)
|
|
8
|
+
* - attack (0.1 to 100 ms)
|
|
9
|
+
* - release (1 to 1000 ms)
|
|
10
|
+
* - knee (0 to 20 dB)
|
|
11
|
+
* - range (-90 to 0 dB) — maximum gain reduction; -90 dB = full gate
|
|
12
|
+
*
|
|
13
|
+
* When range = -90 dB and ratio >= 20, the expander behaves as a noise gate.
|
|
14
|
+
* A separate `internal-gate` descriptor in PluginManager uses different defaults.
|
|
15
|
+
*
|
|
16
|
+
* Actual DSP is handled by the AudioProvider; this file defines the
|
|
17
|
+
* parameter model only, following the GenericPlugin pattern.
|
|
18
|
+
*/
|
|
19
|
+
import { GenericPlugin } from './GenericPlugin';
|
|
20
|
+
import { PluginType } from '../Plugin';
|
|
21
|
+
/** Default values for the expander configuration. */
|
|
22
|
+
export const EXPANDER_DEFAULTS = {
|
|
23
|
+
threshold: -30,
|
|
24
|
+
ratio: 2,
|
|
25
|
+
attack: 5,
|
|
26
|
+
release: 50,
|
|
27
|
+
knee: 6,
|
|
28
|
+
range: -12,
|
|
29
|
+
};
|
|
30
|
+
/** Default values for the gate configuration (same plugin, different defaults). */
|
|
31
|
+
export const GATE_DEFAULTS = {
|
|
32
|
+
threshold: -40,
|
|
33
|
+
ratio: 20,
|
|
34
|
+
attack: 0.5,
|
|
35
|
+
release: 50,
|
|
36
|
+
knee: 0,
|
|
37
|
+
range: -90,
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Adds expander/gate parameters to a GenericPlugin instance.
|
|
41
|
+
* Called from PluginManager.createPlugin() for `internal-expander` and `internal-gate`.
|
|
42
|
+
*/
|
|
43
|
+
export function initExpanderParameters(plugin, defaults) {
|
|
44
|
+
plugin.addParameter({
|
|
45
|
+
id: 'threshold',
|
|
46
|
+
name: 'Threshold',
|
|
47
|
+
value: defaults.threshold,
|
|
48
|
+
min: -60,
|
|
49
|
+
max: 0,
|
|
50
|
+
step: 0.5,
|
|
51
|
+
});
|
|
52
|
+
plugin.addParameter({
|
|
53
|
+
id: 'ratio',
|
|
54
|
+
name: 'Ratio',
|
|
55
|
+
value: defaults.ratio,
|
|
56
|
+
min: 1,
|
|
57
|
+
max: 20,
|
|
58
|
+
step: 0.5,
|
|
59
|
+
});
|
|
60
|
+
plugin.addParameter({
|
|
61
|
+
id: 'attack',
|
|
62
|
+
name: 'Attack',
|
|
63
|
+
value: defaults.attack,
|
|
64
|
+
min: 0.1,
|
|
65
|
+
max: 100,
|
|
66
|
+
step: 0.1,
|
|
67
|
+
});
|
|
68
|
+
plugin.addParameter({
|
|
69
|
+
id: 'release',
|
|
70
|
+
name: 'Release',
|
|
71
|
+
value: defaults.release,
|
|
72
|
+
min: 1,
|
|
73
|
+
max: 1000,
|
|
74
|
+
step: 1,
|
|
75
|
+
});
|
|
76
|
+
plugin.addParameter({
|
|
77
|
+
id: 'knee',
|
|
78
|
+
name: 'Knee',
|
|
79
|
+
value: defaults.knee,
|
|
80
|
+
min: 0,
|
|
81
|
+
max: 20,
|
|
82
|
+
step: 0.5,
|
|
83
|
+
});
|
|
84
|
+
plugin.addParameter({
|
|
85
|
+
id: 'range',
|
|
86
|
+
name: 'Range',
|
|
87
|
+
value: defaults.range,
|
|
88
|
+
min: -90,
|
|
89
|
+
max: 0,
|
|
90
|
+
step: 0.5,
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/** Convenience helper – creates a fully-initialised expander plugin. */
|
|
94
|
+
export function createExpanderPlugin(id) {
|
|
95
|
+
const plugin = new GenericPlugin(id, 'Expander', PluginType.EFFECT);
|
|
96
|
+
initExpanderParameters(plugin, EXPANDER_DEFAULTS);
|
|
97
|
+
return plugin;
|
|
98
|
+
}
|
|
99
|
+
/** Convenience helper – creates a fully-initialised noise gate plugin. */
|
|
100
|
+
export function createGatePlugin(id) {
|
|
101
|
+
const plugin = new GenericPlugin(id, 'Gate', PluginType.EFFECT);
|
|
102
|
+
initExpanderParameters(plugin, GATE_DEFAULTS);
|
|
103
|
+
return plugin;
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=ExpanderPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpanderPlugin.js","sourceRoot":"","sources":["../../../src/plugins/impl/ExpanderPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAY,UAAU,EAAE,MAAM,WAAW,CAAC;AAWjD,qDAAqD;AACrD,MAAM,CAAC,MAAM,iBAAiB,GAAqB;IAC/C,SAAS,EAAE,CAAC,EAAE;IACd,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC,EAAE;CACb,CAAC;AAEF,mFAAmF;AACnF,MAAM,CAAC,MAAM,aAAa,GAAqB;IAC3C,SAAS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IAEH,MAAM,CAAC,YAAY,CAAC;QAChB,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,QAAQ,CAAC,KAAK;QACrB,GAAG,EAAE,CAAC,EAAE;QACR,GAAG,EAAE,CAAC;QACN,IAAI,EAAE,GAAG;KACZ,CAAC,CAAC;AACP,CAAC;AAED,wEAAwE;AACxE,MAAM,UAAU,oBAAoB,CAAC,EAAY;IAC7C,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,EAAE,EAAE,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACpE,sBAAsB,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAClD,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,0EAA0E;AAC1E,MAAM,UAAU,gBAAgB,CAAC,EAAY;IACzC,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAChE,sBAAsB,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAC9C,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Plugin, PluginId, PluginType, PluginParameter, ParameterId } from '../Plugin';
|
|
2
|
+
import { Signal } from '../../lib/Signal';
|
|
3
|
+
export declare class GenericPlugin implements Plugin {
|
|
4
|
+
readonly id: PluginId;
|
|
5
|
+
name: string;
|
|
6
|
+
readonly type: PluginType;
|
|
7
|
+
readonly parameterChanged: Signal<{
|
|
8
|
+
id: ParameterId;
|
|
9
|
+
value: number;
|
|
10
|
+
}>;
|
|
11
|
+
private parameters;
|
|
12
|
+
constructor(id: PluginId, name: string, type: PluginType);
|
|
13
|
+
addParameter(param: PluginParameter): void;
|
|
14
|
+
getParameters(): ReadonlyArray<PluginParameter>;
|
|
15
|
+
getParameter(id: ParameterId): PluginParameter | undefined;
|
|
16
|
+
setParameter(id: ParameterId, value: number): void;
|
|
17
|
+
getState(): Record<string, number>;
|
|
18
|
+
setState(state: Record<string, number>): void;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=GenericPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenericPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/impl/GenericPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACvF,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,qBAAa,aAAc,YAAW,MAAM;IACxC,SAAgB,EAAE,EAAE,QAAQ,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACpB,SAAgB,IAAI,EAAE,UAAU,CAAC;IAEjC,SAAgB,gBAAgB;YAAoB,WAAW;eAAS,MAAM;OAAM;IAEpF,OAAO,CAAC,UAAU,CAAgD;gBAEtD,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU;IAMjD,YAAY,CAAC,KAAK,EAAE,eAAe;IAInC,aAAa,IAAI,aAAa,CAAC,eAAe,CAAC;IAI/C,YAAY,CAAC,EAAE,EAAE,WAAW,GAAG,eAAe,GAAG,SAAS;IAI1D,YAAY,CAAC,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAQlD,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAMlC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI;CAKvD"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Signal } from '../../lib/Signal';
|
|
2
|
+
export class GenericPlugin {
|
|
3
|
+
constructor(id, name, type) {
|
|
4
|
+
this.parameterChanged = new Signal();
|
|
5
|
+
this.parameters = new Map();
|
|
6
|
+
this.id = id;
|
|
7
|
+
this.name = name;
|
|
8
|
+
this.type = type;
|
|
9
|
+
}
|
|
10
|
+
addParameter(param) {
|
|
11
|
+
this.parameters.set(param.id, param);
|
|
12
|
+
}
|
|
13
|
+
getParameters() {
|
|
14
|
+
return Array.from(this.parameters.values());
|
|
15
|
+
}
|
|
16
|
+
getParameter(id) {
|
|
17
|
+
return this.parameters.get(id);
|
|
18
|
+
}
|
|
19
|
+
setParameter(id, value) {
|
|
20
|
+
const param = this.parameters.get(id);
|
|
21
|
+
if (param) {
|
|
22
|
+
param.value = Math.max(param.min, Math.min(param.max, value));
|
|
23
|
+
this.parameterChanged.emit({ id, value: param.value });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
getState() {
|
|
27
|
+
const state = {};
|
|
28
|
+
this.parameters.forEach((p, k) => state[k] = p.value);
|
|
29
|
+
return state;
|
|
30
|
+
}
|
|
31
|
+
setState(state) {
|
|
32
|
+
for (const key in state) {
|
|
33
|
+
this.setParameter(key, state[key]);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=GenericPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenericPlugin.js","sourceRoot":"","sources":["../../../src/plugins/impl/GenericPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,OAAO,aAAa;IAStB,YAAY,EAAY,EAAE,IAAY,EAAE,IAAgB;QAJxC,qBAAgB,GAAG,IAAI,MAAM,EAAsC,CAAC;QAE5E,eAAU,GAAsC,IAAI,GAAG,EAAE,CAAC;QAG9D,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAEM,YAAY,CAAC,KAAsB;QACtC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CA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
/**
|
|
4
|
+
* Multiband Compressor Plugin (I-2)
|
|
5
|
+
*
|
|
6
|
+
* Three-band compressor with independent compression parameters per band
|
|
7
|
+
* and adjustable crossover frequencies.
|
|
8
|
+
*
|
|
9
|
+
* Bands: Low, Mid, High
|
|
10
|
+
* Each band has: Threshold, Ratio, Attack, Release
|
|
11
|
+
* Crossover points: lowFrequency (low->mid), highFrequency (mid->high)
|
|
12
|
+
*
|
|
13
|
+
* Registered as: internal-multiband-comp
|
|
14
|
+
*/
|
|
15
|
+
export declare class MultibandCompressorPlugin implements Plugin {
|
|
16
|
+
readonly id: PluginId;
|
|
17
|
+
name: string;
|
|
18
|
+
readonly type: PluginType;
|
|
19
|
+
readonly parameterChanged: Signal<{
|
|
20
|
+
id: ParameterId;
|
|
21
|
+
value: number;
|
|
22
|
+
}>;
|
|
23
|
+
private parameters;
|
|
24
|
+
constructor(id: PluginId, name?: string, type?: PluginType);
|
|
25
|
+
private initParameters;
|
|
26
|
+
addParameter(param: PluginParameter): void;
|
|
27
|
+
getParameters(): ReadonlyArray<PluginParameter>;
|
|
28
|
+
getParameter(id: ParameterId): PluginParameter | undefined;
|
|
29
|
+
setParameter(id: ParameterId, value: number): void;
|
|
30
|
+
getState(): Record<string, number>;
|
|
31
|
+
setState(state: Record<string, number>): void;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=MultibandCompressorPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultibandCompressorPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/impl/MultibandCompressorPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACvF,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C;;;;;;;;;;;GAWG;AACH,qBAAa,yBAA0B,YAAW,MAAM;IACpD,SAAgB,EAAE,EAAE,QAAQ,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACpB,SAAgB,IAAI,EAAE,UAAU,CAAC;IAEjC,SAAgB,gBAAgB;YAAoB,WAAW;eAAS,MAAM;OAAM;IAEpF,OAAO,CAAC,UAAU,CAAgD;gBAEtD,EAAE,EAAE,QAAQ,EAAE,IAAI,GAAE,MAA+B,EAAE,IAAI,GAAE,UAA8B;IAQrG,OAAO,CAAC,cAAc;IA0Hf,YAAY,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI;IAI1C,aAAa,IAAI,aAAa,CAAC,eAAe,CAAC;IAI/C,YAAY,CAAC,EAAE,EAAE,WAAW,GAAG,eAAe,GAAG,SAAS;IAI1D,YAAY,CAAC,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAQlD,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAMlC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI;CAKvD"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { PluginType } from '../Plugin';
|
|
2
|
+
import { Signal } from '../../lib/Signal';
|
|
3
|
+
/**
|
|
4
|
+
* Multiband Compressor Plugin (I-2)
|
|
5
|
+
*
|
|
6
|
+
* Three-band compressor with independent compression parameters per band
|
|
7
|
+
* and adjustable crossover frequencies.
|
|
8
|
+
*
|
|
9
|
+
* Bands: Low, Mid, High
|
|
10
|
+
* Each band has: Threshold, Ratio, Attack, Release
|
|
11
|
+
* Crossover points: lowFrequency (low->mid), highFrequency (mid->high)
|
|
12
|
+
*
|
|
13
|
+
* Registered as: internal-multiband-comp
|
|
14
|
+
*/
|
|
15
|
+
export class MultibandCompressorPlugin {
|
|
16
|
+
constructor(id, name = 'Multiband Compressor', type = PluginType.EFFECT) {
|
|
17
|
+
this.parameterChanged = new Signal();
|
|
18
|
+
this.parameters = new Map();
|
|
19
|
+
this.id = id;
|
|
20
|
+
this.name = name;
|
|
21
|
+
this.type = type;
|
|
22
|
+
this.initParameters();
|
|
23
|
+
}
|
|
24
|
+
initParameters() {
|
|
25
|
+
// Crossover frequencies
|
|
26
|
+
this.addParameter({
|
|
27
|
+
id: 'lowFrequency',
|
|
28
|
+
name: 'Low Crossover',
|
|
29
|
+
value: 200,
|
|
30
|
+
min: 50,
|
|
31
|
+
max: 1000,
|
|
32
|
+
step: 10,
|
|
33
|
+
});
|
|
34
|
+
this.addParameter({
|
|
35
|
+
id: 'highFrequency',
|
|
36
|
+
name: 'High Crossover',
|
|
37
|
+
value: 4000,
|
|
38
|
+
min: 1000,
|
|
39
|
+
max: 16000,
|
|
40
|
+
step: 100,
|
|
41
|
+
});
|
|
42
|
+
// Low band
|
|
43
|
+
this.addParameter({
|
|
44
|
+
id: 'lowThreshold',
|
|
45
|
+
name: 'Low Threshold',
|
|
46
|
+
value: -24,
|
|
47
|
+
min: -60,
|
|
48
|
+
max: 0,
|
|
49
|
+
step: 0.5,
|
|
50
|
+
});
|
|
51
|
+
this.addParameter({
|
|
52
|
+
id: 'lowRatio',
|
|
53
|
+
name: 'Low Ratio',
|
|
54
|
+
value: 4,
|
|
55
|
+
min: 1,
|
|
56
|
+
max: 20,
|
|
57
|
+
step: 0.5,
|
|
58
|
+
});
|
|
59
|
+
this.addParameter({
|
|
60
|
+
id: 'lowAttack',
|
|
61
|
+
name: 'Low Attack',
|
|
62
|
+
value: 0.01,
|
|
63
|
+
min: 0.001,
|
|
64
|
+
max: 0.5,
|
|
65
|
+
step: 0.001,
|
|
66
|
+
});
|
|
67
|
+
this.addParameter({
|
|
68
|
+
id: 'lowRelease',
|
|
69
|
+
name: 'Low Release',
|
|
70
|
+
value: 0.2,
|
|
71
|
+
min: 0.01,
|
|
72
|
+
max: 2,
|
|
73
|
+
step: 0.01,
|
|
74
|
+
});
|
|
75
|
+
// Mid band
|
|
76
|
+
this.addParameter({
|
|
77
|
+
id: 'midThreshold',
|
|
78
|
+
name: 'Mid Threshold',
|
|
79
|
+
value: -20,
|
|
80
|
+
min: -60,
|
|
81
|
+
max: 0,
|
|
82
|
+
step: 0.5,
|
|
83
|
+
});
|
|
84
|
+
this.addParameter({
|
|
85
|
+
id: 'midRatio',
|
|
86
|
+
name: 'Mid Ratio',
|
|
87
|
+
value: 3,
|
|
88
|
+
min: 1,
|
|
89
|
+
max: 20,
|
|
90
|
+
step: 0.5,
|
|
91
|
+
});
|
|
92
|
+
this.addParameter({
|
|
93
|
+
id: 'midAttack',
|
|
94
|
+
name: 'Mid Attack',
|
|
95
|
+
value: 0.005,
|
|
96
|
+
min: 0.001,
|
|
97
|
+
max: 0.5,
|
|
98
|
+
step: 0.001,
|
|
99
|
+
});
|
|
100
|
+
this.addParameter({
|
|
101
|
+
id: 'midRelease',
|
|
102
|
+
name: 'Mid Release',
|
|
103
|
+
value: 0.15,
|
|
104
|
+
min: 0.01,
|
|
105
|
+
max: 2,
|
|
106
|
+
step: 0.01,
|
|
107
|
+
});
|
|
108
|
+
// High band
|
|
109
|
+
this.addParameter({
|
|
110
|
+
id: 'highThreshold',
|
|
111
|
+
name: 'High Threshold',
|
|
112
|
+
value: -18,
|
|
113
|
+
min: -60,
|
|
114
|
+
max: 0,
|
|
115
|
+
step: 0.5,
|
|
116
|
+
});
|
|
117
|
+
this.addParameter({
|
|
118
|
+
id: 'highRatio',
|
|
119
|
+
name: 'High Ratio',
|
|
120
|
+
value: 2,
|
|
121
|
+
min: 1,
|
|
122
|
+
max: 20,
|
|
123
|
+
step: 0.5,
|
|
124
|
+
});
|
|
125
|
+
this.addParameter({
|
|
126
|
+
id: 'highAttack',
|
|
127
|
+
name: 'High Attack',
|
|
128
|
+
value: 0.003,
|
|
129
|
+
min: 0.001,
|
|
130
|
+
max: 0.5,
|
|
131
|
+
step: 0.001,
|
|
132
|
+
});
|
|
133
|
+
this.addParameter({
|
|
134
|
+
id: 'highRelease',
|
|
135
|
+
name: 'High Release',
|
|
136
|
+
value: 0.1,
|
|
137
|
+
min: 0.01,
|
|
138
|
+
max: 2,
|
|
139
|
+
step: 0.01,
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
addParameter(param) {
|
|
143
|
+
this.parameters.set(param.id, param);
|
|
144
|
+
}
|
|
145
|
+
getParameters() {
|
|
146
|
+
return Array.from(this.parameters.values());
|
|
147
|
+
}
|
|
148
|
+
getParameter(id) {
|
|
149
|
+
return this.parameters.get(id);
|
|
150
|
+
}
|
|
151
|
+
setParameter(id, value) {
|
|
152
|
+
const param = this.parameters.get(id);
|
|
153
|
+
if (param) {
|
|
154
|
+
param.value = Math.max(param.min, Math.min(param.max, value));
|
|
155
|
+
this.parameterChanged.emit({ id, value: param.value });
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
getState() {
|
|
159
|
+
const state = {};
|
|
160
|
+
this.parameters.forEach((p, k) => (state[k] = p.value));
|
|
161
|
+
return state;
|
|
162
|
+
}
|
|
163
|
+
setState(state) {
|
|
164
|
+
for (const key in state) {
|
|
165
|
+
this.setParameter(key, state[key]);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
//# sourceMappingURL=MultibandCompressorPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultibandCompressorPlugin.js","sourceRoot":"","sources":["../../../src/plugins/impl/MultibandCompressorPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,UAAU,EAAgC,MAAM,WAAW,CAAC;AACvF,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,yBAAyB;IASlC,YAAY,EAAY,EAAE,OAAe,sBAAsB,EAAE,OAAmB,UAAU,CAAC,MAAM;QAJrF,qBAAgB,GAAG,IAAI,MAAM,EAAsC,CAAC;QAE5E,eAAU,GAAsC,IAAI,GAAG,EAAE,CAAC;QAG9D,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,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AC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QACxD,OAAO,KAAK,CAAC;IACjB,CAAC;IAEM,QAAQ,CAAC,KAA6B;QACzC,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE,CAAC;YACtB,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QACvC,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 6-Band Parametric EQ Plugin (G-1)
|
|
3
|
+
*
|
|
4
|
+
* Modeled after Ardour's a-eq (x42 EQ) with 6 bands:
|
|
5
|
+
* Band 1: Low Shelf (160 Hz default)
|
|
6
|
+
* Band 2: Peak (397 Hz default)
|
|
7
|
+
* Band 3: Peak (1 kHz default)
|
|
8
|
+
* Band 4: Peak (2.5 kHz default)
|
|
9
|
+
* Band 5: Peak (6.3 kHz default)
|
|
10
|
+
* Band 6: High Shelf (9 kHz default)
|
|
11
|
+
*
|
|
12
|
+
* Each band exposes: Frequency, Gain, Q (Peak only), Bypass
|
|
13
|
+
* Actual DSP is handled by the AudioProvider; this file defines the
|
|
14
|
+
* parameter model only, following the GenericPlugin pattern.
|
|
15
|
+
*/
|
|
16
|
+
import { GenericPlugin } from './GenericPlugin';
|
|
17
|
+
import { PluginId } from '../Plugin';
|
|
18
|
+
/**
|
|
19
|
+
* Adds the 6-band parametric EQ parameters to a GenericPlugin instance.
|
|
20
|
+
* Called from PluginManager.createPlugin() for `internal-eq6`.
|
|
21
|
+
*/
|
|
22
|
+
export declare function initParametricEQParameters(plugin: GenericPlugin): void;
|
|
23
|
+
/** Convenience helper – creates a fully-initialised 6-band EQ plugin. */
|
|
24
|
+
export declare function createParametricEQPlugin(id: PluginId): GenericPlugin;
|
|
25
|
+
//# sourceMappingURL=ParametricEQPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParametricEQPlugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/impl/ParametricEQPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAc,MAAM,WAAW,CAAC;AAoBjD;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,CA8CtE;AAED,yEAAyE;AACzE,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,QAAQ,GAAG,aAAa,CAIpE"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 6-Band Parametric EQ Plugin (G-1)
|
|
3
|
+
*
|
|
4
|
+
* Modeled after Ardour's a-eq (x42 EQ) with 6 bands:
|
|
5
|
+
* Band 1: Low Shelf (160 Hz default)
|
|
6
|
+
* Band 2: Peak (397 Hz default)
|
|
7
|
+
* Band 3: Peak (1 kHz default)
|
|
8
|
+
* Band 4: Peak (2.5 kHz default)
|
|
9
|
+
* Band 5: Peak (6.3 kHz default)
|
|
10
|
+
* Band 6: High Shelf (9 kHz default)
|
|
11
|
+
*
|
|
12
|
+
* Each band exposes: Frequency, Gain, Q (Peak only), Bypass
|
|
13
|
+
* Actual DSP is handled by the AudioProvider; this file defines the
|
|
14
|
+
* parameter model only, following the GenericPlugin pattern.
|
|
15
|
+
*/
|
|
16
|
+
import { GenericPlugin } from './GenericPlugin';
|
|
17
|
+
import { PluginType } from '../Plugin';
|
|
18
|
+
const BAND_DEFS = [
|
|
19
|
+
{ index: 1, freq: 160, freqMin: 20, freqMax: 1000, isShelf: true },
|
|
20
|
+
{ index: 2, freq: 397, freqMin: 50, freqMax: 2000, isShelf: false },
|
|
21
|
+
{ index: 3, freq: 1000, freqMin: 200, freqMax: 5000, isShelf: false },
|
|
22
|
+
{ index: 4, freq: 2500, freqMin: 500, freqMax: 10000, isShelf: false },
|
|
23
|
+
{ index: 5, freq: 6300, freqMin: 1000, freqMax: 16000, isShelf: false },
|
|
24
|
+
{ index: 6, freq: 9000, freqMin: 2000, freqMax: 20000, isShelf: true },
|
|
25
|
+
];
|
|
26
|
+
/**
|
|
27
|
+
* Adds the 6-band parametric EQ parameters to a GenericPlugin instance.
|
|
28
|
+
* Called from PluginManager.createPlugin() for `internal-eq6`.
|
|
29
|
+
*/
|
|
30
|
+
export function initParametricEQParameters(plugin) {
|
|
31
|
+
for (const band of BAND_DEFS) {
|
|
32
|
+
const b = `band${band.index}`;
|
|
33
|
+
// Frequency
|
|
34
|
+
plugin.addParameter({
|
|
35
|
+
id: `${b}Freq`,
|
|
36
|
+
name: `Band ${band.index} Freq`,
|
|
37
|
+
value: band.freq,
|
|
38
|
+
min: band.freqMin,
|
|
39
|
+
max: band.freqMax,
|
|
40
|
+
step: 1,
|
|
41
|
+
});
|
|
42
|
+
// Gain (-24 to +24 dB)
|
|
43
|
+
plugin.addParameter({
|
|
44
|
+
id: `${b}Gain`,
|
|
45
|
+
name: `Band ${band.index} Gain`,
|
|
46
|
+
value: 0,
|
|
47
|
+
min: -24,
|
|
48
|
+
max: 24,
|
|
49
|
+
step: 0.5,
|
|
50
|
+
});
|
|
51
|
+
// Q (only for peak bands)
|
|
52
|
+
if (!band.isShelf) {
|
|
53
|
+
plugin.addParameter({
|
|
54
|
+
id: `${b}Q`,
|
|
55
|
+
name: `Band ${band.index} Q`,
|
|
56
|
+
value: 1,
|
|
57
|
+
min: 0.1,
|
|
58
|
+
max: 18,
|
|
59
|
+
step: 0.1,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
// Bypass toggle (0 = active, 1 = bypassed)
|
|
63
|
+
plugin.addParameter({
|
|
64
|
+
id: `${b}Bypass`,
|
|
65
|
+
name: `Band ${band.index} Bypass`,
|
|
66
|
+
value: 0,
|
|
67
|
+
min: 0,
|
|
68
|
+
max: 1,
|
|
69
|
+
step: 1,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/** Convenience helper – creates a fully-initialised 6-band EQ plugin. */
|
|
74
|
+
export function createParametricEQPlugin(id) {
|
|
75
|
+
const plugin = new GenericPlugin(id, '6-Band Parametric EQ', PluginType.EFFECT);
|
|
76
|
+
initParametricEQParameters(plugin);
|
|
77
|
+
return plugin;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=ParametricEQPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParametricEQPlugin.js","sourceRoot":"","sources":["../../../src/plugins/impl/ParametricEQPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAY,UAAU,EAAE,MAAM,WAAW,CAAC;AAWjD,MAAM,SAAS,GAAc;IACzB,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAG,OAAO,EAAE,EAAE,EAAI,OAAO,EAAE,IAAI,EAAG,OAAO,EAAE,IAAI,EAAE;IACtE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAG,OAAO,EAAE,EAAE,EAAI,OAAO,EAAE,IAAI,EAAG,OAAO,EAAE,KAAK,EAAE;IACvE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAG,OAAO,EAAE,IAAI,EAAG,OAAO,EAAE,KAAK,EAAE;IACvE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAG,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;IACvE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE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