@robotical/scratch-to-python-transpiler
Version:
Transpile Scratch project files to python code
22 lines (21 loc) • 478 B
TypeScript
declare type SoundDataFormat = "mp3" | "wav" | "wave";
export default class Sound {
name: string;
id: string;
asset: any;
md5: string;
ext: SoundDataFormat;
sampleCount: number;
sampleRate: number;
constructor(options: {
name: string;
id?: string;
asset: any;
md5: string;
ext: SoundDataFormat;
sampleCount: number;
sampleRate: number;
});
setName(name: string): void;
}
export {};