Simple picture to sound converter.
This script is not the fastest one: it doesn't use inverse FFT to build the sound,
but the sounds computed are better than using inverse FFT.
Second version of a LED using emitting medias instead of light_source.
The LED macro has 3 input parameters: light intensity, colour and
a on/off switch.
A LED panel showing an audio spectrum and the volume level, in dB (decibels).
The panel has input parameters: audio datas, sample rate,
min and max frequencies to show, number of frequencies,
LED colors and a on/off switch.
This is a portage of a very old BASIC-Apple II source to Povray.
Normal and inverse FFT macros.
Audio datas must be in a array containing vectors
made of 2 values: <left, right>,
or <value, 0> if used with mono signals.
I deliberately chose one of the most funny pictures I have : my haircut is not really like this. ;)