Darkplaces Sound engine?
Moderator: InsideQC Admins
11 posts
• Page 1 of 1
Darkplaces Sound engine?
Does Darkplaces have any features that allow you to dampen sound or add an echo effect in realtime? If it doesn't, how hard would it be to implement it?
-

Mexicouger - Posts: 514
- Joined: Sat May 01, 2010 10:12 pm
Re: Darkplaces Sound engine?
Nope. There hasn't been as much attention to improving the sound dsp/mix code as there has been for graphics, only just recently it gained pitch shifting
i should not be here
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
Re: Darkplaces Sound engine?
Well Dang. Sound pitching really got me excited and I love having it. Its one of my most favorite features that Darkplaces has gotten. I hope for more sound features because sound is really an element that can really make or break a game. Adding 3D sound modifications in realtime would be so nice to have, like being able to echo sounds due to room size and dampen sound at a distance. It just makes the moment feel more realistic.
If someone was to modify Darkplaces to add Sound features, what files might he/she need to change?
If someone was to modify Darkplaces to add Sound features, what files might he/she need to change?
-

Mexicouger - Posts: 514
- Joined: Sat May 01, 2010 10:12 pm
Re: Darkplaces Sound engine?
I voiced my opinion on underwater sounds in DP sounding different in the water than out, and for some sounds that occur in the water, only be heard if you are also in water. No plans for that yet. I did notice one of the older engines, I think Tomazquake, had the sounds coming in muffled if you were in the water and the sounds were happening above you on land, was kinda neat.
-

Cobalt - Posts: 445
- Joined: Wed Jun 10, 2009 2:58 am
- Location: New England, USA
Re: Darkplaces Sound engine?
There was an old version of TomazQuake that embedded FMOD, but for legal reasons was pulled shortly after.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC
(LordHavoc)
-

frag.machine - Posts: 2090
- Joined: Sat Nov 25, 2006 1:49 pm
Re: Darkplaces Sound engine?
Sad, as you are allowed to use FMOD for non-commercial use.
- r00k
- Posts: 1110
- Joined: Sat Nov 13, 2004 10:39 pm
Re: Darkplaces Sound engine?
im pretty sure that could be done either with qc or csqc couldnt it?
-

ceriux - Posts: 2223
- Joined: Sat Sep 06, 2008 3:30 pm
- Location: Indiana, USA
Re: Darkplaces Sound engine?
r00k wrote:Sad, as you are allowed to use FMOD for non-commercial use.
At least back then FMOD license was incompatible with GPL v2, although I understand it's not the case nowadays.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC
(LordHavoc)
-

frag.machine - Posts: 2090
- Joined: Sat Nov 25, 2006 1:49 pm
Re: Darkplaces Sound engine?
Maybe if you substituted a spawn () for every sound, have it do a findradius and or a visible test for clients, then if that worked, you would have to stuff the sounds to the player depending on their waterlevel and distance from the noise. That'd work for QC side generated sounds, but ambient sounds would still work the old way. Soundpitch would no longer be usefule either. Engine side sound code alternatives would likely be the way to go.
ceriux wrote:im pretty sure that could be done either with qc or csqc couldnt it?
-

Cobalt - Posts: 445
- Joined: Wed Jun 10, 2009 2:58 am
- Location: New England, USA
Re: Darkplaces Sound engine?
OR
make alternate sounds for everything, and if you are under water all sounds use the secondary 'muffled' sound :O
i think it would be interesting to sit at dm3 bridge with vised water watching a battle and hear nothing then see people pop out of the water afterwards
make alternate sounds for everything, and if you are under water all sounds use the secondary 'muffled' sound :O
i think it would be interesting to sit at dm3 bridge with vised water watching a battle and hear nothing then see people pop out of the water afterwards
- r00k
- Posts: 1110
- Joined: Sat Nov 13, 2004 10:39 pm
Re: Darkplaces Sound engine?
Engoo at least has s_underwater which plays all sounds underwater at a lower pitch similar to how TomazQuake does it. Also, host_timescale now scales live sound but the endpoints/loopingpoints haven't been adjusted yet 
i should not be here
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
11 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest