This commit is contained in:
2023-08-21 19:45:59 +03:00
parent 75a6888aa6
commit ee3a12d8e0

View File

@ -38,10 +38,8 @@ export class Note extends Event {
} }
modify = (func: Function): this => { modify = (func: Function): this => {
if(typeof func === 'function') {
const funcResult = func(this); const funcResult = func(this);
if(funcResult instanceof Object) { if(funcResult instanceof Object) {
console.log("IS OBJECT?");
return funcResult; return funcResult;
} }
@ -50,7 +48,6 @@ export class Note extends Event {
return this; return this;
} }
} }
}
// TODO: Add bend // TODO: Add bend
freq = (value: number): this => { freq = (value: number): this => {