Musical keyboard component written in React.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567
  1. export default interface SoundGenerator {
  2. changeInstrument(channel: number, patch: number): void,
  3. noteOn(channel: number, key: number, velocity: number): void,
  4. noteOff(channel: number, key: number, velocity: number): void,
  5. getInstrumentNames(): string[],
  6. sendMessage?(channel: number, type: number, arg1: number, arg2?: number): void,
  7. }