]> OzVa Git service - rust_fft/summary
 
descriptionAudio-over-stft continued in Rust
last changeSat, 25 Oct 2025 01:33:08 +0000 (02:33 +0100)
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
6 days ago Max ValueAdded todo list main
6 days ago Max ValueAdded comments to python
6 days ago Max ValueAdded makefile
6 days ago Max ValueMerge branch 'main' into production
6 days ago Max ValueChanges for testing and cleanup production
6 days ago Max Valuemoved python proj to better place
6 days ago Max ValueFixed backend issue by passing show_image backend
2025-10-08 Max Value"""fixed""" rust LUT implementation
2025-10-07 Max ValueSwitched to scipy B splines
2025-10-07 Max ValueFully built the LUT system
2025-09-14 Max ValueSetup to write LUT generator
2025-09-14 Max Valuechanges for new system
2025-03-04 Max ValueKilling babies
2025-01-10 Max ValueMoved let outside of loop in color conversion
2025-01-10 Max ValueRehashing audio system. Added transformers
2024-11-07 willRefactoring
...
heads
6 days ago main
6 days ago production