Skip to content

SineWave generates heavy amounts of ringing because of float round off errors and improper subsampling #201

@mlindner

Description

@mlindner

SineWave generates a lot of ringing noise by using float32 instead of float64 for its calculations.

Below is what occurs with the default SineWave.
float32

Below is what occurs with a modified SineWave that does calculation in float64 and then converts back to float32 for the result.
float64

I suspect there are similar issues across all sources where rounding errors is causing distortion. The distortion is very noticeable by ear.

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