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

WIP: Headless broadcast #1105

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

WIP: Headless broadcast #1105

wants to merge 4 commits into from

Conversation

PabstMirror
Copy link
Collaborator

Had a feature request to allow playing music via radios.
This allows an AI unit to talk or speak on radio with the use of
some external ts client that is outputting sound e.g.: https://github.com/Splamy/TS3AudioBot

https://www.youtube.com/watch?v=MTFx7xuhRjE

Example use:

[q2, "Botty", 0, 0, ""] call acre_sys_headless_fnc_start // has AI unit q2 start speaking with "Botty"'s Audio 

Ultimately, I think this feature is just too niche (and kind of hackey) to add publicly.
But it does seem to be a useful tool in debugging.

also fun bug:
acre just expects mono microphone data, but TS is capable of stereo
without the mono fix, everything was pitch shifted lower because the sound data is interleaved [left, right, left]

@jonpas jonpas added this to the 2.10.0 milestone May 20, 2021
@jonpas jonpas removed this from the 2.10.0 milestone Oct 8, 2021
@jonpas jonpas added the WIP label Oct 8, 2021
@jonpas
Copy link
Member

jonpas commented Apr 10, 2023

Ultimately, I think this feature is just too niche (and kind of hackey) to add publicly.

Hackey part yes, otherwise I would say this fits public API just fine.

also fun bug:

Maybe we can split that off to include in next release? Unless you intend to finish this.

@JordannDev
Copy link

Is there any intention of this being merged and put into release? I think this could be very useful for scenarios where game masters want ambient radio traffic over usable radios (as an example use case).

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

Successfully merging this pull request may close these issues.

3 participants