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

dev/src/FFT_Python_1.4.0.py.txt

Mirror:Random
Showing:ppc-amigaosgeneric
No screenshot available
Short:Simple FFT for AMIGA Python 1.4.0.
Author:wisecracker.bazza at gmail.com (Barry Walker)
Uploader:LAG. (Lincs AMIGA Group)
Type:dev/src
Version:1.00.00
Architecture:generic
Distribution:Public Domain, CC0 licence.
Date:2018-08-27
Download:http://aminet.net/dev/src/FFT_Python_1.4.0.py.txt - View contents
Readme:http://aminet.net/dev/src/FFT_Python_1.4.0.py.readme
Downloads:837

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

Architectures: Classic AMIGAs, WinUAE, FS-UAE, (Windows? Linux?).
-----------------------------------------------------------------

  MINIMUM Requirements Are:-
  --------------------------

  1) Amiga environment:-
       Stock AMIGA 1200 with HDD, (extra memory is always useful,
       but not needed; it will run faster however with FASTRAM).
       WinUAE 1.5.3, minimum on Windows.
       FS-UAE on OSX 10.13.6 and Linux Mint 19.
       Standard AMIGA OS_3.0.x install or better.
       Full Python 1.4.0, minimum, installed, (full install on AMINET).
       ( http://aminet.net/package/dev/lang/Python_14 )

  2) Apple OSX 10.12.0 and higher using default Python 2.7.x, plus 3.5.2.
  3) Python 2.7.x to 3.7.0 on Windows 10 and Linux Mint 19.

----------------------------------------------------------------------------

  History:-
  ---------

  28-08-2018.
  -----------
  Version 1.00.00. Probably the one and only upload for this archive.

----------------------------------------------------------------------------

  General:-
  ---------

  (Apologies for any typos, etc...)

  'FFT_Python_1.4.0.py.txt'

  !!!Yep, that's right, FFT for Python 1.4.0 is finally here!!!

  This is the simplest implementation of a basic FFT function for the
  Classic AMIGA. Because the old tub has only got Python 1.4.0 as a maximum
  that requires NO serious hardware upgrades to work, and NO 'numpy',
  'scipy' or other complex mathematical and scientific libraries at its
  disposal then after much research, learning and jiggery pokery I came up
  with this. The ONLY library/module required is the builtin 'cmath' one.
  No other dependencies or modules are needed at all, just the default
  Python 1.4.0 installation from AMINET.

  If you are in need of a very basic FFT function just download
  'FFT_Python_1.4.0.py.txt' and save it inside your PYTHON:  volume.
  Rename the file to FFT_Python_1.4.0.py and you are ready to roll.

  Ensure that the PYTHON: volume points to where the Python1.4 drawer is.
  Example:
  Assign PYTHON: WORK:Python14<ENTER>

  In a CLI start python from the PYTHON: volume as:
  PYTHON:python_020_ieee<ENTER>

  At the Python prompt enter:-

  >>> execfile("PYTHON:FFT_Python_1.4.0.py")<ENTER>

  You will get a list of complex numbers and a spectrum display like this
  (for the test 16 sample list inside the code):

  """
  Quick text mode spectrum display...
  ****
  ********************************
  ************
  *
  ************
  *
  ****
  ********
  ****
  ********
  ****
  *
  ************
  *
  ************
  ********************************
  """

  Now that there is a building block to work with basic work can be done on
  say audio waveforms, sadly though, not in real time; but hey we didn't
  have ANY FFT before for a stock AMIGA A1200 with a(n) HDD and OS 3.0.x
  as a minimum hardware requirement...

  This makes my FFT_AMIGA.py on AMINET redundant as this was what I was
  aiming for from day one of development.

  Finally, the code has all the values expected commented out as a
  comparison for your system and current hardware with their versions of
  Python.

  READ THE CODE FOR MORE INFORMATION.

  Enjoy...

  Bazza...

----------------------------------------------------------------------------

  This archive is issued under the CC0 Licence. Public Domain.

  I take no credit for the original code block, only the modifications to
  make it work on Python 1.4.0 for the AMIGA and up to the current 3.7.0,
  as of the above release date, on any other platform.

----------------------------------------------------------------------------

                                IMPORTANT:-
                                -----------

    The Legal Stuff:-
    -----------------

    This code is CC0 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:-
    --------------------

    All WinUAE, FS-UAE and Classic AMIGA test conditions were/are running
    standard OS 3.0.x and using standard ~topaz 8~ fonts throughout. The
    minimum hardware requirements ARE needed however.

    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/

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


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