Re: How to get the length of wav file?
- From: Eric Schwartz <emschwar@xxxxxxxxx>
- Date: 17 May 2006 09:55:02 -0600
"lgj573@xxxxxxxxx" <lgj573@xxxxxxxxx> writes:
Here is the code.But here will be some problem if I is called.
public static double getLength(String path) throws Exception {
This looks like Java. If you want help with Java code, you should
probably ask your question on a Java newsgroup. If you're using Perl,
File::Headerinfo::WAV will probably do what you want; I haven't used
it, but it claims to "extract useful information like their duration
and filesize" from WAV files. Audio::WAV also includes methods for
that, but it's more oriented towards working with the contents of WAV
files. If you need to do that sort of thing, it looks useful.
-=Eric
.
- References:
- How to get the length of wav file?
- From: lgj573@xxxxxxxxx
- Re: How to get the length of wav file?
- From: bdj
- Re: How to get the length of wav file?
- From: lgj573@xxxxxxxxx
- How to get the length of wav file?
- Prev by Date: New module name? Pod::Pdf2
- Next by Date: Net::SSH::Perl under Win 2000
- Previous by thread: Re: How to get the length of wav file?
- Next by thread: How do I trap DBI errors?
- Index(es):
Relevant Pages
|