Illuminophony, or a return to the past in a different edition.

Before publishing, I wondered if anyone else was interested in this topic. But maybe there is still a maniac for flashing lights

Illuminophony - a somewhat forgotten topic. The device has, in my opinion, undergone a backward evouluation and at the outset let me quote my colleague @Preskaler who wrote 20 years ago:
The idea of illuminophony originated in the 18th century and consisted of casting coloured light on a screen depending on the content of particular frequencies in the music. Low tones corresponded to red (also low frequency) medium tones were green and blue tones were high. These were the beginnings of RGB! Listening to music in this way, that during its amplitude changes of individual frequencies, the listeners simultaneously saw colours changing, dimming when the music was quiet and brightening when the music was strong, and in addition with changing colours across the spectrum. This gave an enhanced artistic experience and the listeners were delighted. Of course, this was done by hand. Modern illuminophony has an excellent tool for this purpose but, unfortunately, the whole principle of this illuminophony has been neglected. What has appeared is a colourophone with three mercilessly flashing lights. This does not give the effect of mixing colours and creating resultant colours, thus making the effect negligible. It is no wonder that it is not clear why there is a division of the acoustic frequencies and even of the three spotlight colours?
another post in that thread confirms @Preskaler's argument

source: https://www.elektroda.pl/rtvforum/topic190754.html#928465
I did the project at the request of a colleague. Unfortunately not completed due to undecided periphery (executive headlights).
The main idea was to simulate the inertia of the bulb filaments. Unfortunately simple circuits using LEDs do not provide smooth modulation of light only, they work zero-one.
My design is an attempt to meet this challenge.
I have abandoned analogue filters in favour of a fast Fourier transform (FFT). This simplified the electronics layout considerably.
To do this, I used the powerful and inexpensive ESP32 MCU and the arduinoFFT.h library
Device features:
Three RGB channels.
9 bit PWM controlling the LED, exponentially modulated in 64 levels.
LED brightening and dimming inertia setting for each colour. Lovers of 'nystagmus' can set zero.
Atomatic level for each channel.
Free frequency (stripe) allocation for each channel.
Enabling or disabling LED glow in the absence of an audio signal (PWM = 1).
Unfortunately, the device did not get a UI and the settings have to be changed in program code.
Program description:
Program written in Arduino IDE.
For the purposes of the FFT, 512 samples are taken at a sampling frequency of 40kHz.
With these parameters, the bar value is approximately 78Hz.
The audio samples and FFT calculations are performed in the main loop.
It takes approximately 16ms to take a set of samples and calculate the FFT.
In the timer interrupt, the PWM LED waveform is modulated.
In the prototype circuit I have used a 1W power LED. Of course, this part can be freely extended.
I attach a schematic with the development circuit. For the development board, the 3.3V stablizer circuit and the Flash and Reset buttons must be omitted.
The circuit can be assembled "on your knee" within an hour.
Good luck with your experiments

Example settings:
Increased light incidence:
Settings for "optical sprinters" (pure PWM):

And so it is better than switched LEDs.
Diagram:

Comments
Add a comment@efi222 Congratulations on making this device. However, I was concerned with colour mixing and not flashing three separate colours. Colour mixing as it is, for example, on an LCD screen. Then there is... [Read more]
This is a prototype. We have an RGB output. Further you can do whatever you want with it. You can mount the Led more point-wise. I focused more on the smooth modulation of the light. Nothing prevents you... [Read more]
Sixty-plus years ago I did the blending on three bulbs painted with transparent spirit varnish and placed behind a milky glass. The bulbs were as close together as possible and placed some distance from... [Read more]
LEDs, unlike incandescent bulbs, are not suitable for voltage control. The current characteristics are too steep. About the linearity of the luminosity of such a solution I will not even mention. (Most... [Read more]
I tried to compile the sketch but there are errors of missing declaration: adcAttachPin, timerAlarmWrite, timerAlarmEnable and some more errors. What am I doing wrong? The board I have chosen is the ESP32C3... [Read more]
ESP32 C3 is a rather different architecture to ESP32 Wroom (ESP32 Dev Module). The code may not compile for this module. At the very top of the source code the requirements for correct compilation are... [Read more]
I had to roll back the version of "ESP32 by Espressif System" from 3.0.7 to 1.0.4 for the sketch to compile. Selected "ESP32 Dev Module" board. [Read more]
Exactly as it is in the description. 1.0. 4 is the latest version where you can sample the ADC 40kHz and above. In all higher ones the maximum frequency at the ADC input is 10kHz. At least in Arduino... [Read more]
For me "the bomb"! A really great job. White light will be difficult to achieve, because in this way of mixing there will always be unevenness in the individual colour beams and colour spots will appear.... [Read more]
How does it work driven by "Enola Gay", "Take On Me" and "Gimme All Your Lovin'"? [Read more]
On which settings? I can fire it up in the evening. [Read more]
And how it comes out better there. I won't guess whether with high or low inertia. [Read more]
I did something similar and at a similar time but I placed the bulbs in my parents' large, deep-cut crystal vase. The wall of the vase was about 25 mm thick. Super came out. [Read more]
I can see that those interested in the device are of an older vintage. Not surprisingly, anyway. When the word "illuminophony" is said, the younger generation makes big eyes. Some try to analyse it.... I'll... [Read more]
In Radioelektronik and Praktyczny Elektronik there were diagrams of such colourophones/colorophones :) . In Młody Technik there was a micro-luminophone - three or four transistors and attached to them... [Read more]
. That's right - it flashed. The effect is only satisfactory if the colours are mixed. I "discovered" illuminophony in 1962 in an article from the magazine "Yunyj Tiochnik" (the Russian equivalent of... [Read more]
But then there were no blue LEDs. So there was red, green and yellow. The Colorofon C23B also had these colours and on the wall the light mixes, but the effects are not like RGB mixing. That's what they... [Read more]
The first illuminophony I made also had a yellow filter instead of blue. It wasn't until years later that incandescent bulbs with reflectors and coloured filters appeared. Also with blue. And whether... [Read more]
. Of course not. There were no diodes or incandescent bulbs in the 18thw either but other light sources were and coloured filters too. The control was manual with a large time constant. I did on incandescent... [Read more]