fixing human error
This commit is contained in:
@ -204,7 +204,6 @@ export const makeArrayExtensions = (api: UserAPI) => {
|
|||||||
const valueDurationInPulses = adjustedDurations[i] as any * ppqn;
|
const valueDurationInPulses = adjustedDurations[i] as any * ppqn;
|
||||||
cumulativeDuration += valueDurationInPulses;
|
cumulativeDuration += valueDurationInPulses;
|
||||||
if (loopPosition < cumulativeDuration) {
|
if (loopPosition < cumulativeDuration) {
|
||||||
console.log(`Hit on pulse: ${loopPosition}`);
|
|
||||||
return this[i];
|
return this[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -432,11 +432,12 @@ export class SoundEvent extends AudibleEvent {
|
|||||||
};
|
};
|
||||||
|
|
||||||
out = (): void => {
|
out = (): void => {
|
||||||
|
console.log(this.app.clock.time_position.pulse)
|
||||||
const events = objectWithArraysToArrayOfObjects(this.values, [
|
const events = objectWithArraysToArrayOfObjects(this.values, [
|
||||||
"parsedScale",
|
"parsedScale",
|
||||||
]);
|
]);
|
||||||
for (const event of events) {
|
for (const event of events) {
|
||||||
superdough(event, this.nudge + this.app.clock.deviation, event.dur);
|
superdough(event, this.nudge - this.app.clock.deviation, event.dur);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user