Giter VIP home page Giter VIP logo

Comments (2)

psobot avatar psobot commented on June 22, 2024

Hi @dschiller - what's a Chunk?

from pedalboard.

dschiller avatar dschiller commented on June 22, 2024

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.

from pedalboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.