Using ellipse as button to play sound file?

Just wanted to mark this resolved! In case anyone reading this in the future is wondering, the above code wasn’t loading the sound files correctly.

I fixed this by taking the file paths out of the ‘dataPoints’ dict and creating a separate ‘soundFiles’ array that I then iterated through to load all the files properly.

1 Like