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

Multiple sine waves sound distorted #155

Open
flappix opened this issue Oct 8, 2021 · 0 comments
Open

Multiple sine waves sound distorted #155

flappix opened this issue Oct 8, 2021 · 0 comments

Comments

@flappix
Copy link

flappix commented Oct 8, 2021

Hi,
thanks for providing this library, it's pretty nice.

I'm just facing the problem that multiple sine wave generators are sounding very distorted when played together while playing them once at time sound good.

let s = [1,2,3].map ( x => { return new Pizzicato.Sound () } );
s[0].frequency = 440;
s[1].frequency = 554.37;
s[2].frequency = 659.26;

s.forEach ( (x) => { x.play() } );

This is an A major chord and should sound very harmonic but the sound I get is very disgusting.

Any help would be appreciated, thanks.

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