CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
  Wav to GSM using Sox

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  gmcust3
      gmcust3
Wav to GSM using Sox
#1
Peeking in the Member Window
Joined: 2009/10/28
From
Posts: 22
I have created a Wav file using sound recorder.

I want to convert it into GSM 8 bit but cant do it.

[root@vici ~]# sox -t wav recording.wav -r 8000 -c1 -t gsm rrcordings.gsm resamp le -ql
sox: Failed reading recording.wav: WAV file has unknown format type of 22
You have new mail in /var/spool/mail/root
[root@vici ~]# sox -t wav recording.wav -r 8000 -c1 -t gsm rrcordings.gsm resamp le -ql
sox: Failed reading recording.wav: WAV file has unknown format type of 22
[root@vici ~]# sox -t wav recording.wav -r 8000 -c1 -t gsm rrcordings.gsm resamp le -ql
sox: Input and Output rates must be different to use resample effect
[root@vici ~]# sox -t wav recording.wav -r 8000 -c1 -t gsm rrcordings.gsm resample -ql
sox: Failed reading recording.wav: WAV file has unknown format type of 22

Any advice on this will definitely help.
Posted on: 2009/11/7 23:15
Create PDF from Post Print
Top
  •  skolnick
      skolnick
Re: Wav to GSM using Sox
#2
Regular Board Member
Joined: 2007/11/24
From
Posts: 87
The input file seems to be strange to sox, so it cannot process it. Try using file to get the information of the input file like this:

# file <input.wav>

then, post them here, maybe then some ideas come up.

Regards.
Posted on: 2009/11/8 3:27
Create PDF from Post Print
Top
  •  gmcust3
      gmcust3
Re: Wav to GSM using Sox
#3
Peeking in the Member Window
Joined: 2009/10/28
From
Posts: 22
[root@vici ~]# file recording.wav
recording.wav: RIFF (little-endian) data, WAVE audio, mono 8000 Hz
[root@vici ~]#
Posted on: 2009/11/9 16:50
Create PDF from Post Print
Top
  •  gmcust3
      gmcust3
Re: Wav to GSM using Sox
#4
Peeking in the Member Window
Joined: 2009/10/28
From
Posts: 22
What next ?
Posted on: 2009/11/10 16:41
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com