home *** CD-ROM | disk | FTP | other *** search
- Maplay 1.2+ for Win32
-
- Web Site
-
- Last modified: February 1, 1997
-
- ---------------------------------------------------------------------------
-
- Newest version released: 1.80
-
- Now with Layer III Support!
-
- Latest News:
-
- The layer III version of maplay 1.2+ for Win32 is now available, including
- the complete source code! Currently, layer III streams can only be decoded
- on this version of maplay, not on any unix workstations. It requires at
- least a Pentium-75 CPU for stereo streams. Unfortunately, I haven't
- implemented mono decoding for layer III stereo streams yet, so if you don't
- have a powerful enough CPU, maplay will playback jerkily. See the file
- whatsnew.txt for a complete description of the changes.
-
- The layer III decoder of maplay is highly optimized from the original
- public c source, but still is quite CPU intensive. If anyone can give an
- algorithm for an efficient 9 point IDCT that runs in n log n time, please
- let me know!
-
- What is maplay 1.2?
-
- Maplay 1.2 is a program written for UNIX systems by Tobias Bading. What it
- does is decodes MPEG Audio Layer I, II, and III files, which are factor of
- 6-12 times smaller than uncompressed audio (like Windows PCM WAVE, Sun AU,
- or Mac AIFF files). Despite the huge compression, there is no audible
- signal loss! Using MPEG Audio Layer III, you can retain CD-quality sound at
- compression ratios around 1:12 (128 kbit/s). Unfortunately, decoding MPEG
- audio streams is a very CPU intensive process. And until now, there have
- been no fully-featured decoders available for Windows.
-
- What is maplay 1.2+ for Win32?
-
- Thanks to Bading's hard work in maintaining portability in maplay, I was
- able to re-target maplay to run on the Windows 95 and Windows NT operating
- systems. I also added a few features such as WAV playing, pausing,
- stopping, and repeating MPEG audio playback. It took about 4 weeks, since I
- had no prior Windows programming experience.
-
- What do I need to run maplay 1.2+ for Win32?
-
- Maplay 1.2+ for Win32 is requires the following hardware and software to
- run:
-
- * 486 or higher CPU (Pentium required for stereo playback.)
- * Either the Windows 95 or Windows NT operating system. It will not run
- on Windows 3.1 or lower operating systems, even if you have Win32s.
- * A 16-bit sound card, and the appropriate driver for Windows. (I have
- reports that 8-bit sound cards such as the SB Pro and SB work as
- well.)
-
- What about the competition?
-
- Ever since maplay 1.2 for Win32 was released, many other MPEG audio
- decoders for Windows have also been released. But I still think maplay 1.2
- for Win32 is still the best! Compare the features in the following table:
-
- Program Layer I Layer Layer WAV Bits/sample Sample Stereo
- II III freq.
- XingSound1 ? Yes No Yes 162 22.0 kHz No
-
- AMAPLAY ? Yes No No 16 48.0 kHz Yes
- Philips mpgplay ? Yes No No 16 48.0 kHz Yes
- ActiveMovie ? Yes No Yes416 48.0 kHz Yes
- WinPlay3 No No Yes No 16 48.0 kHz Yes
- museArc No Yes Yes No 16 48.0 kHz Yes
- maplay for
- Win32 Yes Yes Yes Yes 16 48.0 kHz Yes
-
- Program Seeks Playlists Interface Win3.1Win95 WinNT Distributed
- As:
- XingSound Yes No OK Yes Yes3 Yes3 Freeware
-
- AMAPLAY Yes No Ugly! No Yes3 Yes3 Shareware
- Philips Yes3 Yes3
- mpgplay No No OK No Freeware
-
- ActiveMovie Yes No Media No Yes Yes Freeware
- Player
- WinPlay3 No Yes Good Yes Yes3 Yes3 Shareware
- museArc Yes(?)No OK Yes Yes Yes Shareware
- maplay for
- Win32 Yes Yes Good No Yes Yes Freeware
- 1Freeware version of XingSound. There is a full-featured version, but it is
- not free.
- 2Low precision
- 3Not a native 32-bit program
- 4Through Media Player
-
- I don't like the other full-quality players for other reasons. AMAPLAY
- basically stole its name from Tobias Bading, the creator of maplay. And the
- company that makes AMAPLAY has the gall to try to make money from a program
- that does the same thing as free ones. Philips stole my MPEG audio links
- for its own page. Tobias Bading also informed me that both of these
- programs use the exact same error strings present in maplay, which could
- lead one to believe that perhaps these companies just compiled free code,
- slapped an interface on, and tried to sell decoders as their own, without
- even giving credit to the original author!
-
- The last company that I'd like the see prosper is Microsoft, the company
- that puts out ActiveMovie as part of an effort to kill Netscape with
- Internet Explorer.
-
- I have to admit that WinPlay3 is a great program. Unlike maplay 1.2+ for
- Win32, it has very low CPU utilization, support for MPEG-2 Low Frequency
- Extension files, and the ability to play a file from a URL. maplay 1.2+
- currently has none of these features, but check back here often for
- updates! (But maplay 1.2+ for Win32 does have support for seeks, unlike
- WinPlay3.) Anyway, I don't like Fraunhoffer because they have a monopoly
- over Layer III products. Their encoder and decoder programs are crippled
- and they refuse to release the source code to even a reference Layer III
- encoder.
-
- museArc has a 60 second restriction on playback time! Ridiculous!
-
- Should I even consider WinPlay3 at all?
-
- Yes. Maplay 1.2+ for Win32 takes more CPU time to decode stereo layer III
- files than WinPlay3. If you don't have a Pentium-75 or above, you should
- use WinPlay3 to playback your stereo layer III files. But keep in mind that
- WinPlay3 also requires a Pentium processor for stereo streams, although it
- may not need to run at 75 MHz. Also, WinPlay3 has several modes that
- tradeoff audio quality for CPU usage. In general, WinPlay3 requires about
- 2/3 of the CPU time that maplay 1.2+ for Win32 does. So your background
- tasks will also execute faster if you are using WinPlay3. However, WinPlay3
- lacks the ability to seek within a stream, and the highest playback quality
- is the same as maplay's.
-
- What kind of interface does the program have?
-
- The interface keeps on improving, and you must love my hand-drawn buttons!
- Here is a screenshot:
-
- [Image]
-
- If you are unimpressed, here is a suggested interface done by my pal, Bill
- MacPhee:
-
- [Image]
-
- Ok, ok, I get it. Everybody wants this interface instead. We'll see.
-
- Cool. Where can I get maplay for Win32?
-
- Maplay for Win32, version 1.80, is available here (on my shell account on
- cory, a Berkeley EECS server) in following two flavors:
- 486 Pentium
- mpw32-4.zip mpw32-5.zip
-
- Both of these archives (approximately 852 KB) contain the source code; to
- copy the source code, choose "Custom Setup".
-
- This is the NEWEST version 1.80, last modified on February 1, 1997. See the
- "whatsnew.txt" file for details on the changes.
-
- How do I install maplay for Win32
-
- Simply unzip the archive (using WinZip or pkunzip) into a tempoary
- directory. Then run the file "setup.exe". You can customize what files you
- want. Unless you are very short on disk space or want the source code,
- choose the typical setup. If you want the source code, choose the custom
- setup.
-
- How do I use maplay for Win32?
-
- Maplay for Win32 supports command-line playback, so you can associate MP2,
- MP3, or MPG files with maplay in the File Manager of Windows Explorer.
- Actually, this will now be partially done by the installation program, so
- you don't have to do anything yourself. Just select the MP2 (MPEG-1 Layer
- II Audio Stream) or LST (playlist) file in Explorer, and double-click! If
- you want to associate MP3 files to maplay, you will have to do this
- manually. Just delete whatever association you had before, and double-click
- on the MP3 file. Use maplay to open the file from now on.
-
- You can also use it as a viewer in Netscape. The MIME type is "audio", and
- the subtype is "x-mpeg". Finally, you can use as a stand-alone program, as
- there is a menu item to open files. Feel free to E-mail me if you need
- further instructions.
-
- How much does maplay for Win32 cost?
-
- Nothing. Well, almost nothing. Of course you still have to pay for the
- access time and the long distance charges to download it! I do request that
- you e-mail me and tell me if it worked on your system. Also, your generous
- donations are welcomed but not required. To donate, please send a check or
- money order to:
-
- Jeff Tsay
- 1818 Walnut St. Apt. #3
- Berkeley, CA 94709
-
- Are there any bugs in maplay for Win32?
-
- Well, as I said before, I'm new at Windows programming, so I'm sure there
- are. But the following are the only bugs I know about:
-
- * After opening a file while a stream is being decoded, or stopping
- after a stream is paused, or skipping to the next track on a playlist,
- some memory leaks because a thread does not terminate as it is
- supposed to.
- * Lots of people have reported "No header found" and "Stack overflow"
- errors when opening files. This is probably due to corrupt streams.
- * Due to a memory leak in the waveOut functions of Windows 95, the
- allocated memory slowly increases for large files. There is nothing I
- can do about this.
- * Sometimes the shortcut keys don't work. You just have to use the
- mouse.
- * You can't play a WAV file if it has a space in its name or path. This
- is due to the way the files are sent to the multimedia system. If you
- have problems, simply rename the WAV file or directory.
-
- I'll work on getting rid of these bugs, and if you find any others, please
- e-mail me.
-
- Where can I get MPEG audio files?
-
- Good news if you're into Japanese animation music because there are tons of
- site with songs in MPEG audio format:
-
- * Armitage's Dimension has TONS of anime music in high quality MPEG
- audio formats, including Layer III.
- * Gotenk's Music Recordings has lots of anime music in MPEG Audio Layer
- II format.
- * Otaku-Sensei's MPEG Archive has MPEG audio streams from Ah! My
- Goddess, Urusei Yatsura, Macross, and more.
- * Rabi's Anime & Manga Songs Mini-Collection has quite a few songs in
- many different formats.
- * Ego's Domain has anime music in MPEG Audio Layer II format.
- * Karl's Sailor Moon Clips
- * The AIC CD Library has short clips from the soundtracks of several
- anime.
-
- But if you're a loser and not into Japanese anime music, check out the
- following:
-
- * Natural Elements Records
- * The Internet Underground Music Archive audio streams of unsigned
- artists.
- * MAZ's Home has a lot of utilities for encoding and decoding music in
- general.
- * Playloud! Music in France has songs from various French music groups.
- I hope you understand francois!
- * Midi of the Week - The Music Shoppe has some classical music in MPEG
- Layer II format, and also MIDI format.
-
- If you think a site deserves to be mentioned here, let me know.
-
- How do encode my own MPEG audio files?
-
- You can use Cool Edit 96 (with the MPEG audio extensions) or AMPEG 4.3,
- which is a DOS program, but considerably faster. (AMPEG now decodes Layer
- III files) Also required is the the source code archive that contains the
- tables. Remember, before WAV files are encoded, they must be saved in
- 16-bit format, with a 32 kHz or above sampling frequency.
-
- ---------------------------------------------------------------------------
-
- Credits
-
- Well, I hope I'm not being too presumptuous by listing credits, but here
- goes:
-
- Original Source Code by Tobias Bading.
- Copyright (C) 1993, 1994 Berlin University of Technology.
- Layer III code adopted from the ISO MPEG Audio Subgroup Software Simulation
- Group.
- Win32 port, interface, and layer III porting and optimizations by Jeff
- Tsay.
- License rights for the original maplay granted by the Free Software
- Foundation, Inc.
- Borland C++ 5.01 compiler donated by Borland International.
-
- The following people/companies gave me programming tips or provided source
- code I could modify: Tobias Bading (of course), Mike Perham, Mark Gamber,
- and Borland International.
-
- I wish to thank the following donators, whose contributions make developing
- maplay worth the effort:
-
- * Corky Coreson
- * Rich ??? (sorry, I don't remember your last name)
- * Wilfried Solbach (hey! I still haven't recieved your check yet!)
-
- Also thanks to my computer science teachers and professors at Eastern High
- School and UC Berkeley!
-
- The Future
-
- This MPEG decoder is only for MPEG-1 streams. The ability to decode MPEG-2
- streams with the Low Frequency Extension will be added ASAP. In addition,
- the ability to decode only one channel of a stereo layer III stream will
- also be added, for slower computers.
-
- Also a playlist creation interface and Netscape plug-in functionality are
- planned.
-
- I'm taking an operating systems class, so hopefully I will be able to fix
- the threading-memory leak problem and also develop a version for FreeBSD.
- ---------------------------------------------------------------------------
-
- [Home] [Anime] [maplay 1.2+ for Win32] [Computer Info] [Japanese for
- Windows 95]
-
- Need more information? Broken links? Comments? Please contact me at
- ctsay@pasteur.eecs.berkeley.edu.
-