everything related to duct tape audio suite (dtas)
 help / color / mirror / code / Atom feed
From: Rene Maurer <rm@cumparsita.ch>
To: dtas-all@nongnu.org
Subject: Unwanted trim after source edit
Date: Sat, 23 May 2020 13:05:56 +0200	[thread overview]
Message-ID: <87d06uc3mz.fsf@alperose.cumparsita.ch> (raw)

Hello

I have added an additional parameter (LPASS) to the sox source using
"dtas-sourceedit sox". After this my sox source is as follows:

---
command: exec sox "$INFILE" $SOXFMT - $TRIMFX $RGFX $LPASS
env:
   LPASS: sinc 0-900
tryorder: 0

When I now add a song to the queue with dtas-enq, the applied filter works and
I can see it with ps:

pts/1  SL  0:00 play -q -ts32 -c2 -r44100 -
pts/1  S   0:00 sox /home/x/ori.flac -ts32 -c2 -r44100 - sinc 0-900

When I change the additional parameter (LPASS) while a song is played the
applied filter changes but in the output of ps I see that also some kind of
trim is active:

pts/1  SL  0:01 play -q -ts32 -c2 -r44100 -
pts/1  S   0:00 sox /home/x/ori.flac -ts32 -c2 -r44100 - trim 1228800s sinc 0-999

This happens when I use "dtas-sourceedit sox" and also when I use "dtas-ctl
source ed sox env.LPASS="sinc 0-999”” to change the parameter.

Do I use the source in a completely wrong way (should I use sink instead?) or
what is the reason for this trim?

Thanks René


             reply	other threads:[~2020-05-23 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-23 11:05 Rene Maurer [this message]
     [not found] ` <20200523140525.yprijrqoq6kwilll@gmail.com>
2020-05-23 14:09   ` James Rowe
2020-05-23 15:19     ` 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=87d06uc3mz.fsf@alperose.cumparsita.ch \
    --to=rm@cumparsita.ch \
    --cc=dtas-all@nongnu.org \
    --subject='Re: Unwanted trim after source edit' \
    /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 \
		dtas-all@nongnu.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://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.audio.dtas
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for project(s) associated with this inbox:

	../../dtas.git

AGPL code for this site: git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/public-inbox.git