public void RhythmTimingTest() { rhythm.AddLayer("O..oO...O..oOO.."); rhythm.AddLayer("..S...S...S...S."); rhythm.AddLayer("````````````````"); rhythm.AddLayer("...............+"); Pattern pattern = rhythm.GetPattern().Repeat(4); player.Play(pattern); }
public void Test_replacing_with_default_rhythm_kit() { rhythm.AddLayer(".OoSs^`*+x"); rhythm.GetPattern().ToString() .Should().Be("V9 L0 Ri [BASS_DRUM]i Rs [BASS_DRUM]s [ACOUSTIC_SNARE]i Rs [ACOUSTIC_SNARE]s [PEDAL_HI_HAT]i [PEDAL_HI_HAT]s Rs [CRASH_CYMBAL_1]i [CRASH_CYMBAL_1]s Rs Rs [HAND_CLAP]s"); }