Skip to content

[Feature Request] Allow native level sampling of audio buffer for realtime amplitude #1783

@fogg4444

Description

@fogg4444

What is the need and use case of this feature?
I'm attempting to create an audio visualizer which renders audio amplitude in realtime during playback.

Describe the ideal solution
During playback, RNTP will allow access to the native audio buffer by way of a query function, something like getAudioAmplitude(). This would allow custom native code an easy hook to querying audio amplitude at a desired framerate, without excessively complicating RNTP. A simple utility function of this variety would allow all manner of live visualization functionality to be integrated with RNTP.

Describe alternatives you've considered
No alternatives that I'm aware of.

Additional context
Add any other context or screenshots about the feature request here.

How I can Help
I'm interested in implementing the feature on iOS and Android. I have experience with native level development in React Native context.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Feature Requests

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions