UNPKG

vgm-conv

Version:
22 lines (21 loc) 1.01 kB
import { ChipInfo, VGMClockConverter } from "./vgm-converter"; import { VGMCommand, VGMWriteDataCommand, ChipName } from "vgm-parser"; import { AY8910ClockConverter } from "./ay8910-clock-converter"; export declare class OPNClockConverterBase extends VGMClockConverter { _ratio: number; _regs: Uint8Array[]; _target: ChipName; _ssgConverter: AY8910ClockConverter | null; constructor(target: ChipName, from: ChipInfo, toClock: number, opts: any); convertWriteDataCommand(cmd: VGMWriteDataCommand): VGMWriteDataCommand[]; convertCommand(cmd: VGMCommand): Array<VGMCommand>; } export declare class YM2203ClockConverter extends OPNClockConverterBase { constructor(from: ChipInfo, toClock: number, opts: any); } export declare class YM2612ClockConverter extends OPNClockConverterBase { constructor(from: ChipInfo, toClock: number, opts: any); } export declare class YM2608ClockConverter extends OPNClockConverterBase { constructor(from: ChipInfo, toClock: number, opts: any); }