Musical keyboard component written in React.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

7 line
265 B

  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. }