Toshiyuki Sakata | 1 Feb 2004 05:16
Picon

RE: How to convert to a .raw

Hi,

I realy would appreciate, if anyone help me.

Thanks,

Sakata

-----Original Message-----
From: Toshiyuki Sakata
To: 'sox-users <at> lists.sourceforge.net'
Sent: 29/1/2004 22:39
Subject: How to convert to a .raw

Hi All,

I'm trying to convert a .wav file to .raw format, and I did'nt have
sucess.
The format that I need to convert to is:

.raw PCM (no header)
8000 samples per second
8 bits per sample
uLaw compression
Maximum ring size - 16080 samples
Minimum ring size - 240 samples
Number of samples in the ring is evenly divisible by 240
Ring starts and ends at the zero crossing

Could anybody help me?
(Continue reading)

Ove Peter | 1 Feb 2004 12:11
Picon
Picon

Re: RE: How to convert to a .raw

Hi,

you'll need to convert to filetype .raw with sox and specify your 
parameters before the output file. The sox man page describes the 
parameters nicely.

Something like:
sox -V ocean.wav -t raw -r 8000 -U -b ocean.raw

I don't know about the ring size thing you mention below, but I hope this 
commandline gives you a start.

Ove

On 2004-02-01 at 05:16:41 [+0100], you wrote:
> Hi,
> 
> I realy would appreciate, if anyone help me.
> 
> Thanks,
> 
> Sakata
> 
> -----Original Message-----
> From: Toshiyuki Sakata
> To: 'sox-users <at> lists.sourceforge.net'
> Sent: 29/1/2004 22:39
> Subject: How to convert to a .raw
> 
> Hi All,
(Continue reading)

Levi Bard | 1 Feb 2004 23:43

Re: RE: How to convert to a .raw

>> I'm trying to convert a .wav file to .raw format, and I did'nt have
>> sucess.
>> The format that I need to convert to is:
>>
>> .raw PCM (no header)
>> 8000 samples per second
>> 8 bits per sample
>> uLaw compression
>> Maximum ring size - 16080 samples
>> Minimum ring size - 240 samples
>> Number of samples in the ring is evenly divisible by 240 Ring starts and
>> ends at the zero crossing

Actually, sox has a builtin type for ulaw, .ul.

So, something like `sox blah.wav blah.ul` should work fine.  If you really
want, you can name it blah.raw afterward.

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Toshiyuki Sakata | 2 Feb 2004 19:25
Picon

RE: RE: How to convert to a .raw

Hi Levi,

It works too.

Thank you very much,

Sakata

-----Original Message-----
From: Levi Bard [mailto:levi <at> bard.sytes.net]
Sent: domingo, 1 de fevereiro de 2004 19:44
To: sox-users <at> lists.sourceforge.net
Subject: Re: [SoX-users] RE: How to convert to a .raw

>> I'm trying to convert a .wav file to .raw format, and I did'nt have
>> sucess.
>> The format that I need to convert to is:
>>
>> .raw PCM (no header)
>> 8000 samples per second
>> 8 bits per sample
>> uLaw compression
>> Maximum ring size - 16080 samples
>> Minimum ring size - 240 samples
>> Number of samples in the ring is evenly divisible by 240 Ring starts and
>> ends at the zero crossing

Actually, sox has a builtin type for ulaw, .ul.

So, something like `sox blah.wav blah.ul` should work fine.  If you really
(Continue reading)

Toshiyuki Sakata | 2 Feb 2004 19:24
Picon

RE: RE: How to convert to a .raw

Hi Ove,

It works very well.

Thanks,

Sakata

-----Original Message-----
From: Ove Peter [mailto:ovepeter <at> gmx.de]
Sent: domingo, 1 de fevereiro de 2004 08:12
To: sox-users <at> lists.sourceforge.net
Subject: Re: [SoX-users] RE: How to convert to a .raw

Hi,

you'll need to convert to filetype .raw with sox and specify your 
parameters before the output file. The sox man page describes the 
parameters nicely.

Something like:
sox -V ocean.wav -t raw -r 8000 -U -b ocean.raw

I don't know about the ring size thing you mention below, but I hope this 
commandline gives you a start.

Ove

On 2004-02-01 at 05:16:41 [+0100], you wrote:
> Hi,
(Continue reading)

Kevin Cosgrove | 2 Feb 2004 19:08

Invert one channel?


I'd like to be able to invert one channel in a stereo sound file.  
Can SoX do this for me?  I don't see how, but I thought I'd ask.

Thanks....

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
James H. Cloos Jr. | 5 Feb 2004 21:28
Favicon
Gravatar

Alsa 1.0.2 api [was: Re: ALSA support]

I tried this on my gentoo/x86 box and was unable to get sox's
configure to detect alsa.

Kernel is 2.6, libraries are all up to date.  (Alsa is 1.0.2.)

And that seems to be the problem.  It looks like the alsa api
has changed and sox's alsa.c and configure need updating again.

Has anyone here been keeping a close enough tabs on alsa to update
sox w/o researching the changes?  If not I could take a look at it.

-JimC

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Jimen Ching | 5 Feb 2004 22:54
Favicon

Re: Invert one channel?

On Mon, 2 Feb 2004, Kevin Cosgrove wrote:
>I'd like to be able to invert one channel in a stereo sound file.
>Can SoX do this for me?  I don't see how, but I thought I'd ask.

Probably not with a single command.  But you could try separating the two
channels into two files and inverting the channel you want.  Then merging
the files back together.

--jc
--

-- 
Jimen Ching (WH6BRR)      jching <at> flex.com     wh6brr <at> uhm.ampr.org

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Jimen Ching | 5 Feb 2004 22:55
Favicon

Re: Alsa 1.0.2 api [was: Re: ALSA support]

On Thu, 5 Feb 2004, James H. Cloos Jr. wrote:
>Has anyone here been keeping a close enough tabs on alsa to update
>sox w/o researching the changes?  If not I could take a look at it.

Go ahead.  I've been busy, so I haven't kept up.

--jc
--

-- 
Jimen Ching (WH6BRR)      jching <at> flex.com     wh6brr <at> uhm.ampr.org

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Kevin Cosgrove | 5 Feb 2004 23:20

Re: Invert one channel?


On 5 February 2004 at 11:54, Jimen Ching <jching <at> flex.com> wrote:

> On Mon, 2 Feb 2004, Kevin Cosgrove wrote:
> >I'd like to be able to invert one channel in a stereo sound file.
> >Can SoX do this for me?  I don't see how, but I thought I'd ask.
> 
> Probably not with a single command.  But you could try separating the two
> channels into two files and inverting the channel you want.  Then merging
> the files back together.

OK.  Can SoX invert the separated single channel?  How?

Thanks again....

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

Gmane