mIRC Home    About    Download    Register    News    Help

Print Thread
#265269 25/03/19 12:59 AM
Joined: Aug 2015
Posts: 70
Babel fish
OP Offline
Babel fish
Joined: Aug 2015
Posts: 70
I would really like to be able to play different "layers" of sounds, many at a time. Please add this feature!

Last edited by _entropy; 25/03/19 01:02 AM.

mIRC Scripts IRC Network: irc://irc.mircscripts.info/chat
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
That'd be pretty cool, especially for Picture Window games.

/splay -b <filename>
The -b switch would blend a sound instead of stopping any currently playing sound(s), so they overlap.

Queued (-q) sounds would still wait in queue until any currently playing sound(s) stop playing. If you use -b and -q together, you would be able to queue any blendable sounds after a non-blended sound that's already in queue, so that they both play together.

/splay sound1a.wav
/splay -b sound1b.wav
/splay -q sound2a.wav
/splay -qb sound2b.wav
/splay -q sound3.wav


Could also add another layer for background music that plays behind anything else that's playing or queued, with a -B flag. And -l to loop it.

/splay -Bl bgmusic.mid

Another approach would be to add an optional name to a playing sound layer, like timers.

/splay bgmusic -Bl greenhillzone.mid
/splay sfx sound1a.wav
/splay sfx -b sound1b.wav
/splay bgmusic stop
/splay bgmusic -Bl levelselect.mid


The default layer would be named "default".


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard