Element AV Synth
Element AV Synth is a native SwiftUI / iOS 16+ spectral audiovisual instrument that maps NIST atomic emission lines (380–780 nm) across all 118 IUPAC elements into synchronized Display-P3 light pulses, 120 Hz GPU-accelerated gas-discharge plasma visuals, polyphonic AVAudioSourceNode harmonic chords, and 8-byte CoreBluetooth LE packets for external LED hardware.
Core Architecture & Hardware Integration
- Complete 118-Element Spectral Catalog: Covers NIST visible emission spectra (
Z = 1–99) and relativistic bands (Z = 100–118) with Dan Bruton wavelength-to-Display-P3 color mapping, logarithmic audio frequency conversion, and MIDI pitch synthesis. - 120 Hz Metal Gas-Discharge Plasma Visualizer: GPU-accelerated custom Metal shader (
SpectralPlasma.metal) rendering real-time spectral discharge glow alongside a 3-tab SwiftUI workspace (Synth, BLE Light, Spectrum). - Real-Time Polyphonic Audio Engine: Lock-protected
AVAudioEngine/AVAudioSourceNodeadditive synthesizer with a deterministicAVBeatClockand atomic-mass-coupled pulse durations. - 8-Byte CoreBluetooth LE + ESP32 Reference Firmware: Streams CRC-verified 8-byte packets (
0xAA | Z | H | S | V | PulseDur | CRC) over custom ElementAV GATT or Nordic UART Service (NUS) with includedFastLEDESP32 receiver firmware.
Photosensitivity Safety & Privacy
Photosensitivity & Educational Scope: Features a default photosensitivity safe-rate cap (≤ 2.5 Hz) with an explicit opt-in warning before enabling raw strobe modes—use caution if sensitive to flashing lights. 100% on-device audio/visual synthesis; Bluetooth is used solely to transmit LED lighting packets to user-selected hardware. Read our full Privacy Policy and Accessibility Statement.