[Date Index] [Thread Index] [Author Index]
Re: How to read *.bmp *.wav files?
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). Sincerely, John Fultz jfultz at wolfram.com 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 starvision.com > http://www.starvision.com ==== [MESSAGE SEPARATOR] ====