Article View: borland.public.cppbuilder.multimedia
Article #751Play length of WAV in seconds?
From: Dave
Date: Tue, 05 Nov 2002 00:39
Date: Tue, 05 Nov 2002 00:39
9 lines
1212 bytes
1212 bytes
is there a simple way to get/calculate the run time of a wav file. I know its embedded in the header: something like length = samples / samplerate ?? but which bytes hold sample rate and data starts where.. any help would be appreciated..
Technical Details
Message-ID:
<1b4esukg764ssd6jggno5ns52f3cv4168t@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0fc,3032b24542591630,start X-Google-Attributes: gid10d0fc,public X-Google-ArrivalTime: 2002-11-04 16:47:01 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: Dave <bob@bobnet.net> Newsgroups: borland.public.cppbuilder.multimedia Subject: Play length of WAV in seconds? Date: Mon, 04 Nov 2002 19:39:16 -0500 Organization: MindSpring Enterprises Lines: 9 Message-ID: <1b4esukg764ssd6jggno5ns52f3cv4168t@4ax.com> NNTP-Posting-Host: 42.20.55.53 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 5 Nov 2002 00:37:32 GMT X-Newsreader: Forte Agent 1.91/32.564