Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swallez/livecoding-webaudio-tonejs
Live coding music with WebAudio, WebMidi & ToneJS
https://github.com/swallez/livecoding-webaudio-tonejs
livecoding music tonejs webaudio webmidi
Last synced: 11 days ago
JSON representation
Live coding music with WebAudio, WebMidi & ToneJS
- Host: GitHub
- URL: https://github.com/swallez/livecoding-webaudio-tonejs
- Owner: swallez
- License: apache-2.0
- Created: 2019-10-05T16:22:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-05T21:35:15.000Z (2 months ago)
- Last Synced: 2024-10-12T19:50:34.319Z (25 days ago)
- Topics: livecoding, music, tonejs, webaudio, webmidi
- Language: TypeScript
- Size: 27.2 MB
- Stars: 22
- Watchers: 2
- Forks: 3
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Live coding music with WebAudio, WebMidi & ToneJS
This is a musical live coding environment built for a conference talk . This talk was given:
* at [DevFest Toulouse 2019](https://devfesttoulouse.fr/) in Toulouse, FR - [video (in French)](https://www.youtube.com/watch?v=LShM4QzMOxY)
* at [SunnyTech 2024](https://sunny-tech.io/) in Montpellier, FR - [video (in French)](https://www.youtube.com/watch?v=SHXmDMtKEQs)
* at [RivieraDev 2024](https://rivieradev.fr/) in Sophia-Antopilis, FRThe goal of this talk is to walk the audience in 45 minutes through the concepts of [WebAudio](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) and [ToneJS](https://github.com/Tonejs/Tone.js) and go from a raw oscillator producing a sine wave to a complete song with drums, bass line, pad and lead melody and effects that can be tuned live with a MIDI controller.
Challenge accepted, it worked πΆπ
The editor used is [Monaco editor](https://microsoft.github.io/monaco-editor/), the embeddable version of VS-Code's editor. So you have all the nice syntax verification and code completion features.
### How to use it?
You can head to https://swallez.github.io/livecoding-webaudio-tonejs/ and start live-coding/playing! Be patient though, the editor is a bit big and takes time to load.
To run locally, run `npm run build && npm run serve`: it builds to the `docs` directory and serves it on http://localhost:8080/
### I'm in a hurry! What does it sound like?
A [teaser for the talk](https://www.youtube.com/watch?v=dQ3fUMdueqs) and the [final track](https://www.youtube.com/watch?v=fBAHuxrnXj0) are on YouTube. If you understand French (or just want to follow the demo), [watch the talk](https://www.youtube.com/watch?v=LShM4QzMOxY).
### License
Apache Licence 2.0
By contributing to this repository you implicitly accept your contributions to be licensed under the Apache License 2.0