I'm not sure which WaveIn.cs class you are using, but usually with the code that records the audio, you either A) say that the code starts recording, and then at some later point you indicate that the code stops and you return an array (usually of type short []) that contains data recorded during this period of time; or B) inform that the code starts writing with the specified buffer size, and as each buffer is filled, the code calls back to the method that you defined with reference to the filled buffer, and this process continues until you report this to stop recording.
, - 16 (aka 2 ) , 44100 (1 ). (A), , , 10 . [] 441 000 (44 100 x 10). , "", , 0, 22 050, 44 100, 66 150 .. , . 5 (- , 22 050 44 100 ), , 2 , , 120 BPM.
(B) , 44100 ( 1 ). 0 22 050. , , 120 BPM.
, . . "" , , .