Failed to load sound using Arcade Library in Python (No decoders available for this file type)

180 views Asked by At
import arcade

arcade.open_window(200, 200, "Sound")
laser_sound = arcade.load_sound("sound1.mp3")
arcade.play_sound(laser_sound)
arcade.run()

Hi, im trying to play sound using Python(3.11.3) Arcade Library(2.6.17) using above code but then got error such in the photo below stating FileNotFoundError: Unable to load sound file: "sound1.mp3". Exception: No decoders available for this file type:

enter image description here

This is how I arranged the file down here:

enter image description here

Is there anyway to solve this ? oh I've tried using mp3,m4a, ogg and wav format still got the same error.

1

There are 1 answers

3
Wills On

mp3 files are not supported on MacOS.