home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / GFX / MPEG / mpeg3play.lha / mpeg3play / doc / mpeg3play.readme next >
Encoding:
Text File  |  1997-02-12  |  2.9 KB  |  71 lines

  1. Short:    Optimised MP3 (MPEG 1 Layer 3 audio) decoder
  2. Author:   Fraunhofer institute and Johan Hagman
  3. Uploader: Troels Walsted Hansen (troels@stud.cs.uit.no)
  4. Type:     mus/play
  5. Requires: ixemul.library V45+
  6.  
  7. This is a decoder for MPEG 1 Layer 3 audio (often refered to as MP3).  It is
  8. based on the same freeware source as the other two archives currently on
  9. aminet (mp3.lha and mpeg1_iis.lha), but the source has been optimised a lot
  10. by Johan Hagman.
  11.  
  12. I downloaded the source after a tip from Cstar on irc, and compiled it with
  13. ADE gcc.  This decoder is more than 4 times faster than the one found in
  14. mp3.lha.  It is also completely selfcontained, you don't need the external
  15. tables/#?  files anymore.
  16.  
  17. I changed the makefile for ADE gcc and changed the source to write a raw PCM
  18. file instead of an AIFF file with a header.  This means you can make the
  19. decoder write to the PIPE:  device and have some other program read the audio
  20. data from the pipe at the same time.  I use this for converting mp3 files to
  21. mp2.
  22.  
  23. To convert an mp3 file to mp2 for realtime playback with the mpegaudio.lha
  24. delitracker player on aminet execute the following commands in a shell:
  25.  
  26. stack 100000
  27. run mpeg3play -o pipe:mp3 <mp3file>
  28. musicin pipe:mp3 <mp2file> -b128
  29.  
  30. (You need the pipe device mounted, I think it is found in some other archive
  31. on aminet..)
  32.  
  33. You can also decode mp3 files to a PCM audio file and play it back using for
  34. example Play16. To do that, try the following commands:
  35.  
  36. stack 100000
  37. mpeg3play -o <pcmfile> <mp3file>
  38. play16 <pcmfile> tracks=2 bits=16 freq=44100 hifi
  39.  
  40. Here's some timings I made on my CS060mkII equipped A4000.  I used "timer"
  41. from the Executive 2.0 package to make the timings, so they should be as
  42. exact as possible.
  43.  
  44. The file is spot1.mp3, 130836 bytes, 416 frames, 11 seconds of audio.
  45.  
  46. The suffix of the decoder filenames indicate the CPU they were optimised for
  47. by the compiler.
  48.  
  49. Decoder           Time w/CyberPatcher      Time w/o CyberPatcher
  50. ----------------------------------------------------------------
  51. decode020-040     0:09:17.67               0:09:19.51
  52. decode020881      0:06:49.29               0:04:47.49
  53. decode040         0:05:41.69               0:04:26.27
  54. decode040881      0:05:32.96               0:04:19.18
  55.  
  56. mpeg3play000                               0:04:36.61
  57. mpeg3play020                               0:04:45.35
  58. mpeg3play040                               0:01:07.13
  59. mpeg3play040881   0:01:00.68               0:00:59.06
  60.  
  61. Yabbadecode060    0:01:05.04               0:01:10.51
  62.  
  63. Yabbadecode060 is a work in progress.  Just like mpeg3play it is based on the
  64. original mpeg1_iis sources and it has been optimised by Stefan Burström and
  65. compiled for 060 with SAS/C 6.57.  All the other decoders were compiled with
  66. ADE gcc (which does not have an option to optimise for 060).  As you can see
  67. from the timings, mpeg3play is currently the fastest decoder available (even
  68. if it is still far from realtime).
  69.  
  70. Troels Walsted Hansen, troels@stud.cs.uit.no, Troels on IRC
  71.