Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

telepad

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telepad

Use a Novation Launchpad and the Twilio API to play looped sounds on up to eight phones.

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Telepad

Built for Music Hack Day London 2013.

Use a Novation Launchpad and the Twilio API to play looped sounds on up to eight phones.

How?

You'll need a Twilio account, an ngrok account, a list of up to eight sound files hosted somewhere and a list of up to eight phone numbers.

Run ngrok:

$ ngrok 9999

You need a JSON config file as follows. The ngrok address needs to match the assigned one from above.

{
  "midi": {
    "port": 0
  },
  "ngrok": {
    "address": "http://abcabc.ngrok.com",
    "port": 9999
  },
  "twilio": {
    "sid": "abcabc",
    "token": "defdef",
    "number": "+440000000000"
  },
  "sounds": [
    "https://s3-us-west-2.amazonaws.com/telepad/mp3-128-cropped/Glockenspiel+A1.mp3",
    "https://s3-us-west-2.amazonaws.com/telepad/mp3-128-cropped/Glockenspiel+B1.mp3",
    "https://s3-us-west-2.amazonaws.com/telepad/mp3-128-cropped/Glockenspiel+D1.mp3",
    "https://s3-us-west-2.amazonaws.com/telepad/mp3-128-cropped/Glockenspiel+D2.mp3",
    "https://s3-us-west-2.amazonaws.com/telepad/mp3-128-cropped/Glockenspiel+E1.mp3",
    "https://s3-us-west-2.amazonaws.com/telepad/mp3-128-cropped/Glockenspiel+E2.mp3",
    "https://s3-us-west-2.amazonaws.com/telepad/mp3-128-cropped/Glockenspiel+F%231.mp3",
    "https://s3-us-west-2.amazonaws.com/telepad/mp3-128-cropped/Glockenspiel+F%232.mp3"
  ],
  "numbers": [
    "+440000000000",
    "+440000000000",
    "+440000000000",
    "+440000000000",
    "+440000000000",
    "+440000000000",
    "+440000000000",
    "+440000000000"
  ]
}

Then start the Telepad server:

$ telepad

The config file is expected to be named config.json and located in the current working directory. If it's not, you can pass in a relative path.

$ telepad some/other/file.json

The special buttons on the right of the Launchpad will light up red for each phone number in your config. Press them to make a call, you'll see them turn green. Each row corresponds to a phone and each button corresponds to a sound from your config!

With thanks to Syd Lawrence for midi-launchpad and his helpful advice.

Keywords

FAQs

Package last updated on 08 Dec 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc