Mumble 3D positional audio

Elinvention
New member
 
Posts: 7
Joined: Tue Jul 23, 2013 12:27

Mumble 3D positional audio

by Elinvention » Thu Jul 25, 2013 15:41

What about adding Mumble's 3d positional audio support to Minetest? I think that would be a great feature! It shouldn't be hard to code from what I see from this page http://mumble.sourceforge.net/Link. I would like to help the development but I don't know where to start from.
Thank you for your attention.
Italian Minetester
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Thu Jul 25, 2013 18:21

I agree on this, but it's probably not that easy.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Thu Jul 25, 2013 18:27

What does this mumble audio do?
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

Elinvention
New member
 
Posts: 7
Joined: Tue Jul 23, 2013 12:27

by Elinvention » Thu Jul 25, 2013 22:06

As described http://mumble.sourceforge.net/ "Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming.". It is a free replacement of Teamspeak or Ventrilo.

I don't know how Minetest is coded, but it seems that you have to attach to Mumble's shared memory area and then write on it to update the player's position converted in "meters".
I can code in C and Java and a very little in C++. If I can help, tell me.
Italian Minetester
 

incentive
Member
 
Posts: 33
Joined: Tue May 07, 2013 15:12

by incentive » Fri Jul 26, 2013 08:29

Elinvention , nobody on minetest uses mumble. Do you wanna use it? I can try it out with you if you want.

The problem is just that. Nobody here uses mumble so nobody's interested to implement it. The greatest possibility of implementation is if you and I are interested to devote our time to this.

Wazuclan use Teamspeak3. Not mumble.
Last edited by incentive on Fri Jul 26, 2013 08:30, edited 1 time in total.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Fri Jul 26, 2013 08:54

jojoa1997 wrote:What does this mumble audio do?


Positional audio makes it sound like the players in the world are actually talking. If a player is to your right, and that player speaks through Mumble, you'll hear them through the right speakers/headphones.
Last edited by Calinou on Fri Jul 26, 2013 08:56, edited 1 time in total.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Fri Jul 26, 2013 14:22

Calinou wrote:
jojoa1997 wrote:What does this mumble audio do?


Positional audio makes it sound like the players in the world are actually talking. If a player is to your right, and that player speaks through Mumble, you'll hear them through the right speakers/headphones.
Cool. Too bad my headphones only have one speaker.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Fri Jul 26, 2013 14:46

Would be interesting but only if people are really interested in mumble/voice chat. The main problem is that most servers here have people from all around the world. Most of the players are good in written english but I think most of them don't dare speaking english. If we had a bigger community with servers where only their mother tongue is spoken, then it would definitly make sense!
 

Elinvention
New member
 
Posts: 7
Joined: Tue Jul 23, 2013 12:27

by Elinvention » Fri Jul 26, 2013 21:29

Wazuclan use Teamspeak3. Not mumble.


Too bad!!! You are using proprietary software! Blame yourself!!!

However I really would like to implement this. I'm studying Minetest's source code... I just have to find where I could initialize the "link" with Mumble and where the coordinates of the player are...

incentive thank you for your proposal, but I already have my laboratory rat to test mumble with. I'd rather prefer someone that knows the source code, so that he could help me.

Sorry for my English!
Italian Minetester
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat Jul 27, 2013 06:37

Elinvention wrote: I just have to find where I could initialize the "link" with Mumble and where the coordinates of the player are...

Take a look at game.cpp
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Wed Aug 07, 2013 17:16

incentive wrote:Elinvention , nobody on minetest uses mumble. Do you wanna use it? I can try it out with you if you want.

I actually did connect to a minetest server that had its own mumble server way back when, I was very impressed back then even without positional sound :)
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

User avatar
SaKeL
Member
 
Posts: 193
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: Mumble 3D positional audio

by SaKeL » Sun Jan 17, 2016 17:31

Is there any update on this? I would really like to use it on my mumble/minetest server. (minetest 4.13)
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

User avatar
BrandonReese
Member
 
Posts: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

Re: Mumble 3D positional audio

by BrandonReese » Mon Jan 18, 2016 04:37

I started to work on this probably about a year ago and never finished or tested it. I went ahead and "finished" it tonight and pushed to my repository. It's based off an older version of minetest so it would need to be rebased. In it's current state it compiles and doesn't immediately segfault when you start the game but I don't know if it actually works. If someone wants to use this as a starting point or as a lesson in what not to do here it is.

https://github.com/Bremaweb/minetest/tr ... -pos-audio
 

User avatar
BrandonReese
Member
 
Posts: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

Re: Mumble 3D positional audio

by BrandonReese » Mon Jan 18, 2016 04:51

In a quick test in just running this branch of minetest and mumble it looks like it's working. It Settings -> Plugins you have to check mark "Link to Game and Transmit Position" and in message bar on the left I received the notification "Minetest Mumble Linked" now that I have reinvested myself in this I can update it to the latest dev version but I doubt my pull request would be accepted because of code style or doing something incorrectly because I only pretend to be able to code in C++. So if somebody who actually knows what they are doing wants to go it go ahead.
 

User avatar
BrandonReese
Member
 
Posts: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

Re: Mumble 3D positional audio

by BrandonReese » Mon Jan 18, 2016 05:28

Updated my mumble-positional-audio branch to the latest dev version of minetest.

https://github.com/Bremaweb/minetest/tr ... onal-audio
 

User avatar
SaKeL
Member
 
Posts: 193
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: Mumble 3D positional audio

by SaKeL » Mon Jan 18, 2016 06:47

Good work and thanks for the update. I will have a look at it. Even though it doesn't sound yet as "ready for production", it's great to see that someone has actually picked this up. Thanks ;)
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

User avatar
AnxiousInfusion
Member
 
Posts: 146
Joined: Sun Aug 02, 2015 05:43
GitHub: AnxiousInfusion[GitLab]
IRC: AnxiousInfusion
In-game: AnxiousInfusion

Re: Mumble 3D positional audio

by AnxiousInfusion » Mon Jan 18, 2016 18:07

From the perspective of running a server, I think most people would opt to just run a dedicated Mumble instance along side Minetest. The only thing you'd really miss is the 3D positional audio.
 

User avatar
BrandonReese
Member
 
Posts: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

Re: Mumble 3D positional audio

by BrandonReese » Mon Jan 18, 2016 18:34

This doesn't integrate mumble into minetest. You would still have to run your own mumble server. Mumble positional audio is all handled on the mumble client. This minetest patch lets your mumble client know your minetest position so the position can be sent with your voice packets and it can do the positional audio calculations when you receive voice packets from other players that contain a location.
 

User avatar
SaKeL
Member
 
Posts: 193
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: Mumble 3D positional audio

by SaKeL » Tue Jan 19, 2016 06:45

Yes i am aware of that and i have dedicated Mumur on the server already. Thanks though.
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

sofar
Member
 
Posts: 781
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Mumble 3D positional audio

by sofar » Wed Jan 20, 2016 05:18

We should work on making the minetest server advertise in-game that there is a mumble server available, so the client can automatically connect using the in-game player name and to the right server.
 

sofar
Member
 
Posts: 781
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Mumble 3D positional audio

by sofar » Wed Jan 20, 2016 05:42

Seems that there is a socket interface where you can write some XML formatted commands to tell mumble to connect to a server, join a channel, etc..

https://github.com/mumble-voip/mumble/blob/master/src/mumble/SocketRPC.cpp

Now we just need a way to have the server deliver a URL to a mumble server, so that the client receives that URL and pass it to mumble.
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

Re: Mumble 3D positional audio

by twoelk » Wed Jan 20, 2016 10:34

playing with others using TeamSpeak is great. Make using Mumble an even greater experience !
Maybe a hint within the nametag wether a player is connected to a mumbleserver might be usefull.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 3 guests

cron