rsudp.c_alertsound (play sound)¶
AlertSound(sound=False, soundloc=False, q=False)¶
A consumer class that plays an alert sound when an
ALARMmessage arrives on the queue.
rsudp.c_alertsound.AlertSound.soundis a pydub.AudioSegment object and is passed from the client.
Reads data from the queue and plays self.sound if it sees an
ALARMmessage. Quits if it sees a