dynamic range control

dynamic range control

Requests for features in the spring code.

Moderator: Moderators

Post Reply
monohouse

dynamic range control

Post by monohouse »

I would like to request a feature that I think would be of importance to sound engineers like myself that are working on mods, spring has no dynamic range control, you cannot control volume of samples played in it, I would like to suggest support for additional sound.tdf entry say "vol=xxx" where xxx would be equal to say 0-127, that way it would be possible to control the volume of unit orders like "ok" and "cantdo", it would also significantly improve spring's sound quality, an example of the idea as follows :

[ARM_KBOT]
{
select1=kbarmsel, vol=60;
ok1=kbarmmov, vol=90;
arrived1=kbarmstp, vol=30;
cant1=cantdo4, vol=70;
underattack=ForcesUnderAttack, vol=100;
count5=count1, vol=10;
count4=count2, vol=20;
count3=count3, vol=30;
count2=count4, vol=40;
count1=count5, vol=50;
count0=count6, vol=60;
canceldestruct=cancel2, vol=80;
}

in this example you also happen to fix the fark-sound-of-doom or whatever that is, and also allow modders to create their dynamic range accordingly to what they want their mod to be.

for backward-comptaibility I would recommend treating entries that do not have a specified ",vol=xxx; entry to be played at default volume.

obviously the way that I know people are treating feature requests at this point would make it a useless request for 2 reasons, nobody really does take them seriously, and 2 because I requested it.

so for that reason aside from really requesting the feature to be implemented, I would also like to ask where I can find the sound code in which it can be implemented, in the code, to try to implement it myself.

if possible also a pan=xxx feature can also be added to control the panning of the sample.

and one last reason that this feature is important, is that everyone is investing their best efforts in the graphics and GUI and forgetting completely about the sounds, which are no less important.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

everyone is investing their best efforts in the graphics and GUI and forgetting completely about the sounds
Please play NanoBlobs before you say anything like that ;) Sound control is quite possible. The only real problem is the "unit acknowledgement sounds", but even they scale somewhat. Personally, I am more than halfway tempted to just remove them entirely, and then just have sounds called via COB only at appropriate moments.
monohouse

Post by monohouse »

sounds good, I will need to take a closer look at Nano, I heard there was some special things in it.

you think that unit sounds can be entirely replaced with COB ?
Post Reply

Return to “Feature Requests”