GithubHelp home page GithubHelp logo

iteratix / midi2funk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hems/midi2funk

0.0 2.0 0.0 130 KB

Maps midi messages to javascript functions and broadcast them for all clients, use at your own risk

CoffeeScript 97.84% Makefile 2.16%

midi2funk's Introduction

Simple midi to javascript ( actually coffee-script ) function mapper. MODIFIED BY US TO WORK WITH LAUNCHPAD SPECIFICALLY.

install instructions

npm install

then

make start

or

./node_modules/.bin/coffee app/start.cofee

how to use it

Once you run it and choose your midi device it will create a server at localhost:1337

Then add socket.io to your html file ( generally your index file? )

<script src="http://localhost:1337/socket.io/socket.io.js"></script>

At the moment there is a very simple and just broadcast the deltaTime / midi message via socket.io, in short you can retrieve them with

socket = io.connect('http://localhost:1337')
socket.on 'message', ( data ) =>

	message = data.message

	type   = message[0]
	number = message[1]
	value  = message[2]

Shold be very easy to change the transport ( socket.io ) to something else

get in touch!

  • If you feel interested by this project and want to develop this further
  • have some nice ideas
  • want to chat about it
  • want me to come over and have a geeky session

just drop me a line: [email protected]

$ happy patching

thanks to :

  • coffee-script
    ~ It gives me nightmares just to think how life could be without you

  • node-midi
    ~ without you this wouldn't be possible wire this all in less than 10 minutes

  • inquirer
    ~ that awesome module to do awesome prompts on the command line

  • Dave Smith
    ~ For making something so good 30 years ago ( MIDI )

  • socket.io

midi2funk's People

Contributors

hems avatar timkettering avatar

Watchers

James Cloos avatar Bobby Cox avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.