In Game Voice Chat?

User avatar
octacian
Member
 
Posts: 594
Joined: Mon Dec 21, 2015 22:18
Location: Canada
GitHub: octacian
IRC: octacian
In-game: octacian

In Game Voice Chat?

by octacian » Tue Apr 19, 2016 03:57

Is it possible to write a mod that allows players to talk to each other in the game if they are close enough that you would in reality be able to hear the other person? Even if it would have to be done in the base C++, I'd really like to see something like this.

It would be really cool for people like me who don't like having to use Skype or not being able to say something that the others won't hear.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7489
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
Krock
Developer
 
Posts: 4403
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: In Game Voice Chat?

by Krock » Tue Apr 19, 2016 18:06

If OpenAL supports recording audio, it must be processed in real-time by our ogg/vorbis libraries, so it's not required to flood the server with raw sound data. And in the server code it must be redirected/sent to all players at once, this means the data volume is proportional to the online and speaking people.
This is really a huge piece of work if someone would try to realise that!
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Moderator
 
Posts: 5883
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: In Game Voice Chat?

by rubenwardy » Tue Apr 19, 2016 19:31

There's no need to reinvent the wheel.

Here is a PR that adds support for mumble, an existing ingame voice thing: https://github.com/minetest/minetest/pull/3739
 

User avatar
Calinou
Moderator
 
Posts: 3157
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: In Game Voice Chat?

by Calinou » Wed Apr 20, 2016 05:25

rubenwardy wrote:There's no need to reinvent the wheel.

Here is a PR that adds support for mumble, an existing ingame voice thing: https://github.com/minetest/minetest/pull/3739


To be accurate, it adds support for positional audio in Mumble, which is considered useless by many users. (It's what makes it sound like the in-game player is actually talking, you hear their voice coming from their character, but of course it can easily be disabled). Other than that, Mumble is usable in any program, even if it does not explicitly support it.
 

User avatar
octacian
Member
 
Posts: 594
Joined: Mon Dec 21, 2015 22:18
Location: Canada
GitHub: octacian
IRC: octacian
In-game: octacian

Re: In Game Voice Chat?

by octacian » Fri Apr 22, 2016 00:50

Calinou wrote:
rubenwardy wrote:There's no need to reinvent the wheel.

Here is a PR that adds support for mumble, an existing ingame voice thing: https://github.com/minetest/minetest/pull/3739


To be accurate, it adds support for positional audio in Mumble, which is considered useless by many users. (It's what makes it sound like the in-game player is actually talking, you hear their voice coming from their character, but of course it can easily be disabled). Other than that, Mumble is usable in any program, even if it does not explicitly support it.


Positional audio is exactly what I am looking for. That way many people can play on a server with voice chat yet not have everything become a huge mess since normally you would hear everyone at once. However, positional audio eliminates this problem and adds a whole new aspect of fun to the game. For example, you can plot against someone without having to mute Skype...
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.
 

User avatar
octacian
Member
 
Posts: 594
Joined: Mon Dec 21, 2015 22:18
Location: Canada
GitHub: octacian
IRC: octacian
In-game: octacian

Re: In Game Voice Chat?

by octacian » Fri Apr 22, 2016 00:52

Krock wrote:If OpenAL supports recording audio, it must be processed in real-time by our ogg/vorbis libraries, so it's not required to flood the server with raw sound data. And in the server code it must be redirected/sent to all players at once, this means the data volume is proportional to the online and speaking people.
This is really a huge piece of work if someone would try to realise that!


If positional audio is used, then flooding of data would not be a problem because only specific data would have to be sent. I would like to see something like this directly built into Minetest though, like an option in the settings or something.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.
 

User avatar
octacian
Member
 
Posts: 594
Joined: Mon Dec 21, 2015 22:18
Location: Canada
GitHub: octacian
IRC: octacian
In-game: octacian

Re: In Game Voice Chat?

by octacian » Fri Apr 22, 2016 01:10

rubenwardy wrote:There's no need to reinvent the wheel.

Here is a PR that adds support for mumble, an existing ingame voice thing: https://github.com/minetest/minetest/pull/3739


I checked that out and downloaded the client from mumble.info. However, I cannot figure out how I am actually supposed to use this in Minetest. If you could explain further, I'd really appreciate that.

If possible, it would be really great to have this built in to Minetest though. Something you could enable or disable in the settings and such.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.
 


Return to Modding Discussion



Who is online

Users browsing this forum: Emerald and 1 guest