sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: Ariel Elkin <ariel@arivibes.com>
To: sox-users@lists.sourceforge.net
Subject: System audio recording have very low amplitude
Date: Wed, 29 Jul 2020 10:39:57 +0100
Message-ID: <75BB7338-3E0E-472F-A6C9-6B9C6E1153C0@arivibes.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 951 bytes --]

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 (https://github.com/ExistentialAudio/BlackHole/ <https://github.com/ExistentialAudio/BlackHole/>) or Loopback (https://rogueamoeba.com/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

[-- Attachment #1.2: Type: text/html, Size: 1688 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 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 index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29  9:39 Ariel Elkin [this message]
2020-07-29 20:04 ` Jeremy Nicoll - ml sox users
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:
  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=75BB7338-3E0E-472F-A6C9-6B9C6E1153C0@arivibes.com \
    --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

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.io/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git