Brutefir ist ein superschnelles FIR-Filter-Tool.
The Filter works in frequency domain and can changed via shared memory using shmid. Brutefir is very very fast with long filters.
Achtung: log. Auftragung!
set terminal dumb set title 'Latence [ms] over Filterorder' set logscale y; set xlabel 'Filterordnung'; set ylabel 'Latenz [ms]'; unset key; plot '-' using 1:($2*5) with lines; 128 3.75 256 4.25 512 7.5 1024 14 e
Latence [ms] over Filterorder 100 +---------------------------------------------------------+ |+ + + + + + + + + + +| |+ +| |+ **** +| |+ ******** +| |+ ******* +| | ******** | |+ ***** +| | **** | |+ **** +| | **** | | ***** | |+**** +| | | | | | | | + + + + + + + + + | 10 +---------------------------------------------------------+ 100 200 300 400 500 600 700 800 900 1000 1100 Filterordnung
Eine (halb- und voll-)logarithmische Auftragung braucht keine Linearisierung.
set terminal dumb set title 'Latence [ms] over Filterorder' set xlabel 'Filterordnung als Potenz zur Basis 2'; set ylabel 'Latenz [ms]'; unset key; plot '-' using 1:($2*5) with lines; 7 3.75 8 4.25 9 7.5 10 14 e
Latence [ms] over Filterorder 100 +---------------------------------------------------------+ |+ + + + + + +| |+ +| |+ **| |+ ***** +| |+ **** +| | ***** | |+ ***** +| | ***** | |+ ***** +| | ***** | | ************ | |********* +| | | | | | | | + + + + + | 10 +---------------------------------------------------------+ 7 7.5 8 8.5 9 9.5 10 Filterordnung als Potenz zur Basis 2
Filterordnung = 1024
set terminal dumb set title 'Ist- ueber Soll-Phase' set xlabel 'Soll-Phase [ms]'; set ylabel 'Ist-Phase [ms]'; unset key; plot '-' using (($1-1)*1000/32000):($2*2) with linespoints; 1 0 24 0.4 57 0.98 123 2 189 3 222 3.5 288 4.5 354 5.5 420 6.6 486 7.6 552 8.6 585 9.15 631 9.9 e
Ist- ueber Soll-Phase 100 +------------------------------------------------------+ |+ + + + + + + + + + +| |+ +| |+ +| |+ **A**A***A| | **A*****A*****A** | 10 |-+ ***A** +-| |+ ***A**A** +| |+ *A** +| |+ ** +| |+ A* +| 1 |-+** +-| |+A +| |+ +| |+ +| |+ +| | + + + + + + + + + | 0.1 +------------------------------------------------------+ 0 2 4 6 8 10 12 14 16 18 20 Soll-Phase [ms]
Ergebnis: Es funktioniert!