From: Eric Wong <email@example.com> To: Rene Maurer <firstname.lastname@example.org> Cc: email@example.com Subject: Re: SOX_OPTS gone? Date: Fri, 1 Nov 2019 22:10:48 +0000 Message-ID: <20191101221048.GA25285@dcvr> (raw) In-Reply-To: <firstname.lastname@example.org> Rene Maurer <email@example.com> wrote: > Hello > > I have used SOX_OPTS for a long time in the source to add some > effects. For example: dtas-ctl source ed sox env.SOX_OPTS="sinc -850". > > I can see this with dtas-sourceedit sox: > > ,---- > | --- > | command: exec sox "$INFILE" $SOXFMT - $TRIMFX $RGFX > | env: > | SOX_OPTS: sinc -850 > | tryorder: 0 > `---- > > As $SOX_OPTS is (no longer?) in <command:> the sinc effect in the given > example is not applied. An a old installation dtas-sourceedit sox gives > me: > > ,---- > | --- > | command: exec sox "$INFILE" $SOXFMT - $TRIMFX $RGFX $SOX_OPTS > | env: !!omap > | - SOX_OPTS: sinc -850 > | tryorder: 0 > `---- > > > When I add $SOX_OPTS to <command:> the effect works as expected. SOX_OPTS is implemented by sox(1) itself, not dtas. Furthermore, SOX_OPTS is intended for "--" options (e.g. "--no-clobber"), not effects chains such as "sinc". I think you added $SOX_OPTS to "command:" yourself, since I can't find evidence in dtas.git history that ever put $SOX_OPTS in the command-line. > What is the (new) recommended way to add an effect to the > source. dtas-sourceedit isn't an option for me as normally I only use > <dtas-ctl source ed>. You can put arbitrary variables there, such as MYFX, of course: command: exec sox "$INFILE" $SOXFMT - $TRIMFX $RGFX $MYFX env: !!omap - MYFX: sinc -850 Btw, I started looking into your auto-pause thing the other day but got sidetracked by Ruby 2.7.0dev problems :< I wish I had written this in Perl5 or even C99...
next prev parent reply other threads:[~2019-11-01 22:11 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-11-01 14:19 Rene Maurer 2019-11-01 22:10 ` Eric Wong [this message] [not found] ` <firstname.lastname@example.org> 2019-11-02 21:16 ` Eric Wong 2019-11-04 6:21 ` Rene Maurer
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-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://80x24.org/dtas/README * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20191101221048.GA25285@dcvr \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ /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
everything related to duct tape audio suite (dtas) This inbox may be cloned and mirrored by anyone: git clone --mirror https://80x24.org/dtas-all git clone --mirror http://ou63pmih66umazou.onion/dtas-all # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V1 dtas-all dtas-all/ https://80x24.org/dtas-all \ firstname.lastname@example.org public-inbox-index dtas-all Example config snippet for mirrors. Newsgroups are available over NNTP: nntp://news.public-inbox.org/inbox.comp.audio.dtas nntp://ou63pmih66umazou.onion/inbox.comp.audio.dtas note: .onion URLs require Tor: https://www.torproject.org/ code repositories for the project(s) associated with this inbox: ../../dtas.git AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git