unofficial mirror
 help / color / mirror / Atom feed
From: Jeremy Nicoll - ml sox users <>
Subject: Re: System audio recording have very low amplitude
Date: Wed, 29 Jul 2020 21:04:41 +0100
Message-ID: <> (raw)
In-Reply-To: <>

On 2020-07-29 10:39, Ariel Elkin wrote:
> Hello,
> I’m 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
> (
> <>) or 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.

What OS are you using?  (I see from those links that the apps are MacOS,
which I know nothing about.  Someone else might do; also what version?)

Does MacOS have an internal audio mixer that determines the levels of 
from various apps and how they go to other devices?  There's certainly 
of those in Windows - so eg if I was going to record audio streamed via 
BBC's iPlayer and Firefox, I'd start by temporarily turning off the 
sources of sound that could get in the way (eg the various tones Windows
error-message boxes will play, eg when it insists on telling me that 
I rename a file it may not work properly in future...). I've found out 
the hard way, as it's ruined some recordings.

Jeremy Nicoll - my opinions are my own

Sox-users mailing list

  reply	other threads:[~2020-07-29 20:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29  9:39 Ariel Elkin
2020-07-29 20:04 ` Jeremy Nicoll - ml sox users [this message]
2020-07-30 13:30 Ariel Elkin
2020-07-30 15:01 ` Måns Rullgård

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:

  List information:

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

  git send-email \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link unofficial mirror

This inbox may be cloned and mirrored by anyone:

	git clone --mirror

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 sox-users sox-users/ \
	public-inbox-index sox-users

Example config snippet for mirrors.
Newsgroups are available over NNTP:
 note: .onion URLs require Tor:

code repositories for the project(s) associated with this inbox:

AGPL code for this site: git clone