sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Erich Eckner <erich@eckner.net>
To: sox-users@lists.sourceforge.net
Subject: Re: volume extremely low when combining many files
Date: Fri, 23 Sep 2016 06:56:22 +0200	[thread overview]
Message-ID: <d2af3562-405d-eec1-fdd7-aaadfad3bb09@eckner.net> (raw)
In-Reply-To: <6C04A1EE-C25C-48BB-AFD9-9D8EEF08E0D1@gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 3079 bytes --]

Hi Bob,

I think the problem is related to "dither". Two suggestions:
try disabling dither ("-D") in all but the last sox command and
try to minimize the number of "snippets" you combine, e.g.: put
non-overlapping sounds in one file in the first step. This way you will
end up with less dither-noise.

cheers,
Erich

On 22.09.2016 19:56, Bob S wrote:
>> When you say 'silence' do you mean no signal at all, so if you looked at
>> it in a waveform editor there would be no waveform at all, or do you 
>> just
>> mean very quiet (ie a small waveform)?
>>
>> What does the output of sox, with the  stat  and  stats   effects look
>> like for these files?   If you trim out one of the sections that you 
>> think
>> is silent, what do stat & stats say about such a section?
>>
>> What do stat & stats say about one of the result file's meant-to-be 
>> silent
>> sections?
>>
>> Personally rather than trying to do the whole thing in one command, I'd
>> suggest you try working in changing the level of just one or two of the
>> small files, and examine them then with stat & stats.  Then look at the
>> file you get if you mix those two files together, and see if you can see
>> what levels are changing.
>>
>> -- 
>> Jeremy Nicoll - my opinions are my own
> 
> 
> Thanks Jeremy.  
> 
> Well, I am using the ‘pad’ command to insert what I assume is absolute silence. 
> 
> I have not used stat & stats, I’ll have to read up on those.
> 
> Also, for this example, I am not even changing the volume of each individual sample/track.  Everything is at full volume.
> So say for example I have 4 sound effects being assembled (when really it is 100 — if I actually just have 4 then this doesn’t happen).
> Each effect is 1/4 of a second long and they are spaced along a two second gap. And say they are all actually the same sound:
> 
> / sound 1/ ………………………………………………………………………………
> …………………………/ sound 1/ ……………………………………………………
> ………………………………………………………/ sound 1/ ………………………
>  …………………………………………………………………………….../ sound 1/
> 
> So in my first loop I assemble each of those four tracks, using ‘pad’ to place them at the correct position along the whole soundtrack.
> Then in the second pass I mix them all together.  And for some reason all that padded silence is adding up to static noise.
> 
> I will do some more investigation and try the stats thing.  But theoretically ‘pad’ should just add absolute silence, right? Adding 100 tracks of
> it together shouldn’t add up to noise, should it?
> 
> Thanks
> Bob
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users
> 


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 79 bytes --]

------------------------------------------------------------------------------

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

  reply	other threads:[~2016-09-23  4:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21 23:10 volume extremely low when combining many files Bob S
2016-09-22  5:35 ` Erich Eckner
2016-09-22 16:19   ` Bob S
2016-09-22 17:37     ` Jeremy Nicoll - ml sox users
2016-09-22 17:56       ` Bob S
2016-09-23  4:56         ` Erich Eckner [this message]
2016-09-23 21:43           ` Bob S
2016-09-24  5:06             ` Erich Eckner
2016-09-24 15:41               ` Jan Stary
2016-09-24 17:14                 ` Erich Eckner
2016-09-27 20:55                   ` Bob S
2016-09-27 21:30                     ` Erich Eckner
2016-09-29 16:40                       ` Bob S
2016-09-29 16:49                       ` Bob S
2016-09-24 17:49               ` Bob S
2016-09-22 18:07       ` Bob S

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d2af3562-405d-eec1-fdd7-aaadfad3bb09@eckner.net \
    --to=sox-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).