public DrumPatternSampleProvider(DrumPattern pattern)
 {
     var kit = new DrumKit();
     this.sequencer = new PatternSequencer(pattern, kit);
     this.waveFormat = kit.WaveFormat;
     mixer = new MixingSampleProvider(waveFormat);
 }
Пример #2
0
        public DrumPatternSampleProvider(DrumPattern pattern)
        {
            var kit = new DrumKit();

            this.sequencer  = new PatternSequencer(pattern, kit);
            this.waveFormat = kit.WaveFormat;
            mixer           = new MixingSampleProvider(waveFormat);
        }
Пример #3
0
 public PatternSequencer(DrumPattern drumPattern, DrumKit kit)
 {
     drumKit          = kit;
     this.drumPattern = drumPattern;
     Tempo            = 120;
 }
Пример #4
0
 public PatternSequencer(DrumPattern drumPattern, DrumKit kit)
 {
     this.drumKit = kit;
     this.drumPattern = drumPattern;
     this.Tempo = 120;
 }