From owner-freebsd-multimedia Mon Mar 3 13:10:10 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9769A37B401 for ; Mon, 3 Mar 2003 13:10:09 -0800 (PST) Received: from gicco.homeip.net (dclient80-218-75-162.hispeed.ch [80.218.75.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 036D643FB1 for ; Mon, 3 Mar 2003 13:10:08 -0800 (PST) (envelope-from hampi@rootshell.be) Received: from localhost.here (idefix@gicco.homeip.net [127.0.0.1]) by gicco.homeip.net (8.12.6/8.12.6) with ESMTP id h23L9LDr000833 for ; Mon, 3 Mar 2003 22:09:21 +0100 (CET) (envelope-from hampi@rootshell.be) Received: (from idefix@localhost) by localhost.here (8.12.6/8.12.6/Submit) id h23L9KnI000832 for freebsd-multimedia@FreeBSD.ORG; Mon, 3 Mar 2003 22:09:20 +0100 (CET) X-Authentication-Warning: localhost.here: idefix set sender to hampi@rootshell.be using -f Date: Mon, 3 Mar 2003 22:09:20 +0100 From: Hanspeter Roth To: freebsd-multimedia@FreeBSD.ORG Subject: Re: concatenating audio files Message-ID: <20030303210920.GA478@gicco.homeip.net> Reply-To: freebsd-multimedia@FreeBSD.ORG Mail-Followup-To: freebsd-multimedia@FreeBSD.ORG References: <20030302191026.GA552@gicco.homeip.net> <20030302160339.28b7b37c.nospam@hiltonbsd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030302160339.28b7b37c.nospam@hiltonbsd.com> User-Agent: Mutt/1.4i 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 Mar 02 at 16:03, Stephen Hilton spoke: > for xloop in `ls -c1 *.wav` > do > sox "${xloop}" -t raw - | cat - >> mtracks.raw > # sox strips off all header info from wav files so combining is possible > rm "${xloop}" > done > > sox -r 44100 -w -s -c 2 mtracks.raw "${mytitle}.wav" > # sox now writes back from raw file to wav format with header Thank you Stephen, this works! -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message