near-final code for phage-armband. made more effective use of
the microphone