AminetAminet
Search:
84475 packages online
About
Recent
Browse
Search
Upload
Setup
Services

mus/play/aramp.src-aros.zip

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Source code for MP3 player ARAMP
Author:Steffen Häuser, Port by M. Rustler
Uploader:mrustler gmx de (Matthias Rustler)
Type:mus/play
Version:1.0
Architecture:generic
Date:2008-03-26
Download:http://aminet.net/mus/play/aramp.src-aros.zip - View contents
Readme:http://aminet.net/mus/play/aramp.src-aros.readme
Downloads:581

Source code for MP3 player ARAMP.

Original Readme
---------------
Introduction
------------
WarpAMP is an MPEG audio player based on Tomislav Uzelac's
amp decoding engine. It is based on Tomislav Uzelac's AMP.
It supports AHI, but it also has a special mode where it
directly accesses a Prelude Soundboard using the prelude.library,
if present. As Default it uses AHI (AHI V4 required).

The prelude.library Audio-Code is based on Thomas Wenzel's
PreludeAMP for ppc.library (i got his permission to use
this Replay source on a email-request by myselves to him, he uploaded
the Source recently on Aminet). The AHI Code was done by
Thorsten Hansen of KATO, thanks for his help with AHI :)

Version 0.8 fixes some small bugs.
Version 0.9 changes some small things to make it work okay with OpusMPEGA

Features
--------
 - FREEWARE!
 - Compiled with StormC PPC
 - Does not need ixemul.library!
 - Does not need the AHI audio system, but supports it
 - Does not stop the music, when Intuition is locked, if
   -quiet mode is used

Requirements
------------

 - AHI or prelude.library v2 (V2.41 recommended)
 - A PowerUP compatible system with WarpOS installed
   (should also work with V7, though not tested... might
   give slowdown in V7...)

Usage
-----

 WarpAMP infile

 If you call it without parameter, a Filerequester will be invoked.
 MultiSelect is possible.

 It is also possible to use a program file by

 WarpAMP -program

 or

 WarpAMP -program prgfile

 The first version uses a Filerequester, the second not.

 The programfile format looks like:

 work:mpg/mympg1.mp3
 work:mpg/mympg2.mp3
 repeat

 This file plays the two MPEG files (one line, one file) and then repeats.
 Until CTRL-C is pressed. If you do not specify repeat at the end, it does
 not repeat. Program files have filenames with .prg at the end.

 By default WarpAMP

 - uses a PPC BAT register.
 - disables the Caches for the Sound-Memory-Buffer

 If you do not like this, use the option

 -nobat

 -prelude uses the prelude.library Replaycode, if you do not specify this,
 AHI is used.

 -quiet makes WarpAMP not to print out any output. This has the effect,
 that WarpAMP will not stop when you do Intuition-Operations. I know,
 handling it in a new task would be the cleaner implementation, but
 this was more easy to do. :)

History
-------
v0.5 - First version, based on PreludeAMP with some modifications
v0.6 - Added AHI Support
v0.7 - Added -quiet mode

Legal stuff
-----------

WarpAMP
-------

I don't claim a specific copyright on it. It is just freeware. You are
obliged to confirm to the copyright notices of PreludeAMP and AMP, though.
I am in no way responsible, if this program should damage your computer (but
it should not, just a standard disclaimer) or anything else.

PreludeAMP of Thomas Wenzel Copyright Notice
--------------------------------------------

PreludeAMP is copyrighted freeware. It may be distributed freely as long as
no modifications are made to the executable and this document. A nominal
fee may be asked to cover distribution costs.

PreludeAMP may not be used for any commercial purposes or included with any
commercial product without the written permission of the author. It may
NOT be stored on ftp servers or websites that also hold commercial software
products or drivers for commercial hardware. The only exception are servers
of the Aminet archive.

No responsibilities are taken for damaged speakers, amplifiers, Amigas
or any other components or data involved while using PreludeAMP.

Although I've done some beta testing I can't guarantee that PreludeAMP will
not crash! If you find any bugs, let me know.

-----

Note, that i (Steffen Haeuser) have the email-permission to use his sources
and modify them in a way to create an MPEG Player of my own, as long as i
conform to the AMP license.

Here's the original amp.readme:
-------------------------------
amp MPEG audio decoder readme file (version 0.7.5)
(C) Tomislav Uzelac  1996,1997

amp is free software and can be _used_ freely by anyone. If you want to
do anything else with it, be sure to check the Legal section of this
document for legal issues.

THERE IS NO WARRANTY FOR THIS PROGRAM. Please check out the Legal section
of this document.

1. Introduction
2. Installation
3. Running
4. Feedback
5. Contributing
6. Legal


1. Introduction

amp (Audio Mpeg Player) is an MPEG audio decoder which I originally started 
putting together as a side project of the MPEG hardware design project at 
FER/Zagreb - just to confirm my knowledge of the standard. It works with
both MPEG1 and MPEG2 audio streams (except for the multichannel extensions
defined in MPEG2), layers 2 and 3. 

There is a gui for amp, written in Tcl/Tk by Edouard Lafargue. It is 
available at the amp home site ftp://ftp.rasip.fer.hr

Another gui supported is the Sajber Jukebox, written by Joel Lindholm.

The following people contributed their time and knowledge to amp:
Karl Anders Oygard, Ilkka Karvinen, Lutz Vieweg, Dan Nelson,
Edouard Lafargue, Andrew Richards, George Colouris,
Dmitry Boldyrev, Andy Lo A Foe, Thomas Sailer, Justin Frankel

amp home location is
        ftp://ftp.rasip.fer.hr/pub/mpeg/

and the mailing list: send 'HELP' in the body of the message to:
        multimedia()rasip.fer.hr

If you want to find out more about MPEG, best places to start are
        http://www.mpeg.org
        http://www.mpeg2.de 


2. Installation

Installation should be simple enough if amp was ported to your system,
just do a 

./configure
make 

You can edit the makefile further to suit your system. If configure fails 
to make a usable Makefile, you'll _have_ to edit it yourself.

Linux users should try real-time playing support, as described
in doc/realtime.txt. Some people that might pass on this feature are
those with slower machines (i.e. 486's), or SMP systems (see the
doc/linuxrealtime.txt file). 
Some versions of the linux C library produce an error when compiling
amp with realtime support. A quick fix is to edit /usr/include/sched.h
and replace _P in the offending line with __P.

./configure --enable-realtime
make
chown root.root amp
chmod u+s amp

... this requires /dev/dsp to be both world readable and writeable. If you
have a special group for people allowed to use the sound device (for
instance, a group called sound), you can do a:

chmod g+s amp

or make your audio card world read/writeable (not recomended)

chmod o+rw /dev/dsp*

3. Running:

'amp -h' gives you usage & options. If your computer is on the slower
side, direct playback might not work, but you can decode it
to .wav or raw pcm and play it later.


4. Feedback

Send in your makefiles, opinions, bugreports, fixes; anything related to this
program. You can also send me unlimited amounts of money, sugar, milk, etc.

If you find any mpeg audio files that amp has trouble decoding, please tell
me about this via e-mail <tuzelac()rasip.fer.hr>.


5. Contributing

Please contribute to amp. If you want to know what is going on in amp 
development, you can join the developers mailing list

        mpeg_audio_developers()rasip.fer.hr

There are certain debugging facilities that I made in amp, but are disabled
in the current release (they are neither nice nor user-friendly). If anyone
enhances them (they are in dump.c) to the point that they're actually
usable I'll be happy to include the changes in the release. I think this
kind of debug output would be very useful to people studying these audio
algorithms.


6. Legal

This software can be used freely for any purpose. It can be distributed
freely, as long as it is not sold commercially without permission from
Tomislav Uzelac <tuzelac()rasip.fer.hr>. However, including this software
on CD_ROMs containing other free software is explicitly permitted even 
when a modest distribution fee is charged for the CD, as long as this
software is not a primary selling argument for the CD.

Building derived versions of this software is permitted, as long as they
are not sold commercially without permission from Tomislav Uzelac 
<tuzelac()rasip.fer.hr>. Any derived versions must be clearly marked as
such, and must be called by a name other than amp. Any derived versions
must retain this copyright notice.

/* This license is itself copied from Tatu Ylonen's ssh package. It does 
 * not mention being copyrighted itself :)
 */

THERE IS NO WARRANTY FOR THIS PROGRAM - whatsoever. You use it entirely
at your risk, and neither Tomislav Uzelac, nor FER will be liable for
any damages that might occur to your computer, software, etc. in
consequence of you using this freeware program.


Tomislav Uzelac
<tuzelac()rasip.fer.hr>



Uploaded using: archives.aros-exec.org


Contents of mus/play/aramp.src-aros.zip
Archive:  /home/aminet/aminet_root/doc//mus/play/aramp.src-aros.zip
 Length   Method    Size  Ratio   Date   Time   CRC-32    Name
--------  ------  ------- -----   ----   ----   ------    ----
       0  Stored        0   0%  03-23-08 16:48  00000000  aramp/
    7648  Defl:N     3389  56%  05-07-98 14:35  a64f3643  aramp/WarpAMP.guide
  120768  Defl:N    44084  64%  05-07-98 14:33  f67bcdd1  aramp/WarpAMP
     537  Defl:N      296  45%  05-06-98 10:36  6cf09621  aramp/WarpAMPPPC.¶.info
    8711  Defl:N     3998  54%  05-07-98 14:34  4907f622  aramp/warpamp.readme
    6910  Defl:N     1062  85%  05-06-98 10:36  e44f2cd8  aramp/WarpAMPPPC.¶
       0  Stored        0   0%  03-23-08 16:48  00000000  aramp/warpamp-ahi/
    1132  Defl:N      541  52%  08-18-97 08:33  cebd07cd  aramp/warpamp-ahi/amp.h
     723  Defl:N      403  44%  08-22-97 21:10  455a6a18  aramp/warpamp-ahi/BUGS
    1935  Defl:N      775  60%  03-18-98 03:59  7e612847  aramp/warpamp-ahi/getbits.h
    2988  Defl:N     1210  60%  05-31-97 02:47  b6509c0b  aramp/warpamp-ahi/position.c
   43871  Defl:N     9154  79%  05-04-98 12:56  71aaae5c  aramp/warpamp-ahi/transform.c
     537  Defl:N      299  44%  05-03-98 09:32  8224ba26  aramp/warpamp-ahi/WarpAMP68k.¶.info
    4368  Defl:N     1789  59%  05-03-98 09:40  919ac359  aramp/warpamp-ahi/getopt.h
    4694  Defl:N     1972  58%  08-17-97 21:42  b9215fec  aramp/warpamp-ahi/layer3.c
    3014  Defl:N      589  81%  05-03-98 10:18  04409398  aramp/warpamp-ahi/prelude_protos_stub.c
    1928  Defl:N      609  68%  01-25-98 11:45  1b65db3a  aramp/warpamp-ahi/config.h
    6325  Defl:N     1890  70%  05-04-98 12:56  ee366099  aramp/warpamp-ahi/huffman.c
    2258  Defl:N      825  64%  05-07-98 14:32  637ba147  aramp/warpamp-ahi/dump.c
    9901  Defl:N     2776  72%  05-03-98 09:39  08096f13  aramp/warpamp-ahi/audio.c
    8265  Defl:N     2130  74%  03-18-98 04:00  ba92655d  aramp/warpamp-ahi/getbits.c
   14974  Defl:N     4217  72%  03-23-08 15:53  af69fda3  aramp/warpamp-ahi/main.c
    7292  Defl:N     1958  73%  05-31-97 03:19  82ba0b35  aramp/warpamp-ahi/getdata.c
    1153  Defl:N      680  41%  08-22-97 21:03  2619613b  aramp/warpamp-ahi/TODO
   20631  Defl:N     3348  84%  01-25-98 02:22  e706f90a  aramp/warpamp-ahi/misc2.h
   19667  Defl:N     6720  66%  03-18-98 04:00  4f6b9ab9  aramp/warpamp-ahi/huffman.h
   12329  Defl:N     2706  78%  01-25-98 02:51  bb4a07f3  aramp/warpamp-ahi/transform.h
    4409  Defl:N     1659  62%  01-25-98 05:05  27c3b9e3  aramp/warpamp-ahi/audio.h
   13014  Defl:N     2252  83%  05-04-98 12:55  1ce2cb94  aramp/warpamp-ahi/layer2.c
    7969  Defl:N     2512  69%  05-31-97 02:47  c5a1817a  aramp/warpamp-ahi/controldata.h
    6190  Defl:N     1494  76%  06-16-97 02:54  2ef7bc88  aramp/warpamp-ahi/layer2.h
    1192  Defl:N      610  49%  05-31-97 02:47  b26def45  aramp/warpamp-ahi/getdata.h
    3942  Defl:N     1901  52%  08-22-97 21:03  b7f18da8  aramp/warpamp-ahi/CHANGES
     427  Defl:N      259  39%  05-31-97 04:03  668a6a6f  aramp/warpamp-ahi/dump.h
     318  Defl:N      154  52%  05-31-97 02:47  ccfdcdd3  aramp/warpamp-ahi/position.h
   34133  Defl:N     4871  86%  05-04-98 12:56  e802a659  aramp/warpamp-ahi/misc2.c
     636  Defl:N      382  40%  03-23-08 15:54  3b825771  aramp/warpamp-ahi/mmakefile.src
     319  Defl:N      195  39%  05-31-97 02:47  ce528725  aramp/warpamp-ahi/formats.h
    4713  Defl:N     2304  51%  08-22-97 21:05  4c3520bc  aramp/warpamp-ahi/README
     311  Defl:N      197  37%  05-31-97 02:47  54436eed  aramp/warpamp-ahi/layer3.h
      25  Defl:N       20  20%  01-25-98 11:38  0bcd552a  aramp/warpamp-ahi/amiga.h
     569  Defl:N      242  58%  05-31-97 02:47  14130d0c  aramp/warpamp-ahi/proto.h
    1852  Defl:N      823  56%  08-20-97 21:56  e5ccc1aa  aramp/warpamp-ahi/rtbuf.h
    5108  Defl:N     1815  65%  05-03-98 09:39  f0773f8a  aramp/warpamp-ahi/args.c
     648  Defl:N      315  51%  03-23-08 16:34  9430cb58  aramp/mmakefile.src
--------          -------  ---                            -------
  398334           119425  70%                            45 files

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>