Load a .wav file as a file from instead of embedding it


#1

Hello,

May I first say that JUCE is an amazing framework. Go Julian!

I’m coming from .NET development and picking up C++ again. My clients are king and they require a cross platform solutions.

I’m slowly going through the demo sample with my dusty Herbert Schildt book and I love how comprehensive the framework is. Beautifully done and documented.

I’m messing around with the sampler audio demo, can someone point me in the right direction as to how load file(s) from disk as oppose to embedded files as shown in the demo.
Is it possible to stream the files from disk?

Thanks.


#2

IIRC, you need to look at the WavAudioFormat and AudioFormatReader classes.


#3