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

dev/src/PyPlayer.lha

Mirror:Random
Showing:ppc-amigaosgeneric
No screenshot available
Short:Audio Player for Python 1.4.0 to 3.10.4.
Author:wisecracker.bazza at gmail.com (Barry Walker)
Uploader:Barry Walker
Type:dev/src
Version:0.01.00
Architecture:generic; m68k-amigaos
Date:2022-05-14
Download:http://aminet.net/dev/src/PyPlayer.lha - View contents
Readme:http://aminet.net/dev/src/PyPlayer.readme
Downloads:277

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/

============================================================================


Contents of dev/src/PyPlayer.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                   47      47 100.0% -lh0- d54c Oct 14  1980 PyPlayer/__init__.py
[generic]                 6973   14696  47.4% -lh5- 9ffc Apr 29  1980 PyPlayer/Dash_Shell/Bomb.wav
[generic]                  859    1759  48.8% -lh5- f7f8 Apr 29  1980 PyPlayer/Dash_Shell/Bomb.wav.sh
[generic]                   85    8044   1.1% -lh5- f37e May  7  1980 PyPlayer/Dash_Shell/Error_Beep.wav
[generic]                 3674   13400  27.4% -lh5- 3b27 May 12  1980 PyPlayer/PyPlayer.py
[generic]                 8626   24200  35.6% -lh5- 8231 May 12  1980 PyPlayer/PyPlayer_Docs/PyPlayer.py.Manual
[generic]                 2699    6965  38.8% -lh5- 369c May 14  1980 PyPlayer/PyPlayer_Docs/PyPlayer.readme
[generic]                  417     877  47.5% -lh5- 96f4 May  7  1980 PyPlayer/PyPlayer_Docs/PyPlayer_VLC.txt
[generic]               205375  205375 100.0% -lh0- 9333 May  7  1980 PyPlayer/PyPlayer_Pics/Darwin_Python-3.10.4.jpg
[generic]                54938   76306  72.0% -lh5- 2ca0 May  7  1980 PyPlayer/PyPlayer_Pics/Darwin_Python-3.10.4.OCS.IFF
[generic]               304095  304095 100.0% -lh0- 961d May  7  1980 PyPlayer/PyPlayer_Pics/FS-UAE_Python-1.4.0.jpg
[generic]                33259   59282  56.1% -lh5- 496e May  7  1980 PyPlayer/PyPlayer_Pics/FS-UAE_Python-1.4.0.OCS.IFF
[generic]               326245  326245 100.0% -lh0- 9898 May  8  1980 PyPlayer/PyPlayer_Pics/Mint203_Python-3.8.10.jpg
[generic]                47957   73914  64.9% -lh5- 6c68 May  8  1980 PyPlayer/PyPlayer_Pics/Mint203_Python-3.8.10.OCS.IFF
[generic]               159469  159469 100.0% -lh0- 7bd1 May  7  1980 PyPlayer/PyPlayer_Pics/Windows81-Python_3.10.4.jpg
[generic]                32455   48696  66.6% -lh5- a167 May  7  1980 PyPlayer/PyPlayer_Pics/Windows81-Python_3.10.4.OCS.IFF
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        16 files 1187173 1323370  89.7%            May 15 01:36

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