sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: "Dr. Thomas Tensi" <t.tensi@gmx.de>
To: sox-users <sox-users@lists.sourceforge.net>
Subject: Re: Sine wave in an envelope
Date: Mon, 8 Jun 2020 17:13:07 +0200
Message-ID: <d3280f55-df33-0dea-d037-648bc29dd625@gmx.de> (raw)
In-Reply-To: <CAGyjer7ZcqDgD2yO3qLotFXpL2XRMnoaBDpy9PU8z-ZTUcpegg@mail.gmail.com>

Hello Jeff,


you wrote:
 > Actually I'll have both mono and stereo cases, but was asking
 > about the stereo case.  Of course I can split the stereo into two mono
 > files.  I was hoping to do it in one line, which was the real question
 > here -- the synth effect documentation says it can operate differently
 > on different channels but I couldn't figure how to make that work.

Okay, I see what you mean in the documentation for "synth" where it says
"Audio for each channel in a multi-channel audio file can be synthesised
independently".

Hmm.  I haven't checked the code, but my gut feeling is that this
multiple channel setting of the synth effect only works for _creating_
waves in different channels.

As soon as you don't have "create" as the combine operation (in your
case it is "amod)" it is hard to find out for sox whether the combine
operator should apply to the input or some previous waveform.

In general and in my opinion, sox is not very good at doing some
specific processing on single channels of an input file as in your case.
  One similar example would be a parallel compression ("New York City
compression") where a compressed signal is combined with the original:
as far as I know this only can be done with a temporary file.


          Best regards,

                  Thomas


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

  reply index

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-03 11:38 Darryl Lewis
2020-06-03 14:33 ` Dr. Thomas Tensi
2020-06-03 15:05   ` Darryl Lewis
2020-06-03 15:13     ` Dr. Thomas Tensi
2020-06-07 21:05   ` Jeff Learman
2020-06-08 11:11     ` Dr. Thomas Tensi
2020-06-08 12:20       ` Jeff Learman
2020-06-08 15:13         ` Dr. Thomas Tensi [this message]
2020-06-08 19:24         ` Jeff Learman

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=d3280f55-df33-0dea-d037-648bc29dd625@gmx.de \
    --to=sox-users@lists.sourceforge.net \
    --cc=thomas@tensi.eu \
    /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