public SequenceTracer16(KeyboardConfig kcfg, Dictionary <String, InstrumentConfig16> instruments, Double tactTime) { for (int i = 0; i < kcfg.Length; i++) { Channels.Add(new List <Extract16>()); } KeyMap = kcfg; InstrumentMap = instruments; TactTime = tactTime; }
public ITimedWave16 GetTimedWave(Int32 key, KeyboardConfig kcfg) { return(RetrieveTone(kcfg[key], Number, Amplitude, SampleRate, DoFadeout, FadeoutStrength, FadeoutPosition, KeepVolumeBeforeFadeout)); }