From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 70CE91F453 for ; Wed, 26 Sep 2018 18:35:57 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1g5EfB-0002gJ-87; Wed, 26 Sep 2018 18:35:53 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1g5EfA-0002gD-Ro for sox-users@lists.sourceforge.net; Wed, 26 Sep 2018 18:35:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/j2uMGNCiPO8WpHVTnF6d3HClCMFvNL4wBc0MxFJWWg=; b=MvyWjxoNdmeqljq87EmeIBWChx wMrG0hJ7UM6Vo3wLndpyL+/ye+GVpIyv+r90ExhxFgpz8RjvLwuIqoFPyyCYjF43J3O44Awf0IjbZ t9jXXZhR746VwMjMeM7IA9SENagv1FHAIdLBR0DMh7MpkQqYDtR1eAHIEXR0Pde/S4DM=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To: From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=/j2uMGNCiPO8WpHVTnF6d3HClCMFvNL4wBc0MxFJWWg=; b=J0Sk7cVei/mAzAG8e1pASUeDE+ fXLXqPE6Y5RiXGy1m0GUQcQlFQoqghhV7l/P+vEO0rZt2uRNjTkQRDbFrEG1Gfhl0rVyCjiwvDPr/ ChBw4w+zaUrELN3ec/t286S2U8fWinBW/yNwB6Nn7zfbb/a+42zxyGcok6MKXkO5jAJY=; Received: from ns.stare.cz ([79.98.77.229] helo=mx.stare.cz) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1g5Ef8-00766l-CL for sox-users@lists.sourceforge.net; Wed, 26 Sep 2018 18:35:52 +0000 Received: from www.stare.cz (localhost [127.0.0.1]) by www.stare.cz (OpenSMTPD) with ESMTP id f4830ecb for ; Wed, 26 Sep 2018 20:35:39 +0200 (CEST) Date: Wed, 26 Sep 2018 20:35:39 +0200 From: Jan Stary To: sox-users@lists.sourceforge.net Message-ID: <20180926183539.GA93685@www.stare.cz> Mail-Followup-To: sox-users@lists.sourceforge.net References: <20180925194254.GA13391@www.stare.cz> <20180926181651.GA77937@www.stare.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180926181651.GA77937@www.stare.cz> User-Agent: Mutt/1.7.1 (2016-10-04) X-Headers-End: 1g5Ef8-00766l-CL Subject: Re: remove known sample from audio X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net On Sep 26 20:16:51, hans@stare.cz wrote: > > I am able to remove the spill in this > > specific case (with outstanding results) > > for example for mic1.wav with commands > > sox mic2.wav mic2id.wav pad 0.0115 0 vol -0.13 > > sox -m -v 1 mic1.wav -v 1 mic2id.wav mic1clean.wav stat > > i.e. by inverting the other mic and mixing that _at suitable_ point in time > > and suitable power to the signal to be cleaned. 343 * 0.0115 = 3.9445, so was the drums about 4 meters from the bass mic? I tried fiddling with the constants you found. For example, shifting the vol from -0.13 by steps of 0.01 to -0.19 (the rest of the process being the same) becomes almost as bad as the original problem rather rapidly. So the "peak" on the scale of volume-candidates should be quite sharp. Even more so for the delay (not surprisingly): both 0.0114 and 0.0116 already sound no good. So the scale for the delay candidates should be at least as fine as 0.0001, and the peak should again be sharp. Jan _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users