Saving Audio Clips in a Patch

So I have a module IceTray that records up to 60 seconds on a sort of tape delay. I think in an ideal world that recorded audio would save with the patch but I’m worried that would be a lot to save out.

Does anyone have any advice on how to save it or a reference module that does something similar?

In the v2 migration document there’s some info about the new patch storage API. This allows you to save inside the patch directory which gets zstd compressed to produce the .vcv patch file.

2 Likes