From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 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 788991F5AE for ; Sat, 11 Jul 2020 16:00:40 +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 1juHvU-0003ty-PP; Sat, 11 Jul 2020 16:00:32 +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 1juHvT-0003tq-Hz for sox-users@lists.sourceforge.net; Sat, 11 Jul 2020 16:00:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Subject:References: In-Reply-To:Message-ID:Cc:To:From:Date:Sender:Reply-To: 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=6AjkyUGD8yhyVeh5Vbq3NXTA4P6MZ1MqrwVBQtVu+jw=; b=V0dVELepfqQKP+rFqE6zwrqI4 7Rx4sQpFo4y6kTnS1PHzR411LyevnzquqEwYYs4sqNpnPr8r1FxfZOoswYghva5pdbuD7UY3a4lNP ETltr8e4M74L+FA1NB9dUBFYYeBOKGejUoUOGom3bnfexXybDyL6S5HRAZfifAR3lZei0=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:Cc:To :From:Date:Sender:Reply-To: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=6AjkyUGD8yhyVeh5Vbq3NXTA4P6MZ1MqrwVBQtVu+jw=; b=Qc4U6M7xLtOsTjTHPrM7JcG88V VI7M/5rFvJUJeT3/FMZsa/5EFPs5U1JYSMwNq4ZUYL7V9yO5nZFNcZEAE6ZFu4AYaQfZZaTiPNNaT uDUYI/Ot6/nNvOd1C5dicUDSFTtAH17rJZaJc+S6VrUBQLsSDlXi4kKPUQBao6Tx7QcA=; Received: from sender4-op-o11.zoho.com ([136.143.188.11]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) (Exim 4.92.2) id 1juHvP-00EBDR-VL for sox-users@lists.sourceforge.net; Sat, 11 Jul 2020 16:00:31 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1594483208; cv=none; d=zohomail.com; s=zohoarc; b=cEkJ1RiUj/qLwenemOAS3yIi9YrtqvZ7/yih7jWVaJ0SndbQGlfDgmNWg3JY1qJ3Hixlt6jTEuhH1NqkJkWKnQu937F5FzkFyKZPMAq3invaLT4NIcucm491pVntUbh4DPQgSc6UvydXyn2M8SYuutAQLljOAxWo5u5Pn/HPfks= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594483208; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=6AjkyUGD8yhyVeh5Vbq3NXTA4P6MZ1MqrwVBQtVu+jw=; b=GhQHqRZv6qBNNlL6GhsPThdMNq0P1l/kAfMfTsj/a5n2iocaXGhC5WoE4YLENFC1W3UXlBgxGIfigYoODZYarb/Z7o3+LbenKcpl4i+otfDuJPOjEszIzey6VotI91YHzY3UtxuVXZXpDkbHU8TVJk3YGda4jN9JXvoGIvKVbLI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=coregears.com; spf=pass smtp.mailfrom=maxd@coregears.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=email; d=coregears.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type; b=mMjqC2tEc6g4TXJS0mYf6OhuvD8dNevggahMMeuiyajJChvQzOSr2Te6ADX1/8kN6bH7xCWVBRuZ bzRbdflW/bwlg37FsRyIhTOjigAVcFwQowqpSSBog/HddV7jwwfAUkU7Q8xdkpdSZnEBI4QQBPR/ h3qeU/VXLwmgZdKSAMk= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1594483208; s=defaultzoho; d=coregears.com; i=maxd@coregears.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type; bh=6AjkyUGD8yhyVeh5Vbq3NXTA4P6MZ1MqrwVBQtVu+jw=; b=AJk59ReCZBII+c2ya+yvVYL/oWvy8+AuitLaEsR+afo4yrjbmXXZYr7PZhYscqdF QcJgrDpwsg3ZCObx+d9VPVAHqzEf+MaeKh/uPvg3sezdBOTyB05X8nUHyUnrhvR6wPr twTLaGMZiTpzIBiuBLmxVG6dLOWJuW1UOHxVAlLw= Received: from [100.106.135.82] (185.211.159.39 [185.211.159.39]) by mx.zohomail.com with SMTPS id 1594483204674300.2568699140427; Sat, 11 Jul 2020 09:00:04 -0700 (PDT) Date: Sat, 11 Jul 2020 18:59:37 +0300 From: Maxim Doumkine To: =?utf-8?Q?M=C3=A5ns_Rullg=C3=A5rd?= Message-ID: <139b163f-9192-436a-8fd4-5c3715927e5c@Spark> In-Reply-To: References: <0713c9d8-7bdf-4b97-99b4-12e219e94d45@Spark> <9148e80a-8af7-4545-af62-bf4f3512aace@Spark> X-Readdle-Message-ID: 139b163f-9192-436a-8fd4-5c3715927e5c@Spark MIME-Version: 1.0 X-ZohoMailClient: External X-Headers-End: 1juHvP-00EBDR-VL Subject: Re: Loopback latency issue 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 Cc: sox-users@lists.sourceforge.net Content-Type: multipart/mixed; boundary="===============4680023546117589205==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============4680023546117589205== Content-Type: multipart/alternative; boundary="5f09e1fe_7545e146_1b4c" --5f09e1fe_7545e146_1b4c Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline We=E2=80=99ve tried that with no effect. :-/ it=E2=80=99s curious how it = doesn=E2=80=99t work on actual workstation but works fine on virtualized = pc. On 11 Jul 2020, 16:12 +0300, M=C3=A5ns Rullg=C3=A5rd , = wrote: > > The first thing I'd do is get rid of pulseaudio and access the ALSA > device directly. Even then, however, there are several places where > latency is added. You can find the ALSA buffer sizes currently uses by > examining /proc/asound/card0/pcm0p/sub0/hw=5Fparams (or whatever number= s > your system uses). The size (in bytes) of the main buffer in SoX is set= > with the --buffer option. Some effects have additional internal buffers= . --5f09e1fe_7545e146_1b4c Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
We=E2=80=99ve tried that with no effect. :-/ it=E2=80= =99s curious how it doesn=E2=80=99t work on actual workstation but works = fine on virtualized pc.&=23160;
On 11 Jul 2020, 16:12 +0300, M=C3=A5= ns Rullg=C3=A5rd <mans=40mansr.com>, wrote:

The first thing I'd do is get rid of pulseaudio and access the ALSA<= br /> device directly. Even then, however, there are several places where
= latency is added. You can find the ALSA buffer sizes currently uses by examining /proc/asound/card0/pcm0p/sub0/hw=5Fparams (or whatever numbers<= br /> your system uses). The size (in bytes) of the main buffer in SoX is set with the --buffer option. Some effects have additional internal buffers.<= /div>
--5f09e1fe_7545e146_1b4c-- --===============4680023546117589205== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============4680023546117589205== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============4680023546117589205==--