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

Sample code for Node (import might be wrong) #6

Open
gilpanal opened this issue Aug 18, 2022 · 1 comment
Open

Sample code for Node (import might be wrong) #6

gilpanal opened this issue Aug 18, 2022 · 1 comment

Comments

@gilpanal
Copy link

import { resampler } from 'wave-resampler';
let newSamples = resample(samples, 48000, 44100);

This is how it works for me:

import resampler from 'wave-resampler';
let newSamples = resampler.resample(samples, 48000, 44100);

Thanks!

@HoshinoSuzumi
Copy link

hello, did you fixed it?

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

2 participants