Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is it possible save and load Chunks for Plug-Ins ? #326

Open
dschiller opened this issue May 3, 2024 · 2 comments
Open

Question: Is it possible save and load Chunks for Plug-Ins ? #326

dschiller opened this issue May 3, 2024 · 2 comments

Comments

@dschiller
Copy link

As JUCE supports states which i guess are Chunks, Pedalboard should be able to save and load chunks for Plug-Ins.

@psobot
Copy link
Member

psobot commented May 3, 2024

Hi @dschiller - what's a Chunk?

@dschiller
Copy link
Author

Hey Peter, a Chunk or a State is the data that a Plug-In uses to serialize it's current state.

VST SDK: https://steinbergmedia.github.io/vst3_doc/vstsdk/structVST3_1_1Vst2xState.html#ae06a4427e89917ea46f51958cb2136e7

JUCE: https://docs.juce.com/master/tutorial_audio_processor_value_tree_state.html

In the context of audio plug-ins, a "chunk" typically refers to a block of data used to store and retrieve the state or configuration of a plug-in. It's essentially a serialized representation of the plug-in's parameters, settings, and internal state.

Chunks are commonly used for tasks like saving and loading presets, session states, or automation data in Digital Audio Workstations (DAWs) or other audio software environments. When a user saves a preset in a DAW, for example, the DAW might serialize the current state of the plug-in into a chunk of data, which can then be stored in a file. Later, when the user loads that preset, the chunk is deserialized and used to restore the plug-in to the saved state.

Chunks can vary in format depending on the plug-in and the software environment. They may be stored in various data formats such as XML, JSON, binary, or proprietary formats specific to certain plug-in formats or DAWs.

Overall, chunks provide a standardized way for plug-ins to save and restore their state across different sessions and software environments, ensuring consistency and interoperability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants