bbb.max.artnet is a library to use artnet based on node.script
inspired by imp.dmx and pixsper/lxmax
this release is alpha version not stable.
at first, clone repo to Max N/Library
cd /path/to/USER/Max/Library
git clone
after cloned,
use install
command of bbb.artnet.controller
/ bbb.artnet.node
artnet controller
- setchannel CHANNEL VALUE
- CHANNEL: 0-511
- VALUE: 0-255
- channel CHANNEL VALUE
- same as setchannel but send packet immediately
- CHANNEL: 0-511
- VALUE: 0-255
- set VALUES ...
- set VALUES from index 0 to
- VALUES: 0-255[1-512]
- fill MIN MAX VALUE
- set VALUE to range from MIN to MAX
- blackout [ENABLE]
- ENABLE: optional value if given then enable with truthy value and disable with falsy value, if not given then enable.
- get_value CHANNEL
- get value of specified CHANNEL as
value CHANNEL 0
- get value of specified CHANNEL as
- get_values [LENGTH]
- LENGTH: length of values want to get, if not given then all values will be output
- get current values from 1st outlet as
values 0 ... 0
- bang
- send packet manually
- install
- need network access to WAN
- install node_modules
prepend /
to above commands
@ip
- IP of listen of artnet node
- string
- default: '127.0.0.1'
@port
- integer
- default: 6454
@universe
- integer
- default: 0
@subnet
- integer
- default: 0
@net
- integer
- default: 0
@fps
- interval of sending packet
- number
- default: 44
@osc_in
- enable osc command interface with given port. if not given then osc command interface will be disabled
- integer
- default: undefined
@osc_out
- enable osc feedback interface with given port. if not given then osc feedback interface will be disabled
- integer
- default: undefined
@disable_maxoutlet
- boolean or integer
- default: false
@address_origin
- integer
- default: 0
@dict
- name for dict object describe parameters with attribute keys above without
@
- if this attribute is given then, other attributes above will be ignored
- name for dict object describe parameters with attribute keys above without
artnet node
- get_value NET SUBNET UNIVERSE CHANNEL
- get value of specified CHANNEL as
value NET SUBNET UNIVERSE CHANNEL 0
- get value of specified CHANNEL as
- get_values NET SUBNET UNIVERSE [LENGTH]
- LENGTH: length of values want to get, if not given then all values will be output
- get current values from 1st outlet as
values NET SUBNET UNIVERSE 0 ... 0
- install
- need network access to WAN
- install node_modules
prepend /
to above commands
@ip
- IP of interface to listen
- string
- default: '0.0.0.0'
@port
- integer
- default: 6454
@universe
- integer
- default: 0
@subnet
- integer
- default: 0
@net
- integer
- default: 0
@notify
- enable/disable auto output
values
when receive packet - boolean or integer[0/1]
- default : false
- enable/disable auto output
@osc_in
- enable osc command interface with given port. if not given then osc command interface will be disabled
- integer
- default: undefined
@osc_out
- enable osc feedback interface with given port. if not given then osc feedback interface will be disabled
- integer
- default: undefined
@disable_maxoutlet
- boolean or integer
- default: false
@address_origin
- integer
- default: 0
@dict
- name for dict object describe parameters with attribute keys above without
@
- if this attribute is given then, other attributes above will be ignored
- name for dict object describe parameters with attribute keys above without
ip
(array)- [on custom dict only] list of interface ip
- string[]
universes
(array)- [on custom dict only] list of universe setting
- if
notify
is not given, usenotify
on settings on global - if
net
is not given, use 0 - if
subnet
is not given, use 0 - { "net"?: integer, "subnet"?: integer, "universe": integer, "notify"?: boolean }[]