Musical Instruments // App 01

LIGHT THEREMIN

Move your hand over a light sensor. The eBrain reads A0 and this page turns the changing light into sound. Calibrate it to the room you are actually in.
Not connected
Live light reading
---
Raw sensor scale: 0–1024
Trigger Mode uses GPIO 4 as a note gate: the sensor chooses the pitch, and a button press plays it.
Sound
0 Hz
Live waveform

What the speaker is playing

0 Hz
Oscilloscope-style view of the generated oscillator. Change waveform above to compare sine, triangle, square and sawtooth waves.
Light → pitch history

Watch your hand become sound

~12 seconds
Light sensor Frequency
Both traces are normalized to their active ranges. In scale modes, the pitch trace visibly steps between allowed notes instead of sliding continuously.
Serial monitor
Ready.
This prototype sends {"cmd":"analog_read"} as newline-terminated JSON. It accepts several likely response shapes so it can tolerate small firmware differences.