Comparing version 0.2.0 to 0.3.0
/// <reference types="emscripten" /> | ||
import { CMucom, MucomStatusType } from "./module.js"; | ||
export { MucomStatusType } from "./module.js"; | ||
export type PCHDATA = { | ||
vnum: number; | ||
volume: number; | ||
wadr: number; | ||
tadr: number; | ||
chnum: number; | ||
detune: number; | ||
reverb: number; | ||
lfo_diff: number; | ||
quantize: number; | ||
pan: number; | ||
keyon: number; | ||
vnum_org: number; | ||
vol_org: number; | ||
}; | ||
import { CHDATA, CMucom, MucomStatusType } from "./module.js"; | ||
export { CHDATA, MucomStatusType } from "./module.js"; | ||
export declare class Mucom88 { | ||
@@ -38,3 +23,3 @@ static initialize(): Promise<void>; | ||
}; | ||
getChannelData(ch: number): PCHDATA; | ||
getChannelData(ch: number): CHDATA; | ||
getStatus(type: MucomStatusType): number; | ||
@@ -41,0 +26,0 @@ release(): void; |
@@ -16,2 +16,21 @@ /// <reference types="emscripten" /> | ||
} | ||
export type CHDATA = { | ||
length: number; | ||
vnum: number; | ||
volume: number; | ||
wadr: number; | ||
tadr: number; | ||
chnum: number; | ||
detune: number; | ||
reverb: number; | ||
lfo_diff: number; | ||
quantize: number; | ||
pan: number; | ||
flag: number; | ||
flag2: number; | ||
code: number; | ||
note: number; | ||
vnum_org: number; | ||
vol_org: number; | ||
}; | ||
export interface CMucom { | ||
@@ -26,3 +45,3 @@ reset(sampleRate: number): void; | ||
getStatus(type: MucomStatusType): number; | ||
getChannelData(ch: number): Object; | ||
getChannelData(ch: number): CHDATA; | ||
delete(): void; | ||
@@ -29,0 +48,0 @@ } |
{ | ||
"name": "mucom88-js", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "MUCOM88 module for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
693361
3379