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