Skip to content

Add Sound.copy(), Sound.__copy__(), Sound.__bytes__ methods #3555

@bigwhoopgames

Description

@bigwhoopgames

Was working with sounds and sndarrays recently and noticed Sound didn't have a copy method.

I saw the other issue for implementing Color.copy() and figured why not create one for Sound as well.

bytes might already be implemented but if it isn't it should just do what Sound.get_raw() does already. I didn't test it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions