-
Notifications
You must be signed in to change notification settings - Fork 462
Open
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}")
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels