DeepSpacePad
A generative music composer in your browser that uses the Web Audio API to create and play ethereal harmonies. Click for Demo: https://erichlof.github.io/DeepSpacePad/DeepSpacePad.html
Install / Use
/learn @erichlof/DeepSpacePadREADME
DeepSpacePad
A generative music composer in your browser that uses the Web Audio API to create and play ethereal harmonies. Click for Demo: https://erichlof.github.io/DeepSpacePad/DeepSpacePad.html <br> Preferably listen with headphones! Relax and watch the inspiring space imagery unfold, or close your eyes - then let yourself be transported to deep space!

April 16, 2018: Finally squashed a Web Audio stuttering bug (happening mainly on mobile with less powered CPU). Before this fix I was creating a new Gain node and a new BiQuadFilter node for each of the 35 voices for each new harmony every 30 seconds. I don't think the garbage collector was taking care of the old ones that I discarded. Also, I read and re-read Chris Wilson's great article https://www.html5rocks.com/en/tutorials/audio/scheduling/ and implemented the just-in-time scheduler like he has for his metronome app. I also followed his later revision on GitHub to go one step further and put javascript's setInterval looping timer on its own background thread using a Web Worker. Now I am confident that the timing will be smooth, even if the user changes orientation on the mobile device, or resizes or minimizes the browser window on desktop. Even with all this going on, the timing stays rock solid - no more audio stuttering or hiccups! Yay :)
March 29, 2018: Initial Commit
<h3>Future Plans</h3>- I want to explore melodic automatic composition rather than just harmonies. This is much more difficult to make convincing though.
- I might start with a Wind Chime type machine that randomly plays pleasing tones, then I'll try to refine this process to have more organization in the composition.
- Develop different rhythm generation algorithms and combine this with the harmony and melody making process.
- Eventually, way down the line, have the entire film score-type music composing process automated. Being realistic, I don't know how far I can take this artistically, but it's fun to think about and explore! :-)
Related Skills
node-connect
333.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
333.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.0kCommit, push, and open a PR
