feat: save MIDI tracks to generation area; playing tracks and audio preview are still under development
This commit is contained in:
22
frontend/wailsjs/go/models.ts
generated
22
frontend/wailsjs/go/models.ts
generated
@@ -18,6 +18,28 @@ export namespace backend_golang {
|
||||
this.modTime = source["modTime"];
|
||||
}
|
||||
}
|
||||
export class MIDIMessage {
|
||||
messageType: string;
|
||||
channel: number;
|
||||
note: number;
|
||||
velocity: number;
|
||||
control: number;
|
||||
value: number;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new MIDIMessage(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.messageType = source["messageType"];
|
||||
this.channel = source["channel"];
|
||||
this.note = source["note"];
|
||||
this.velocity = source["velocity"];
|
||||
this.control = source["control"];
|
||||
this.value = source["value"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user