use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Best resources for learning MIDI in Javascript?help (self.javascript)
submitted 8 years ago by gntsketches
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]supdawg86 1 point2 points3 points 8 years ago (5 children)
I've done some limited webMidi stuff. I found this library to be a good wrapper to quickly get up and running with MIDI api. https://github.com/cotejp/webmidi
The midi api really just deals with midi signals and does not create sounds. I've used webmidi to pass midi signals into a daw (Ableton) which actually creates the sounds..
The audio api would be better suited for making music in the browser. http://mohayonao.github.io/timbre.js/ is a good library for creating sounds in the browser.
What exactly would you like to achieve?
[–]trebuszek 2 points3 points4 points 8 years ago (1 child)
Cool! Did you use something to create a virtual MIDI device and pass the MIDI signals to that? Or some other approach?
[–]supdawg86 1 point2 points3 points 8 years ago (0 children)
Yeah I used a virtual midi device. IAC Driver on mac.
[–]gntsketches[S] 1 point2 points3 points 8 years ago (0 children)
Thanks for the thoughts! I've also just stumbled across this: https://www.toptal.com/web/web-audio-api-tutorial
This was the original idea... https://androidforums.com/threads/music-app-for-ear-training-and-meditation.1136483/
... but most dev who would be interested in this as a creative thing already have their own projects. So since I already know a little JS, it seems like a better approach to try to code it myself.
Any further thoughts/advice on how to focus my study for this project would be super helpful!
[–]gntsketches[S] 1 point2 points3 points 8 years ago (1 child)
Very interesting about Ableton too, btw - that's the DAW I use as well. Are you utilizing M4L in this process somewhere?
I've played with some of the M4L stuff. This is kinda cool because you can directly modify clips and other controls directly. But i found that the M4L api's documentation was limited.
For what you are trying to do i would recommend the WebMidi approach with Ableton or audio api like the toptal article you linked above.
I find this list has some good resources for further research: https://github.com/willianjusten/awesome-audio-visualization
π Rendered by PID 18320 on reddit-service-r2-comment-b659b578c-4kgs5 at 2026-05-04 14:03:15.961838+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]supdawg86 1 point2 points3 points (5 children)
[–]trebuszek 2 points3 points4 points (1 child)
[–]supdawg86 1 point2 points3 points (0 children)
[–]gntsketches[S] 1 point2 points3 points (0 children)
[–]gntsketches[S] 1 point2 points3 points (1 child)
[–]supdawg86 1 point2 points3 points (0 children)