Re: WAV (PCM) audio chopping
"Roger Binns" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <006801c4f925$ef9c98a0$3501a8c0@rogersqyvr14d3> |
> Got you. How about something along the line of: > > def trimwave(wavedatain, start, duration=None) return newwavedata > > If the input is not PCM/WAVE format, return data unchanged or raise exception? That is exactly what I want. Raise an exception on invalid data - it should only be called with a valid wav. You can make the initial version only work with mono. Roger ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt