@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,89 @@
|
|
|
1
|
+
import { PluginManager } from './PluginManager';
|
|
2
|
+
/**
|
|
3
|
+
* Parameter unit mapping for common plugin parameter types.
|
|
4
|
+
*/
|
|
5
|
+
const PARAM_UNITS = {
|
|
6
|
+
// Frequency parameters
|
|
7
|
+
frequency: 'Hz',
|
|
8
|
+
lowFreq: 'Hz',
|
|
9
|
+
midFreq: 'Hz',
|
|
10
|
+
highFreq: 'Hz',
|
|
11
|
+
lowFrequency: 'Hz',
|
|
12
|
+
highFrequency: 'Hz',
|
|
13
|
+
// Gain / level parameters
|
|
14
|
+
gain: 'dB',
|
|
15
|
+
lowGain: 'dB',
|
|
16
|
+
midGain: 'dB',
|
|
17
|
+
highGain: 'dB',
|
|
18
|
+
threshold: 'dB',
|
|
19
|
+
lowThreshold: 'dB',
|
|
20
|
+
midThreshold: 'dB',
|
|
21
|
+
highThreshold: 'dB',
|
|
22
|
+
makeupGain: 'dB',
|
|
23
|
+
reduction: 'dB',
|
|
24
|
+
// Ratio parameters
|
|
25
|
+
ratio: ':1',
|
|
26
|
+
lowRatio: ':1',
|
|
27
|
+
midRatio: ':1',
|
|
28
|
+
highRatio: ':1',
|
|
29
|
+
// Time parameters
|
|
30
|
+
attack: 's',
|
|
31
|
+
release: 's',
|
|
32
|
+
lowAttack: 's',
|
|
33
|
+
lowRelease: 's',
|
|
34
|
+
midAttack: 's',
|
|
35
|
+
midRelease: 's',
|
|
36
|
+
highAttack: 's',
|
|
37
|
+
highRelease: 's',
|
|
38
|
+
decay: 's',
|
|
39
|
+
preDelay: 's',
|
|
40
|
+
delayTime: 's',
|
|
41
|
+
// Normalized (0-1)
|
|
42
|
+
wet: '',
|
|
43
|
+
depth: '',
|
|
44
|
+
drive: '',
|
|
45
|
+
warmth: '',
|
|
46
|
+
saturation: '',
|
|
47
|
+
distortion: '',
|
|
48
|
+
// Dimensionless
|
|
49
|
+
Q: '',
|
|
50
|
+
midQ: '',
|
|
51
|
+
knee: 'dB',
|
|
52
|
+
type: '',
|
|
53
|
+
listenMode: '',
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Resolve the unit string for a given parameter ID.
|
|
57
|
+
*/
|
|
58
|
+
function resolveUnit(paramId) {
|
|
59
|
+
var _a;
|
|
60
|
+
return (_a = PARAM_UNITS[paramId]) !== null && _a !== void 0 ? _a : '';
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Get all automatable parameters for a given plugin instance.
|
|
64
|
+
*
|
|
65
|
+
* Creates a temporary plugin from PluginManager to introspect its default parameters,
|
|
66
|
+
* then returns AutomatableParameter descriptors with default values and units.
|
|
67
|
+
*
|
|
68
|
+
* @param pluginId - The unique instance ID of the plugin (not used for lookup, kept for API)
|
|
69
|
+
* @param descriptorId - The plugin descriptor ID (e.g., 'internal-reverb')
|
|
70
|
+
* @returns Array of AutomatableParameter descriptors
|
|
71
|
+
*/
|
|
72
|
+
export function getAutomatableParameters(_pluginId, descriptorId) {
|
|
73
|
+
const manager = PluginManager.getInstance();
|
|
74
|
+
const tempPlugin = manager.createPlugin(descriptorId);
|
|
75
|
+
if (!tempPlugin)
|
|
76
|
+
return [];
|
|
77
|
+
const params = tempPlugin.getParameters();
|
|
78
|
+
return params.map(p => ({
|
|
79
|
+
id: p.id,
|
|
80
|
+
name: p.name,
|
|
81
|
+
value: p.value,
|
|
82
|
+
min: p.min,
|
|
83
|
+
max: p.max,
|
|
84
|
+
defaultValue: p.value,
|
|
85
|
+
unit: resolveUnit(p.id),
|
|
86
|
+
automationEnabled: false,
|
|
87
|
+
}));
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=AutomatableParameter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutomatableParameter.js","sourceRoot":"","sources":["../../src/plugins/AutomatableParameter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAmBhD;;GAEG;AACH,MAAM,WAAW,GAA2B;IACxC,uBAAuB;IACvB,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;IAClB,aAAa,EAAE,IAAI;IAEnB,0BAA0B;IAC1B,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,IA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QACpB,EAAE,EAAE,CAAC,CAAC,EAAE;QACR,IAAI,EAAE,CAAC,CAAC,IAAI;QACZ,KAAK,EAAE,CAAC,CAAC,KAAK;QACd,GAAG,EAAE,CAAC,CAAC,GAAG;QACV,GAAG,EAAE,CAAC,CAAC,GAAG;QACV,YAAY,EAAE,CAAC,CAAC,KAAK;QACrB,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;QACvB,iBAAiB,EAAE,KAAK;KAC3B,CAAC,CAAC,CAAC;AACR,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Signal } from '../lib/Signal';
|
|
2
|
+
export type PluginId = string;
|
|
3
|
+
export type ParameterId = string;
|
|
4
|
+
export declare enum PluginType {
|
|
5
|
+
EFFECT = "EFFECT",
|
|
6
|
+
INSTRUMENT = "INSTRUMENT",
|
|
7
|
+
ANALYZER = "ANALYZER"
|
|
8
|
+
}
|
|
9
|
+
export interface PluginParameter {
|
|
10
|
+
id: ParameterId;
|
|
11
|
+
name: string;
|
|
12
|
+
value: number;
|
|
13
|
+
min: number;
|
|
14
|
+
max: number;
|
|
15
|
+
step: number;
|
|
16
|
+
}
|
|
17
|
+
export interface Plugin {
|
|
18
|
+
readonly id: PluginId;
|
|
19
|
+
name: string;
|
|
20
|
+
readonly type: PluginType;
|
|
21
|
+
readonly parameterChanged: Signal<{
|
|
22
|
+
id: ParameterId;
|
|
23
|
+
value: number;
|
|
24
|
+
}>;
|
|
25
|
+
getParameters(): ReadonlyArray<PluginParameter>;
|
|
26
|
+
getParameter(id: ParameterId): PluginParameter | undefined;
|
|
27
|
+
setParameter(id: ParameterId, value: number): void;
|
|
28
|
+
getState(): Record<string, number>;
|
|
29
|
+
setState(state: Record<string, number>): void;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/plugins/Plugin.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AAA;IACjB,uCAAyB,CAAA;IACzB,mCAAqB,CAAA;AACzB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Plugin, PluginType } from './Plugin';
|
|
2
|
+
export interface PluginDescriptor {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
type: PluginType;
|
|
6
|
+
}
|
|
7
|
+
export declare class PluginManager {
|
|
8
|
+
private static instance;
|
|
9
|
+
private availablePlugins;
|
|
10
|
+
private constructor();
|
|
11
|
+
static getInstance(): PluginManager;
|
|
12
|
+
getAvailablePlugins(): ReadonlyArray<PluginDescriptor>;
|
|
13
|
+
createPlugin(descriptorId: string): Plugin | null;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=PluginManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginManager.d.ts","sourceRoot":"","sources":["../../src/plugins/PluginManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAY,UAAU,EAAE,MAAM,UAAU,CAAC;AAWxD,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,UAAU,CAAC;CACpB;AAED,qBAAa,aAAa;IACtB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAgB;IACvC,OAAO,CAAC,gBAAgB,CAqBtB;IAEF,OAAO;WAEO,WAAW,IAAI,aAAa;IAOnC,mBAAmB,IAAI,aAAa,CAAC,gBAAgB,CAAC;IAItD,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CAkL3D"}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { PluginType } from './Plugin';
|
|
2
|
+
import { GenericPlugin } from './impl/GenericPlugin';
|
|
3
|
+
import { initParametricEQParameters } from './impl/ParametricEQPlugin';
|
|
4
|
+
import { initExpanderParameters, EXPANDER_DEFAULTS, GATE_DEFAULTS } from './impl/ExpanderPlugin';
|
|
5
|
+
import { PhaserPlugin } from './impl/PhaserPlugin';
|
|
6
|
+
import { TremoloPlugin } from './impl/TremoloPlugin';
|
|
7
|
+
import { VibratoPlugin } from './impl/VibratoPlugin';
|
|
8
|
+
import { AutoPanPlugin } from './impl/AutoPanPlugin';
|
|
9
|
+
import { SyncDelayPlugin } from './impl/SyncDelayPlugin';
|
|
10
|
+
import { ConvolutionReverbPlugin } from './impl/ConvolutionReverbPlugin';
|
|
11
|
+
export class PluginManager {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.availablePlugins = [
|
|
14
|
+
{ id: 'internal-reverb', name: 'Reverb', type: PluginType.EFFECT },
|
|
15
|
+
{ id: 'internal-delay', name: 'Delay', type: PluginType.EFFECT },
|
|
16
|
+
{ id: 'internal-eq3', name: '3-Band EQ', type: PluginType.EFFECT },
|
|
17
|
+
{ id: 'internal-compressor', name: 'Compressor', type: PluginType.EFFECT },
|
|
18
|
+
{ id: 'internal-gain', name: 'Gain (Utility)', type: PluginType.EFFECT },
|
|
19
|
+
{ id: 'internal-chorus', name: 'Chorus', type: PluginType.EFFECT },
|
|
20
|
+
{ id: 'internal-distortion', name: 'Distortion', type: PluginType.EFFECT },
|
|
21
|
+
{ id: 'internal-filter', name: 'Filter', type: PluginType.EFFECT },
|
|
22
|
+
{ id: 'internal-eq6', name: '6-Band Parametric EQ', type: PluginType.EFFECT },
|
|
23
|
+
{ id: 'internal-expander', name: 'Expander', type: PluginType.EFFECT },
|
|
24
|
+
{ id: 'internal-gate', name: 'Gate', type: PluginType.EFFECT },
|
|
25
|
+
{ id: 'internal-deesser', name: 'De-Esser', type: PluginType.EFFECT },
|
|
26
|
+
{ id: 'internal-multiband-comp', name: 'Multiband Compressor', type: PluginType.EFFECT },
|
|
27
|
+
{ id: 'internal-phaser', name: 'Phaser', type: PluginType.EFFECT },
|
|
28
|
+
{ id: 'internal-tremolo', name: 'Tremolo', type: PluginType.EFFECT },
|
|
29
|
+
{ id: 'internal-vibrato', name: 'Vibrato', type: PluginType.EFFECT },
|
|
30
|
+
{ id: 'internal-autopan', name: 'Auto-Pan', type: PluginType.EFFECT },
|
|
31
|
+
{ id: 'internal-tape-sat', name: 'Tape Saturation', type: PluginType.EFFECT },
|
|
32
|
+
{ id: 'internal-sync-delay', name: 'Sync Delay', type: PluginType.EFFECT },
|
|
33
|
+
{ id: 'internal-convolver', name: 'Convolution Reverb', type: PluginType.EFFECT },
|
|
34
|
+
];
|
|
35
|
+
}
|
|
36
|
+
static getInstance() {
|
|
37
|
+
if (!PluginManager.instance) {
|
|
38
|
+
PluginManager.instance = new PluginManager();
|
|
39
|
+
}
|
|
40
|
+
return PluginManager.instance;
|
|
41
|
+
}
|
|
42
|
+
getAvailablePlugins() {
|
|
43
|
+
return this.availablePlugins;
|
|
44
|
+
}
|
|
45
|
+
createPlugin(descriptorId) {
|
|
46
|
+
const desc = this.availablePlugins.find(p => p.id === descriptorId);
|
|
47
|
+
if (!desc)
|
|
48
|
+
return null;
|
|
49
|
+
const plugin = new GenericPlugin(crypto.randomUUID(), desc.name, desc.type);
|
|
50
|
+
// Store the descriptor ID for backend node creation
|
|
51
|
+
plugin.descriptorId = descriptorId;
|
|
52
|
+
// Initialize default parameters based on type
|
|
53
|
+
switch (descriptorId) {
|
|
54
|
+
case 'internal-reverb':
|
|
55
|
+
plugin.addParameter({ id: 'decay', name: 'Decay', value: 1.5, min: 0.1, max: 10, step: 0.1 });
|
|
56
|
+
plugin.addParameter({ id: 'preDelay', name: 'Pre-Delay', value: 0.01, min: 0, max: 0.1, step: 0.01 });
|
|
57
|
+
plugin.addParameter({ id: 'wet', name: 'Wet', value: 0.5, min: 0, max: 1, step: 0.01 });
|
|
58
|
+
break;
|
|
59
|
+
case 'internal-delay':
|
|
60
|
+
plugin.addParameter({ id: 'delayTime', name: 'Time', value: 0.5, min: 0, max: 2, step: 0.01 });
|
|
61
|
+
plugin.addParameter({ id: 'feedback', name: 'Feedback', value: 0.3, min: 0, max: 0.95, step: 0.01 });
|
|
62
|
+
plugin.addParameter({ id: 'wet', name: 'Wet', value: 0.5, min: 0, max: 1, step: 0.01 });
|
|
63
|
+
break;
|
|
64
|
+
case 'internal-eq3':
|
|
65
|
+
// 3-Band Parametric EQ (Ardour a-eq style)
|
|
66
|
+
plugin.addParameter({ id: 'lowFreq', name: 'Low Freq', value: 200, min: 20, max: 500, step: 1 });
|
|
67
|
+
plugin.addParameter({ id: 'lowGain', name: 'Low Gain', value: 0, min: -24, max: 24, step: 0.5 });
|
|
68
|
+
plugin.addParameter({ id: 'midFreq', name: 'Mid Freq', value: 1000, min: 200, max: 5000, step: 1 });
|
|
69
|
+
plugin.addParameter({ id: 'midGain', name: 'Mid Gain', value: 0, min: -24, max: 24, step: 0.5 });
|
|
70
|
+
plugin.addParameter({ id: 'midQ', name: 'Mid Q', value: 1, min: 0.1, max: 10, step: 0.1 });
|
|
71
|
+
plugin.addParameter({ id: 'highFreq', name: 'High Freq', value: 5000, min: 2000, max: 20000, step: 1 });
|
|
72
|
+
plugin.addParameter({ id: 'highGain', name: 'High Gain', value: 0, min: -24, max: 24, step: 0.5 });
|
|
73
|
+
break;
|
|
74
|
+
case 'internal-compressor':
|
|
75
|
+
// DynamicsCompressor (Ardour a-comp style)
|
|
76
|
+
plugin.addParameter({ id: 'threshold', name: 'Threshold', value: -24, min: -60, max: 0, step: 0.5 });
|
|
77
|
+
plugin.addParameter({ id: 'ratio', name: 'Ratio', value: 4, min: 1, max: 20, step: 0.5 });
|
|
78
|
+
plugin.addParameter({ id: 'attack', name: 'Attack', value: 0.003, min: 0, max: 1, step: 0.001 });
|
|
79
|
+
plugin.addParameter({ id: 'release', name: 'Release', value: 0.25, min: 0, max: 1, step: 0.001 });
|
|
80
|
+
plugin.addParameter({ id: 'knee', name: 'Knee', value: 30, min: 0, max: 40, step: 1 });
|
|
81
|
+
plugin.addParameter({ id: 'makeupGain', name: 'Makeup Gain', value: 0, min: 0, max: 24, step: 0.5 });
|
|
82
|
+
break;
|
|
83
|
+
case 'internal-gain':
|
|
84
|
+
// Simple Gain Utility
|
|
85
|
+
plugin.addParameter({ id: 'gain', name: 'Gain', value: 0, min: -60, max: 24, step: 0.5 });
|
|
86
|
+
break;
|
|
87
|
+
case 'internal-chorus':
|
|
88
|
+
plugin.addParameter({ id: 'frequency', name: 'Rate', value: 1.5, min: 0.1, max: 10, step: 0.1 });
|
|
89
|
+
plugin.addParameter({ id: 'delayTime', name: 'Delay', value: 3.5, min: 2, max: 20, step: 0.5 });
|
|
90
|
+
plugin.addParameter({ id: 'depth', name: 'Depth', value: 0.7, min: 0, max: 1, step: 0.01 });
|
|
91
|
+
plugin.addParameter({ id: 'wet', name: 'Wet', value: 0.5, min: 0, max: 1, step: 0.01 });
|
|
92
|
+
break;
|
|
93
|
+
case 'internal-distortion':
|
|
94
|
+
plugin.addParameter({ id: 'distortion', name: 'Drive', value: 0.4, min: 0, max: 1, step: 0.01 });
|
|
95
|
+
plugin.addParameter({ id: 'wet', name: 'Wet', value: 1, min: 0, max: 1, step: 0.01 });
|
|
96
|
+
break;
|
|
97
|
+
case 'internal-filter':
|
|
98
|
+
plugin.addParameter({ id: 'frequency', name: 'Frequency', value: 1000, min: 20, max: 20000, step: 1 });
|
|
99
|
+
plugin.addParameter({ id: 'Q', name: 'Resonance', value: 1, min: 0.1, max: 20, step: 0.1 });
|
|
100
|
+
plugin.addParameter({ id: 'type', name: 'Type', value: 0, min: 0, max: 3, step: 1 }); // 0=lowpass, 1=highpass, 2=bandpass, 3=notch
|
|
101
|
+
break;
|
|
102
|
+
case 'internal-eq6':
|
|
103
|
+
initParametricEQParameters(plugin);
|
|
104
|
+
break;
|
|
105
|
+
case 'internal-expander':
|
|
106
|
+
initExpanderParameters(plugin, EXPANDER_DEFAULTS);
|
|
107
|
+
break;
|
|
108
|
+
case 'internal-gate':
|
|
109
|
+
initExpanderParameters(plugin, GATE_DEFAULTS);
|
|
110
|
+
break;
|
|
111
|
+
case 'internal-deesser':
|
|
112
|
+
plugin.addParameter({ id: 'frequency', name: 'Frequency', value: 6000, min: 2000, max: 12000, step: 100 });
|
|
113
|
+
plugin.addParameter({ id: 'threshold', name: 'Threshold', value: -20, min: -40, max: 0, step: 0.5 });
|
|
114
|
+
plugin.addParameter({ id: 'reduction', name: 'Reduction', value: 6, min: 0, max: 20, step: 0.5 });
|
|
115
|
+
plugin.addParameter({ id: 'listenMode', name: 'Listen', value: 0, min: 0, max: 1, step: 1 });
|
|
116
|
+
break;
|
|
117
|
+
case 'internal-multiband-comp':
|
|
118
|
+
// Low band
|
|
119
|
+
plugin.addParameter({ id: 'lowThreshold', name: 'Low Threshold', value: -24, min: -60, max: 0, step: 0.5 });
|
|
120
|
+
plugin.addParameter({ id: 'lowRatio', name: 'Low Ratio', value: 4, min: 1, max: 20, step: 0.5 });
|
|
121
|
+
plugin.addParameter({ id: 'lowAttack', name: 'Low Attack', value: 0.003, min: 0, max: 1, step: 0.001 });
|
|
122
|
+
plugin.addParameter({ id: 'lowRelease', name: 'Low Release', value: 0.25, min: 0, max: 1, step: 0.001 });
|
|
123
|
+
// Mid band
|
|
124
|
+
plugin.addParameter({ id: 'midThreshold', name: 'Mid Threshold', value: -24, min: -60, max: 0, step: 0.5 });
|
|
125
|
+
plugin.addParameter({ id: 'midRatio', name: 'Mid Ratio', value: 4, min: 1, max: 20, step: 0.5 });
|
|
126
|
+
plugin.addParameter({ id: 'midAttack', name: 'Mid Attack', value: 0.003, min: 0, max: 1, step: 0.001 });
|
|
127
|
+
plugin.addParameter({ id: 'midRelease', name: 'Mid Release', value: 0.25, min: 0, max: 1, step: 0.001 });
|
|
128
|
+
// High band
|
|
129
|
+
plugin.addParameter({ id: 'highThreshold', name: 'High Threshold', value: -24, min: -60, max: 0, step: 0.5 });
|
|
130
|
+
plugin.addParameter({ id: 'highRatio', name: 'High Ratio', value: 4, min: 1, max: 20, step: 0.5 });
|
|
131
|
+
plugin.addParameter({ id: 'highAttack', name: 'High Attack', value: 0.003, min: 0, max: 1, step: 0.001 });
|
|
132
|
+
plugin.addParameter({ id: 'highRelease', name: 'High Release', value: 0.25, min: 0, max: 1, step: 0.001 });
|
|
133
|
+
// Crossover frequencies
|
|
134
|
+
plugin.addParameter({ id: 'lowFrequency', name: 'Low Crossover', value: 250, min: 20, max: 500, step: 1 });
|
|
135
|
+
plugin.addParameter({ id: 'highFrequency', name: 'High Crossover', value: 4000, min: 2000, max: 16000, step: 1 });
|
|
136
|
+
break;
|
|
137
|
+
case 'internal-phaser':
|
|
138
|
+
plugin.addParameter({ id: 'frequency', name: 'Rate', value: 0.5, min: 0.1, max: 10, step: 0.1 });
|
|
139
|
+
plugin.addParameter({ id: 'octaves', name: 'Octaves', value: 3, min: 1, max: 6, step: 1 });
|
|
140
|
+
plugin.addParameter({ id: 'baseFrequency', name: 'Base Freq', value: 350, min: 100, max: 3000, step: 1 });
|
|
141
|
+
plugin.addParameter({ id: 'wet', name: 'Wet', value: 0.5, min: 0, max: 1, step: 0.01 });
|
|
142
|
+
break;
|
|
143
|
+
case 'internal-tremolo':
|
|
144
|
+
plugin.addParameter({ id: 'frequency', name: 'Rate', value: 4, min: 0.1, max: 20, step: 0.1 });
|
|
145
|
+
plugin.addParameter({ id: 'depth', name: 'Depth', value: 0.5, min: 0, max: 1, step: 0.01 });
|
|
146
|
+
plugin.addParameter({ id: 'type', name: 'Type', value: 0, min: 0, max: 3, step: 1 }); // 0=sine, 1=square, 2=triangle, 3=sawtooth
|
|
147
|
+
plugin.addParameter({ id: 'wet', name: 'Wet', value: 1, min: 0, max: 1, step: 0.01 });
|
|
148
|
+
break;
|
|
149
|
+
case 'internal-vibrato':
|
|
150
|
+
plugin.addParameter({ id: 'frequency', name: 'Rate', value: 5, min: 0.1, max: 20, step: 0.1 });
|
|
151
|
+
plugin.addParameter({ id: 'depth', name: 'Depth', value: 0.1, min: 0, max: 1, step: 0.01 });
|
|
152
|
+
plugin.addParameter({ id: 'wet', name: 'Wet', value: 1, min: 0, max: 1, step: 0.01 });
|
|
153
|
+
break;
|
|
154
|
+
case 'internal-autopan':
|
|
155
|
+
plugin.addParameter({ id: 'frequency', name: 'Rate', value: 1, min: 0.1, max: 20, step: 0.1 });
|
|
156
|
+
plugin.addParameter({ id: 'depth', name: 'Depth', value: 1, min: 0, max: 1, step: 0.01 });
|
|
157
|
+
plugin.addParameter({ id: 'wet', name: 'Wet', value: 1, min: 0, max: 1, step: 0.01 });
|
|
158
|
+
break;
|
|
159
|
+
case 'internal-tape-sat':
|
|
160
|
+
plugin.addParameter({ id: 'drive', name: 'Drive', value: 0.3, min: 0, max: 1, step: 0.01 });
|
|
161
|
+
plugin.addParameter({ id: 'warmth', name: 'Warmth', value: 0.4, min: 0, max: 1, step: 0.01 });
|
|
162
|
+
plugin.addParameter({ id: 'saturation', name: 'Saturation', value: 0.3, min: 0, max: 1, step: 0.01 });
|
|
163
|
+
plugin.addParameter({ id: 'wet', name: 'Wet', value: 0.5, min: 0, max: 1, step: 0.01 });
|
|
164
|
+
break;
|
|
165
|
+
case 'internal-sync-delay': {
|
|
166
|
+
const syncDelay = new SyncDelayPlugin(crypto.randomUUID(), desc.name, desc.type);
|
|
167
|
+
syncDelay.descriptorId = descriptorId;
|
|
168
|
+
return syncDelay;
|
|
169
|
+
}
|
|
170
|
+
case 'internal-convolver': {
|
|
171
|
+
const convolver = new ConvolutionReverbPlugin(crypto.randomUUID(), desc.name, desc.type);
|
|
172
|
+
convolver.descriptorId = descriptorId;
|
|
173
|
+
return convolver;
|
|
174
|
+
}
|
|
175
|
+
case 'internal-phaser': {
|
|
176
|
+
const phaser = new PhaserPlugin(crypto.randomUUID(), desc.name, desc.type);
|
|
177
|
+
phaser.descriptorId = descriptorId;
|
|
178
|
+
return phaser;
|
|
179
|
+
}
|
|
180
|
+
case 'internal-tremolo': {
|
|
181
|
+
const tremolo = new TremoloPlugin(crypto.randomUUID(), desc.name, desc.type);
|
|
182
|
+
tremolo.descriptorId = descriptorId;
|
|
183
|
+
return tremolo;
|
|
184
|
+
}
|
|
185
|
+
case 'internal-vibrato': {
|
|
186
|
+
const vibrato = new VibratoPlugin(crypto.randomUUID(), desc.name, desc.type);
|
|
187
|
+
vibrato.descriptorId = descriptorId;
|
|
188
|
+
return vibrato;
|
|
189
|
+
}
|
|
190
|
+
case 'internal-autopan': {
|
|
191
|
+
const autoPan = new AutoPanPlugin(crypto.randomUUID(), desc.name, desc.type);
|
|
192
|
+
autoPan.descriptorId = descriptorId;
|
|
193
|
+
return autoPan;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
return plugin;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
//# sourceMappingURL=PluginManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginManager.js","sourceRoot":"","sources":["../../src/plugins/PluginManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,UAAU,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACjG,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAQzE,MAAM,OAAO,aAAa;IAyBtB;QAvBQ,qBAAgB,GAAuB;YAC3C,EAAE,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,CAAC,MAAM,E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AAG,IAAI,aAAa,CAAC,MAAM,CAAC,UAAU,EAAc,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;gBACxF,OAAoD,CAAC,YAAY,GAAG,YAAY,CAAC;gBAClF,OAAO,OAAO,CAAC;YACnB,CAAC;YAED,KAAK,kBAAkB,CAAC,CAAC,CAAC;gBACtB,MAAM,OAAO,GAAG,IAAI,aAAa,CAAC,MAAM,CAAC,UAAU,EAAc,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;gBACxF,OAAoD,CAAC,YAAY,GAAG,YAAY,CAAC;gBAClF,OAAO,OAAO,CAAC;YACnB,CAAC;QACL,CAAC;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export interface PluginPreset {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
pluginId: string;
|
|
5
|
+
parameters: Map<string, number>;
|
|
6
|
+
}
|
|
7
|
+
export interface PluginPresetSnapshot {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
pluginId: string;
|
|
11
|
+
parameters: Record<string, number>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Singleton that manages built-in and custom plugin presets.
|
|
15
|
+
*/
|
|
16
|
+
export declare class PresetManager {
|
|
17
|
+
private static instance;
|
|
18
|
+
private builtInPresets;
|
|
19
|
+
private customPresets;
|
|
20
|
+
private constructor();
|
|
21
|
+
static getInstance(): PresetManager;
|
|
22
|
+
/** For testing – reset singleton */
|
|
23
|
+
static resetInstance(): void;
|
|
24
|
+
/**
|
|
25
|
+
* Get all presets (built-in + custom) for a given plugin descriptor ID.
|
|
26
|
+
*/
|
|
27
|
+
getPresetsForPlugin(pluginId: string): PluginPreset[];
|
|
28
|
+
/**
|
|
29
|
+
* Get a single preset by ID.
|
|
30
|
+
*/
|
|
31
|
+
getPreset(presetId: string): PluginPreset | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Apply a preset to a plugin processor on a track.
|
|
34
|
+
* The caller is responsible for looking up the correct track / processor.
|
|
35
|
+
* Returns the parameter map so the caller can propagate it.
|
|
36
|
+
*/
|
|
37
|
+
getPresetParameters(presetId: string): Map<string, number> | null;
|
|
38
|
+
/**
|
|
39
|
+
* Save a custom preset. Returns the new preset ID.
|
|
40
|
+
*/
|
|
41
|
+
savePreset(name: string, pluginId: string, parameters: Map<string, number>): string;
|
|
42
|
+
/**
|
|
43
|
+
* Delete a custom preset by ID.
|
|
44
|
+
*/
|
|
45
|
+
deletePreset(presetId: string): boolean;
|
|
46
|
+
private initBuiltInPresets;
|
|
47
|
+
private persistCustomPresets;
|
|
48
|
+
private loadCustomPresets;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=PluginPreset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginPreset.d.ts","sourceRoot":"","sources":["../../src/plugins/PluginPreset.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC;AAMD;;GAEG;AACH,qBAAa,aAAa;IACtB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAgB;IACvC,OAAO,CAAC,cAAc,CAAsB;IAC5C,OAAO,CAAC,aAAa,CAAsB;IAE3C,OAAO;WAKO,WAAW,IAAI,aAAa;IAO1C,oCAAoC;WACtB,aAAa,IAAI,IAAI;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