]> OzVa Git service - rust_fft/summary
 
descriptionAudio-over-stft continued in Rust
last changeFri, 10 Jan 2025 13:00:24 +0000 (13:00 +0000)
readme

Audio over the Short-Time Fourrier-Transform

William Greenwood - Contact: greenwoodw50 [at] gmail [dot] com

Abstract

Audio over STFT uses a camera as well as a display to allow interaction with a sound. Sound is converted to a lossless spectrogram before being displayed to a screen. It can then be captured by the relevant capture device and converted back into sound. This process is very slightly lossy due to the compression of converting 16-bit integers into unsigned 8-bit integers.

Technical details

Audio samples are chunked together and a FFT is performed, this converts the samples into a complex array. The length of these vectors is the amplitude of the sound and is currently mapped to the value of the colour. The angle of the vector relative to the real axis is the phase of the sound and is usually discarded, this is mapped to the saturation of the colour.

The hue is currently unmapped but could potentially be used as error-correction data or a copy of either phase or amplitude.

shortlog
2025-01-10 Max ValueRehashing audio system. Added transformers main
2024-11-07 willRefactoring
2024-11-03 willFixed bugs
2024-11-03 willFixed build issue and moved build script
2024-11-02 willBegun setting up c++ functions
2024-10-26 willAdded build sript and started working on c++ perspectiv...
2024-10-18 willBuilt dynamic ifft processor
2024-10-16 willFixed normaization bug
2024-10-16 willTroubleshooting
2024-09-29 willMain structure and functions setup
2024-09-21 willInitial version
heads
6 months ago production
8 months ago main