node-red-contrib-soundweb
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "node-red-contrib-soundweb", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A collection of nodes for controlling BSS soundweb devices.", | ||
@@ -37,2 +37,3 @@ "main": "soundweb-server.js", | ||
"soundweb-dbGain": "lib/soundweb-dbGain.js", | ||
"soundweb-percent": "lib/soundweb-percent.js", | ||
"soundweb-variable": "lib/soundweb-variable.js", | ||
@@ -43,7 +44,7 @@ "soundweb-parameterPresets": "lib/soundweb-parameterPresets.js" | ||
"engines": { | ||
"node": ">=18.12.1" | ||
"node": ">=12.13.0" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^10.2.0" | ||
"mocha": "^9.2.2" | ||
} | ||
} |
@@ -10,3 +10,3 @@ # node-red-contrib-soundweb | ||
- [Node.js](https://nodejs.org/en/) v18.12.1 or newer | ||
- [Node.js](https://nodejs.org/en/) v12.13.0 or newer | ||
- [Node-RED](https://nodered.org) v3.0.1 or newer | ||
@@ -45,3 +45,3 @@ | ||
All nodes except the `soundweb-Preset` node require an address be specifie. The address property is a buffer of exactly 8 bytes. it is comprised of: | ||
All nodes except the `soundweb-Preset` node require an address be specified. The address property is a buffer of exactly 8 bytes. it is comprised of: | ||
@@ -63,2 +63,11 @@ - Node Address (2 bytes) | ||
## Feedback Subscription | ||
Nodes that subscribe to a variable for feedback will receive updates via their outlets. This is meant to keep their state in sync with the BSS Soundweb unit. By convention, the Soundweb device does not send feedback to the caller. | ||
What this means is: | ||
- When a control is changed directly from node-red, the Soundweb unit will not send a feedback update. | ||
- When a variable is changed from Audio Architect, London Architect, or some other means, an update will be sent to node-red. | ||
- When a preset is recalled, an update will be sent to all subscribers. | ||
--- | ||
@@ -78,2 +87,12 @@ | ||
## soundweb-precent | ||
Control a parameter using a percentage value. | ||
![soundweb-percent](images/ex_soundweb-percent.png) | ||
``` | ||
[{"id":"dcc82e90063b7d69","type":"tab","label":"soundweb-percent","disabled":false,"info":"","env":[]},{"id":"2b7b9d58a4add5c4","type":"junction","z":"dcc82e90063b7d69","x":360,"y":220,"wires":[["64a22bbbf00e6043"]]},{"id":"64a22bbbf00e6043","type":"soundweb-percent","z":"dcc82e90063b7d69","name":"","topic":"","server":"5360e8d16d24bed6","address":"[0,9,3,0,1,0,78,32]","addressType":"bin","x":490,"y":220,"wires":[["192ce9168c51052f"]]},{"id":"412b5ff477d8a695","type":"inject","z":"dcc82e90063b7d69","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"0","payloadType":"num","x":250,"y":160,"wires":[["2b7b9d58a4add5c4"]]},{"id":"192ce9168c51052f","type":"debug","z":"dcc82e90063b7d69","name":"soundweb-percent","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":710,"y":220,"wires":[]},{"id":"d974b7ba0d93822b","type":"inject","z":"dcc82e90063b7d69","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"50","payloadType":"num","x":250,"y":220,"wires":[["2b7b9d58a4add5c4"]]},{"id":"97031a3c7731d82f","type":"inject","z":"dcc82e90063b7d69","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"100","payloadType":"num","x":250,"y":280,"wires":[["2b7b9d58a4add5c4"]]},{"id":"c7ee133cd1f32866","type":"comment","z":"dcc82e90063b7d69","name":"Control by setting a percentage value","info":"","x":530,"y":160,"wires":[]},{"id":"5360e8d16d24bed6","type":"soundweb-server","host":"10.0.0.234","port":"1023"}] | ||
``` | ||
## soundweb-variable | ||
@@ -80,0 +99,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182227
23
1039
112