Skip to content

Commit

Permalink
fixing human error
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Nov 5, 2023
1 parent 280778b commit 0135712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/ArrayExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/classes/SoundEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
};
}

0 comments on commit 0135712

Please sign in to comment.