jscalo / tempi-fft

Real-time audio input and FFT written entirely in Swift for iOS.
253 stars 47 forks source link

Playback live stream url example #5

Closed iDevelopper closed 7 years ago

iDevelopper commented 7 years ago

Great job!

Could you provide a sample for play a stream URL (ex: http://streaming.shoutcast.com/cooljazzflorida?lang=en ) instead of recording the micro?

Or just an How to do small guide?

Thanks in advance.

Best Regards,

jscalo commented 7 years ago

TempiFFT works on raw audio samples and doesn't really care where they come from. So when you get your audio data from the stream, just stuff them in the buffer sent to fftForward.