Re: Q .wav import

*To*: mathgroup at smc.vnet.net*Subject*: [mg44526] Re: Q .wav import*From*: "Hans Michel" <hansjm at bellsouth.net>*Date*: Thu, 13 Nov 2003 02:27:31 -0500 (EST)*References*: <botck5$chp$1@smc.vnet.net>*Reply-to*: "Hans Michel" <hansjm at bellsouth.net>*Sender*: owner-wri-mathgroup at wolfram.com

Peter W. In the $Path or not using Mathematica 4.2 Windows 2000 I did the following: In[1]:= Import["C:\\Documents and Settings\\hans\\My Documents\\raymond.wav", "WAV"] Out[1]= \[SkeletonIndicator]Sound\[SkeletonIndicator] Note the double \\ It returned a Sound object Sound[SampledSoundList[data, r]] Which can be displayed using Show[%]. And played by double clicking on the graphics. This is fast Alternately you can load the add-on In[2]:= << Miscellaneous`Audio` In[3]:= ReadSoundfile["C:\\Documents and Settings\\hans\My Documents\\raymond.wav", PrintHeader->True] Then use ListPlay In[4]:= ListPlay[%, SampleRate->22050, PlayRange->{-2^15,2^15}] This is slow. In the ReadSoundFile you can see the data. With Import use FullForm on the Sound object to see the Format. Then grab the List (data). Hans "mandarino" <pams at wwwsrv1.cepus.net> wrote in message news:botck5$chp$1 at smc.vnet.net... > With my camera (Ricoh rdc-7) I made a sound recording in the .wav format, > I have not been able to import this sound into Mathematica. > > I use: > Import["pulsonex6.WAV"] > > And I get a "$Failed" result. > > Any ideas? > The sound playes OK e.g. in the win XP mediaplayer. > And, at least I put the sound file in the Mathematica $Path > > > > Best regards > Peter W > >