Re: ANSI music / sound effects
By: Kirkman to Deuce on Mon Aug 10 2015 09:49 pm
Unless the ANSI music is explicitly played in the background, it plays in the foreground which will prevent anything else from being displayed until the music finishes.
How can I make the ANSI music play in the background?
It's documented here:
http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/src/conio/cterm.txt?revis ion=1.34
The last section in the document ``"ANSI" Music''
So, if I assume you use the "CSI N" method (ie: ESC[N), it would be "ESC", "[", "N", "M", "B", followed by the notes etc.
An "MB" in the music string with switch to background music. If the introducer is CSI M, the initial 'M' can be implied, but it can also be explicit. It really depends on what other terminal programs you want to be compatible with.
---
http://DuckDuckGo.com/ a better search engine that respects your privacy.
Mro is an idiot. Please ignore him, we keep hoping he'll go away.
þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)