MATRIXSYNTH: Turning a Nanokontrol into a 16 step multitrack midi looper using a Raspberry PI Zero 2


Sunday, November 28, 2021

Turning a Nanokontrol into a 16 step multitrack midi looper using a Raspberry PI Zero 2


video upload by Floyd Steinberg

"I turned my Nanokontrol into a 16 step multitrack midi looper using a Raspberry PI Zero 2, using WebMidi on Chromium. This is still work in progress, but I was so happy this works I wanted to share it online. ;-)
Hardware used:
PEAK - for the saw wave patch
Orba - Drums
Reface DX - Lead
PI - sequencer

How it works:
The Nanokontrol has 24 buttons, 16 of them are used as "locks" for the 16 steps in a measure. Pressing a key and turning the left knob "locks" a note in place (a midi keyboard can be used, too). Pressing a button and turning the second knob will adjust note length. The right knob will adjust the tempo of the track.

As this is a web app, all the MIDI stuff is "stored" as a DOM element. Each track is represented by an ordered list that's formatted to look like a table. Velocity, note length and pitch are then stored as data parameters.
There's a web worker running in the background which will provide the time, unaffected by what's going on on the web page. That thread will just count up to 16 in the interval deducted from the BPM and then start from the beginning. Each step, the thread sends a signal to the web page to read the next item in the list and send it to the hardware assigned to that track.

To Do:
- performance optimization for PI Zero (it runs pretty stable on anything else ;-)
- SWING :-)
- midi learning for any given controller
- loading and saving tracks as midi file
- on the fly creation of new patterns, copying the one currently played so you can tweak it
- on the fly pattern switching
- track muting

Once this is done, I'll release it for you to use. :-)"

Support: https://www.paypal.me/alexselck

No comments:

Post a Comment

To reduce spam, comments for posts older than one week are not displayed until approved, usually same day. Do not insult people. For items for sale, do not ask if it is still available. Check the auction link and search for the item. Auctions are from various sellers and expire over time. Posts remain for the pics and historical purposes. This site is meant to be a daily snapshot of some of what was out there in the world of synths.

PREVIOUS PAGE NEXT PAGE HOME


Patch n Tweak
Switched On Make Synthesizer Evolution Vintage Synthesizers Creating Sound Fundlementals of Synthesizer Programming Kraftwerk

© 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.
MATRIXSYNTH - EVERYTHING SYNTH