LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2015, 09:45 PM   #31
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874

sox WARN rate: rate clipped 23954 samples; decrease volume?

That's when you need the -v 0.5 to prevent clipping. But you still get a sound file inspite of the error. Which you seemed to have gotten as noise.

If it's noise when it shouldn't be, then it's got some codec or compression going on. If there's a windows app that handles the file you could use wine and it might work under linux with that.

https://developer.blackberry.com/dev...a_support.html

Seems like .wav could contain:
PCM, LPCM, A-Law, U-Law, ADPCM, GSM6.10

Mentions of a blackberry 10 simulator that might handle the codec. Although mentions that it doesn't support all the codecs.

We've tried PCM with the previous sox stuff. The ulaw, alaw, and gsm which are telephony formats are likely suspects. Sox supports a few of these, but since the file extension is wav it and others cannot guess this file type.

-A -U -o -i -a -g are options that might need trying.

so...
sox -t raw -e signed -b 32 --endian little -c 1 -r 16000 org.wav -t wav -c 2 -r 48000 convert.wav

might become...
Code:
sox -A original.wav -t wav -c 2 -r 48000 convert_alaw.wav
sox -U original.wav -t wav -c 2 -r 48000 convert_mulaw.wav
sox -o original.wav -t wav -c 2 -r 48000 convert_okiadpcm.wav
sox -i original.wav -t wav -c 2 -r 48000 convert_imaadpcm.wav
sox -a original.wav -t wav -c 2 -r 48000 convert_msadpcm.wav
sox -g original.wav -t wav -c 2 -r 48000 convert_gsmfullrate.wav
Maybe one of those would work. Plus or minus a few flags. Like I said, a sample would go a long way. Everything before original.wav is applied to the input file so the stuff after shouldn't need to change. At least not until we have a better idea of the actual file format.
 
Old 12-20-2015, 05:49 AM   #32
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Hello,
one example of a wav file is here for the next 14 days. http://www.fileconvoy.com/dfl.php?id...bbd5a7d4caf7be (3x "hello")
Any advice how to read this file in linux is welcome (I can hear it in "Win7" with the mediaplayer after loading codecs from "Philips").
 
Old 12-20-2015, 05:52 AM   #33
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
How to read that audio file in linux?

Hello,
one example of a wav audio file is here for the next 14 days. http://www.fileconvoy.com/dfl.php?id...bbd5a7d4caf7be (3x "hello")
Any advice how to read this file in linux is welcome (I can hear it in "Win7" with the mediaplayer after loading codecs from "Philips"). Thanks a lot.
 
  


Reply

Tags
debian7, player, sound, wav, wheezy



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot play WAV files with SDL audio smeezekitty Programming 0 11-03-2009 11:26 PM
how to play .wav files in evolution attachments smaudlin Linux - Software 1 11-04-2006 12:57 AM
Can't play .ogg or .wav files in KDE DaneM Linux - Software 3 11-12-2005 05:50 PM
email checker which play .wav files moeminhtun Linux - Software 1 07-13-2003 11:19 AM
wav files play ok but no CD music Rutnut Linux - Newbie 2 12-20-2000 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration