©2003 Kåre Sjölander and Jonas Beskow
Introduction Download Documentation Links Forum
WaveSurfer user forum

FAQ  FAQ
Search  Search
Memberlist  Memberlist
Register  Register
Profile  Profile
Login  Login

Wave File

 
Post new topic   Reply to topic    www.speech.kth.se/wavesurfer Forum Index -> WaveSurfer
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue Feb 17, 2004 5:59 am    Post subject: Wave File Reply with quote

I was wondering, if I have a wave file and I graph it in the time domain (there is a lot of Software that does this now) includeing wave surfer. Is there a piece of software that anyone know of that I can graph a wave file in the time domain and then transfer all those discrete points to say EXCEL

Thanks!
Back to top
kare



Joined: 16 Aug 2002
Posts: 371
Location: KTH, Centre for Speech Technology

PostPosted: Tue Feb 17, 2004 11:49 am    Post subject: Reply with quote

You can use WaveSurfer, load your sound file and type the following lines into the console (File | Show Console).

set snd [[wsurf::GetCurrent] cget -sound]
set f [open out.txt w]
for {set i 0} {$i < [$snd length]} {incr i} { puts $f [$snd sample $i] }
close $f

This will generate a text file (out.txt) containing the information you want and which will import easily into excel.

Kåre
Back to top
View users profile Send private message Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    www.speech.kth.se/wavesurfer Forum Index -> WaveSurfer All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.1 © 2001, 2002 phpBB Group