Skip to content

Use float64 by default? #38

@mgeier

Description

@mgeier

Currently, np.float32 is the default data type when creating a Stream. This makes sense, because many audio applications use that data type and it is supported by PortAudio.

On the other hand, everything in the NumPy world uses float64 as default and people might be surprised to get float32 back.
PortAudio doesn't actually support float64, but I guess the casting operations should be automatic and fast.

I think it would be good to make float64 the default, but I'm not 100% sure yet ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions