Remove excess superdough filtering for now

This commit is contained in:
2023-11-13 02:37:11 +02:00
parent a83494d1dc
commit 5802f68347
3 changed files with 5 additions and 40 deletions

View File

@ -438,7 +438,9 @@ export class SoundEvent extends AudibleEvent {
for (const event of events) {
// Filter non superdough parameters
const filteredEvent = filterObject(event, ["analyze","note","dur","freq","s"]);
// TODO: Should filter relevant fields for superdough
// const filteredEvent = filterObject(event, ["analyze","note","dur","freq","s"]);
const filteredEvent = event;
// No need for note if there is freq
if(filteredEvent.freq) { delete filteredEvent.note; }
superdough(filteredEvent, this.nudge - this.app.clock.deviation, filteredEvent.dur);