-
-
Save olokobayusuf/bd4b24d25f3c0adf95fe9c257d7e235d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We can perform an FFT on the microphone data... | |
var device = ... as AudioDevice; | |
// Using an audio spectrum output... | |
var spectrumOutput = new AudioSpectrumOutput(); | |
// But we can also do more with the audio data... | |
device.StartRunning(audioBuffer => { | |
// Update the spectrum output | |
spectrumOutput.Update(audioBuffer); | |
// But do other stuff with the audio buffer | |
DoOtherStuff(audioBuffer); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment