update realTimeAudio.m and main.m to be consistent