Exporting to aLAW / uLAW results in 16-bit format [SOLVED]

Help for Audacity on Windows.
Forum rules
ImageThis 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.
Locked
brunp
Posts: 24
Joined: Thu Apr 25, 2013 4:21 pm
Operating System: Please select

Exporting to aLAW / uLAW results in 16-bit format [SOLVED]

Post by brunp » Wed Feb 04, 2015 3:45 pm

I have a sample file that I want to export into the RFC 3551 specification aLAW and uLAW which should result in a 8-bit audio file, but all exports appear to end up in 16-bit.
Can audacity not export into the classic aLAW and/or uLAW 8-bit format?

Paul

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Exporting to aLAW and uLAW results in 16-bit format

Post by steve » Wed Feb 04, 2015 3:48 pm

brunp wrote:Can audacity not export into the classic aLAW and/or uLAW 8-bit format?
Yes it can. You need to select "other uncompressed formats" in the export dialog, then click on the "Options" button to select the format options.
See: http://manual.audacityteam.org/o/man/fi ... ialog.html
and: http://manual.audacityteam.org/o/man/wa ... tions.html

The sample rate for the exported file is taken from the "Project Rate" (lower left corner of the main Audacity interface), so check that is set to what you want before you export.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

brunp
Posts: 24
Joined: Thu Apr 25, 2013 4:21 pm
Operating System: Please select

Re: Exporting to aLAW and uLAW results in 16-bit format

Post by brunp » Wed Feb 04, 2015 4:00 pm

I have seen these HTML files and use Audacity quite often, so I am familar with the options.

I have the project rate set to: 8000Hz, and I do select "Other Uncompressed files" and select WAV (Microsoft), and the U-Law or A-Law option. Anytime I export, it shows up in 16-bit when I load it into VLC player.

I am doing everything correctly...

paul

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Exporting to aLAW and uLAW results in 16-bit format

Post by steve » Wed Feb 04, 2015 4:20 pm

brunp wrote: I am doing everything correctly...
It sounds to me that you are.
Perhaps VLC is not showing the actual format.
I use "MediaInfo" to show the format of audio files. It is free and works great, but I'd recommend using the Zip version (not the "exe" installer version) because the installer is reported to install "bundleware" (that may include adware or other undesirables) https://mediaarea.net/en/MediaInfo
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

brunp
Posts: 24
Joined: Thu Apr 25, 2013 4:21 pm
Operating System: Please select

Re: Exporting to aLAW / uLAW results in 16-bit format [SOLVE

Post by brunp » Wed Feb 04, 2015 4:29 pm

Hi Steve,

You nailed it....MediaInfo displayed the exported format correctly. Not sure why VLC would be showing it incorrectly.

thanks
Paul

Locked