From owner-freebsd-multimedia Sat Nov 24 5:34:32 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailout05.sul.t-online.de (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id EE5C637B416; Sat, 24 Nov 2001 05:34:28 -0800 (PST) Received: from fwd01.sul.t-online.de by mailout05.sul.t-online.de with smtp id 167cwt-0001Y0-0B; Sat, 24 Nov 2001 14:34:27 +0100 Received: from Gatekeeper.FreeBSD.org (520047440004-0001@[217.81.1.156]) by fmrl01.sul.t-online.com with esmtp id 167cwo-1XAIPAC; Sat, 24 Nov 2001 14:34:22 +0100 Received: from StefanEsser.FreeBSD.org (StefanEsser [10.0.0.1]) by Gatekeeper.FreeBSD.org (Postfix) with ESMTP id 59F8D607C; Sat, 24 Nov 2001 14:34:14 +0100 (CET) Received: by StefanEsser.FreeBSD.org (Postfix, from userid 200) id 96AE92C95; Sat, 24 Nov 2001 14:35:20 +0100 (CET) Date: Sat, 24 Nov 2001 14:35:20 +0100 From: Stefan Esser To: Christoph Kukulies Cc: freebsd-multimedia@FreeBSD.ORG, Stefan Esser Subject: Re: off topic - need help from an expert Message-ID: <20011124143520.A20031@StefanEsser.FreeBSD.org> Reply-To: Stefan Esser References: <200111231639.fANGdFt56057@gilberto.physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200111231639.fANGdFt56057@gilberto.physik.rwth-aachen.de> User-Agent: Mutt/1.3.21i X-Sender: 520047440004-0001@t-dialin.net Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2001-11-23 17:39 +0100, Christoph Kukulies wrote: > > I have a music tune which I want to play at half speed but same pitch. > (It contains some be-bop portions which are played so fast that it is hard > to write them down while hearing). > I've heard this could be done by downsampling or repeat or some > such transformation. Don't know exactly. > > Could that be done with sox or lame? I have the file as .wav or .mp3. > Could also convert to .aiff. From the sox man page: stretch factor [window fade shift fading] Time stretch file by a given factor. Change duration without affecting the pitch. factor of stretching: >1.0 lengthen, <1.0 shorten dura- tion. window size is in ms. Default is 20ms. The fade option, can be "lin". shift ratio, in [0.0 1.0]. Default depends on stretch factor. 1.0 to shorten, 0.8 to lengthen. The fading ratio, in [0.0 0.5]. The amount of a fade's default depends on factor and shift. Didn't try it myself, though ... Gruß, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message