/ examples / circuitplayground_play_file.py
circuitplayground_play_file.py
 1  """THIS EXAMPLE REQUIRES A WAV FILE FROM THE examples FOLDER IN THE
 2  Adafruit_CircuitPython_CircuitPlayground REPO found at:
 3  https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/tree/master/examples
 4  
 5  Copy the "dip.wav" file to your CIRCUITPY drive.
 6  
 7  Once the file is copied, this example plays a wav file!"""
 8  from adafruit_circuitplayground.express import cpx
 9  
10  cpx.play_file("dip.wav")