You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(21) |
Oct
(24) |
Nov
(11) |
Dec
(18) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(6) |
Feb
(4) |
Mar
(37) |
Apr
(12) |
May
(17) |
Jun
(17) |
Jul
(8) |
Aug
(5) |
Sep
(29) |
Oct
(18) |
Nov
(22) |
Dec
(41) |
2002 |
Jan
(31) |
Feb
(42) |
Mar
(41) |
Apr
(34) |
May
(12) |
Jun
(25) |
Jul
(23) |
Aug
(10) |
Sep
(20) |
Oct
(15) |
Nov
(25) |
Dec
(16) |
2003 |
Jan
(56) |
Feb
(30) |
Mar
(33) |
Apr
(13) |
May
(21) |
Jun
(6) |
Jul
(15) |
Aug
(6) |
Sep
(6) |
Oct
(14) |
Nov
(2) |
Dec
(15) |
2004 |
Jan
(28) |
Feb
(19) |
Mar
(7) |
Apr
(10) |
May
(9) |
Jun
(12) |
Jul
(15) |
Aug
(62) |
Sep
(45) |
Oct
(50) |
Nov
(45) |
Dec
(36) |
2005 |
Jan
(18) |
Feb
(17) |
Mar
(20) |
Apr
(18) |
May
(16) |
Jun
(15) |
Jul
(27) |
Aug
(27) |
Sep
(42) |
Oct
(24) |
Nov
(32) |
Dec
(21) |
2006 |
Jan
(22) |
Feb
(32) |
Mar
(32) |
Apr
(24) |
May
(18) |
Jun
(33) |
Jul
(8) |
Aug
(33) |
Sep
(22) |
Oct
(31) |
Nov
(33) |
Dec
(26) |
2007 |
Jan
(17) |
Feb
(55) |
Mar
(30) |
Apr
(10) |
May
(36) |
Jun
(33) |
Jul
(20) |
Aug
(12) |
Sep
(96) |
Oct
(27) |
Nov
(40) |
Dec
(31) |
2008 |
Jan
(71) |
Feb
(45) |
Mar
(61) |
Apr
(6) |
May
(18) |
Jun
(17) |
Jul
(14) |
Aug
(66) |
Sep
(49) |
Oct
(92) |
Nov
(57) |
Dec
(68) |
2009 |
Jan
(68) |
Feb
(52) |
Mar
(56) |
Apr
(65) |
May
(58) |
Jun
(38) |
Jul
(24) |
Aug
(75) |
Sep
(41) |
Oct
(98) |
Nov
(55) |
Dec
(107) |
2010 |
Jan
(66) |
Feb
(64) |
Mar
(45) |
Apr
(32) |
May
(90) |
Jun
(53) |
Jul
(39) |
Aug
(51) |
Sep
(102) |
Oct
(31) |
Nov
(30) |
Dec
(32) |
2011 |
Jan
(26) |
Feb
(65) |
Mar
(69) |
Apr
(35) |
May
(116) |
Jun
(23) |
Jul
(24) |
Aug
(32) |
Sep
(95) |
Oct
(60) |
Nov
(95) |
Dec
(89) |
2012 |
Jan
(139) |
Feb
(75) |
Mar
(88) |
Apr
(46) |
May
(58) |
Jun
(51) |
Jul
(95) |
Aug
(24) |
Sep
(33) |
Oct
(12) |
Nov
(18) |
Dec
(45) |
2013 |
Jan
(84) |
Feb
(56) |
Mar
(54) |
Apr
(24) |
May
(20) |
Jun
(16) |
Jul
(51) |
Aug
(75) |
Sep
(41) |
Oct
(45) |
Nov
(96) |
Dec
(38) |
2014 |
Jan
(42) |
Feb
(33) |
Mar
(47) |
Apr
(9) |
May
(50) |
Jun
(24) |
Jul
(17) |
Aug
(4) |
Sep
(10) |
Oct
(41) |
Nov
(20) |
Dec
(64) |
2015 |
Jan
(41) |
Feb
(43) |
Mar
(20) |
Apr
(14) |
May
(44) |
Jun
(34) |
Jul
(55) |
Aug
(20) |
Sep
(9) |
Oct
(10) |
Nov
(6) |
Dec
(40) |
2016 |
Jan
(17) |
Feb
(31) |
Mar
(27) |
Apr
|
May
(2) |
Jun
(19) |
Jul
(7) |
Aug
(27) |
Sep
(79) |
Oct
(4) |
Nov
(14) |
Dec
(146) |
2017 |
Jan
(7) |
Feb
(6) |
Mar
(14) |
Apr
(5) |
May
(7) |
Jun
(49) |
Jul
(27) |
Aug
(27) |
Sep
(28) |
Oct
(28) |
Nov
(26) |
Dec
(9) |
2018 |
Jan
|
Feb
(5) |
Mar
(6) |
Apr
(11) |
May
(9) |
Jun
(5) |
Jul
(14) |
Aug
(1) |
Sep
(13) |
Oct
(2) |
Nov
(3) |
Dec
(5) |
2019 |
Jan
(8) |
Feb
(8) |
Mar
(2) |
Apr
(1) |
May
(4) |
Jun
(1) |
Jul
(3) |
Aug
(6) |
Sep
|
Oct
(13) |
Nov
(4) |
Dec
(29) |
2020 |
Jan
(3) |
Feb
|
Mar
(12) |
Apr
(8) |
May
(36) |
Jun
(26) |
Jul
(27) |
Aug
(30) |
Sep
(2) |
Oct
|
Nov
(12) |
Dec
(2) |
2021 |
Jan
(4) |
Feb
(9) |
Mar
(4) |
Apr
(18) |
May
(21) |
Jun
(19) |
Jul
(5) |
Aug
(1) |
Sep
|
Oct
(16) |
Nov
(4) |
Dec
(2) |
2022 |
Jan
(5) |
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(7) |
Aug
(2) |
Sep
(3) |
Oct
|
Nov
(5) |
Dec
|
2023 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
|
May
(16) |
Jun
(1) |
Jul
|
Aug
|
Sep
(3) |
Oct
(7) |
Nov
(3) |
Dec
(2) |
2024 |
Jan
(9) |
Feb
|
Mar
(3) |
Apr
(14) |
May
(38) |
Jun
(15) |
Jul
(2) |
Aug
|
Sep
(4) |
Oct
(4) |
Nov
|
Dec
(3) |
2025 |
Jan
(15) |
Feb
(30) |
Mar
(15) |
Apr
(11) |
May
(2) |
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
(1) |
4
|
5
|
6
(2) |
7
|
8
(2) |
9
|
10
|
11
|
12
(7) |
13
(2) |
14
(7) |
15
(1) |
16
(2) |
17
|
18
(3) |
19
|
20
(5) |
21
|
22
(6) |
23
(9) |
24
(3) |
25
|
26
(3) |
27
(1) |
28
(2) |
29
(2) |
30
(1) |
31
(7) |
|
|
|
|
|
|
From: Jim O'F. <jim...@ya...> - 2008-08-31 21:06:18
|
Chris, I just read the very last paragraph of your reply again. Are you saying that even the "lame_enc.dll" won't work (I had not validated it yet)? And that the windows sox.exe does not recognize ANY external libraries? If that is the case, then the main page might want to change the comment indicating that "(with optional external library)" to "(with optional external library on non-windows systems)", or something similar. Jim Jim O'Flaherty wrote: > Chris, > > Thank you very much for your reply. > > I like your clever idea of attempting to round out each of the small > files to equal exactly 8 seconds. However, due to the nature of my > application, it will only work sporadically. Some of the files are > longer than 8 seconds and must overlap (mix) with the next one. A > such, I am trying to get to a uniform way to handle all the files. > Making special logic for files under 8 seconds and other logic for > those over 8 seconds is quite a bit more work. I will do that if it > comes down to it is the only way to solve the problem without > exploding files sizes on my HD. > > I am confused why the phrase "(with optional external library)" is > used on this page (http://sox.sourceforge.net/) when listing FLAC > (first list, right column, 8th item down). It's making it appear > similar to how I got MP3s working, by placing the "lame_enc.dll" in > the same folder as the "sox.exe". Is there a "flac_enc.dll" that's > equivalent? > > As to the speed increase using FLAC - the very slowest operation on my > computer is I/O. So, I am willing to use lots of processor time to do > lossless compression and then write out a much smaller file (way > smaller than the 10s of MB that the files begin to be towards the end > of my 20 minutes). As such, I figured that FLAC would maximize > throughput on my primary constraint, I/O. Once I get FLAC (or some > other lossless compression format) working, I will let you know what I > experience in terms of performance gain. It might be as you say, not much. > > I would rather not use Cygwin at this point. I have already invested a > number of hours in the current design. If I have to, I will. I sure > hope that adding FLAC is as simple as adding MP3 support was, just > adding a .dll to the sox.exe folder. > > > Thank you, > > Jim > > > Chris Bagwell wrote: >> Jim O'Flaherty wrote: >> >>> So some questions: >>> A) Is taking each of the 140 files and prepending it with (n * 8 >>> seconds of) silence (using the "pad" option) and then mixing the 140 >>> tracks together the proper way to approach generating the desired output >>> of 140 small samples each playing at an 8 second interval? And what >>> other options in SOX might there be to achieving this same effect? >>> >>> >> Sounds like your on the right track. I have a small suggestion that >> will save some disk space. If the majority are less then 8 seconds then >> use the soxi to find the exact length, do some script math to find how >> much to pad it out to 8 seconds and use pad to do that Then use the >> --combine concatenate option on sox to concat as many exact 8 second >> files as possible together into a single file. If they were all less >> then 8 seconds then you'd be able to do that with out the megs of >> padding at beginning. >> >> Since I think you said they are not all 8 seconds, at least concat'ing >> all that you can into bigger files first will reduce the number >> intermediate files you need to concat with megs of silenece. >> >>> B) How much will FLAC speed up the processing? Using .wav as my >>> output, saving tracks with 320 second of silence was taking 10s of >>> seconds due to the file being 10s of MB large. >>> >>> >> I'm not sure that using FLAC will help with anything except disk space. >> >>> C) Where can I go to find out what to dl and where to place it >>> regarding the FLAC library so that SOX can use it? >>> >>> >>> >>> >> Your using windows, right? The cygwin version of sox on download page >> contains FLAC support so you may give it a try. It may have a file >> pathname issues in your script since cygwin emulates POSIX environment. >> >> SoX under windows doesn't support dynamic detecting of DLL's so not much >> you could do expect recompile using mingw or VC++ to add in FLAC >> support. Thats not been done as far as I know before. >> >> Chris >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Sox-users mailing list >> Sox...@li... >> https://lists.sourceforge.net/lists/listinfo/sox-users >> >> > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > |
From: Jim O'F. <jim...@ya...> - 2008-08-31 20:58:51
|
Chris, Thank you very much for your reply. I like your clever idea of attempting to round out each of the small files to equal exactly 8 seconds. However, due to the nature of my application, it will only work sporadically. Some of the files are longer than 8 seconds and must overlap (mix) with the next one. A such, I am trying to get to a uniform way to handle all the files. Making special logic for files under 8 seconds and other logic for those over 8 seconds is quite a bit more work. I will do that if it comes down to it is the only way to solve the problem without exploding files sizes on my HD. I am confused why the phrase "(with optional external library)" is used on this page (http://sox.sourceforge.net/) when listing FLAC (first list, right column, 8th item down). It's making it appear similar to how I got MP3s working, by placing the "lame_enc.dll" in the same folder as the "sox.exe". Is there a "flac_enc.dll" that's equivalent? As to the speed increase using FLAC - the very slowest operation on my computer is I/O. So, I am willing to use lots of processor time to do lossless compression and then write out a much smaller file (way smaller than the 10s of MB that the files begin to be towards the end of my 20 minutes). As such, I figured that FLAC would maximize throughput on my primary constraint, I/O. Once I get FLAC (or some other lossless compression format) working, I will let you know what I experience in terms of performance gain. It might be as you say, not much. I would rather not use Cygwin at this point. I have already invested a number of hours in the current design. If I have to, I will. I sure hope that adding FLAC is as simple as adding MP3 support was, just adding a .dll to the sox.exe folder. Thank you, Jim Chris Bagwell wrote: > Jim O'Flaherty wrote: > >> So some questions: >> A) Is taking each of the 140 files and prepending it with (n * 8 >> seconds of) silence (using the "pad" option) and then mixing the 140 >> tracks together the proper way to approach generating the desired output >> of 140 small samples each playing at an 8 second interval? And what >> other options in SOX might there be to achieving this same effect? >> >> > Sounds like your on the right track. I have a small suggestion that > will save some disk space. If the majority are less then 8 seconds then > use the soxi to find the exact length, do some script math to find how > much to pad it out to 8 seconds and use pad to do that Then use the > --combine concatenate option on sox to concat as many exact 8 second > files as possible together into a single file. If they were all less > then 8 seconds then you'd be able to do that with out the megs of > padding at beginning. > > Since I think you said they are not all 8 seconds, at least concat'ing > all that you can into bigger files first will reduce the number > intermediate files you need to concat with megs of silenece. > >> B) How much will FLAC speed up the processing? Using .wav as my >> output, saving tracks with 320 second of silence was taking 10s of >> seconds due to the file being 10s of MB large. >> >> > I'm not sure that using FLAC will help with anything except disk space. > >> C) Where can I go to find out what to dl and where to place it >> regarding the FLAC library so that SOX can use it? >> >> >> >> > Your using windows, right? The cygwin version of sox on download page > contains FLAC support so you may give it a try. It may have a file > pathname issues in your script since cygwin emulates POSIX environment. > > SoX under windows doesn't support dynamic detecting of DLL's so not much > you could do expect recompile using mingw or VC++ to add in FLAC > support. Thats not been done as far as I know before. > > Chris > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > > |
From: robs <aq...@ya...> - 2008-08-31 19:45:54
|
--- On Fri, 29/8/08, Mike Hirst <mik...@bl...> wrote: > Where can I find an explanation of the terms... Please see the updated docs at http://sox.sourceforge.net/Docs/HomePage Cheers, Rob Send instant messages to your online friends http://uk.messenger.yahoo.com |
From: Michael C. <ch...@mc...> - 2008-08-31 14:38:48
|
On Sunday 31 August 2008 2:51 pm, you wrote: > Quick reply, as I'm not a Windows guru, and I hope you will get a better > reply(!). OK, Chris posted at the same time. Trust his; rather than mine!! Would just add, do watch volume when mixing. You do _not_ want SoX to halve the volume each time it mixes two files, as your silence will mean there is no risk of clipping anyway. In the manual. MC |
From: Michael C. <ch...@mc...> - 2008-08-31 14:31:03
|
Hi Quick reply, as I'm not a Windows guru, and I hope you will get a better reply(!). You are trying to generate 18min 40s of output (140*8 seconds)(?), which is about a quarter to a third of a CD (as WAV) so about 200 MBytes. If this is a 'one off' fair enough, if not you might be better writing a script (and may find a bootable Linux DVD a lot easier ... in the end). If you have the disc space why not continue till you have 200 Mbytes? Presuming FLAC has a Windows version, just install that and do a conversion of final.wav to final.flac? (If FLAC is installed before SoX I suspect it just finds it and you could do the conversion in SoX, but unless discspace is a problem then compressing the 'mix' 140 times (each stage) is just going to slow everything down!!) FLAC will give you an output of 30 to 50% of the original (see their site for less 'if i remember aright' figures!). With lots of silence you should get a better figure than the typical. If you want smaller (about 10% of original) use Vorbis (as in Ogg-Vorbis) or ... MP3. (But it will be lossy, unlike FLAC). If you save compression to the last step, then SoX as it is can do the hard work. If you want a GUI compression then try Audacity (just load your final.wav in and export as flac or ogg or MP3) ---again you will need the relevant libraries but the Audacity site should tell you. The SoX build literature does tell you all about optional libraries. But my suspicion is that on Windows you may have to install them first and then re-install SoX. As before, if this is not a 'one off', it would be worth getting everything working, if not, the above may give you a quick/dirty work around. Michael BTW There is surely an easy way of padding each file to 8 seconds, then just concatenating the lot, but if you have already padded them all why start again? (Though the 14th mix is going to be of two 200 MB files !!) That way the 140 input files would only total about 200 MBytes. Your method (if I understood) will need about 20 GBytes of input files, but presumably you make mix and delete, then repeat? On Sunday 31 August 2008 3:32 am, you wrote: > Hi, > > I have a project where I am taking a series of small sound files (.wav) > and attempting to combine them into a single .wav file. In a specific > order and at every 8 second marker starting from 0, I need one of these > small sound files to play until it completes (typically in less than 8 > seconds). And then on the next 8 second marker, another small sound file > plays. I have 140 these spanning 20 minutes. > > My first approach was to take each of the small sound files and prepend > (using "pad") a number of seconds to the file. However, by the time it > got to the 40th file, what was a small sound file before (~422K) was > growing into the 10s of MB. I think this is because the output was a > .wav and there is no compression in a .wav file. Here's an example > Windows DOS command line entry: > %SOX% %PATH_SS%\024.wav %PATH_TEMP%\024_silence40.wav pad 304.000 norm > > I am not stuck with .wav except as my input type. I want to experiment > with using .flac. However, apparently some optional library is required. > And, I have looked all over the SOX site and have not been able to > figure out what that library might be, where to find it and what to do > with it once I found it. I then went to the FLAC site. That was no help > as there were no SOX references there. > > So some questions: > A) Is taking each of the 140 files and prepending it with (n * 8 > seconds of) silence (using the "pad" option) and then mixing the 140 > tracks together the proper way to approach generating the desired output > of 140 small samples each playing at an 8 second interval? And what > other options in SOX might there be to achieving this same effect? > B) How much will FLAC speed up the processing? Using .wav as my > output, saving tracks with 320 second of silence was taking 10s of > seconds due to the file being 10s of MB large. > C) Where can I go to find out what to dl and where to place it > regarding the FLAC library so that SOX can use it? > > > Thank you, > > Jim > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users |
From: Chris B. <ch...@cn...> - 2008-08-31 14:27:24
|
Jim O'Flaherty wrote: > So some questions: > A) Is taking each of the 140 files and prepending it with (n * 8 > seconds of) silence (using the "pad" option) and then mixing the 140 > tracks together the proper way to approach generating the desired output > of 140 small samples each playing at an 8 second interval? And what > other options in SOX might there be to achieving this same effect? > Sounds like your on the right track. I have a small suggestion that will save some disk space. If the majority are less then 8 seconds then use the soxi to find the exact length, do some script math to find how much to pad it out to 8 seconds and use pad to do that Then use the --combine concatenate option on sox to concat as many exact 8 second files as possible together into a single file. If they were all less then 8 seconds then you'd be able to do that with out the megs of padding at beginning. Since I think you said they are not all 8 seconds, at least concat'ing all that you can into bigger files first will reduce the number intermediate files you need to concat with megs of silenece. > B) How much will FLAC speed up the processing? Using .wav as my > output, saving tracks with 320 second of silence was taking 10s of > seconds due to the file being 10s of MB large. > I'm not sure that using FLAC will help with anything except disk space. > C) Where can I go to find out what to dl and where to place it > regarding the FLAC library so that SOX can use it? > > > Your using windows, right? The cygwin version of sox on download page contains FLAC support so you may give it a try. It may have a file pathname issues in your script since cygwin emulates POSIX environment. SoX under windows doesn't support dynamic detecting of DLL's so not much you could do expect recompile using mingw or VC++ to add in FLAC support. Thats not been done as far as I know before. Chris |
From: Jim O'F. <jim...@ya...> - 2008-08-31 03:32:27
|
Hi, I have a project where I am taking a series of small sound files (.wav) and attempting to combine them into a single .wav file. In a specific order and at every 8 second marker starting from 0, I need one of these small sound files to play until it completes (typically in less than 8 seconds). And then on the next 8 second marker, another small sound file plays. I have 140 these spanning 20 minutes. My first approach was to take each of the small sound files and prepend (using "pad") a number of seconds to the file. However, by the time it got to the 40th file, what was a small sound file before (~422K) was growing into the 10s of MB. I think this is because the output was a .wav and there is no compression in a .wav file. Here's an example Windows DOS command line entry: %SOX% %PATH_SS%\024.wav %PATH_TEMP%\024_silence40.wav pad 304.000 norm I am not stuck with .wav except as my input type. I want to experiment with using .flac. However, apparently some optional library is required. And, I have looked all over the SOX site and have not been able to figure out what that library might be, where to find it and what to do with it once I found it. I then went to the FLAC site. That was no help as there were no SOX references there. So some questions: A) Is taking each of the 140 files and prepending it with (n * 8 seconds of) silence (using the "pad" option) and then mixing the 140 tracks together the proper way to approach generating the desired output of 140 small samples each playing at an 8 second interval? And what other options in SOX might there be to achieving this same effect? B) How much will FLAC speed up the processing? Using .wav as my output, saving tracks with 320 second of silence was taking 10s of seconds due to the file being 10s of MB large. C) Where can I go to find out what to dl and where to place it regarding the FLAC library so that SOX can use it? Thank you, Jim |
From: gabriel t. <joe...@gm...> - 2008-08-30 00:33:17
|
hi i have Version 12.17.9 installed on a debian... when issuing the following command: soxmix -S gia.mp3 jungle.mp3 test.wav i have a final.wav created, but this file is not a mix of both files, it "contains" only the second one...any clue ? thanks for your help ! regards Gabriel |
From: Mike H. <mik...@bl...> - 2008-08-29 16:40:25
|
Where can I find an explanation of the terms: Scaled by Maximum amplitude Minimum amplitude Midline amplitude Mean norm Mean amplitude RMS amplitude Maximum delta Minimum delta Mean delta RMS delta Rough frequency Volume adjustment as used in output from sox stat? I'd also like to know what units are used for each measurement. -- Mike Hirst Managing Director DAS-360° 16 Ocean View Whitley Bay Tyne & Wear NE26 1AL tel: 0191 289 3186 email: mik...@bl... web: http://www.das360.net |
From: sqweek <sq...@gm...> - 2008-08-29 02:02:07
|
On Fri, Aug 29, 2008 at 12:17 AM, Chris Rogus <cri...@gm...> wrote: > I still don't quite get the clipping business as it relates to the sox > software (I see the problem with my speakers, but how does sox know how high > my speakers can handle?...) The amplitude at any sample is represented in software as an integer. That integer has a limited size. For argument's sake, say it has a range of 0-9. Now, at a particular sample you might have an amplitude of 5 in one file and 6 in another. To mix signals you can just add their samples together, which with no volume scaling leaves you with an amplitude of 11 - too high to represent in software! So, the output sample gets clipped to 9. -sqweek |
From: Chris R. <cri...@gm...> - 2008-08-28 16:17:06
|
Thanks, -v 1 definitely did the trick, exactly how I wanted. However, for those who want to also use this, I'd like to clarify that the -v 1 goes before all the input files, such as: sox -m -v 1 a.wav -v 1 b.wav out.wav I still don't quite get the clipping business as it relates to the sox software (I see the problem with my speakers, but how does sox know how high my speakers can handle?...) but I am not going to worry about it -- the sounds mix exactly as they are, as if they were just playing at the same time together, and I am satisfied. On Thu, Aug 28, 2008 at 2:27 AM, robs <aq...@ya...> wrote: > --- On Wed, 27/8/08, Chris Rogus <cri...@gm...> wrote: > > out how to just put all the tracks together in one file > > (all files with > > stereo sound, so two channels) *without* changing the > > volume of any of the > > inputs in the final output. Can anyone tell me how to do > > that? I just want > > There are a few options: > > sox -m -v 1 ... > > will do exactly what you ask (at most risk of clipping). > > sox --mix-power ... > > will mix to a volume that is roughly as loud as one input file (with a > small risk of clipping) -- Note: not available before SoX 14.1.0. > > sox -m ... norm > > (SoX 14.1.0) normalises the mixed audio to the loudest possible without > clipping > > sox -m ... compand ... > > can be used to compress the mix to make it sound louder. > > > I'm not worried about > > clipping.... I think -- though I'm not quite sure what > > the clipping the > > docs refer to is in this context and if someone could > > explain that to me as > > well, that might be helpful. > > There's a small section on clipping in the manual page, just before the > section on combining; otherwise, see > http://en.wikipedia.org/wiki/Clipping_(audio)<http://en.wikipedia.org/wiki/Clipping_%28audio%29> > > Cheers, > Rob > > Send instant messages to your online friends http://uk.messenger.yahoo.com > |
From: robs <aq...@ya...> - 2008-08-28 06:27:11
|
--- On Wed, 27/8/08, Chris Rogus <cri...@gm...> wrote: > out how to just put all the tracks together in one file > (all files with > stereo sound, so two channels) *without* changing the > volume of any of the > inputs in the final output. Can anyone tell me how to do > that? I just want There are a few options: sox -m -v 1 ... will do exactly what you ask (at most risk of clipping). sox --mix-power ... will mix to a volume that is roughly as loud as one input file (with a small risk of clipping) -- Note: not available before SoX 14.1.0. sox -m ... norm (SoX 14.1.0) normalises the mixed audio to the loudest possible without clipping sox -m ... compand ... can be used to compress the mix to make it sound louder. > I'm not worried about > clipping.... I think -- though I'm not quite sure what > the clipping the > docs refer to is in this context and if someone could > explain that to me as > well, that might be helpful. There's a small section on clipping in the manual page, just before the section on combining; otherwise, see http://en.wikipedia.org/wiki/Clipping_(audio) Cheers, Rob Send instant messages to your online friends http://uk.messenger.yahoo.com |
From: Chris R. <cri...@gm...> - 2008-08-27 20:51:42
|
Hi, I have been using sox to merge a few different audio tracks together into just one file, with the -m (mix) combining method. However, it very noticably affects the volume of the different pieces once they're all put together, especially if one of the inputs is of a significantly lower or higher volume than the other input(s) -- intentionally so, I might add. I found this "explained" in the docs, that -m lowers the volume of the inputs before combining, in the "Input File Combining" section: http://sox.sourceforge.net/sox.html#lbAJ -- right at the end, the three paragraphs before "Output Files". However, it didn't really help me figure out how to just put all the tracks together in one file (all files with stereo sound, so two channels) *without* changing the volume of any of the inputs in the final output. Can anyone tell me how to do that? I just want the input sounds, exactly as they are, combined together all in one final output file, so I don't want the volume adjusted, and I'm not worried about clipping.... I think -- though I'm not quite sure what the clipping the docs refer to is in this context and if someone could explain that to me as well, that might be helpful. For reference, it really is very simple what I'm doing currently, just: sox -m a.wav b.wav out.wav Only, out.wav definitely has a different volume for both a and b than they had going in. I want them to stay as they are. Thanks a bunch. |
From: robs <aq...@ya...> - 2008-08-26 17:06:40
|
--- On Tue, 26/8/08, Mats Folkesson <mat...@er...> wrote: > From: Mats Folkesson <mat...@er...> > Subject: [SoX-users] How extract one channel from a stereo file > To: sox...@li... > Date: Tuesday, 26 August, 2008, 12:05 PM > Hi, > how do I extract one channel from a stereo file...? Try something like this: sox infile -c 1 outfile mixer -l (or -r) /Rob Send instant messages to your online friends http://uk.messenger.yahoo.com |
From: Mats F. <mat...@er...> - 2008-08-26 11:05:32
|
Hi, how do I extract one channel from a stereo file...? /Mats |
From: Mats F. <mat...@er...> - 2008-08-26 10:54:05
|
From: Jim O'F. <jim...@ya...> - 2008-08-24 20:06:28
|
Chris, This is the line that worked exactly as I needed: %SOX% %SAMPLES%\utterance1.wav utterance1_silence.wav pad 1.349 And when I checked utterance1_silence.wav in Audacity, it was precisely 1.349 seconds of silence prepended in front of utterance1.wav. Perfect Thank you very much for your help. Jim Jim O'Flaherty wrote: > Chris, > > Awesome! I definitely have copying working (and have been converting > mono files to stereo). > > I will look at the pad option. I had not seen that at all. And once I > get it working, I will reply here to let you know what I figured out. > > BTW, the reason I took the route I did is it was one of the examples > at the top of this page: > http://sox.sourceforge.net/sox.html - 3rd example down > > > Thank you, > > Jim > > > Chris Bagwell wrote: >> Jim, >> >> I was just starting with the basics to see if you can copy a input file >> to an output file (with no silence added) because you were showing >> command lines that wouldn't work. If you can do that then you can next >> move to using effects to add silence. >> >> Once you get a straight copy working then look at the soxeffect man page >> for the pad effect as it can pad silence to file. >> >> sox infile outfile pad 4000s >> >> will add 4000 samples to front. I'll leave it up to you to compute how >> many samples are required for your 1349ms or to convert 1.349ms into the >> time format that sox accepts. >> >> Chris >> >> Jim O'Flaherty wrote: >> >>> Chris, >>> >>> I think I might not be making myself as clear as I need to... >>> Input: utterance1.wav (immediate and continuous talking for 4,012ms) >>> Output: utterance1_silence.wav (where this is 1,349ms of silence >>> followed by the whole of utterance1.wav, i.e. there needs to be >>> silence and then talking for a total of 5,361ms) >>> >>> >>> Jim >>> >>> >>> Jim O'Flaherty wrote: >>> >>>> Chris, >>>> >>>> Thank you very much for your quick response. >>>> >>>> I am confused. The utterance1.wav file (which is a valid .wav file) >>>> has no silence before it. I am looking for an output file of >>>> utterance1_silence.wav to be created which has 1,349 milliseconds of >>>> silence prepended. I don't have a .wav file containing silence. >>>> >>>> If I just enter the command you show, where does the additional >>>> 1,349ms of silence get generated and prepended? >>>> >>>> >>>> Jim >>>> >>>> >>>> Chris Bagwell wrote: >>>> >>>>> Jim O'Flaherty wrote: >>>>> >>>>> >>>>>> The command lines I have tried: >>>>>> A) %SOX% -r 44100 -a -2 -c 1 %SAMPLES%\utterance1.wav utterance1_silence.wav >>>>>> Received: An error of => C:\Archive\Apps\Sound\sox-14.1.0\sox.exe >>>>>> formats: bad input format for file >>>>>> `C:\Data\Projects\sox-test\Compositions\Tracks\Example1\utterance1.wav': >>>>>> data encoding was not specified >>>>>> >>>>>> >>>>>> What am I doing wrong? Any help would be greatly appreciated. >>>>>> >>>>>> >>>>>> >>>>>> >>>>> Lets start with some basics... First, assuming its a valid WAV file your >>>>> using as input then there are no need for any command line options >>>>> *before* the input filename. It will read the file and use right >>>>> values. Above will just confuse things. >>>>> >>>>> Next, if you want the output file to be exact same options as input >>>>> file; just with silence added; then you also do not need to specify any >>>>> options *after* the input filename. Options *after* input filenames are >>>>> applied to output file. >>>>> >>>>> sox utterance1.wav utterance1_silence.wav >>>>> >>>>> Chris >>>>> >>>>> >>>>> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Sox-users mailing list >> Sox...@li... >> https://lists.sourceforge.net/lists/listinfo/sox-users >> >> > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > |
From: robs <aq...@ya...> - 2008-08-24 06:54:38
|
--- On Sun, 24/8/08, Jim O'Flaherty <jim...@ya...> wrote: > BTW, the reason I took the route I did is it was one of the > examples at > the top of this page: > http://sox.sourceforge.net/sox.html - 3rd example down Ah yes, I was never particularly happy with the text for that example; I've now updated it with something hopefully a little clearer. Cheers, Rob Send instant messages to your online friends http://uk.messenger.yahoo.com |
From: Pete K. <pe...@gm...> - 2008-08-24 01:34:32
|
Hi, Thank you very much for all your help. Following the example suggested, I tried : sox -m sample.wav music.wav result.wav pad 1 10 repeat 9 and sox sample.wav music.wav result.wav fade t 0:0:20 But I can only hear the sample.wav played once at the beginning of the result.wav instead of being mixed into the music.wav every 15 minutes. Any hint on how to solve this problem will be greatly appreciated. Thanks, Pete |
From: Jim O'F. <jim...@ya...> - 2008-08-23 23:29:47
|
Chris, Awesome! I definitely have copying working (and have been converting mono files to stereo). I will look at the pad option. I had not seen that at all. And once I get it working, I will reply here to let you know what I figured out. BTW, the reason I took the route I did is it was one of the examples at the top of this page: http://sox.sourceforge.net/sox.html - 3rd example down Thank you, Jim Chris Bagwell wrote: > Jim, > > I was just starting with the basics to see if you can copy a input file > to an output file (with no silence added) because you were showing > command lines that wouldn't work. If you can do that then you can next > move to using effects to add silence. > > Once you get a straight copy working then look at the soxeffect man page > for the pad effect as it can pad silence to file. > > sox infile outfile pad 4000s > > will add 4000 samples to front. I'll leave it up to you to compute how > many samples are required for your 1349ms or to convert 1.349ms into the > time format that sox accepts. > > Chris > > Jim O'Flaherty wrote: > >> Chris, >> >> I think I might not be making myself as clear as I need to... >> Input: utterance1.wav (immediate and continuous talking for 4,012ms) >> Output: utterance1_silence.wav (where this is 1,349ms of silence >> followed by the whole of utterance1.wav, i.e. there needs to be >> silence and then talking for a total of 5,361ms) >> >> >> Jim >> >> >> Jim O'Flaherty wrote: >> >>> Chris, >>> >>> Thank you very much for your quick response. >>> >>> I am confused. The utterance1.wav file (which is a valid .wav file) >>> has no silence before it. I am looking for an output file of >>> utterance1_silence.wav to be created which has 1,349 milliseconds of >>> silence prepended. I don't have a .wav file containing silence. >>> >>> If I just enter the command you show, where does the additional >>> 1,349ms of silence get generated and prepended? >>> >>> >>> Jim >>> >>> >>> Chris Bagwell wrote: >>> >>>> Jim O'Flaherty wrote: >>>> >>>> >>>>> The command lines I have tried: >>>>> A) %SOX% -r 44100 -a -2 -c 1 %SAMPLES%\utterance1.wav utterance1_silence.wav >>>>> Received: An error of => C:\Archive\Apps\Sound\sox-14.1.0\sox.exe >>>>> formats: bad input format for file >>>>> `C:\Data\Projects\sox-test\Compositions\Tracks\Example1\utterance1.wav': >>>>> data encoding was not specified >>>>> >>>>> >>>>> What am I doing wrong? Any help would be greatly appreciated. >>>>> >>>>> >>>>> >>>>> >>>> Lets start with some basics... First, assuming its a valid WAV file your >>>> using as input then there are no need for any command line options >>>> *before* the input filename. It will read the file and use right >>>> values. Above will just confuse things. >>>> >>>> Next, if you want the output file to be exact same options as input >>>> file; just with silence added; then you also do not need to specify any >>>> options *after* the input filename. Options *after* input filenames are >>>> applied to output file. >>>> >>>> sox utterance1.wav utterance1_silence.wav >>>> >>>> Chris >>>> >>>> >>>> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > > |
From: Chris B. <ch...@cn...> - 2008-08-23 23:17:13
|
Jim, I was just starting with the basics to see if you can copy a input file to an output file (with no silence added) because you were showing command lines that wouldn't work. If you can do that then you can next move to using effects to add silence. Once you get a straight copy working then look at the soxeffect man page for the pad effect as it can pad silence to file. sox infile outfile pad 4000s will add 4000 samples to front. I'll leave it up to you to compute how many samples are required for your 1349ms or to convert 1.349ms into the time format that sox accepts. Chris Jim O'Flaherty wrote: > Chris, > > I think I might not be making myself as clear as I need to... > Input: utterance1.wav (immediate and continuous talking for 4,012ms) > Output: utterance1_silence.wav (where this is 1,349ms of silence > followed by the whole of utterance1.wav, i.e. there needs to be > silence and then talking for a total of 5,361ms) > > > Jim > > > Jim O'Flaherty wrote: >> Chris, >> >> Thank you very much for your quick response. >> >> I am confused. The utterance1.wav file (which is a valid .wav file) >> has no silence before it. I am looking for an output file of >> utterance1_silence.wav to be created which has 1,349 milliseconds of >> silence prepended. I don't have a .wav file containing silence. >> >> If I just enter the command you show, where does the additional >> 1,349ms of silence get generated and prepended? >> >> >> Jim >> >> >> Chris Bagwell wrote: >>> Jim O'Flaherty wrote: >>> >>>> The command lines I have tried: >>>> A) %SOX% -r 44100 -a -2 -c 1 %SAMPLES%\utterance1.wav utterance1_silence.wav >>>> Received: An error of => C:\Archive\Apps\Sound\sox-14.1.0\sox.exe >>>> formats: bad input format for file >>>> `C:\Data\Projects\sox-test\Compositions\Tracks\Example1\utterance1.wav': >>>> data encoding was not specified >>>> >>>> >>>> What am I doing wrong? Any help would be greatly appreciated. >>>> >>>> >>>> >>> Lets start with some basics... First, assuming its a valid WAV file your >>> using as input then there are no need for any command line options >>> *before* the input filename. It will read the file and use right >>> values. Above will just confuse things. >>> >>> Next, if you want the output file to be exact same options as input >>> file; just with silence added; then you also do not need to specify any >>> options *after* the input filename. Options *after* input filenames are >>> applied to output file. >>> >>> sox utterance1.wav utterance1_silence.wav >>> >>> Chris >>> >>> |
From: Jim O'F. <jim...@ya...> - 2008-08-23 22:44:18
|
Chris, I think I might not be making myself as clear as I need to... Input: utterance1.wav (immediate and continuous talking for 4,012ms) Output: utterance1_silence.wav (where this is 1,349ms of silence followed by the whole of utterance1.wav, i.e. there needs to be silence and then talking for a total of 5,361ms) Jim Jim O'Flaherty wrote: > Chris, > > Thank you very much for your quick response. > > I am confused. The utterance1.wav file (which is a valid .wav file) > has no silence before it. I am looking for an output file of > utterance1_silence.wav to be created which has 1,349 milliseconds of > silence prepended. I don't have a .wav file containing silence. > > If I just enter the command you show, where does the additional > 1,349ms of silence get generated and prepended? > > > Jim > > > Chris Bagwell wrote: >> Jim O'Flaherty wrote: >> >>> The command lines I have tried: >>> A) %SOX% -r 44100 -a -2 -c 1 %SAMPLES%\utterance1.wav utterance1_silence.wav >>> Received: An error of => C:\Archive\Apps\Sound\sox-14.1.0\sox.exe >>> formats: bad input format for file >>> `C:\Data\Projects\sox-test\Compositions\Tracks\Example1\utterance1.wav': >>> data encoding was not specified >>> >>> >>> What am I doing wrong? Any help would be greatly appreciated. >>> >>> >>> >> Lets start with some basics... First, assuming its a valid WAV file your >> using as input then there are no need for any command line options >> *before* the input filename. It will read the file and use right >> values. Above will just confuse things. >> >> Next, if you want the output file to be exact same options as input >> file; just with silence added; then you also do not need to specify any >> options *after* the input filename. Options *after* input filenames are >> applied to output file. >> >> sox utterance1.wav utterance1_silence.wav >> >> Chris >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Sox-users mailing list >> Sox...@li... >> https://lists.sourceforge.net/lists/listinfo/sox-users >> >> > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > |
From: Jim O'F. <jim...@ya...> - 2008-08-23 22:30:21
|
Chris, Thank you very much for your quick response. I am confused. The utterance1.wav file (which is a valid .wav file) has no silence before it. I am looking for an output file of utterance1_silence.wav to be created which has 1,349 milliseconds of silence prepended. I don't have a .wav file containing silence. If I just enter the command you show, where does the additional 1,349ms of silence get generated and prepended? Jim Chris Bagwell wrote: > Jim O'Flaherty wrote: > >> The command lines I have tried: >> A) %SOX% -r 44100 -a -2 -c 1 %SAMPLES%\utterance1.wav utterance1_silence.wav >> Received: An error of => C:\Archive\Apps\Sound\sox-14.1.0\sox.exe >> formats: bad input format for file >> `C:\Data\Projects\sox-test\Compositions\Tracks\Example1\utterance1.wav': >> data encoding was not specified >> >> >> What am I doing wrong? Any help would be greatly appreciated. >> >> >> > Lets start with some basics... First, assuming its a valid WAV file your > using as input then there are no need for any command line options > *before* the input filename. It will read the file and use right > values. Above will just confuse things. > > Next, if you want the output file to be exact same options as input > file; just with silence added; then you also do not need to specify any > options *after* the input filename. Options *after* input filenames are > applied to output file. > > sox utterance1.wav utterance1_silence.wav > > Chris > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > > |
From: Chris B. <ch...@cn...> - 2008-08-23 22:11:43
|
Jim O'Flaherty wrote: > The command lines I have tried: > A) %SOX% -r 44100 -a -2 -c 1 %SAMPLES%\utterance1.wav utterance1_silence.wav > Received: An error of => C:\Archive\Apps\Sound\sox-14.1.0\sox.exe > formats: bad input format for file > `C:\Data\Projects\sox-test\Compositions\Tracks\Example1\utterance1.wav': > data encoding was not specified > > > What am I doing wrong? Any help would be greatly appreciated. > > Lets start with some basics... First, assuming its a valid WAV file your using as input then there are no need for any command line options *before* the input filename. It will read the file and use right values. Above will just confuse things. Next, if you want the output file to be exact same options as input file; just with silence added; then you also do not need to specify any options *after* the input filename. Options *after* input filenames are applied to output file. sox utterance1.wav utterance1_silence.wav Chris |
From: Jim O'F. <jim...@ya...> - 2008-08-23 21:58:55
|
All, I am attempting to use Sox on Windows XP to prepend some silence to a .wav file. I am having all sorts of difficulty figuring out the command line parameters. I have read the online man pages over and over trying to figure out the right combination. My goal: To prepend 1,349 milliseconds of silence to a file called utterance1.wav (which contains a spoken phrase lasting 4 seconds at 705kbps in a single channel) The command lines I have tried: A) %SOX% -r 44100 -a -2 -c 1 %SAMPLES%\utterance1.wav utterance1_silence.wav Received: An error of => C:\Archive\Apps\Sound\sox-14.1.0\sox.exe formats: bad input format for file `C:\Data\Projects\sox-test\Compositions\Tracks\Example1\utterance1.wav': data encoding was not specified B) %SOX% -r 44100 -u -2 -c 1 %SAMPLES%\utterance1.wav utterance1_silence.wav Received: command executes without error and file is output, and when played it has an absolutely horrible noisy background and the voice track does not seem delayed at all. C) %SOX% -r 44100 -A -2 -c 1 %SAMPLES%\utterance1.wav utterance1_silence.wav Received: An error of => C:\Archive\Apps\Sound\sox-14.1.0\sox.exe formats: bad input format for file `C:\Data\Projects\sox-test\Compositions\Tracks\Example1\utterance1.wav': data encoding was not specified And when I tried using the -n option, I could not figure out how to get the command to stop without hitting Ctrl-C and then having a huge file (+50MB) filled with silence. What am I doing wrong? Any help would be greatly appreciated. Thank you, Jim |