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

Degrading audio quality #1197

Open
pauIbanez opened this issue Jul 12, 2023 · 0 comments
Open

Degrading audio quality #1197

pauIbanez opened this issue Jul 12, 2023 · 0 comments

Comments

@pauIbanez
Copy link

Hello, first of all great library, but I have some problems with poor audio quality and I was hoping you could help me out.

I'm currently using the Tone.GrainPlayer.

So for example, if I change the pitch using the detone option on the player, the sound quality stays the same, but If I use a PitchShifter, even when it's set to 0, the quality degrades massively.

Since I'm using the GrainPlayer I do not need a pitch shifer, but I am experimenting with Freeverb and Panner effects.

Both of them work fine, they do what it's expected, but the output is slighly degrated quality and full of atifacts. The worst part is that if I add these effects to the chai, but leave them with 0 impact. (wet 0 and pan 0), the qualyty degrads in the exact same way.

Furthermore, the panner, for some reason does bleed on the other channel, it's as if the maximum was like 0.8 instead of 1, same in negatives.

Am I doing something wroing? Is this expected, Is there a way to fix this?

This is the affected code:

`const player = new Tone.GrainPlayer(
"this b my sound url"
).toDestination();
player.autostart = false;

const reberb = new Tone.Freeverb({
wet: 0,
}).toDestination();
const panNode = new Tone.Panner(0).toDestination();

player.chain(reberb, Tone.Master);
player.chain(panNode, Tone.Master);`

Thank you so much!

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