Viewing a saved revision (read-only)
cqIZdVggEa242O690yRP4
An interactive virtual piano with white and black keys generates musical tones through the Web Audio API, allowing play via mouse, touch, or keyboard. The instrument displays a realistic 3D design using CSS gradients and shadows, with visual feedback through CSS transitions on key presses. A built-in demo melody button triggers a pre-programmed scale. The implementation dynamically creates piano keys through DOM manipulation and uses Web Audio API for audio synthesis with gain control, demonstrating front-end techniques for responsive instrument interfaces.
Sonic Aura Sequencer
An algorithmic step sequencer that generates evolving pentatonic arpeggios, with a compact L-system-inspired phrase grammar and a small chance of chromatic passing notes.
How to Use
- Press Play to run the 16-step loop.
- Press Generate to create a new structured arpeggio. Density affects how many notes are played; the phrase remains anchored to a repeating motif.
- Click grid cells to add or remove notes manually.
- Use the controls to shape tempo, density, filter, envelope, delay, and detuning.
- Choose a Minor Pentatonic or Major Pentatonic scale. Generated chromatic color notes appear in amber and occur only occasionally.
- Enable Arpeggio, Drone Pedal, Chords, or the visual aura options to alter playback and presentation.
Generation
The generator expands a small symbol grammar into a repeating phrase, maps the result to pentatonic scale degrees, then applies a beat-aware density gate. Strong beats and phrase endings are favored. A low-probability chromatic semitone is used as an off-color passing tone, while the rest of the generated notes remain in the selected pentatonic scale.