An FFT base xlating filter

I just watched Tom R.'s presentation at TAPR online and learned
about
the benefits of an FFT filter over a FIR filter. I am wondering if there
is
a good way to replace my XLATING FIR Filters with FFT ones. I do need to
be
able to move the center frequency around?

Scap (KK4EPP)

On Sun, Feb 3, 2013 at 7:16 AM, Jeff S. [email protected] wrote:

I just watched Tom R.'s presentation at TAPR online and learned about
the benefits of an FFT filter over a FIR filter. I am wondering if there is
a good way to replace my XLATING FIR Filters with FFT ones. I do need to be
able to move the center frequency around?

You can separate the translation from the filter and use complex
multiplication with a sine wave, where the frequency of the sine wave
corresponds to the translation offset.

Alex

Hi,I also want to watch the presentation. Can you please mail the web
link from which I can watch it.
RegardsG R Begh

— On Sun, 2/3/13, Jeff S. [email protected] wrote:

From: Jeff S. [email protected]
Subject: [Discuss-gnuradio] An FFT base xlating filter
To: “discuss-gnuradio Discussion Group” [email protected]
Date: Sunday, February 3, 2013, 11:46 AM

I just watched Tom R.'s presentation at TAPR online and learned
about thebenefitsof an FFT filter over a FIR filter. I am wondering if
there is a good way to replace my XLATING FIR Filters with FFT ones. I
do need to be able to move the center frequency around?

Scap (KK4EPP)

-----Inline Attachment Follows-----

On Sun, Feb 3, 2013 at 12:44 PM, Ghulam Rasool B.
[email protected] wrote:

Hi,
I also want to watch the presentation. Can you please mail the web link
from which I can watch it.

HamRadioNow Episode 51 Part 1:
http://www.youtube.com/watch?v=_hGNT1w-jig
HamRadioNow Episode 51 Part 2:
http://www.youtube.com/watch?v=cg3TA3EDx78
HamRadioNow Episode 51 Part 3:
http://www.youtube.com/watch?v=nemfS9QAYHc
HamRadioNow Episode 51 Part 4:
http://www.youtube.com/watch?v=94R2qE7mEc4

Thanks Alex,

I will give that a try. Your website is what helped me get on the
air initially in the 2 meter band. Thanks for posting.

Scap KK4EPP

You’re welcome. By the way, can you tell me approximately where Tom
talks about the FFT filter? I didn’t have time to watch the whole show
but I am interested in that FFT filter too.

Alex

i downloaded the example my-basic which making as an amplifier and i try
to
install this module using commands:

$ sudo ./bootstrap
$ sudo ./configure
$ cd swig
$ sudo make generate-makefile-swig
$ cd …
$ sudo make
$ sudo make install

but i face problem during sudo make step
make all-recursive
make[1]: Entering directory /home/el-hadidy/gr-my-basic' Making all in config make[2]: Entering directory/home/el-hadidy/gr-my-basic/config’
make[2]: Nothing to be done for all'. make[2]: Leaving directory/home/el-hadidy/gr-my-basic/config’
Making all in lib
make[2]: Entering directory /home/el-hadidy/gr-my-basic/lib' make[2]: Nothing to be done forall’.
make[2]: Leaving directory /home/el-hadidy/gr-my-basic/lib' Making all in swig make[2]: Entering directory/home/el-hadidy/gr-my-basic/swig’
trap ‘rm -rf .deps/gr_my-generate-*’ 1 2 13 15;
if mkdir .deps/gr_my-generate-lock 2>/dev/null; then
rm -f .deps/gr_my-generate-stamp;
make .deps/gr_my-generate-stamp WHAT=gr_my.i;
rmdir .deps/gr_my-generate-lock;
else
while test -d .deps/gr_my-generate-lock; do
sleep 1;
done;
test -f .deps/gr_my-generate-stamp;
exit $?;
fi;
make[3]: Entering directory `/home/el-hadidy/gr-my-basic/swig’
if /usr/bin/swig -c++ -fvirtual -python -modern -keyword -w511 -outdir .
-I/home/el-hadidy/gr-my-basic/lib -I/usr/local/include/gnuradio
-I/usr/local/include/gnuradio/swig
-MD -MF .deps/gr_my.Std
-module gr_my_swig -o gr_my_swig.cc gr_my.i; then
if test linux-gnu = mingw32; then
/bin/rm -f .deps/gr_my.Sd;
/bin/sed ‘s,\\,/,g’ < .deps/gr_my.Std \

.deps/gr_my.Sd;
/bin/rm -f .deps/gr_my.Std;
.deps/gr_my.Sd .deps/gr_my.Std;
fi;
else
/bin/rm -f .deps/gr_my.S*; exit 1;
fi;
/usr/local/include/gnuradio/swig/gnuradio.i:31: Error: Unable to find
‘gruel_common.i’
make[3]: *** [.deps/gr_my-generate-stamp] Error 1
make[3]: Leaving directory /home/el-hadidy/gr-my-basic/swig' trap 'rm -rf .deps/gr_my-generate-*' 1 2 13 15; \ if mkdir .deps/gr_my-generate-lock 2>/dev/null; then \ rm -f .deps/gr_my-generate-stamp; \ make .deps/gr_my-generate-stamp WHAT=gr_my.i; \ rmdir .deps/gr_my-generate-lock; \ else \ while test -d .deps/gr_my-generate-lock; do \ sleep 1; \ done; \ test -f .deps/gr_my-generate-stamp; \ exit $?; \ fi; make[3]: Entering directory/home/el-hadidy/gr-my-basic/swig’
if /usr/bin/swig -c++ -fvirtual -python -modern -keyword -w511 -outdir .
-I/home/el-hadidy/gr-my-basic/lib -I/usr/local/include/gnuradio
-I/usr/local/include/gnuradio/swig
-MD -MF .deps/gr_my.Std
-module gr_my_swig -o gr_my_swig.cc gr_my.i; then
if test linux-gnu = mingw32; then
/bin/rm -f .deps/gr_my.Sd;
/bin/sed ‘s,\\,/,g’ < .deps/gr_my.Std
.deps/gr_my.Sd;
/bin/rm -f .deps/gr_my.Std;
.deps/gr_my.Sd .deps/gr_my.Std;
fi;
else
/bin/rm -f .deps/gr_my.S*; exit 1;
fi;
/usr/local/include/gnuradio/swig/gnuradio.i:31: Error: Unable to find
‘gruel_common.i’
make[3]: *** [.deps/gr_my-generate-stamp] Error 1
make[3]: Leaving directory /home/el-hadidy/gr-my-basic/swig' make all-am make[3]: Entering directory/home/el-hadidy/gr-my-basic/swig’
trap ‘rm -rf .deps/gr_my-generate-*’ 1 2 13 15;
if mkdir .deps/gr_my-generate-lock 2>/dev/null; then
rm -f .deps/gr_my-generate-stamp;
make .deps/gr_my-generate-stamp WHAT=gr_my.i;
rmdir .deps/gr_my-generate-lock;
else
while test -d .deps/gr_my-generate-lock; do
sleep 1;
done;
test -f .deps/gr_my-generate-stamp;
exit $?;
fi;
make[4]: Entering directory /home/el-hadidy/gr-my-basic/swig' if /usr/bin/swig -c++ -fvirtual -python -modern -keyword -w511 -outdir . -I/home/el-hadidy/gr-my-basic/lib -I/usr/local/include/gnuradio -I/usr/local/include/gnuradio/swig \ -MD -MF .deps/gr_my.Std \ -module gr_my_swig -o gr_my_swig.cc gr_my.i; then \ if test linux-gnu = mingw32; then \ /bin/rm -f .deps/gr_my.Sd; \ /bin/sed 's,\\\\,/,g' < .deps/gr_my.Std \ .deps/gr_my.Sd; \ /bin/rm -f .deps/gr_my.Std; \ .deps/gr_my.Sd .deps/gr_my.Std; \ fi; \ else \ /bin/rm -f .deps/gr_my.S*; exit 1; \ fi; /usr/local/include/gnuradio/swig/gnuradio.i:31: Error: Unable to find 'gruel_common.i' make[4]: *** [.deps/gr_my-generate-stamp] Error 1 make[4]: Leaving directory/home/el-hadidy/gr-my-basic/swig’
/bin/bash …/libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I… -I/home/el-hadidy/gr-my-basic/lib -I/usr/local/include/gnuradio
-I/usr/local/include/gnuradio/swig -I/usr/include/python2.6
-I/usr/local/include/gnuradio -I/usr/local/include -I…/lib -g -O1
-Wno-strict-aliasing -Wno-parentheses -g -O2 -MT
_gr_my_swig_la-gr_my_swig.lo -MD -MP -MF
.deps/_gr_my_swig_la-gr_my_swig.Tpo -c -o _gr_my_swig_la-gr_my_swig.lo
test -f 'gr_my_swig.cc' || echo './'gr_my_swig.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I…
-I/home/el-hadidy/gr-my-basic/lib -I/usr/local/include/gnuradio
-I/usr/local/include/gnuradio/swig -I/usr/include/python2.6
-I/usr/local/include/gnuradio -I/usr/local/include -I…/lib -g -O1
-Wno-strict-aliasing -Wno-parentheses -g -O2 -MT
_gr_my_swig_la-gr_my_swig.lo -MD -MP -MF
.deps/_gr_my_swig_la-gr_my_swig.Tpo -c ./gr_my_swig.cc -fPIC -DPIC -o
.libs/_gr_my_swig_la-gr_my_swig.o
g++: ./gr_my_swig.cc: No such file or directory
g++: no input files
make[3]: *** [_gr_my_swig_la-gr_my_swig.lo] Error 1
make[3]: Leaving directory /home/el-hadidy/gr-my-basic/swig' make[2]: *** [all] Error 2 make[2]: Leaving directory/home/el-hadidy/gr-my-basic/swig’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/el-hadidy/gr-my-basic’
make: *** [all] Error 2
[email protected]:~/gr-my-basic$
so kindly for advise me

On Mon, Feb 4, 2013 at 6:08 AM, Mohammed R.
[email protected]wrote:

First of all, don’t run all of those commands using ‘sudo’. It’s unsafe
and
pretty crude. You only need to run ‘sudo make install’ because you’re
likely to be installing into a path that you don’t own or can write to
as a
user.

make[2]: Leaving directory `/home/el-hadidy/gr-my-basic/lib’
done;
/bin/rm -f .deps/gr_my.Sd; \

This error is due to a version conflict. The gruel_common.i file was
misplaced originally and has since been moved under ‘gruel/src/swig’.

You can either edit the code to look in the right place for this file,
or
figure out what version of GNU Radio this program was written against.

Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs