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

Plugin Development for Uncompressed Audio Recording with USB Microphone Support #447

Open
this-Aditya opened this issue Jun 28, 2024 · 0 comments · Fixed by #449
Open

Plugin Development for Uncompressed Audio Recording with USB Microphone Support #447

this-Aditya opened this issue Jun 28, 2024 · 0 comments · Fixed by #449
Assignees

Comments

@this-Aditya
Copy link
Member

this-Aditya commented Jun 28, 2024

Create a plugin to record unprocessed audio with the following requirements as specified by @yatharthranjan:

  • There is requirement of a user interface, where a user can chose to start/stop an audio recording, playback a previously recorded audio and upload to radar-base with an upload button (it should not automatically upload as the use case is in hospital and the doctors will verify the recording before uploading to radar-base). After upload the local files need to be deleted (this is unlike the cache).
  • There is requirements to use external microphone (via USB). We need to allow the user to switch audio interfaces in the UI (the app can by default select the external mic if available).

Using the following library interfaces:
AudioManager: To get a list of audio input devices, Set the external devices as default input device, etc.
AudioRecord : To record the uncompressed audio, start and stop the recording of the audio. Here there are many audio properties as mentioned above that we can configure (audio encoders, format and sampling rates)
MediaPlayer: To start and stop the playback of the previously recorded audio files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant