forked from EliasOenal/multimon-ng
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
39 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
|
||
|
||
To generate a png from a wav file | ||
|
||
generate a .csv file from the data : | ||
|
||
multimon-ng -q -t wav -a DUMPCSV x10rf.wav > x10rf.csv | ||
|
||
use gnuplot to generate a PNG of the data | ||
|
||
gnuplot -e "plot_data_file='x10rf'" dumpcsv_png.txt | ||
|
||
there should be a file named x10rf.png | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
set terminal png size 2600,500 | ||
#set terminal png size 1920,500 | ||
#set terminal png size 800,150 | ||
set datafile separator "," | ||
set xlabel "Time (ms)" | ||
set ylabel "Arbitrary Power (dB?)" | ||
set grid | ||
#show mxtics | ||
set xtics 0.5 rotate | ||
set mxtics 10 | ||
set key off | ||
set pointsize 0.5 | ||
|
||
name=plot_data_file | ||
|
||
set title name." multimon-ng dump" | ||
# name=system("echo $plot_data_file") | ||
|
||
set output name.".png" | ||
|
||
plot name.".csv" using 1:2 with linespoints pt 6 lc 3 | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters