-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andreas Dz.
committed
May 14, 2014
1 parent
a7fc769
commit ce8bd72
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ osc.send(bundle2); | |
// close session | ||
osc.disconnect() | ||
osc.disconnect(); | ||
``` | ||
|
||
## Address Pattern Matching | ||
|
@@ -57,9 +57,9 @@ osc.on('/instrument/1', function(message) { }); | |
osc.on('/instrument/2', function(message) { }); | ||
osc.on('/instrument/3', function(message) { }); | ||
``` | ||
Read more about this topic in the OSC [specs](http://opensoundcontrol.org/spec-1_0) and [examples](http://opensoundcontrol.org/spec-1_0-examples#addressparts) | ||
Read more about this topic in the OSC [specs](http://opensoundcontrol.org/spec-1_0) and [examples](http://opensoundcontrol.org/spec-1_0-examples#addressparts). | ||
|
||
### WebSocket Servers | ||
## WebSocket Servers | ||
|
||
To connect your Max MSP / PD etc. to your WebSocket client (propably a browser) you can use a NodeJS server as a bridge or these new solutions (some of them with a direct websocket link): | ||
|
||
|
@@ -68,17 +68,17 @@ To connect your Max MSP / PD etc. to your WebSocket client (propably a browser) | |
* [Autobahn framework for Python](http://autobahn.ws/) | ||
* [Websocket to UDP Bridge with HTTP server](https://gist.github.com/marmorkuchen-net/48544bd61183da666e6d) | ||
|
||
### Development | ||
## Development | ||
|
||
Fetch respository and set up environment | ||
|
||
git clone [email protected]:marmorkuchen-net/osc-js.git | ||
npm install && bower install | ||
git clone [email protected]:marmorkuchen-net/osc-js.git | ||
npm install && bower install | ||
|
||
Start a server on localhost:9000 which is checking your js syntax and running the tests in background after every save. You can also open a browser and check the examples here. | ||
|
||
grunt serve | ||
grunt serve | ||
|
||
To build the source (in dist folder) just run | ||
|
||
grunt | ||
grunt |