sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Jan Stary <hans@stare.cz>
To: sox-users@lists.sourceforge.net
Subject: Re: Recording Stereo Mix and Microphone at the same time
Date: Thu, 29 Jun 2017 13:32:06 +0200	[thread overview]
Message-ID: <20170629113205.GB79943@www.stare.cz> (raw)
In-Reply-To: <yw1xinls4ybr.fsf@unicorn.mansr.com> <20170424160222.GW221@mini.home> <20170424103631.66230187@Seth> <CAH-Cc3pPm=ovSBP5aA0MQKjZmZmcJyr6b5_CUCk8=uRcU5uGcA@mail.gmail.com>

On Apr 24 14:15:55, dvidakovic123@gmail.com wrote:
> I'm trying to record both sources at the same time into a single file. Is
> this possible with Sox? If not, does anyone have any ideas or best
> practices to achieve this?

If all the inputs are different channels of the same audio device,
than this is no different than recording any other number of channels
from a single device. But that's probably not what you have.
Is the (mono?) mic connected through one audio card
and the "stereo mix" (a line-in from somewhere?) through another?

I assume you want to record both at the same time, synchronized
(such as a vocal or a solo over a mix of the instrumental tracks).
Or you want to play the stereo mix as an accompaniment and record the mic,
synchronized to the accompaniment (overdubbing).

It is more the underlying audio system's work to do this,
i.e. to warant the synchronization. For example, OpenBSD's sndio
subsystem is very good at this; e.g.

	aucat -i backing.wav -o solo.wav

will play backing.wav as an input and record solo.wav as an output,
with sample-precision. SoX is probably not the best tool for this.


	Jan


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

      parent reply	other threads:[~2017-06-29 11:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24 12:15 Recording Stereo Mix and Microphone at the same time Dino Vidakovic
2017-04-24 15:36 ` fmiser
2017-04-24 16:02 ` Doug Lee
2017-04-25  9:43   ` Måns Rullgård
2017-06-29 11:32 ` Jan Stary [this message]

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=20170629113205.GB79943@www.stare.cz \
    --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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).