From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 01:56:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DD8016A4CE for ; Thu, 18 Mar 2004 01:56:02 -0800 (PST) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8F1443D1F for ; Thu, 18 Mar 2004 01:56:00 -0800 (PST) (envelope-from dion@bredband.net) Received: from Hecate.my.hell ([213.113.217.169] [213.113.217.169]) by mxfep02.bredband.com with SMTP id <20040318095559.OAG9724.mxfep02.bredband.com@Hecate.my.hell>; Thu, 18 Mar 2004 10:55:59 +0100 Date: Thu, 18 Mar 2004 10:56:51 +0100 From: Peder Blom To: zhangweiwu@realss.com Message-Id: <20040318105651.289da92d.dion@bredband.net> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: downmix wave file from stereo to mono X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 09:56:02 -0000 On Thu, 18 Mar 2004 16:45:49 +0800 "Zhang Weiwu" wrote: > Today I got a simple job to convert a 600MB stereo .wav file to mono > .wav file. Very simple task. > > First I read the lame(1) manual carefully, and decide it cannot help. > I tried to install several sound editor, glame tried to pull down the > gtk1 library and depended packages, so stopped it. audacity takes too > long time to compile (still doing now). I tried sweep, and it hung my > machine; it seems trying to load the whole wave file into memory. I > find xwava compiles correctly, runs okay, but it can do downmix "only > when the file fits memory". I also tried several other ports I don't > remember now. Now I worked the whole afternoon without any progress. > > I think there must be some handy tools can do this. On audio port > directory I tried > make search key=mono > make search key=downmix > Both returned nothing. > > So what do you suggest me to use? ports/audio/sox should be able to do what you want.