Short: Audio Player for Python 1.4.0 to 3.10.4. Author: wisecracker.bazza@gmail.com (Barry Walker) Uploader: Barry Walker Type: dev/src Version: 0.01.00 Architecture: generic; m68k-amigaos Distribution: AMINET; licence GPLv3. ============================================================================ Architectures: Classic AMIGAs, FS-UAE, OSX 10.15.7, Linux Mint 21.2. -------------------------------------------------------------------- MINIMUM Requirements Are:- -------------------------- 1) Amiga environment:- Stock AMIGA 1200 with HDD and 4MB FastRAM. Python Version 1.4.0. (!!! RECOMMENDED !!! -> 68030-FPU and at least 8MB FastRAM. It will run much faster and better however with more FastRAM, serious expansion cards, and Python Version 2.0.1). FS-UAE on OSX 10.15.7 and Linux Mint 20.3. Standard AMIGA OS_3.0.x install or better. 2) Apple OSX 10.12.x to 10.15.7 and higher using default Python 2.7.x, 3.5.2. 3.8.x, 3.9.x and 3.10.4, and the default Perl version. 3) Linux Mint 20.3, Python 2.7.x and 3.8.x. 4) Windows 8.1 to 10, Python 2.4.3 to 3.10.4, catered for but it is NOT PRETTY! 5) It has NOT been tested on WinUAE but it might well work. ---------------------------------------------------------------------------- History:- --------- 14-05-2022. ----------- Version 0.01.00: The initial tester resulted in 172 DLs inside 13.5 days. Therefore it looks like some people are interested! What's new: 1) Now the spawned child plays in the background by default. 2) It has the option of turning this facility OFF and the script or Python command prompt '>>>" waits until the played audio finishes before it can resume. 3) If the default 'Error_Beep.wav' is not in the current directory then it will be created 'silently' with the option of a verbose mode. 4) Windows 8.1 to 10 is catered for but requires VLC. It is VERY UGLY however. Also VLC works from the command line extremely well where SOX no longer works at all! 01-05-2022. ----------- Version 0.00.30: A taster upload to see how many are interested... ---------------------------------------------------------------------------- Other minimum requirements depending on what you decide to use:- ---------------------------------------------------------------- Python Version 1.4.0, absolute minimum:- http://aminet.net/package/dev/lang/Python_14 AND/OR, for expanded and very highly expanded AMIGAs... <- Recommended! http://aminet.net/package/dev/lang/Python20 <- Recommended! Play16, two versions the lower one includes a 68000 version, and also supports AHI and others if need be but Paula8 is the default and the one used! http://aminet.net/package/mus/play/Play16 http://aminet.net/package/mus/play/Play16_v1.9 http://aminet.net/package/dev/c/AsyncIO <- This is already inside the archive of the Play16_v1.9 install. No other dependencies needed. !!! VERY IMPORTANT !!! If you have DLed PyPlayer before and have 'import'ed it then delete ANY and ALL PyPlayer.pyc files so that they can be re-compiled correctly. ---------------------------------------------------------------------------- General:- --------- I wanted a very basic Python audio player for AMIGA Python 1.4.0 so I decided upon this idea:- A basic '.WAV' audio player module for Python Versions 1.4.0 to 2.0.1 for the AMIGA A1200(HD) platform to Version 3.10.4 for other platforms. The limits are 'WAV' files for every platform, plus, a maximum standard sample rate of 48000 sps, (actually 56000 sps), and 2 channels maximum for the AMIGA ONLY. The code seems naive in places but getting things like this to work for all types of platforms and Python versions require some degree of naive coding. For some platforms there are a multitude of audio formats that can be played but this code was primarily intended for the AMIGA A1200(HD) with a small amount FasTRAM. It goes without saying that highly expanded AMIGAs will probably work better than a stock A1200. It looks like people are interested in this so this upload is the next stage in developing the idea. The code can be either imported as a module or used as a source for a main Python program. Read the manual and code for more info. Read the PyPlayer.py.Manual AND PyPlayer.py code for MUCH MORE info'. Read any relevant documentation for the audio players also! The *NIX '/dev/dsp' is also catered for BUT it is limited entirely to an audio '.RAW' or '.WAV' file that is uncompressed, unsigned integer, 8000 sps, 1 channel "mono". The default "Error_Beep.wav" WILL work but with a momentary click at the start due to the 44 byte header. Final NOTES: ------------ PyPlayer.pyc was/is the imported PyPlayer.py compiled file from inside AMIGA Python Version 1.4.0 to 2.0.1. !!! VERY IMPORTANT REPEATED !!! If you have DLed PyPlayer before and have 'import'ed it then delete ANY and ALL PyPlayer.pyc files so that they can be re-compiled correctly. Enjoy... Bazza... ---------------------------------------------------------------------------- IMPORTANT:- ----------- The Legal Stuff:- ----------------- This archive is GPLv3 licenced. The authors are not responsible for any damage to, or loss of, or failure of equipment or data caused in any way by the use of this code. There is NO warranty with the use of this software release and YOU USE IT AT YOUR OWN RISK. ---------------------------------------------------------------------------- Testing Evaluation:- -------------------- FS-UAE and Classic AMIGA test conditions were/are running standard OS 3.0.x, 8MB FastRAM and using standard ~topaz 8~ fonts throughout. (The minimum requirements above ARE required however.) A stock AMIGA A1200(HD) can be a little jerky hence the addition of FastRAM. It will run much faster and better however with more FastRAM and serious expansion cards. I have no idea what strange configuration setups will create so refer to the ~The Legal Stuff~ above. ---------------------------------------------------------------------------- Barry Walker, G0LCU. ---------------------------------------------------------------------------- A very useful HardWare related site, (C) Anthony Hoffman, for modifications, schematics, repairs and the like is:- http://amiga.serveftp.net/ ============================================================================