Giter Club home page Giter Club logo

node-serialosc's People

Contributors

dextershepherd avatar dinchak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-serialosc's Issues

Allow to stop/restart the global connection

It would be nice to be able to stop/restart the global connections in a running node process. This would be helpful in development scenario where code is reloaded in a live process and probably for tests too.

This requires the ability to have sequences of start, stop being idempotent.

An option to support that would be to introduce a stop method that would close underlying socket for receiver and serialoscEmitter and make sure sockets are created in start. Currently sockets are created in OscReceiver and OscEmitter constructors and never released.

What do you think?

Calling Grid#Map with integer arguments fails

It seems like the state array is initialized after the map by integer loop runs causing

/Users/dexter/workspace/personal/monome-react/server/node_modules/serialosc/lib/grid.
js:132
      state[y].value = arr[y];
                     ^

TypeError: Cannot set property 'value' of undefined
    at Grid.map (/Users/dexter/workspace/personal/monome-react/server/node_modules/se
rialosc/lib/grid.js:132:22)

Have added a quick PR to fix. Thanks for the library! It's been super useful so far.

#2

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.