Skip to content

Offset phase in Signal #181

@viktaur

Description

@viktaur

Hi, is it currently possible to offset the phase of a Signal (in dasp_signal)?

For example, when defining a sine wave, how could I displace it by x rad?
signal::rate(sample_rate).const_hz(freq).sine()

If this has not yet been implemented, I'm happy to start a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions