# Demonstration (& test) of Python playsound module # See https://pypi.org/project/playsound/ # You can use any .wav or .mp3 file to test # (For MacOS I also had to do `pip3 install -U PyObjC`) import playsound ## # This is one of the files created by LOSC_Event_Tutorial from # https://www.gw-openscience.org/GW150914data/LOSC_Event_tutorial_GW150914.html # #playsound.playsound("GW150914_H1_shifted.wav") #print("Chirp!") ## # Lightsail 2 callsign in Morse Code # See https://www.planetary.org/explore/projects/lightsail-solar-sailing/ # https://planetary.s3.amazonaws.com/assets/audio/lightsail-2-WM9XPA-morse.wav playsound.playsound("lightsail-2-WM9XPA-morse.wav") print("-73-") ##EOF##