Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » Waveform not shown with some wav files

Waveform not shown with some wav files

Up one level

Waveform not shown with some wav files

Posted by juanalvaro at 2008-10-15 03:15  

I use wave files (sample rate 48.000, sample type 24-bit) with ELAN. Normally, when I load the files as they come from the recorder (Marantz PDM 620) the waveform is correctly shown in ELAN; but if edit the files (cropping, merging, cleaning), for which I use Adobe Soundbooth, the waveform is no longer shown in Elan, although they appear to be wave files, pcm with the same sample rate and sample type. How could I correct this so I can edit the files and keep the waveform showing? Is there a problem with that editor?<br>Thanks for your help.<br>

Re: Waveform not shown with some wav files

Posted by hasloe at 2008-10-15 10:12  

I don't know SoundBooth but I don't expect that to be the problem. What you can do is have a look in ELAN's log file after closing ELAN (after a failed attempt to view the waveform). There should be a line like this:
"Information from header of wav-file:"
followed by information from the .wav file as it is read from the header. And maybe there will be error messages.

The log file on Windows and Linux: <user_home>/.elan_data/elan0.log (elan1.log etc), on Mac OS it is: <user_home>/Library/Preferences/ELAN/elan0.log.

-Han

Re: Waveform not shown with some wav files

Posted by juanalvaro at 2008-10-15 16:23  

Han, thanks for your reply. I checked the log file after I opened and closed a file with no waveform shown.&nbsp; I transcribe from the line with header information. I don't see any clear error messages; I appreciate any comments:<br><br>Information from header of wav-file:<br>NrOfChannels&nbsp;&nbsp;&nbsp; : 2<br>Sample frequency: 48000<br>Bitrate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 24<br>nrOfSamples&nbsp;&nbsp;&nbsp;&nbsp; : 6278051<br>&nbsp;-&gt; Length&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 00:02:10.793<br>java.lang.ArrayIndexOutOfBoundsException: -2<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.util.WAVSampler.&lt;init&gt;(WAVSampler.java:90)<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.annotator.viewer.SignalViewer.initLoad(SignalViewer.java:389)<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.annotator.viewer.SignalViewer.setMedia(SignalViewer.java:296)<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.annotator.viewer.SignalViewer.&lt;init&gt;(SignalViewer.java:227)<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.annotator.ViewerManager2.createSignalViewer(ViewerManager2.java:736)<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.annotator.linkedmedia.MediaDescriptorUtil.createMediaPlayers(MediaDescriptorUtil.java:498)<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.annotator.ElanFrame2.initElan(ElanFrame2.java:639)<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.annotator.ElanFrame2.openEAF(ElanFrame2.java:352)<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.annotator.ElanFrame2.openEAF(ElanFrame2.java:368)<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.annotator.FrameManager.createFrame(FrameManager.java:582)<br>&nbsp;&nbsp;&nbsp; at mpi.eudico.client.annotator.FrameManager$RecentAction.actionPerformed(FrameManager.java:1040)<br>&nbsp;&nbsp;&nbsp; at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at javax.swing.DefaultButtonModel.setPressed(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at javax.swing.AbstractButton.doClick(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.Component.processMouseEvent(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at javax.swing.JComponent.processMouseEvent(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.Component.processEvent(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.Container.processEvent(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.Component.dispatchEventImpl(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.Container.dispatchEventImpl(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.Component.dispatchEvent(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.Container.dispatchEventImpl(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.Component.dispatchEvent(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.EventQueue.dispatchEvent(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEvents(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEvents(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.run(Unknown Source)<br>No media export functionality available<br>Clean up media player...<br>Clean up media player...<br>15/10/2008 08:25:31 AM mpi.eudico.client.annotator.integration.ExternalLauncher$LaunchThread run<br>INFO: Launch thread interrupted...<br>15/10/2008 08:25:31 AM mpi.eudico.client.annotator.integration.ExternalLauncher stop<br>INFO: External launch thread stopped...<br><br>

Re: Re: Waveform not shown with some wav files

Posted by hasloe at 2008-10-16 11:59  

The error messages are kind of useful in this case: an error occurs when ELAN tries to read and log the compression type of the file. If this succeeds the output starts with "WAVE Format : ". Apparently the value returned from the file is invalid. This might be an error that would be save to ignore, but it could also indicate a serious problem in the file or might lead to incorrect visualization.

Could you check in other applications what the compression type is? Just to see if others apps have the same problem with the file (or at least this part)?

-Han

 

Powered by Plone

This site conforms to the following standards: