Live data from Hacker News

Tone.js – A framework for making interactive music in the browser

github.com

1–10 of 27 posts

Re: Tone.js – A framework for making interactive music in the browser

#4
One interesting thing to me about Tone.js has always been that their “Transport” API is a more reliable interval/timer tool than any of the native JS APIs or even libraries/polyfills designed around more accurate interval timing. I’d almost be surprised if I wasn’t wrong about this but I searched and couldn’t find anything quite comparable.

Re: Tone.js – A framework for making interactive music in the browser

#6
post #4

One interesting thing to me about Tone.js has always been that their “Transport” API is a more reliable interval/timer tool than any of the native JS APIs or even libraries/polyfills designed around more accurate interval timing. I’d almost be surprised if I wasn’t wrong about this but I searched and couldn’t find anything quite comparable.

It has sample-level precision, just like the Web Audio API provided by the browser (which is what's used under the hood). It's pretty much independent of non-audio time APIs.

Re: Tone.js – A framework for making interactive music in the browser

#7
I used Tone.js to create my music theory website https://www.lightnote.co/

Using recordings from my guitar (of each and every note) I was able to build an interactive fretboard that could play guitar tabs/chords. Also the Transport API made it simple to build a drum looping machine very quickly.

Ableton has built something similar, also using Tone.js: https://learningmusic.ableton.com/make-beats/make-beats.html

Performance on mobile leaves a lot to be desired. I found there was considerable lag.

Re: Tone.js – A framework for making interactive music in the browser

#8
post #7

I used Tone.js to create my music theory website https://www.lightnote.co/ Using recordings from my guitar (of each and every note) I was able to build an interactive fretboard that could play guitar tabs/chords. Also the Transport API made it simple to build a drum looping machine very quickly. Ableton has built something similar, also using Tone.js: https://learningmusic.ableton.com/make-beats/make-beats.html Perfo…

Just tried https://www.lightnote.co/ . Thank you for making it, I really love it.

Re: Tone.js – A framework for making interactive music in the browser

#9
We used tone.js to create https://musicblocks.sugarlabs.org

Tone.js is really good at doing things related to music.

We were able to build a scratch type programming language for music, so that kids could learn programming and music at the same time.

Re: Tone.js – A framework for making interactive music in the browser

#10
Tone.js is such a great framework and fun to work with! I was incredibly quick putting together a generative music piece, especially because the online docs for Tone.js are the best I’ve worked with. Would love to play a lot more around with it

(listen at: https://pocoapollo.hdor.is)

Post reply on HN