MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to read *.bmp *.wav files?

  • To: mathgroup at
  • Subject: [mg4233] Re: [mg4171] How to read *.bmp *.wav files?
  • From: John Fultz <jfultz>
  • Date: Tue, 18 Jun 1996 03:28:59 -0400
  • Sender: owner-wri-mathgroup at

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
jfultz at
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
> willington_wong at


  • Prev by Date: Re: More "Logical" functions?
  • Next by Date: Re: help! to input data...
  • Previous by thread: How to read *.bmp *.wav files?
  • Next by thread: Modelling T-Bond futures options on Mathematica