% pulse 400 | firf coeff.txt | gp_wav > firf_test.png
$ pulse 1000 | fftw | gp_fft > pulse_fft.png
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
//1秒分のデータを生成
#define SAMPLE (1000)
main( int argc, char *argv[] )
{
int s, i, m, n, g;
s = SAMPLE;
m = 0;
n = 1;
g = 1;
if (argc>1)
s = atoi(argv[1]); //サンプリング周波数(デフォルト:1000Hz)
if (argc>2)
n = atoi(argv[2]); //パルスの終了(デフォルト:1)
if (argc>3)
m = atoi(argv[3]); //パルスの開始(デフォルト:0)
for (i=0; i<s ;i++) {
if (i<m)
printf("%d\n",0);
else if (i<n)
printf("%d\n",g);
else
printf("%d\n",0);
}
}
% pulse 1000 | head -40 | gp_pulse > pulse_w.png
% white 1000 | rcf 0.5 | fftw | gp_fft > rcf_fft.png
% pulse 1000 | rcf 0.5 | fftw | gp_fft > rcf_fft.png
% pulse 1000 | rcf 0.5 | head -40 | gp_pulse > rcf_w.png
% white 1000 | mavgf 3 | fftw | gp_fft > mavgf3_fft.png
% pulse 1000 | mavgf 3 | fftw | gp_fft > mavgf3_fft.png
% pulse 1000 | mavgf 3 | head -40 | gp_pulse > mavgf3_w.png
% white 1000 | mavgf 8 | fftw | gp_fft > mavgf8_fft.png
% pulse 1000 | mavgf 8 | fftw | gp_fft > mavgf8_fft.png
% pulse 1000 | mavgf 8 | head -40 | gp_pulse > mavgf8_w.png
% white 1000 | bibun 16 | fftw | gp_fft > bibun_fft.png
% pulse 1000 | bibun 16 | fftw | gp_fft > bibun_fft.png
% pulse 1000 | bibun 16 | head -40 | gp_pulse > bibun_w.png
% white 1000 | sekibun | fftw | gp_fft > sekibun_fft.png
% pulse 1000 | sekibun | fftw | gp_fft > sekibun_fft.png
% pulse 1000 | sekibun | head -40 | gp_pulse > sekibun_w.png
% white 1000 | sekibun 16 | fftw | gp_fft > sekibun16_fft.png
% pulse 1000 | sekibun 16 | fftw | gp_fft > sekibun16_fft.png
% pulse 1000 | sekibun 16 | head -40 | gp_pulse > sekibun16_w.png
% white 1000 | bibun 16 | sekibun | fftw | gp_fft > sinc_fft2.png
% pulse 1000 | bibun 16 | sekibun | fftw | gp_fft > sinc_fft2.png
% white 1000 | sekibun | bibun 16 | fftw | gp_fft > sinc_fft.png
% pulse 1000 | sekibun | bibun 16 | fftw | gp_fft > sinc_fft.png
% pulse 1000 | bibun 16 | sekibun | head -40 | gp_pulse > sinc_w2.png
% pulse 1000 | sekibun | bibun 16 | head -40 | gp_pulse > sinc_w.png
% white 1000 40 10 | downs 10 | fftw | gp_fftl > downs_fftl.png
% pulse 1000 | downs 10 | fftw | gp_fftl > downs_fftl.png
% pulse 1000 | downs 10 | head -40 | gp_pulse > downs_w.png
% white 1000 100 10 | ups 10 | fftw | gp_fftl > ups2_fftl.png
% pulse 1000 | ups 10 | fftw | gp_fftl > ups2_fftl.png
% pulse 1000 | ups 10 | head -40 | gp_pulse > ups2_w.png
% white 3840 | imul 100 | intg | intg | intg | idws | comb 1 | comb 1 | comb 1 | fftw | gp_fftl > wiiidccc.png
% pulse 3840 | imul 100 | intg | intg | intg | idws | comb 1 | comb 1 | comb 1 | fftw | gp_fftl > wiiidccc.png
% pulse 3840 | imul 100 | intg | intg | intg | idws | comb 1 | comb 1 | comb 1 | head -40 | gp_pulse > wiiidccc_w.png