[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unwanted trim after source edit

From: Rene Maurer
Subject: Unwanted trim after source edit
Date: Sat, 23 May 2020 13:05:56 +0200
User-agent: notmuch


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
   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 

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 via email to

[Prev in Thread] Current Thread [Next in Thread]