LAGU (v0.4) is a generative audio system, where ambient audio is slowly and endlessly created based on ever changing weather conditions. Powered by Tone.js and p5.js How it works
: The system starts by fetching the local weather forecast, which is used to decide the scale, playback speed, visual effects and the pool of possible pre-recorded instruments. Randomly selected instruments and properties (notes, note duration, reverb, etc) are assigned to each of the four layers.
The volume of each layer and individual notes decay overtime. After the volume reaches zero, layers are reborn with a new random instrument and properties (based on newly fetched forecast), and new random notes are assigned within the current scale (red lights).
Every 10 minutes the local weather conditions are refetched, updating the playback speed, scale, visuals and choice of new instruments. This process runs forever and is always unique. Extended project description (pdf).