MATRIXSYNTH: How to create a DIY sequencer using Web MIDI and a MIDI controller

Friday, December 17, 2021

How to create a DIY sequencer using Web MIDI and a MIDI controller

video upload by Floyd Steinberg

"Here's how to create a simple 16 step, 8 track, 8 patterns MIDI sequencer using JavaScript and Web MIDI (and some simple math). Table of contents:

00:00 introduction
00:51 midi basics
01:34 binary numbers
03:30 midi commands: note on
04:47 note off command
05:37 web midi
06:29 web workers
07:23 basic idea how to create the sequencer, and math basics
09:05 how to swing
10:19 document object model
12:13 how to use my sequencer
18:13 conclusion

My sequencer: (right click and show source for more info)
Main script:
MIDI specification:

No comments:

Post a Comment

Comments are moderated. Constructive feedback on gear is welcome, insulting people is not. Comments do not appear immediately and are published throughout the day. P.S. If the post is from years ago, please don't ask if it is still for sale. If an auction link is gone, it is gone. Items for sale on MATRIXSYNTH are not from MATRIXSYNTH. They are from others in the synth community.


Patch n Tweak

© Matrixsynth - All posts are presented here for informative, historical and educative purposes as applicable within fair use.
MATRIXSYNTH is supported by affiliate links that use cookies to track clickthroughs and sales. See the privacy policy for details.