Add and play wav files

Hi everyone,
I’m trying to figure out how i could add a wavFile and play it to my plugin.
I would like to add that audio looped to my input signal, and get that audio volume controled by my slider.
The only clue i could find for now is Fabian Renn-Giles talking about about :
void playSound (const void* resourceData, size_t resourcesSize);
I’m really new at programing and i don’t even know how i could try that.
Would anybody help me see clear :wink: Thanks

You could use the (Audio) JUCE tutorials as a basis.

https://docs.juce.com/master/tutorial_looping_audio_sample_buffer_advanced.html

1 Like

Thanks a lot Nicolas