Integrating audio files into a .dll (VST)

Hi there :slight_smile:

I would like to generate a .dll in which there is a sound bank.

Is it possible to have .mp3/.wav inside the .dll after compilation (to have the sound of instruments) or do we have to have the audio files somewhere on the PC ?


Juce does have the binary resources system, but it relies on turning the binary data into source code and compiling that and that might not work so well if you have lots of large files. For something like sound banks it’s probably better to figure out a way to use separate files on disk instead. You would be recommended to make an installer for your plugin anyway and you can install the needed sound files at the same time for the user.