- Notifications
You must be signed in to change notification settings - Fork1
Some examples of using our DSP code library
License
NotificationsYou must be signed in to change notification settings
aicodix/examples
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Some examples of using our DSP code library
Frequency modulationdemodulation of commercialFM broadcasting.
REGION=1FREQ=106.4MIRATE=2048000MRATE=256000ORATE=44100rtl_sdr -f $FREQ -s $IRATE - | ./fmdemod $IRATE $MRATE $ORATE $REGION | aplay -t raw -c 1 -r $ORATE -f float
Frequency modulationdemodulation of commercialstereoFM broadcasting.
REGION=1FREQ=106.4MIRATE=2400000MRATE=480000ORATE=48000rtl_sdr -f $FREQ -s $IRATE - | ./fmstereo $IRATE $MRATE $ORATE $REGION | aplay -t raw -c 2 -r $ORATE -f float
For lower CPU usage and fewer underruns, choose lower rates and avoid PulseAudio:
REGION=1FREQ=106.4MIRATE=1024000MRATE=256000ORATE=32000DEVICE=$(aplay -L | grep -m1 sysdefault)rtl_sdr -f $FREQ -s $IRATE - | ./fmstereo $IRATE $MRATE $ORATE $REGION | aplay -t raw -c 2 -r $ORATE -f float -D $DEVICE
Interpolation via frequency-domain zero padding.
Use gnuplot to look at the example:
plot "< ./fdzp" u 2:3 w p pt 4 t "Data", "< ./fdzp" u 4:5 w l t "FDZP"
Interpolation usingCubic Hermite Spline.
Use gnuplot to look at the example:
plot "< ./hermite" u 1:2 w p pt 4 t "Data", "< ./hermite" u 1:3 w l t "Hermite"
Interpolation in 2D usingCubic Hermite Spline.
Use gnuplot to look at the example:
plot "< ./hermite2" u 2:3 w p pt 4 t "Data", "< ./hermite2" u 4:5 w l t "Hermite"
Comparing interpolation betweenUniform Cubic Hermite Spline andUniform Natural Cubic Spline.
Use gnuplot to look at the example:
plot "< ./uniform" u 1:2 w p pt 4 t "Data", "< ./uniform" u 1:3 w l t "Hermite", "< ./uniform" u 1:4 w l t "Natural"
Channel estimation using theNormalized Complex Least Mean Squares filter