osc: bundle received osc every 5 ms to avoid adding more randomness to the messages order
This commit is contained in:
parent
d81f0007de
commit
e42f14577d
2 changed files with 19 additions and 1 deletions
|
|
@ -7,6 +7,12 @@ var init = require('./init'),
|
|||
|
||||
var callbacks = module.exports = {
|
||||
|
||||
bundle: function(data) {
|
||||
for (let i in data) {
|
||||
osc.receive(data[i])
|
||||
}
|
||||
},
|
||||
|
||||
receiveOsc: function(data){
|
||||
osc.receive(data)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue