SimformSolutionsPvtLtd / audio_waveforms

Use this plugin to generate waveforms while recording audio in any file formats supported by given encoders or from audio files. We can use gestures to scroll through the waveforms or seek to any position while playing audio and also style waveforms
https://pub.dev/packages/audio_waveforms
MIT License
284 stars 154 forks source link

Suggestion to Split Recording and Playback Features into Separate Flutter Packages #356

Open ashtanko opened 2 weeks ago

ashtanko commented 2 weeks ago

Is your feature request related to a problem? Please describe. I'm interested in using this library for audio playback and waveform visualization only. However, because the library also supports audio recording, it requires additional permissions (such as record audio permissions on iOS and Android) that are unnecessary for my use case, as I don’t need the recording functionality.

Describe the solution you'd like It would be helpful if the library could split recording and playback features into separate packages. This way, developers who only need playback could use a lightweight package without requiring recording permissions.

Describe alternatives you've considered As an alternative, I considered manually removing recording permissions from the code, but this is impractical for maintaining future updates. Another alternative is finding a playback-only library, but I prefer the functionality and styling features of this plugin.

Additional context Splitting the packages would increase flexibility, allowing more developers to use this library without extra permissions. This separation would help keep the app’s permissions minimal and aligned with its actual functionality.

ujas-m-simformsolutions commented 1 week ago

@ashtanko If you aren't using recording functionality then you do not need to include the permissions and you can use the plugin as is. If you're facing any specific issue then I'm happy to help.