Skip to content

Convert images to audio, visible with a spectrograph. Uses Inverse Fast Fourier Transform.

Notifications You must be signed in to change notification settings

bryangarza/spectre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spectre

This program takes an image (in most common file formats), and uses the Inverse Fast Fourier Transform equation to convert it to a waveform, which is then written to an audio file (wav). This file can be (later) compressed as mp3 if desired.

The Fourier Transform allows us to take a measure of Time and transform to a measure of Frequency and Amplitude.

Use Sonic Visualiser to look at the waveform and spectrogram of the generated file.

Possible improvements: using Numpy’s `ifft2`, the 2-dimensional variant of IFFT, to process the entire image at once. Converting for-loops to `map` functions.

./house-waveform.png

About

Convert images to audio, visible with a spectrograph. Uses Inverse Fast Fourier Transform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages