spotify / pedalboard

🎛 🔊 A Python library for audio.
https://spotify.github.io/pedalboard
GNU General Public License v3.0
5.13k stars 259 forks source link

[question] [request] Is it possible to use .aupreset just like .vstpreset? #160

Open rhelsing opened 1 year ago

rhelsing commented 1 year ago

Is it possible to use .aupreset just like .vstpreset?

psobot commented 1 year ago

Not at the moment, but JUCE supports this and it would be possible to add this feature similarly to how @emilio1234 added VST3 preset loading functionality (https://github.com/spotify/pedalboard/pull/67).

rhelsing commented 1 year ago

@psobot Cool, thanks. I'd love to help but I'm not the best at C++. Will it be very similar to that PR or require some more robust knowledge of the underlying JUCE API?

psobot commented 1 year ago

Not sure, to be honest - I’m unfamiliar with the .aupreset format, but it might be as simple as calling getStateInformation and setStateInformation (as linked above) and passing in the bytes of the aupreset file.

I unfortunately don’t have any time in the next month or two to look into this, but that’s where I’d start. I’d be happy to review any work-in-progress code though, if you’re comfortable putting up a draft pull request!