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

CPU Usage in iOS #65

Open
jon2718 opened this issue Apr 21, 2019 · 3 comments
Open

CPU Usage in iOS #65

jon2718 opened this issue Apr 21, 2019 · 3 comments

Comments

@jon2718
Copy link

jon2718 commented Apr 21, 2019

We are testing RNNoise on in iOS on an iPhone X. We are seeing significant CPU usage out of the box of approximately 20%. The function that seems to be quite expensive is feature_calculation. Is this expected? Do you have any data on CPU efficiency on mobile devices or techniques that we could investigate to reduce CPU usage.

@contribu
Copy link

just idea

@TerenzeY
Copy link

@jon2718 interesting, altho how are you running this on iOS?

@Ornolfr
Copy link

Ornolfr commented Nov 22, 2019

@jon2718 How did you go about the hardcoded FRAME_SIZE? It is working great when the audio buffer size matches the FRAME_SIZE but otherwise the audio gets distorted and I don't see any possibility for ring buffer due to AUAudioUnit specifics.

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

4 participants