note-num; bracket_ in withPortaudio

To test the bracket_, Ctrl+C from sound still shows "Test finished."
and there is no residual weirdness when running the program again.