Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to find the initial phase of a section of signal? #89

Open
Wenchel opened this issue Nov 29, 2024 · 0 comments
Open

Is there any way to find the initial phase of a section of signal? #89

Wenchel opened this issue Nov 29, 2024 · 0 comments

Comments

@Wenchel
Copy link

Wenchel commented Nov 29, 2024

Given a signal such as:

DiscreteSignal signal = new SineBuilder()
                        .SetParameter("frequency", 500.0/*Hz*/)
                        .SetParameter("phase", Math.PI / 2)
                        .OfLength(10000)
                        .SampledAt(44100/*Hz*/)
                        .Build();

How to find the initial phase pi/2 by NWaves? And how to get frequency 500 by NWaves?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant