The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Re: [mg4171] How to read *.bmp *.wav files?
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
John Fultz

Posts: 736
Registered: 12/7/04
Re: [mg4171] How to read *.bmp *.wav files?
Posted: Jun 16, 1996 2:15 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

The code for reading *.wav files is available in the
Miscellaneous`Audio` package, which comes standard with Mathematica
(the documentation for it is in the _Guide to Standard Packages_). I'm
not immediately aware of any code to read bitmaps, but the format is
well-documented (almost any Windows programming book that covers
graphics will have it) and not too difficult to parse. However, I will
mention that binary reading under Mathematica for Windows is
problematic--it's very slow and it sometimes does text-binary
translation which is very bad. If you decide to code this routine
yourself, I recommend reading in the bitmap file with FastBinaryFiles
(0206-783 on MathSource).


John Fultz
Applications Group
Wolfram Research, Inc.

> Does any know / have samples for reading *.bmp and *.wav files? Please
> help!
> --
> Willington Wong
> Senior Software Engineer, Embedded Systems
> Starvision Multimedia Corporation
> Suite 450, 4260 Still Creek Drive
> Burnaby, B.C., Canada, V5C 6C6
> tel: +1 (604) 205 5505
> fax: +1 (604) 205 5511

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.