• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

QUESTION HTTP Request on update

lipman

New Member
Hello,

I'm new to AC modding, but have some experience with Python and Unity game development.
I'm trying to build an app that would do Speech to Text for chat. The way it would work is:

1. While the user holds a button pressed I record the microphone using pyaudio to a file.
2. After the user lets go of the button the file is saved and sent to Google API for transcribing
3. The resulting match is then posted to the chat window.

I already have it working outside of AC but now need to tie it all together as an app.
I've seen that there is ac.sendChatMessage() so that will help with 3.
Is there a way to make an http request in a non-blocking way within the update function?
Is 1 possible to implement? I'd like the key used to be configurable through Content Manager.
 
Top