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

Use AudioWorklet (+ WebAssembly) instead of AnalyserNode on Analyser class #28

Open
Korilakkuma opened this issue Jun 6, 2020 · 0 comments

Comments

@Korilakkuma
Copy link
Owner

Because AnalyserNode cannot get data for each channel. Therefore, using AudioWorklet instead of AnalyserNode, Analyser class enable to get dat for each channel. Moreover, Analyser class can get not only amplitude spectrum but also phase spectrum.

For example,

X('audio').module('analyser').domain('time', 0);
X('audio').module('analyser').domain('time', 1);
X('audio').module('analyser').domain('fft', 0);
X('audio').module('analyser').domain('fft', 1);
X('audio').module('analyser').domain('phase', 0);
X('audio').module('analyser').domain('phase', 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant