Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Audio
»
Fast Fourier Transform on the sound
Print
Pages: [
1
]
Author
Topic: Fast Fourier Transform on the sound (Read 27601 times)
0 Members and 1 Guest are viewing this topic.
Srejv
Jr. Member
Posts: 63
Fast Fourier Transform on the sound
«
on:
October 24, 2007, 10:45:00 pm »
Is it possible to do a Fast Fourier Transform on a sound it get it's frequency data?
http://www.robthebloke.org/opengl_programming.html#8
"fmod Frequencies Example
This example uses fmod to perform a fast fourier transform (FFT) on the sounds waveform data to produce the frequencies in the sound. Fmod's FFT unit can then provide you with an array of 512 floats representing the frequency data. This is then rendered to an openGL window."
Was looking for something like that, only I'd like to use SFML and OpenAL (it is OpenAL SFML uses, isn't it?) for it.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Fast Fourier Transform on the sound
«
Reply #1 on:
October 25, 2007, 03:12:15 am »
SFML is using OpenAL, that's right.
I don't provide any FFT-related function, but you can easily program yours, sf::SoundBuffer should give you all you need from the sound.
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Audio
»
Fast Fourier Transform on the sound