Skip to main content
gamedev.net
🔒 Locked

Making Waves

Started by smart_idiot 2 replies 350+ views
Original Post
smart_idiot
smart_idiot
I''m making a chatterbot, and it currently uses text, but I''m trying to make it able to handle different types of data, one of them being sound, but I can''t figure out a good way to compare two points in a sound wave. I tried storing the wave as volume and frequency over time, but I can''t figure out how to calculate the frequency. I tried going by the distance from the peaks in the wave, but that didn''t work very well, I think becase it look like little waves superimposed on a bigger wave, so I''m not even sure it''s possible to store sound in the way I want. How do you calculate the frequency, or is there a better way?
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other
Timkin
Timkin
There are several different ways to analyse wave forms. You might consider performing a fourier transform on the signal and analysing it in spectral space, or perhaps performing a wavelet analysis. Try google, there''s plenty of stuff out there on the web for this topic.

Cheers,

Timkin
Shannon Barber
Shannon Barber
it''s not the greatest, but there''s free (template) C++ source
article I wish I had read before I submitted
The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
smart_idiot
smart_idiot
Thanks. Google will be much more useful now that I know what I''m looking for. I''ll try to understand the code tomorrow.
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.