audio visualization on the Ben?

Jane Andreas JaneAndreas at gmx.com
Mon Mar 5 23:38:34 EST 2012


It looks like the script you linked to first requires both sox and gnuplot, is that right? This is quite amazing and is just what I was looking for! Does this require a window manager?

 
  ----- Original Message -----
  From: Xiangfu Liu
  Sent: 03/05/12 08:09 PM
  To: English Qi Hardware mailing list - support, developers, use cases and fun
  Subject: Re: audio visualization on the Ben?
 
   
On 03/06/2012 03:57 AM, Jane Andreas wrote:
> Hi, I am brainstorming for ideas on how to turn recorded audio on the
> Ben into an image, in the same way that Audacity or other sound
> recorders do only not in real-time. A while back I heard of
> octave-audio, but would that give a similar waveform image? Maybe
> someone knows of a lightweight tool that allows you to view the audio
> that way?

Hi Jane

I search a little on 'audio waveform image' found this one:
works just fine under Ben Nanonote:
 http://linuxwebdev.blogspot.com/2006/03/plot-wav-file-wav2png.html
attach is one png file I created by nanonote.


BTW:
there is one option on sox can direct output png file: 'spectrogram'
 http://sox.sourceforge.net/sox.html
but I didn't make it work under ben nanonote.

also there is another option on 'sox' --plot. I have tested in nanonote. works fine

 --plot gnuplot|octave|off
 If not set to off (the default if --plot is not given), run in a
 mode that can be used, in conjunction with the gnuplot program
 or the GNU Octave program, to assist with the selection and con-
 figuration of many of the transfer-function based effects. For
 the first given effect that supports the selected plotting pro-
 gram, SoX will output commands to plot the effect’s transfer
 function, and then exit without actually processing any audio.
 E.g.

 sox --plot octave input-file -n highpass 1320 > plot.m
 octave plot.m

we also have the 'Gtkguitune' not sure is this one helpful
 http://en.qi-hardware.com/wiki/Applications   




More information about the discussion mailing list


interactive