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

feat: mic input / capture #132

Closed
2 tasks
naychrist opened this issue Sep 26, 2024 · 6 comments
Closed
2 tasks

feat: mic input / capture #132

naychrist opened this issue Sep 26, 2024 · 6 comments

Comments

@naychrist
Copy link

naychrist commented Sep 26, 2024

Description

This lib is great. However, I was disappointed to see that audio capture was removed. I was planning to use live audio input for a visualiser. My starting point was going to be to take the audio_data example and replace sound file input w microphone.

I understand why this was removed originally but is there any way to add this back as a separate package or recommendations on a third party package that would integrate well?

Requirements

  • Capture live audio input, cross platform
  • Extract data from the live input equivalent to the audio_data example
@alnitak
Copy link
Owner

alnitak commented Sep 26, 2024

Hi @naychrist,

I am writing a separate package with the same "philosophy" of flutter_soloud.
It will be able to listen and record with "silence detection and removal". It will also have a way to get wave and FFT data as flutter_soloud does, plus a volume dB value.

Actually, I just need to add web support and write docs since the release :(

@naychrist
Copy link
Author

ah that sounds great @alnitak ! Any idea when you might release it? At the moment I would be content with desktop and an example to get me started.

@alnitak
Copy link
Owner

alnitak commented Oct 11, 2024

Hi @naychrist,

I have published a recorder plugin here.
It should work on all platforms web included, but I cannot test on mac/iOS.

So let's move there for any discussion!

@alnitak alnitak closed this as completed Oct 11, 2024
@naychrist
Copy link
Author

Amazing thank you! I can give it as spin and help test mac/ios after next week sometime.

@andynvt
Copy link

andynvt commented Nov 7, 2024

Hi @naychrist,

I have published a recorder plugin here. It should work on all platforms web included, but I cannot test on mac/iOS.

So let's move there for any discussion!

How to integrate it with flutter_soloud and make live audio record with effects: echo, reverb,...?

@alnitak
Copy link
Owner

alnitak commented Nov 9, 2024

How to integrate it with flutter_soloud and make live audio record with effects: echo, reverb,...?

I've just pushed a PR to stream mic audio data. This data can be then passed to a new AudioSource in flutter_soloud and then use any filters you want.

This functionality will be available soon in flutter_soloud but you can try it now using the websocket branch. It is introduced in this new PR.

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

3 participants