flâneur

https://reactronica.com

reactronica.com · 233 words · saved by 4 readers

Open source React components for making music in the browser.

React Components Play audio in the browser with simple declarative components. Treat music as a function of state. Uses Tone JS under the hood. Inspired by React Music. import { Song, Track, Instrument } from 'reactronica; const Audio = () => { return ( <Song isPlaying={false}> <Track steps={['C3', 'E3', 'B2', 'E3']}> <Instrument type="synth" /> </Track> </Song> ) } Synth Take advantage of the browser's synth engine import { Song, Track, Instrument } from 'reactronica; const KeyboardAudio = () => { const [notes, setNotes] = useNotes([]); return ( <> {} <Keyboard…

saved by

related reading