Merge
This commit is contained in:
@ -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 => {
|
||||||
|
|||||||
Reference in New Issue
Block a user