Specify an ambient sound to be played on the music channel

Moderator: GZDoom Developers

Post Reply
User avatar
Enjay
 
 
Posts: 27194
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Specify an ambient sound to be played on the music channel

Post by Enjay »

OK, so I'm going to guess that this isn't as simple as it sounds but just in case...

Would it be possible to use SNDINFO (or something) to set up a sound so that it can be played on the music channel? (Or if this can't be done, could a sound channel that respects the user settings for the music channel be created?)

Why? Playing sounds via ambient sounds allows them to be played once, timed properly, exactly when the map author wants and the game "remembers" how far through the sound it was when the game is paused or saved. So it gives the flexibility that many people have been after with music. This is why "Paranoid" and "The Phobos Directive" play their music lumps as ambient sounds.

However, it also has some significant downsides - mainly that the player's ability to control the volume of the music (or even whether it plays at all) is removed and the player has to accept the music playing as the modder included it whether it suits their preferences and system or not.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Specify an ambient sound to be played on the music chann

Post by wildweasel »

I would actually go so far as to suggest that using the music channel in such a way should enable it to respect the music volume and -nomusic settings. (It does seem that you've already said as much in your post, but that point seriously bears repeating.)
User avatar
Enjay
 
 
Posts: 27194
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Specify an ambient sound to be played on the music chann

Post by Enjay »

Yes, that was very much intended to be one of the ideas included in this request.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Specify an ambient sound to be played on the music chann

Post by Graf Zahl »

There is no such thing as a 'music channel'. Music and sound subsystems are not interchangeable this easily. The volume thing should be doable. We'll see...
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”