In Game Voice Chat?

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
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.
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 

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

Re: In Game Voice Chat?

by azekill_DIABLO » Tue Apr 19, 2016 16:52

hard to do ....

but great idea!!
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
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!
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
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
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
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: 408
Joined: Mon Dec 21, 2015 22:18
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...
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
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.
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
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.
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 


Return to Modding Discussion

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron