From owner-freebsd-questions@FreeBSD.ORG Wed Jul 16 21:47:22 2003 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 A37F137B401 for ; Wed, 16 Jul 2003 21:47:22 -0700 (PDT) Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A24A43F85 for ; Wed, 16 Jul 2003 21:47:21 -0700 (PDT) (envelope-from matt@compar.com) Received: from hermes ([65.95.177.176]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with SMTP id <20030717044720.NEHY12619.tomts5-srv.bellnexxia.net@hermes>; Thu, 17 Jul 2003 00:47:20 -0400 Message-ID: <000901c34c1e$535a1bd0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "=?iso-8859-1?B?TWlra28gVHn2bORq5HJ2aQ==?=" , "BSD baby" References: <20030717004419.GA91784@mail.hitmedia.com> <20030716205247.P489@atlas.home> Date: Thu, 17 Jul 2003 00:46:02 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-questions@freebsd.org Subject: Re: how to copy just part of a file? 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, 17 Jul 2003 04:47:22 -0000 > On Wed, 16 Jul 2003, BSD baby wrote: > > > Is there an easy built-in way to copy only part of a file? > > > > I want to take a WAV audio file and copy from #__ bytes to > > #___ bytes into a new file. > > > > (I'm making 30-second clips of files.) You might find WavSplit (http://www.xmailserver.org/davide.html) useful. It will split a wav file into sections of X seconds each. It isn't part of the ports collection yet, but I just submitted a PR to add it. -- Matt Emmerton