How can I store a WAV file(buffer) with the AudioProcessorValueTreeState class?

Hi,
I’m a beginner, and I want to know how I can store my loaded WAV file(buffer) with the AudioProcessorValueTreeState class. I know how to store a single float parameter, but I don’t know how to store a complete WAV file(buffer). Is there an example anywhere?

It’s not really the intention of the APVTS to store entire files into it. So while there might be ways to do it, may I ask what you are trying to achieve? Maybe some other popular pattern on how to solve the particular task you are facing already exist :slight_smile: