Sound-scapes and sources

Make suggestions for improving one of the best games on the net!
Post Reply
LJuk
Private First Class
Private First Class
Posts: 10
Joined: Tue Feb 20, 2007 4:23 pm

Sound-scapes and sources

Post by LJuk » Sun Jan 20, 2008 6:00 pm

Physical objects, causing sounds is a concept found in all of the best on-line games. Perhaps sound sources as well as an option of atmosphere-based music could be of great advantage to map designers, as well as make the game far more interesting.
LJuk

User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Re: Sound-scapes and sources

Post by Winny » Sun Jan 20, 2008 6:06 pm

LJuk wrote:Physical objects, causing sounds is a concept found in all of the best on-line games. Perhaps sound sources as well as an option of atmosphere-based music could be of great advantage to map designers, as well as make the game far more interesting.
Location-based music has been denied, based on the fact that it would be a real bandwidth hog to stream songs over the server to everyone. Missile War 2 takes about 400gb a month of my bandwidth, I can't imagine what streaming MP3's would do.

Also, you'd need to make sure that none of the music was copyrighted, since it's illegal to share music in this way. You'd need to compose your own music, and then play it...

Far too complex.

User avatar
blast
General
General
Posts: 4758
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast » Sun Jan 20, 2008 7:57 pm

Winny
Put them on an HTTP server and have the client download them. He never said anything about streaming them from the server. Or, if you want to stream, use shoutcast streaming, for instance.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Tedius
Sergeant First Class
Sergeant First Class
Posts: 142
Joined: Tue Sep 19, 2006 6:10 pm
Contact:

Re: Sound-scapes and sources

Post by Tedius » Mon Jan 21, 2008 1:32 am

This is something that I'd love to have implemented. I don't think it would be too complex if we treated the sounds as if they were textures. Include the http link to the sound object or cue in the map file and give the player the option to download the "sound textures." I would also like the option to overide the default sound to a sound that I've created. For instance, the "boing" sound doesn't really fit in my Skate-Park, I would have liked to create my own skateboarding sounds.
Winny wrote: Also, you'd need to make sure that none of the music was copyrighted, since it's illegal to share music in this way. You'd need to compose your own music, and then play it...
Indeed we'd have some ugly sound design, but I know of quite a few musical people in the community and this would create another opening for them to be involved.

I'll start working on the Mystic Valley track. :)
this signature intentionally left blank

User avatar
immunogoblin
Private First Class
Private First Class
Posts: 17
Joined: Tue Dec 25, 2007 7:24 pm

Post by immunogoblin » Mon Jan 21, 2008 7:29 am

It seems like the most bang for the buck as far as bandwidth, utility, and ease of implementation would be to incorporate libmodplug:

http://modplug-xmms.sourceforge.net/

which would give classic game-style event-driven soundscape capability that could be musical or not, and .mod files can be pretty small, a lot less download than the billboards at mofo, even ;)

Just a thought.

LJuk
Private First Class
Private First Class
Posts: 10
Joined: Tue Feb 20, 2007 4:23 pm

Post by LJuk » Sun Jan 27, 2008 1:21 pm

So a positive feedback then?
LJuk

F687/s
Private First Class
Private First Class
Posts: 369
Joined: Sun Dec 31, 2006 8:30 pm

Post by F687/s » Sun Jan 27, 2008 2:31 pm

> It seems like the most bang for the buck as far as bandwidth, utility, and ease of implementation would
> be to incorporate libmodplug:


Yes, but you're forgetting that .mod files are basically MIDI files with samples, and many of the music files that are around are either in .mp3, .wav or .ogg . Also, that file format is on its way out, being replaced with either .xm files, or the waveform-based files that are popular today. Also, XMMS is (from what I know) a Linux-based product, and it may not be completely portable between OSes.

Just a thought.

User avatar
immunogoblin
Private First Class
Private First Class
Posts: 17
Joined: Tue Dec 25, 2007 7:24 pm

Post by immunogoblin » Mon Jan 28, 2008 11:30 am

F687/s wrote:Yes, but you're forgetting that .mod files are basically MIDI files with samples, and many of the music files that are around are either in .mp3, .wav or .ogg .
No, I'm not forgetting that. :P I'm addressing the original post as a requested way for designers to add some type of soundscape elements to maps. The bzflag-as-internet-radio concept has already been nixed; If server operators want to play DJ with existing music for their players, they can set up a streaming server as suggested by blast above.
Also, that file format is on its way out, being replaced with either .xm files, or the waveform-based files that are popular today.
Sorry, should have said "MOD-like" files, since the modplug backend plays many, including .xm files, IIRC. As for "waveform-based", you can include as much waveform in the way of samples as you want in a tracker file, although the idea is generally towards minimalism to keep file size down. The potential for providing long loops of recorded audio for backgrounds is there, though. It's a versatile format. It's also arguably no less state-of-the-art than bzflag itself, both are appreciated for their deeper qualites by plenty of people. Note my tactful use of the term "classic"... ;)
Also, XMMS is (from what I know) a Linux-based product, and it may not be completely portable between OSes.
The backend code is abstracted from the xmms plugin part of the project, and is apparently quite portable seeing as how it's used as the engine in at least one current cross-platform tracker. It looks like that project has even been doing further work on improving the code.

None of which is to say my suggestion isn't a Bad Idea, just that it isn't a bad idea for those reasons. Most likely it's a moot point, if nobody has any interest in actually implementing any of this stuff anyway, but I thought I'd throw it out there as a low-cost way of adding some versatile soundscaping to the game... :roll:

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5184
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Mon Jan 28, 2008 5:11 pm

there are many other, better, lower cost ways to add a real sound system to the game. The format is not the issue, it's the rest of the code around it.

Post Reply