{"version":"1.0","type":"rich","title":"Song with Tone.js","description":"This example demonstrates a generative music composition built with the Tone.js library, controlled through a single Play button in the browser. It showcases how multiple synthesized instruments—drums, bass lines, chords, and a trumpet sampler—are sequenced together to form a layered song. The code constructs drum patterns using string-based sequences parsed by helper functions, schedules repeating loops with `Tone.Sequence`, and chains audio effects like `Tone.Reverb` and `Tone.Filter` to shape the sound. The trumpet samples are loaded from an external URL using `Tone.Sampler`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c5bf2c12ce1a494ea7b8bc249a62357d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}