Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Some examples of using our DSP code library

License

NotificationsYou must be signed in to change notification settings

aicodix/examples

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"

fdzp.png

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"

hermite.png

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"

hermite2.png

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"

uniform.png

Fs/4Complex down conversion

Discrete Hilbert transform

Channel estimation using theNormalized Complex Least Mean Squares filter

nclms.png

About

Some examples of using our DSP code library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp