text sound file (was [LAU] (no subject))

Jacob jacob01 at gmx.net
Wed Jul 25 13:47:10 EDT 2007


Hi,

On Wed, Jul 25, 2007 at 10:02:21AM -0700, Kevin Cosgrove wrote:
> 
> Is there a program which will convert a sound file into a text
> (.txt) or comma separated value (.csv) file?  

what's about the sox .dat format?

   sox audio.wav audio.dat

Gives something like

; Sample Rate 44100
               0       -0.1524353 
   2.2675737e-05      -0.19134521 
   4.5351474e-05       -0.2215271 
   6.8027211e-05      -0.21386719 
   9.0702948e-05      -0.18746948 
   0.00011337868      -0.17770386 

Jacob

> I'm thinking that
> would be a good route to go in order to import the data from a
> sound file into a math manipulation program, e.g. octave, maxima,
> Matlab, Mathcad, Gnumeric, etc.   If not, this would seem to be
> a good enhancement for SoX, or Audacity, or any sound file editor.
> 
> Thanks....
> 
> --
> Kevin
> 
> 
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user



More information about the Linux-audio-user mailing list