add cyclist version to the query metadata
This commit is contained in:
parent
086596c47c
commit
ffbbc43c89
2 changed files with 2 additions and 3 deletions
|
|
@ -57,7 +57,7 @@ export class Cyclist {
|
|||
}
|
||||
|
||||
// query the pattern for events
|
||||
const haps = this.pattern.queryArc(begin, end, { _cps: this.cps });
|
||||
const haps = this.pattern.queryArc(begin, end, { _cps: this.cps, cyclist: 'cyclist' });
|
||||
|
||||
haps.forEach((hap) => {
|
||||
if (hap.hasOnset()) {
|
||||
|
|
|
|||
|
|
@ -38,8 +38,7 @@ export class NeoCyclist {
|
|||
if (this.started === false) {
|
||||
return;
|
||||
}
|
||||
|
||||
const haps = this.pattern.queryArc(begin, end, { _cps: this.cps });
|
||||
const haps = this.pattern.queryArc(begin, end, { _cps: this.cps, cyclist: 'neocyclist' });
|
||||
haps.forEach((hap) => {
|
||||
if (hap.hasOnset()) {
|
||||
const timeUntilTrigger = cycleToSeconds(hap.whole.begin - this.cycle, this.cps);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue