Farama-Foundation / Farama-Foundation/Arcade-Learning-Environment
No Audio on Windows
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 477
- Avg merge
- 11h 11m
- Merged PRs (30d)
- 3
Description
The visuals for the games work fine, but there is no audio at all.
The code I'm running:
import gymnasium as gym
import ale_py
gym.register_envs(ale_py)
env = gym.make("ALE/SpaceInvaders-v5", render_mode="human")
obs, info = env.reset()
done = False
total_reward = 0
env.unwrapped.ale.setBool("sound", True)
while not done:
action = env.action_space.sample()
obs, reward, terminated, truncated, info = env.step(action)
total_reward += reward
done= terminated or truncated
print(f"Total reward: {total_reward}")
Contributor guide
Research direction
Start by reproducing the provided Python example with render_mode="human" and env.unwrapped.ale.setBool("sound", True) on Windows. Trace the ALE audio behavior used by the ALE/SpaceInvaders-v5 environment and compare it with a platform where audio works. Done means the example produces game audio on Windows without changing the user's setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100