Skip to content

Example of how to use Twilio SMS to control an Elektron Octatrack with MIDI using Node.js and easymidi

Notifications You must be signed in to change notification settings

cskonopka/twilioElektron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Controlling an Elektron Octatrack with a SMS text-message

Description

This is an example of how to control an Elektron Octatrack, via midi (easymidi), with Twilio SMS and Node.js + Express. The purpose of this project was to make an initial connection with the Elektron Octatrack by using text message to mute and unmute a single track on the sampler using MIDI. This idea could be grown into a larger system that could utilize complex MIDI routes to create algorithmic compositions using data, a crowd of text messages or even gorillas in the wild. Think big.

What was used

How to use?

  1. Install the necessary dependencies

npm i

  1. Start the app [* insert a port number at the end, can be anything, just make sure it's the same as ngrok]

npm run 7777

  1. Start ngrok

ngrok http 7777

  1. Copy the "Forwarding" address, go to your Twilio account and navigate to your available phonenumbers

  2. Click the phone number you would like to use and navigate to the "Messaging" section.

  3. Paste the "Forwarding" address into where it say "A Message Comes In", make sure it's set to Webhook and HTTP POST

  4. Once you paste the address, add "/sms" at the end so it is properly routed to the Express API

http://bcbdd8a8.ngrok.io/sms

  1. Send an "On" text! It should turn on the first track of the Octatrack and "Off" mutes the track. [There was no preconditioning done with the Octatrack, literally plug and play with a USB MIDI device]

npm run deploy

Example Video

twilioElektron.mp4

About

Example of how to use Twilio SMS to control an Elektron Octatrack with MIDI using Node.js and easymidi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published