asdasda
This commit is contained in:
parent
6faa845098
commit
dcbb81ddd3
@ -111,7 +111,7 @@ class Timecode {
|
||||
if (e.time.milliseconds <= d) {
|
||||
console.log("v", e);
|
||||
ios.emit("artnet", e.art);
|
||||
artnet.set(Number(e.art.subnet), Number(e.art.value));
|
||||
artnet.set(universe, Number(e.art.subnet), Number(e.art.value));
|
||||
var i = this.toTrigger.indexOf(e);
|
||||
this.toTrigger.splice(i, 1);
|
||||
}
|
||||
@ -128,7 +128,7 @@ class Timecode {
|
||||
if (e.time.milliseconds <= d) {
|
||||
console.log("u", e);
|
||||
ios.emit("artnet", e.art);
|
||||
artnet.set(Number(e.art.subnet), Number(e.art.value));
|
||||
artnet.set(universe, Number(e.art.subnet), Number(e.art.value));
|
||||
var i = this.toTrigger.indexOf(e);
|
||||
this.toTrigger.splice(i, 1);
|
||||
}
|
||||
@ -141,9 +141,6 @@ class Timecode {
|
||||
}
|
||||
loadTrack(trackid) {
|
||||
this.playing = false;
|
||||
/*for(var i = 0; i < 512; i++){
|
||||
artnet.set(universe, i, 0);
|
||||
}*/
|
||||
var track = db.get(trackid).value();
|
||||
var tr = [];
|
||||
track.triggers.forEach(t => {
|
||||
|
File diff suppressed because one or more lines are too long
@ -131,7 +131,7 @@ class Timecode {
|
||||
if(e.time.milliseconds <= d) {
|
||||
console.log("v",e);
|
||||
ios.emit("artnet", e.art);
|
||||
artnet.set(Number(e.art.subnet), Number(e.art.value));
|
||||
artnet.set(universe, Number(e.art.subnet), Number(e.art.value));
|
||||
var i = this.toTrigger.indexOf(e);
|
||||
this.toTrigger.splice(i, 1);
|
||||
}
|
||||
@ -149,7 +149,7 @@ class Timecode {
|
||||
if(e.time.milliseconds <= d) {
|
||||
console.log("u", e);
|
||||
ios.emit("artnet", e.art);
|
||||
artnet.set(Number(e.art.subnet), Number(e.art.value));
|
||||
artnet.set(universe, Number(e.art.subnet), Number(e.art.value));
|
||||
var i = this.toTrigger.indexOf(e);
|
||||
this.toTrigger.splice(i, 1);
|
||||
}
|
||||
@ -163,9 +163,6 @@ class Timecode {
|
||||
|
||||
loadTrack(trackid:string) {
|
||||
this.playing = false;
|
||||
/*for(var i = 0; i < 512; i++){
|
||||
artnet.set(universe, i, 0);
|
||||
}*/
|
||||
var track =<Track>db.get(trackid).value();
|
||||
var tr = [];
|
||||
track.triggers.forEach(t=>{
|
||||
|
Loading…
Reference in New Issue
Block a user