ITransposeCalculator.ts 430 B

12345678
  1. import {Pitch} from "../../Common/DataObjects/Pitch";
  2. import {KeyInstruction} from "../VoiceData/Instructions/KeyInstruction";
  3. export interface ITransposeCalculator {
  4. transposePitch(pitch: Pitch, currentKeyInstruction: KeyInstruction, halftones: number): Pitch;
  5. transposeKey(keyInstruction: KeyInstruction, transpose: number): void;
  6. getTransposedKeyString(keyInstruction: KeyInstruction, halftone: number): string;
  7. }