brian.audio brian play_tone stop_tone play_tone def play_tone(tone: float, duration_ms: float) Play a sine tone to the audio output. This method returns instantly and the tone is played in the background. Arguments: tone: Frequency in Hz to play. duration_ms: How long should the tone last stop_tone def stop_tone() If tone is playing because of previous call to play_tone, it is stopped early.