GithubHelp home page GithubHelp logo

automata / osc-web Goto Github PK

View Code? Open in Web Editor NEW
315.0 26.0 50.0 322 KB

Open Sound Control Web Bridge

License: MIT License

JavaScript 92.68% Processing 0.13% CSS 0.22% Max 0.95% HTML 6.00% ChucK 0.02%

osc-web's People

Contributors

automata avatar hanshuebner avatar mike-d-adsk avatar yair-mantis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osc-web's Issues

Reloading page requires restarting server

Using bridge.js to send OSC to a web page, as in the example, works great until the page is reloaded. After reload, the page will not receive messages until the server is restarted. I'm guessing that the original connection does not release the port, so the second oscServer can't bind to it.

Chrome 37.0.2062.124
OSX 10.9.5
Node.js 0.10.24

closing errors

Hi there,

sometimes I got :
throw new ERR_SOCKET_DGRAM_NOT_RUNNING();

My fix was to change to :

socket.on("disconnect", function () {
if (oscServer) {
oscServer.kill();
oscServer = null;
}

Tips for getting this working on a remote Nginx server?

I've tested this on my localhost server and it works fine. I'm trying to set it up on a remote nginx server and I'm having trouble getting it working. Do you have any tips on getting this working on that kind of configuration? I understand that it is more involved getting socket.io to work with nginx.

Add a license

Without a license, the code is "all rights reserved" by default...

does not work with current node-version anymore

I an using osc-web for some time (thank you for your work). Since my last update (linux and node) it does not start anymore. This hasn't changed with the modifications ftom Dec. 7th.
When trying to start it by "node bridge.js' node stops and displays these messages.

.../osc-web/node_modules/socket.io/lib/store.js:35
Store.prototype.proto = EventEmitter.prototype;
^

TypeError: Cannot read property 'prototype' of undefined
at Object. (.../osc-web/node_modules/socket.io/lib/store.js:35:42)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (.../osc-web/node_modules/socket.io/lib/manager.js:16:13)
at Module._compile (module.js:652:30)

This seems to have something to do with deprecated functions of node. Do you have any idea?

Thanks
Julius

NPM Packages will not install

I get the following errors:
Error: Cannot find module 'node-osc'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)

Doesn't work

Tried using this but keeps going on constantly about require.paths is removed and tried to fix it but can't figure it out.

Question: access over network

Hi!
I try to access a website (with web-osc) with an ipad over a local server (Apache server with XAMPP). This is not a problem. It is a website with some buttons. the button clicks are passed to vvvv-software trhough UDP/OSC. So you can remotley trigger vvvv throgh the website opened on the ipad. now I would like to add a second, third, fourth,... mobile device. how do I do it? if I open up a second instance of the website bridge.js shows "Error: bin EADDRINUSE". I guess because the second site tries to bin to the same port?!

would appreciate if someone can help me!
thanks
david

Hi

Trying to pass arguments to Qlab but having trouble with spaces in messages.

The OSC message from the WEBsite:

socket.emit('message', '/cue/2/fadeAndStopOthers 3')

Is passed on as '/cue/2/fadeAndStopOthers' '3'.

I guess it is connected to:
var toSend = obj.split(' ');

Any way to pass OSC messages with spaces?

Some good way

Hey ;)

I just found this http://www.tamats.com/blog/?p=339&cpage=1
This realy helped me.
But I dont understand how you reset sent message with it !
I realy noob on node. So, if you want to try and give me feedback its would be fresh for my new install...

Thx for your great great work.

unhandled socket.io url

Hi,

I was testing osc-web-server and got this messages in my console :

info - unhandled socket.io url
warn - unknown transport: "undefined"

I think i've done all right... How can I fix it ?

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.