[SOLVED] Minim library FFT help

I am using Minim to display the spectrum of the total output of my sketch. The example sketch Minim > Analysis > SoundSpectrum has this core algorithm:

AudioPlayer sound = minim.loadFile("sound.mp3", 1024);
FFT fft = new FFT( sound.bufferSize(), sound.sampleRate() );
fft.linAverages(30);
fft.forward(sound.mix);

// loop integer i over fft.specSize() and grab data using fft.getBand(i)

All the other examples use a file playback scenario. But what about when I am playing multiple oscillators? If I try this on an AudioOutput instance there is no data.

Solution: Don’t use AudioPlayer but instead use FilePlayer. This is a UGen and can be connected to the output with patch().