Skip to content

Latest commit

 

History

History
29 lines (27 loc) · 965 Bytes

README.md

File metadata and controls

29 lines (27 loc) · 965 Bytes

Simple Fourier Transform

Python and MatLab code for Fourier transform book at https://jim-stone.staff.shef.ac.uk/Fourier

PYTHON
fourierdemo.py
Simple Fourier transform of two signals: synthetic and voice.
The voice signal is read in from the file: sebinpubaudiIMG_1563.wav.
Instructions.

  1. Download file fourierdemo.py.
  2. Downlod file sebinpubaudiIMG_1563.wav.
  3. Set variable called testing to 1, and run code.

MATLAB
fourierdemo.m
Simple Fourier transform of two signals: synthetic and voice.
The voice signal is read in from the file: sebinpubaudiIMG_1563.m4a.
Instructions.

  1. Download file fourierdemo.m.
  2. Downlod file sebinpubaudiIMG_1563.m4a.
  3. Set variable called testing to 1, and run code.

OUTPUT
The output for the sound file data is in two graphs, which can be seen in the file listed as results.pdf in this github repository. This file is an extract from Chaper 1 of the book.