EmbDev.net

Forum: FPGA, VHDL & Verilog Goertzel Algorithm in Verilog / Frequency Recognition


von Nikita G. (nikitag)


Rate this post
useful
not useful
Hello,
For my final project I am making a game that will be able to recognize 
when specific frequencies are played through the Audio In, and make an 
LED light up as a result. I am not looking to store the Audio in memory, 
just to be able to recognize when a specific frequency is played. I was 
recommended to use the FIR, but apparently that does not produce a 
binary value to indicate that the frequency was found.
I am using the Altera DE2 board, with the Cyclone II FPGA.
Thank you in advance,
Nikitag

: Edited by Moderator
von Christoph db1uq K. (christoph_kessler)


Rate this post
useful
not useful
Search for "goertzel algorithm verilog".

von Nikita G. (nikitag)


Rate this post
useful
not useful
Hello,
I recently received a suggestion to use the Goertzel Algorithm to 
recognize when a specific frequency is present in an Audio input stream. 
Unfortunately I have not had any luck with research in finding any 
implementation in Verilog. I am using the Altera DE2 board for my 
project. Is there a module (like the FFT) on the board taht can perform 
this algorithm? I am new to Verilog so any help is appreciated, thank 
you.

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Nikita Gusev wrote:
> Unfortunately I have not had any luck with research in finding any
> implementation in Verilog.
Is homework today: "Find a working implementation on the internet!"

So: start yourself and if you have a concept and encounter problems THEN 
ask. But no one here is intended to do your homework.

von Lattice User (Guest)


Rate this post
useful
not useful
Nikita Gusev wrote:
> Hello,
> I recently received a suggestion to use the Goertzel Algorithm to
> recognize when a specific frequency is present in an Audio input stream.


Following up on your old thread would probably gotten you a better 
response

http://embdev.net/topic/350046#3886737

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Lattice User wrote:
> Following up on your old thread would probably gotten you a better
> response
Thx, I will concatenate them...

von Christoph db1uq K. (christoph_kessler)


Rate this post
useful
not useful
Beitrag "Re: FFT Algorithmus in FPGA umsetzen"
on page 350 of that book you find the equations for goertzel algorithm 
in programmable logic.

For that book you find example code in Verilog here:
http://uisprocesadores2008.wdfiles.com/local--files/user:recursos/DSPwFPGA%20back-matter.pdf
but there is no example for goertzel as far as i see

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.