Strudel Generator: AI-Powered Live Coding Music Workstation
Strudel Generator: AI-Powered Live Coding Music Workstation
Čo je Strudel Generator
Strudel Generator je AI-powered hudobná pracovná stanica pre live coding, postavená na open-source knižnici Strudel.cc. Umožňuje vytvárať elektronickú hudbu priamo v prehliadači pomocou textového kódu alebo AI generátora.
Hlavné funkcie
- Transport Controls: Play, Stop a Mute tlačidlá pre rýchle ovládanie prehrávania.
- Master Volume: Plynulé ovládanie hlasitosti výstupu.
- Preset Library: Predpripravené hudobné patterny v troch kategóriách - Melodic, Beats a Full Tracks.
- AI Composer (Cerebras): Generovanie hudobného kódu pomocou Cerebras AI na základe textového promptu.
- BPM Control: Nastavenie tempa od 60 do 200 BPM.
- Audio Spectrum Analyzer: Vizualizácia zvukového spektra v reálnom čase.
- Source Code Editor: Priame editovanie Strudel kódu s syntax highlightingom.
Preset Library
Aplikácia obsahuje bohatú knižnicu presetov rozdelených do kategórií:
🎵 Melodické
- Arpeggio Dream - Snové arpeggiá
- Ambient Pad - Atmosférické pady
- Chiptune - Retro 8-bitové zvuky
- Piano Chords - Klavírne akordy
🥁 Beaty
- Classic Techno - Klasické techno beaty
- Deep House - Hlboké house rytmy
- Drum & Bass - Rýchle D&B patterny
- Lo-Fi Hip Hop - Relaxačné lo-fi beaty
- Breakbeat - Synkopované breakbeaty
🎸 Kompletné skladby
- Synthwave - Retro synthwave štýl
- Minimal Techno - Minimalistické techno
- Trance - Energické trance patterny
- Experimental - Experimentálne zvuky
AI Composer s Cerebras
Najzaujímavejšou funkciou je AI Composer, ktorý využíva Cerebras AI pre generovanie Strudel kódu. Stačí zadať textový popis požadovanej hudby v angličtine a AI vygeneruje funkčný kód.
Príklady promptov:
dark techno with heavy kicktrap beat with 808ambient soundscape with reverbfast drum and bass with reese bass
Čo je Strudel?
Strudel je JavaScript implementácia Tidal Cycles - populárneho live coding jazyka pre hudbu. Umožňuje vytvárať komplexné hudobné patterny pomocou jednoduchého kódu. Strudel beží priamo v prehliadači bez nutnosti inštalácie.
Ako to funguje
- Otvorte aplikáciu na robopol.sk/sound
- Vyberte preset alebo napíšte vlastný prompt pre AI
- Kliknite na Play pre spustenie
- Upravujte kód v editore a experimentujte
- Nastavte BPM a hlasitosť podľa potreby
Technické detaily
- Postavené na Strudel.cc (JavaScript/TypeScript)
- AI generovanie cez Cerebras API
- CodeMirror editor s custom syntax highlightingom
- Web Audio API pre spracovanie zvuku
- Canvas vizualizácia audio spektra
Odkazy
🎵 Aplikácia: robopol.sk/sound
📚 Strudel dokumentácia: strudel.cc
What is Strudel Generator
Strudel Generator is an AI-powered live coding music workstation built on the open-source library Strudel.cc. It allows you to create electronic music directly in your browser using text code or an AI generator.
Main Features
- Transport Controls: Play, Stop, and Mute buttons for quick playback control.
- Master Volume: Smooth output volume control.
- Preset Library: Pre-made musical patterns in three categories - Melodic, Beats, and Full Tracks.
- AI Composer (Cerebras): Generate music code using Cerebras AI based on text prompts.
- BPM Control: Tempo adjustment from 60 to 200 BPM.
- Audio Spectrum Analyzer: Real-time audio spectrum visualization.
- Source Code Editor: Direct Strudel code editing with syntax highlighting.
Preset Library
The application includes a rich preset library divided into categories:
🎵 Melodic
- Arpeggio Dream - Dreamy arpeggios
- Ambient Pad - Atmospheric pads
- Chiptune - Retro 8-bit sounds
- Piano Chords - Piano chord progressions
🥁 Beats
- Classic Techno - Classic techno beats
- Deep House - Deep house rhythms
- Drum & Bass - Fast D&B patterns
- Lo-Fi Hip Hop - Relaxing lo-fi beats
- Breakbeat - Syncopated breakbeats
🎸 Full Tracks
- Synthwave - Retro synthwave style
- Minimal Techno - Minimalistic techno
- Trance - Energetic trance patterns
- Experimental - Experimental sounds
AI Composer with Cerebras
The most interesting feature is the AI Composer, which uses Cerebras AI to generate Strudel code. Simply enter a text description of the desired music in English and the AI will generate functional code.
Example prompts:
dark techno with heavy kicktrap beat with 808ambient soundscape with reverbfast drum and bass with reese bass
What is Strudel?
Strudel is a JavaScript implementation of Tidal Cycles - a popular live coding language for music. It allows creating complex musical patterns using simple code. Strudel runs directly in the browser without installation.
How It Works
- Open the application at robopol.sk/sound
- Select a preset or write your own AI prompt
- Click Play to start
- Edit the code in the editor and experiment
- Adjust BPM and volume as needed
Technical Details
- Built on Strudel.cc (JavaScript/TypeScript)
- AI generation via Cerebras API
- CodeMirror editor with custom syntax highlighting
- Web Audio API for sound processing
- Canvas visualization of audio spectrum
Links
🎵 Application: robopol.sk/sound
📚 Strudel documentation: strudel.cc