-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Add a Microphone API #13268
Comments
@Grabli66 if you wish, i can write a simple c++ signal mic module for you in the meantime using SDL 2.0.5 or greater. I am just using a mic for an unrelated purpose. As you can see in the code, I really do not care about usability other than my use case. I would modify the code for your use case https://forums.libsdl.org/viewtopic.php?p=51881 either way, I would never expect this code to be committed because it is only meant for me. |
Thanks. |
I second the request for this functionality, in my case for purposes of streaming the audio in a VR game to other players over the network (which would obviously require some kind of realtime audio codec for low latency/bandwidth transmission). |
Hi - first time poster. I have a great idea for a small game series that utlize audioinput like "scream hero". Unfortunately I just saw that there is no support for microphone input. I would love to get that feature! |
@hungrymonkey I just gave your link a quick look! How easy is it to implement? |
its currently not registered into GDScript. But that is easy too. copy the module over and compile basically the audiostream is currently crappy since i do both memory allocation and block the audio stream. The mic is ok, it is basically an event base mic. a few lines of code can change it into a float base @DEF7 well, i was kinda working on that. that is the reason why i added an mic. I suggest you look into godot Server https://godotengine.org/article/why-does-godot-use-servers-and-rids |
Very happy to see this development. Working on dev of endangered-world-languages learning applications for non-profit educational use. Godot will be the perfect engine for this work once mic support is implemented. I have not ventured far into learning C languages yet and was hoping would not have to. |
Thank you for your SDL mic code, @hungrymonkey ! I adapted it for a small project of mine and it worked very well. |
@fahrstuhl sure, no problem. I actually created a lockless version for the dummy audiostream. I am currently trying to refactor voip then ask reduz for input. it is in process. |
Hi, |
I already provided a link https://github.com/godotengine/godot/files/1515081/dummy_audiostream.zip its just not registered to gdscript. You just have to add it to my modules. If you wish, you can take a look at the official mic |
Fixed by #19106. |
Please add microphone support... this is pretty much a standard feature on all platforms. Thank you... |
@Colorfingers This was implemented in #19106 and will be available in 3.1 😃 |
Sweet, thanks! |
Please, add the posibility to record audio from microphone.
It's needed for creating music applications, such as i do :)
The text was updated successfully, but these errors were encountered: