Playing a wav file out soundcard


I am trying to do a fairly simple task of taking a wave file and playing it out the sound card and recording the input from the sound card into a separate .wav file. Is there a specific Juce class that would allow me to do this?



There’s examples of playing and recording in the audio demo code - just do both at once!