Skip to content

No Audio on Windows #649

Description

@Majin-Buu611

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}")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions