WAV file is not read
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: WAV file is not read
Please, always read the pink panel at the top of the page and give us that essential information.
Then use File > Open... or File > Import > Audio... . Choose "FFmpeg-compatible files" in "Files of type:" then select and open the file.
Gale
Install FFmpeg from http://manual.audacityteam.org/o/man/fa ... tml#ffdown.
Then use File > Open... or File > Import > Audio... . Choose "FFmpeg-compatible files" in "Files of type:" then select and open the file.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: WAV file is not read
I can open the file in Audacity using Import Raw Data, but I see the same problem with 'normal' import (without FFmpeg) - but then again, it's not really a 'normal' WAV file. Where did the file come from?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: WAV file is not read
If you use Import Raw Data, you will need to specify the Encoding (32-bit float), byte order (little endian) and number of channels (8).
There will also be a click at the start of (most of) the tracks which is the file headers. You may want to zoom in and delete the click.
Can libsndfile (the standard WAV importer) not import 32-bit float multi-channel WAV files? I have not tested, but as Steve said that is not a "normal" type of file.
Gale
There will also be a click at the start of (most of) the tracks which is the file headers. You may want to zoom in and delete the click.
Can libsndfile (the standard WAV importer) not import 32-bit float multi-channel WAV files? I have not tested, but as Steve said that is not a "normal" type of file.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: WAV file is not read
Sorry, I thought this was a problem so stupid I omitted it.Gale Andrews wrote:Please, always read the pink panel at the top of the page and give us that essential information.
Anyway, Windows 7x64, tried with both 2.1.1 and latest 2.1.2 nightly.
Gale Andrews wrote:Install FFmpeg from http://manual.audacityteam.org/o/man/fa ... tml#ffdown.
Then use File > Open... or File > Import > Audio... . Choose "FFmpeg-compatible files" in "Files of type:" then select and open the file.
Ok you are right.steve wrote:I can open the file in Audacity using Import Raw Data, but I see the same problem with 'normal' import (without FFmpeg) - but then again, it's not really a 'normal' WAV file. Where did the file come from?
It works this way, but it seemed absurd that a WAV file required external libraries.
The wav file was produced with this, while recording an old DX6 game.
Oddly, with others it has always worked.
In which way this is not "normal"?
Re: WAV file is not read
It's an 8 channel, signed 32-bit float RIFF file.mirh wrote:In which way this is not "normal"?
Full info:
Code: Select all
Audio
Format : PCM
Format profile : Float
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 00001000-0000-0300-8000-00AA00389B71
Codec ID/Hint : IEEE
Duration : 17s 420ms
Bit rate mode : Constant
Bit rate : 12.3 Mbps
Channel(s) : 8 channels
Channel positions : Front: L C R, Side: L R, Back: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 32 bits
Stream size : 25.5 MiB (100%)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: WAV file is not read
I thought it was not "normal" because multi-channel WAV files are not usually float.mirh wrote:Gale Andrews wrote:Install FFmpeg from http://manual.audacityteam.org/o/man/fa ... tml#ffdown.
Then use File > Open... or File > Import > Audio... . Choose "FFmpeg-compatible files" in "Files of type:" then select and open the file.Ok you are right.steve wrote:I can open the file in Audacity using Import Raw Data, but I see the same problem with 'normal' import (without FFmpeg) - but then again, it's not really a 'normal' WAV file. Where did the file come from?
It works this way, but it seemed absurd that a WAV file required external libraries.
The wav file was produced with this, while recording an old DX6 game.
Oddly, with others it has always worked.
In which way this is not "normal"?
I don't have standalone libsndfile 1.0.24 to hand (which is the version Audacity uses on Windows) but libsndfile 1.0.25 cannot understand the files - in trying to convert them it just produces a 44 bytes file with header and no audio. Audacity produces an empty track when importing the file, so I am betting it's a libsndfile and not Audacity error.
Here is the libsndfile sndfile-info output for a file I recorded with the loopback recorder you mentioned (I used --int-16 when recording to see if it made any difference). As you can see the parser quits early due to an unknown chunk:
Code: Select all
E:\libsndfile 1 0 25\bin>sndfile-info.exe loopback16.wav
Version : libsndfile-1.0.25
========================================
File : loopback16.wav
Length : 2258000
RIFF : 0
WAVE
fmt : 40
Format : 0xFFFE => WAVE_FORMAT_EXTENSIBLE
Channels : 2
Sample Rate : 48000
Block Align : 4
Bit Width : 16
Bytes/sec : 192000
Valid Bits : 16
Channel Mask : 0x3 (L, R)
Subformat
esf_field1 : 0x1
esf_field2 : 0x0
esf_field3 : 0x10
esf_field4 : 0x80 0x0 0x0 0xAA 0x0 0x38 0x9B 0x71
format : pcm
fact : 4
frames : 0
data : 0
*** Unknown chunk marker (3200320) at position 80. Exiting parser.
----------------------------------------
Sample Rate : 48000
Frames : 0
Channels : 2
Format : 0x00130002
Sections : 1
Seekable : TRUE
Duration : 00:00:00.000
Signal Max : 0 (-1.#J dB)
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: WAV file is not read
The really strange thing is that Audacity never had this kind of problem other times.steve wrote:It's an 8 channel, signed 32-bit float RIFF file.mirh wrote:In which way this is not "normal"?
Even if that program always results in this kind of file.
Oh, no.Gale Andrews wrote:Do I presume you don't record using Audacity because you can't get it to record more than two channels?
Audacity also plays really nice with WASAPI, and I can get it to record all eight channels.
Now that you make me think, I don't really know why I prefer one to another
- Attachments
-
- samples.7z
- (1.26 MiB) Downloaded 16 times
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: WAV file is not read
Here is the sndfile-info output for one of the WAV files in your 7z (Audacity can open both those files). With this file, libsndfile sees no error in the data chunk so it can parse it:mirh wrote:The really strange thing is that Audacity never had this kind of problem other times.steve wrote:It's an 8 channel, signed 32-bit float RIFF file.mirh wrote:In which way this is not "normal"?
Even if that program always results in this kind of file.
Code: Select all
========================================
File : loopback32.wav
Length : 4377680
RIFF : 4377672
WAVE
fmt : 40
Format : 0xFFFE => WAVE_FORMAT_EXTENSIBLE
Channels : 8
Sample Rate : 48000
Block Align : 32
Bit Width : 32
Bytes/sec : 1536000
Valid Bits : 32
Channel Mask : 0x63F (L, R, C, LFE, Ls, Rs, Sl, Sr)
Subformat
esf_field1 : 0x3
esf_field2 : 0x0
esf_field3 : 0x10
esf_field4 : 0x80 0x0 0x0 0xAA 0x0 0x38 0x9B 0x71
format : IEEE float
fact : 4
frames : 136800
data : 4377600
End
----------------------------------------
Sample Rate : 48000
Frames : 136800
Channels : 8
Format : 0x00130006
Sections : 1
Seekable : TRUE
Duration : 00:00:02.850
Signal Max : 0.0977587 (-20.20 dB)On Windows 10 I have not yet got this app to produce any files that have a data chunk understandable to libsndfile.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: WAV file is not read
Ok, while I was trying to reproduce the issue I realized the bad file comes out only after the following error is throw by the applicationGale Andrews wrote:Here is the sndfile-info output for one of the WAV files in your 7z (Audacity can open both those files).
On Windows 10 I have not yet got this app to produce any files that have a data chunk understandable to libsndfile.
Code: Select all
IAudioCaptureClient::GetBuffer set flags to 0x00000001 on pass 27582 after 6619680 frames
The thread terminated early - something bad happened
Thread HRESULT is 0x8000ffffDoes it make sense?