From: "Dr. Thomas Tensi" <t.tensi@gmx.de>
To: sox-users@lists.sourceforge.net
Subject: Re: Sine wave in an envelope
Date: Mon, 8 Jun 2020 13:11:53 +0200 [thread overview]
Message-ID: <88bb31d9-33a9-1b91-0717-395627a6a196@gmx.de> (raw)
In-Reply-To: <CAGyjer5m=kbUMjCZN3Afj12GSi4qEoNmTbLoHzP1-7uoonE6DA@mail.gmail.com>
Hello Jeff,
you wrote:
> > [similar problem as amplitude modulating a sine wave]
> I want to produce a stereo tremolo by using the sine amod
> effect, out of phase on the left and right channels.
I am not sure whether this can be done in one command, but you could
modulate the channels into left and right mono versions and combine
(merge) the file into a stereo file. I assume that your source is in mono?
To paraphrase your solution:
-----
INFILE=rd73_064__E4_082.flac
OUTFILE=x.flac
tempfileLeft=left.flac
tempfileRight=right.flac
LEN=0
OFFSET=0
phaseLeft=0
phaseRight=180
# sox command fragments
tremPrefix=synth $LEN $OFFSET
tremSuffix=2 sine amod 0.5
sox $INFILE $tempfileLeft $tremPrefix $phaseLeft $tremSuffix
sox $INFILE $tempfileRight $tremPrefix $phaseRight $tremSuffix
sox -M $tempfileLeft $tempfileRight $OUTFILE
-----
Is this what you wanted?
Best regards,
Thomas
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
next prev parent reply other threads:[~2020-06-08 11:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 11:38 Sine wave in an envelope 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 [this message]
2020-06-08 12:20 ` Jeff Learman
2020-06-08 15:13 ` Dr. Thomas Tensi
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=88bb31d9-33a9-1b91-0717-395627a6a196@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
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).