osc-emitter

command module
v0.0.0-...-ac9294b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2015 License: Apache-2.0 Imports: 11 Imported by: 0

README

osc-emitter

Takes various sensor inputs and outputs a stream of OSC messages.

Install Dependencies

brew install portmidi
go get github.com/gorilla/websocket
go get github.com/hypebeast/go-osc/osc

Overview

  • main loop manages slice of Instruments, with reads and writes flowing through channels.
  • separate loops will receive input form sensors (or the web simulation) and update Instruments.
  • each Instrument will send a constant stream of OSC messages to N receivers.

Run it

go run main.go serve.go instrument.go -c config/test.json

Create other config files for other situations.

TODO

  • instrument interface to create other types of instruments
  • refactor current instrument implemenation to utilize a general interface
  • create other types of instruments (linear/rotary encoder, always on/off, others)
  • web ui using config files with config endpoint for js
  • how to tweak config settings during performance?
  • better web sim physics

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL