Vic Cekvenich | 5 Dec 2007 01:37
Picon
Favicon

-m stop mixing

Lets say I am mixing 2 sounds... but I want the new output file to stop after 10 seconds?

tia,
.V

      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
robs | 5 Dec 2007 08:50
Picon
Favicon

Re: -m stop mixing

--- Vic Cekvenich <v.cekvenich <at> yahoo.com> wrote:

> Lets say I am mixing 2 sounds... but I want the new
> output file to stop after 10 seconds?

Try sox -m infile1 infile2 outputfile trim 0 10

      __________________________________________________________
Sent from Yahoo! - the World's favourite mail http://uk.mail.yahoo.com

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
Hugolin | 5 Dec 2007 19:51
Picon

Can't make Sox to support Ogg Vorbis and/or mp3 under windows xp


Hi all!

I have Sox 12.18.0 already compiled an .exe and I can't find a way to make
it use mp3 or ogg vorbis codec.

Can someone help me?

Unfortunately, I don't know how to compile it from scratch...
--

-- 
View this message in context: http://www.nabble.com/Can%27t-make-Sox-to-support-Ogg-Vorbis-and-or-mp3-under-windows-xp-tf4950806.html#a14175333
Sent from the SoX mailing list archive at Nabble.com.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
Thomas Barth | 11 Dec 2007 21:02
Picon

sox doesnt convert wav to adpcm vox correctly any more

Hi,
I am using SOX for converting wav files to Dialogic adpcm vox files to
get telephony voice prompts. But since the latest version the quality of
the converted files are "terrible". Is the following command still
correct to convert an 44100Hz wav file to 8000Hz vox file?

sox 1031.wav -r 8000 -c 1 1031.vox vol 1.0 polyphase stat

Thomas B

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Thomas Barth | 12 Dec 2007 14:03
Picon

Re: sox doesnt convert wav to adpcm vox correctly any more

Thomas Barth wrote:
> Hi,
> I am using SOX for converting wav files to Dialogic adpcm vox files to
> get telephony voice prompts. But since the latest version the quality of
> the converted files are "terrible". Is the following command still
> correct to convert an 44100Hz wav file to 8000Hz vox file?
> 
> sox 1031.wav -r 8000 -c 1 1031.vox vol 1.0 polyphase stat
> 
> 

It s working again. I ve downgraded SOX from 14.0.0 to 12.17.9 on my
Gentoo system
(echo >media-sound/sox-12.17.9 >> /etc/portage/package.mask)

I ve just to use the -v parameter to set the volumne again.

sox 1050.wav -r 8000 -c 1 -v 3.579 1050.vox polyphase stat

Regards
Thomas

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
robs | 12 Dec 2007 21:24
Picon
Favicon

Re: sox doesnt convert wav to adpcm vox correctly any more

--- Thomas Barth <txbarth <at> web.de> wrote:

> Thomas Barth wrote:

> > sox 1031.wav -r 8000 -c 1 1031.vox vol 1.0
> polyphase stat

I tried the above command (but not with your wav file
obviously), then used play to listen to the output
file but there was no problem.  Can you provide a
small wav file that exhibits the problem? (Or maybe
monkey.wav which comes with SoX also shows the
problem?)

      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Ryan van Roode | 14 Dec 2007 11:51
Favicon

compressing an mp3 while maintaining the sampling rate

Hello,


I am using sox to convert sound files to mp3 with a sampling rate of 44100Hz. I would like to decrease the file size as much as possible without changing the sampling rate. Does anyone know of any way of achieving this with sox? Thanks very much.

~ryan
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
Hugues Lajeunesse | 14 Dec 2007 14:30
Picon

Re: compressing an mp3 while maintaining the sampling rate

Hi,

may you decrease the bit rate? Something like -r44100 -b8 ?
Has I didn't use the mp3 with sox, I can't be sure if it's possible.

You can also use the ogg files instead of mp3, wich they have a better  
compression.

Hope this may help.

Hugues

Le Fri, 14 Dec 2007 05:51:09 -0500, Ryan van Roode <ryan <at> goanimate.com> a  
écrit:

> Hello,
> I am using sox to convert sound files to mp3 with a sampling rate of
> 44100Hz. I would like to decrease the file size as much as possible  
> without
> changing the sampling rate. Does anyone know of any way of achieving this
> with sox? Thanks very much.
>
> ~ryan

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Ryan van Roode | 17 Dec 2007 11:15
Favicon

Re: compressing an mp3 while maintaining the sampling rate

On 12/14/07, Hugues Lajeunesse <hugues <at> chyl.ca> wrote:
may you decrease the bit rate? Something like -r44100 -b8 ?
Has I didn't use the mp3 with sox, I can't be sure if it's possible.

 
Thanks for your response, Hugues. The sox man page says: "The sample data size is in bytes, 16-bit words, 32-bit long words, or 64-bit double long (long long) words.", and offers corresponding flags -b/-w/-l/-d. Changing the flag from -b to -w doesn't change the file size, however. It seems to be the same amount of information, broken into different sized chunks. So this doesn't seem to be what I'm looking for.

I have seen other sound conversion tools which allow both a bit-rate and a sampling rate to be specified during conversion. Is there really nothing like this in sox? Thanks.

~ryan
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
Ryan van Roode | 18 Dec 2007 05:23
Favicon

Re: compressing an mp3 while maintaining the sampling rate

On 12/14/07, Hugues Lajeunesse < hugues <at> chyl.ca> wrote:
may you decrease the bit rate? Something like -r44100 -b8 ?
Has I didn't use the mp3 with sox, I can't be sure if it's possible.

It looks like the solution is to take the file sox produces and put it through lame:

   lame --silent -b 80 --resample 44.1 one.mp3 two.mp3

For some reason I can't figure out how to pipe the sox output to lame, but using two separate commands works for now. Thanks very much.

~ryan

 
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

Gmane