move draw stuff from tone to core + fix getPhase
This commit is contained in:
parent
c722904831
commit
e769ed2fd8
17 changed files with 259 additions and 5684 deletions
|
|
@ -46,8 +46,8 @@ export class Cyclist {
|
|||
interval, // duration of each cycle
|
||||
);
|
||||
}
|
||||
getPhase(latencyCompensation = true) {
|
||||
return this.phase - (latencyCompensation ? this.latency : 0);
|
||||
getPhase() {
|
||||
return this.getTime() - this.origin;
|
||||
}
|
||||
setStarted(v) {
|
||||
this.started = v;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue