You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For each chunk of 2048 samples:
resampler.process(audio_resampled, audio);
This consumes approx. 40 sec CPU to process 4.9 million samples, on my 2018 Mac Mini (2.7GHz Core i5 with 6 cores). Is there are less CPU intensive way to do this?
Appreciate your help.
Thanks in advance,
Geoff.
The text was updated successfully, but these errors were encountered:
Hey Dan,
I have a question about resampling, as it seems to be expensive in terms of CPU.
Declarations:
univector audio_resampled(2229);
univector audio(2048);
samplerate_converter resampler = samplerate_converter(resample_quality::draft, 48000, 44100);
For each chunk of 2048 samples:
resampler.process(audio_resampled, audio);
This consumes approx. 40 sec CPU to process 4.9 million samples, on my 2018 Mac Mini (2.7GHz Core i5 with 6 cores). Is there are less CPU intensive way to do this?
Appreciate your help.
Thanks in advance,
Geoff.
The text was updated successfully, but these errors were encountered: