revert to buggy but better version

This commit is contained in:
2023-09-20 22:06:49 +02:00
parent 6de211bdc2
commit ae82dcf013

View File

@ -295,12 +295,10 @@ export class SoundEvent extends AudibleEvent {
this.values.chord.forEach((obj: { [key: string]: number }) => {
const copy = { ...this.values };
copy.freq = obj.freq
// This is pure non-sense but I need to adapt somehow
superdough(copy, copy.dur*2, copy.dur);
superdough(copy, 1 / 4, this.values.dur || 0.5);
});
} else {
// This is pure non-sense but I need to adapt somehow
superdough(this.values, this.values.dur * 2, this.values.dur);
superdough(this.values, 1 / 4, this.values.dur || 0.5);
}
};
}