Microphone Support for LÖVE!
Re: Microphone Support for LÖVE!
Not really on topic, sorry, but I think that the best visualization of FFT is a spectrogram: to plot the spectrum over time with the intensities as colours. That's what Cubic Player does, for example. https://commons.wikimedia.org/wiki/File ... Player.png
Re: Microphone Support for LÖVE!
Here's a basic FFT implementation, if anyone's interested. You feed in a sample in time domain and get the same sample in frequency domain. Due to the way Fourier transform works, its power and real part are mirrored about the center, and imaginary part is inverted about the center - pay no mind to that.
- Attachments
-
- fft.lua
- (2.43 KiB) Downloaded 166 times
-
- Prole
- Posts: 3
- Joined: Sat Mar 10, 2018 9:45 pm
Re: Microphone Support for LÖVE!
Thank you for posting that Raidho. I will try your version.
I've installed 0.11, however, it's not detecting my mic. I tested with a few different recording/playback code samples I found here in the forum. I'm sure it's a minor issue. The library presented in this thread does find it. Once I've figured out this issue, I'll post my code for my visualizer if I get it running (with fft).
I've installed 0.11, however, it's not detecting my mic. I tested with a few different recording/playback code samples I found here in the forum. I'm sure it's a minor issue. The library presented in this thread does find it. Once I've figured out this issue, I'll post my code for my visualizer if I get it running (with fft).
Who is online
Users browsing this forum: Ahrefs [Bot] and 7 guests