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

Remove variable redeclarations from spectrogram #1152

Merged
merged 1 commit into from
Jul 2, 2017

Conversation

glebm
Copy link
Contributor

@glebm glebm commented Jun 28, 2017

var index = Math.round(freq / (this.fftSamples / 2) * this.fftSamples);
var percent = index / this.fftSamples/2;
Copy link
Contributor Author

@glebm glebm Jun 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

percent and y were not used

@katspaugh katspaugh merged commit 1d92bfa into katspaugh:master Jul 2, 2017
@katspaugh
Copy link
Owner

Thanks!

mspae pushed a commit to mspae/wavesurfer.js that referenced this pull request Aug 18, 2017
mspae pushed a commit that referenced this pull request Aug 19, 2017
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

Successfully merging this pull request may close these issues.

2 participants