Coder Social home page Coder Social logo

artnet-node's People

Contributors

brianmmcclain avatar sreuter avatar ydnax 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

artnet-node's Issues

problem with raspberry pi

Hello I have code working on my windows machine, but when porting to raspberry pi it doesn't do anything, do you have an idea why ?

my code ๐Ÿ‘

var artnetclient = require('./node_modules/artnet-node/lib/artnet_client');
var client = artnetclient.createClient('192.168.0.10', 6454);
client.send([0,255,0,0]);

Incorrect names for port address/universe/physical

The different names are confusing, according to the artnet the final port address is comprised of the following:

Bit 15 Bits 14-8 Bits 7-4 Bits 3-0
0 Net Sub-Net Universe

Would make it easier if it followed the official names...

Examples

Hi Brian,
this looks nice. Could you please add some examples, that i can jump on your code. I would like to use it and add some features.
Currently, i build a OpenSource HArdware ArtNet Matrix Wall, and need a good lib to test some code-ideas. Your code looks like a good start.

Thanx a lot.

Wrong Universe Number

If you are using the artnet-node server, when you receive DMX data, the "Universe" variable will show you the wrong universe number.

The problem is on the file /lib/artnet_server.js, at line 29.

You need to replace:

var universe = (data[14] * 256) + data[15];

with:

var universe = data[14] + data[15];

Universe hard coded in client ?

Why is the net/subnet/universe hard coded in the client ? Would seem useful to be able to choose which universe to target....

Thanks !

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.