oyabun% ./readwave piano.wav > piano.txt oyabun% gawk '(NR>=40000 && NR< 41000) {print NR,$1,$2}' piano.txt > piano2.txt oyabun% gnuplot gnuplot> plot "piano2.txt" with lines