|
@@ -13,58 +13,58 @@ export class SubInstrument {
|
|
|
}
|
|
|
|
|
|
private static midiInstrument: { [key: string]: MidiInstrument; } = {
|
|
|
+ "alt": MidiInstrument.Synth_Voice,
|
|
|
+ "alto": MidiInstrument.Synth_Voice,
|
|
|
+ "banjo": MidiInstrument.Banjo,
|
|
|
+ "bariton": MidiInstrument.Synth_Voice,
|
|
|
+ "baritone": MidiInstrument.Synth_Voice,
|
|
|
+ "bass": MidiInstrument.Synth_Voice,
|
|
|
+ "blockflöte": MidiInstrument.Recorder,
|
|
|
+ "brass": MidiInstrument.Trombone,
|
|
|
+ "bratsche": MidiInstrument.Viola,
|
|
|
"cello": MidiInstrument.Cello,
|
|
|
- "violon-c": MidiInstrument.Cello,
|
|
|
- "contrabass": MidiInstrument.Contrabass,
|
|
|
- "kontrabass": MidiInstrument.Contrabass,
|
|
|
"clarinet": MidiInstrument.Clarinet,
|
|
|
- "klarinette": MidiInstrument.Clarinet,
|
|
|
+ "contrabass": MidiInstrument.Contrabass,
|
|
|
+ "drums": MidiInstrument.Percussion,
|
|
|
"flute": MidiInstrument.Flute,
|
|
|
"flöte": MidiInstrument.Flute,
|
|
|
"frenchhorn": MidiInstrument.French_Horn,
|
|
|
- "guitar": MidiInstrument.Acoustic_Guitar_nylon,
|
|
|
"gitarre": MidiInstrument.Acoustic_Guitar_nylon,
|
|
|
- "harp": MidiInstrument.Orchestral_Harp,
|
|
|
+ "guitar": MidiInstrument.Acoustic_Guitar_nylon,
|
|
|
"harfe": MidiInstrument.Orchestral_Harp,
|
|
|
+ "harp": MidiInstrument.Orchestral_Harp,
|
|
|
+ "klarinette": MidiInstrument.Clarinet,
|
|
|
+ "klavier": MidiInstrument.Acoustic_Grand_Piano,
|
|
|
+ "kontrabass": MidiInstrument.Contrabass,
|
|
|
"oboe": MidiInstrument.Oboe,
|
|
|
"organ": MidiInstrument.Church_Organ,
|
|
|
- "orgue": MidiInstrument.Church_Organ,
|
|
|
"orgel": MidiInstrument.Church_Organ,
|
|
|
+ "orgue": MidiInstrument.Church_Organ,
|
|
|
+ "percussion": MidiInstrument.Percussion,
|
|
|
"piano": MidiInstrument.Acoustic_Grand_Piano,
|
|
|
- "klavier": MidiInstrument.Acoustic_Grand_Piano,
|
|
|
"piccolo": MidiInstrument.Piccolo,
|
|
|
- "strings": MidiInstrument.String_Ensemble_1,
|
|
|
- "streicher": MidiInstrument.String_Ensemble_1,
|
|
|
+ "posaune": MidiInstrument.Trombone,
|
|
|
+ "recorder": MidiInstrument.Recorder,
|
|
|
+ "sax": MidiInstrument.Tenor_Sax,
|
|
|
+ "schlagwerk": MidiInstrument.Percussion,
|
|
|
+ "schlagzeug": MidiInstrument.Percussion,
|
|
|
+ "sopran": MidiInstrument.Synth_Voice,
|
|
|
"steeldrum": MidiInstrument.Steel_Drums,
|
|
|
+ "streicher": MidiInstrument.String_Ensemble_1,
|
|
|
+ "strings": MidiInstrument.String_Ensemble_1,
|
|
|
+ "tenor": MidiInstrument.Synth_Voice,
|
|
|
+ "tpt": MidiInstrument.Trumpet,
|
|
|
"trombone": MidiInstrument.Trombone,
|
|
|
- "posaune": MidiInstrument.Trombone,
|
|
|
- "brass": MidiInstrument.Trombone,
|
|
|
- "trumpet": MidiInstrument.Trumpet,
|
|
|
"trompete": MidiInstrument.Trumpet,
|
|
|
- "tpt": MidiInstrument.Trumpet,
|
|
|
+ "trumpet": MidiInstrument.Trumpet,
|
|
|
"tuba": MidiInstrument.Tuba,
|
|
|
- "sax": MidiInstrument.Tenor_Sax,
|
|
|
+ "unnamed": MidiInstrument.Acoustic_Grand_Piano,
|
|
|
"viola": MidiInstrument.Viola,
|
|
|
- "bratsche": MidiInstrument.Viola,
|
|
|
"violin": MidiInstrument.Violin,
|
|
|
+ "violon-c": MidiInstrument.Cello,
|
|
|
"violon.": MidiInstrument.Violin,
|
|
|
- "woodblock": MidiInstrument.Woodblock,
|
|
|
- "alt": MidiInstrument.Synth_Voice,
|
|
|
- "alto": MidiInstrument.Synth_Voice,
|
|
|
- "tenor": MidiInstrument.Synth_Voice,
|
|
|
- "bariton": MidiInstrument.Synth_Voice,
|
|
|
- "baritone": MidiInstrument.Synth_Voice,
|
|
|
- "bass": MidiInstrument.Synth_Voice,
|
|
|
- "sopran": MidiInstrument.Synth_Voice,
|
|
|
"voice": MidiInstrument.Synth_Voice,
|
|
|
- "recorder": MidiInstrument.Recorder,
|
|
|
- "blockflöte": MidiInstrument.Recorder,
|
|
|
- "banjo": MidiInstrument.Banjo,
|
|
|
- "drums": MidiInstrument.Percussion,
|
|
|
- "percussion": MidiInstrument.Percussion,
|
|
|
- "schlagzeug": MidiInstrument.Percussion,
|
|
|
- "schlagwerk": MidiInstrument.Percussion,
|
|
|
- "unnamed": MidiInstrument.Acoustic_Grand_Piano,
|
|
|
+ "woodblock": MidiInstrument.Woodblock
|
|
|
};
|
|
|
|
|
|
public idString: string;
|