From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 208.118.235.0/24 X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: dtas-all@80x24.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5CB6C1F4E1 for ; Wed, 14 Jan 2015 04:55:43 +0000 (UTC) Received: from localhost ([::1]:42662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBFza-00012D-7d for dtas-all@80x24.org; Tue, 13 Jan 2015 23:55:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBFzY-000128-Lp for dtas-all@nongnu.org; Tue, 13 Jan 2015 23:55:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBFzV-0003WV-E7 for dtas-all@nongnu.org; Tue, 13 Jan 2015 23:55:40 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:47829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBFzV-0003WM-6S for dtas-all@nongnu.org; Tue, 13 Jan 2015 23:55:37 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4B10C209C5 for ; Tue, 13 Jan 2015 23:55:35 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Tue, 13 Jan 2015 23:55:35 -0500 X-Sasl-enc: hvmz+clogSBHt5RuB5fyNkGmM/+LdajK0F2LfBJkOB7a 1421211334 Received: from loco5 (unknown [178.39.50.170]) by mail.messagingengine.com (Postfix) with ESMTPA id 892C46800AE; Tue, 13 Jan 2015 23:55:34 -0500 (EST) Date: Wed, 14 Jan 2015 05:56:54 +0100 From: Rene Maurer To: Eric Wong Subject: Re: Adding fade effect Message-ID: <20150114055654.517bf6a6@loco5> In-Reply-To: <20150112220116.GA5148@dcvr.yhbt.net> References: <20150112122353.2004b8bc@loco5> <20150112220116.GA5148@dcvr.yhbt.net> X-Mailer: Claws Mail X-Operating-System: GNU/Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.27 Cc: dtas-all@nongnu.org X-BeenThere: dtas-all@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dtas-all-bounces+dtas-all=80x24.org@nongnu.org Sender: dtas-all-bounces+dtas-all=80x24.org@nongnu.org Eric Wong wrote: > command: exec sox "$INFILE" $SOXFMT - $TRIMFX fade 0 =3D0 5 >=20 > I think the above fade example requires sox 14.4.x and later, I have SoX v14.4.1 but the "=3D0 syntax" isn't supported. Surprisingly doing just command: exec sox "$INFILE" $SOXFMT - $TRIMFX fade 0 5 5 on a playing song starts fade out immediate and does the job (fade out current song) as desired! > if you're using an older version you'll probably need to calculate > the "=3D0" offset based on the length of the track itself, but > also need to take into account the offset set by the $TRIMFX > variable (if you're seeking) This was my first idea but as already said, this seams not to be necessary... > Again, I recommend editing the source instead of the sink as it won't > restart the device and for most effects, there won't be an audible > gap. Done. It works well! The documentation http://dtas.80x24.org/dtas-player_effects.txt brought me on the wrong way: ,---- | 1. source effects | | - anything which does not change the length of the audio `---- Ren=C3=A9