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=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,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 4A4261F5AE for ; Wed, 29 Jul 2020 09:40:18 +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 1k0iZG-0000uR-UN; Wed, 29 Jul 2020 09:40:10 +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 1k0iZF-0000uJ-Qt for sox-users@lists.sourceforge.net; Wed, 29 Jul 2020 09:40:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=To:Date:Message-Id:Subject:Mime-Version: Content-Type:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AW4z0PfJQR8mmwcEqqXmj3UBDGknfttE9SjGFSvKxDQ=; b=UQXhzFGRU7rO3e3zHTGIkVRJNp PorJ1nCoaurYSfiSJaDOAkkuFSDGVUvBW/TKKMDgz7QGvxjmeVtnvj3/61iSAj7roZdgpO/D2pFOJ 7rvGEt5M4i43TjFvHYQieRaHxuaNZ8Q96THDYjIIbG5pO9pVKWPSXD/Wfm2V4WvvvA/4=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=To:Date:Message-Id:Subject:Mime-Version:Content-Type:From:Sender:Reply-To :Cc:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=AW4z0PfJQR8mmwcEqqXmj3UBDGknfttE9SjGFSvKxDQ=; b=M Ld0g2fcJl9h4sM7XXC+m/gJN48EGkbH9jFTvGiNC+923PFUAxV4+Pn9Mzcdq6IXr/hI//zlMuQ0N9 R5Yo/O/Mqj4pMBNvuVIcBotkovwZxm/1EQMYd4p05cAuEDNCmMzyyqAfYpy1jY6irQpJzzQ65wCI7 1jAGuxs0N9xtTyaY=; Received: from smtpauth-dc2.online.net ([62.210.16.40]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.92.2) id 1k0iZC-0061B4-3u for sox-users@lists.sourceforge.net; Wed, 29 Jul 2020 09:40:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=online.net; s=folays2; h=To:Date:Message-Id:Subject:Mime-Version:Content-Type:From; bh=AW4z0PfJQR8mmwcEqqXmj3UBDGknfttE9SjGFSvKxDQ=; b=OQf8q9H7QDv0YmpB65orXeK2Sg4ZlNQNR2TtgdBVO9r1X4GUhBoBM/rilRhJtIOXlpkyOU/AqVHD7tRSnZfnImtu3Teq7w0FzsgfjudCVPSlmmx6foZym8rIMRBU65wTyhVQCG/Ks7XpH14OQTyjBhNdHXfqush/EF278OVqXa4=; Received: from [94.11.251.156] (helo=[192.168.0.3]) by smtpauth-dc2.online.net with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1k0jPn-0008MG-E6 for sox-users@lists.sourceforge.net; Wed, 29 Jul 2020 10:34:27 +0000 From: Ariel Elkin Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Message-Id: <75BB7338-3E0E-472F-A6C9-6B9C6E1153C0@arivibes.com> Date: Wed, 29 Jul 2020 10:39:57 +0100 To: sox-users@lists.sourceforge.net X-Mailer: Apple Mail (2.3273) X-auth-smtp-user: ariel@arivibes.com X-online-auth-user: FLEX_WXFHV0dRQzhNV0FHMDR1bw==wFV8QahdCEcBfdj0L8SIDmPH X-online-auth-smtp: FLEX_Q1dTR000WXVzOFFrbXF5bQ==0BVv6we936XpXhglorasd4qQSjwfjp4Ejj+r8eskOg== X-Headers-End: 1k0iZC-0061B4-3u Subject: System audio recording have very low amplitude 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: multipart/mixed; boundary="===============1461501828036661818==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============1461501828036661818== Content-Type: multipart/alternative; boundary="Apple-Mail=_A41F58D9-C3D5-49C9-9622-F1F18E8AA60F" --Apple-Mail=_A41F58D9-C3D5-49C9-9622-F1F18E8AA60F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello, I=E2=80=99m using sox to record the audio produced by the system (i.e. = from the OS and other running apps), but the recordings sound very = quiet. I first create a virtual input/output device using Blackhole = (https://github.com/ExistentialAudio/BlackHole/ = ) or Loopback = (https://rogueamoeba.com/loopback/ ). = I then start playback of a file using iTunes, and start recording thus: rec --rate 44100 --channels 2 --no dither test-output.aiff (Note that this spits out the following error messages: rec WARN formats: can't set sample rate 44100; using 48000 rec WARN formats: can't set 2 channels; using 16 However, test-output.aiff ends up being a stereo file at 44.1 kHz) test-output.aiff properly records system audio, but the mean amplitude = is about half the mean amplitude of the original sounds I played back.=20= Any thoughts?=20 Thanks Ariel= --Apple-Mail=_A41F58D9-C3D5-49C9-9622-F1F18E8AA60F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hello,

I=E2=80=99m using sox to record the audio produced by the = system (i.e. from the OS and other running apps), but the recordings = sound very quiet.

I first create a virtual input/output device using Blackhole = (https://github.com/ExistentialAudio/BlackHole/) or = Loopback (https://rogueamoeba.com/loopback/). I then start playback = of a file using iTunes, and start recording thus:
rec --rate 44100 --channels 2 --no = dither test-output.aiff

(Note that this spits out the following error = messages:
rec WARN formats: can't set sample rate = 44100; using 48000
rec WARN formats: can't set 2 channels; = using 16

However, test-output.aiff ends up being a stereo file at 44.1 = kHz)

test-output.aiff properly records system audio, but the mean = amplitude is about half the mean amplitude of the original sounds I = played back. 

Any thoughts? 

Thanks

Ariel
= --Apple-Mail=_A41F58D9-C3D5-49C9-9622-F1F18E8AA60F-- --===============1461501828036661818== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1461501828036661818== 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 --===============1461501828036661818==--