Skip to content

Offset phase in Signal #181

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions