ANSI Music playing on the web via DOSBox reddit / bbs ---------------------------------------------------------------------- Sgeo · 2018-04-14 23:22 Recently posted about ANSI Music. Discovered that the "SMILE viewer" seemed to work incredibly well, so I put it and some music on the Internet Archive. There's more similar music out there, bundled with Melody Maker and Melody Master, that I might upload later with their respective programs. ---------------------------------------------------------------------- NuSkooler · 2018-04-17 02:53 Very cool! ---------------------------------------------------------------------- mro_1337 · 2018-04-18 02:05 pretty nifty. had to turn off the speakers though! :D how did you rig the emulation up with archive.org ? ---------------------------------------------------------------------- Sgeo · 2018-04-18 02:47 http://digitize.archiveteam.org/index.php/Internet_Archive_Emulation Make sure that the item is software, and set `Emulator`, `Emulator_ext`, and `Emulator_start` metadata items appropriately. In this case: Metadata item|Value :--|:-- Emulator|dosbox Emulator_ext|zip Emulator_start|smile ---------------------------------------------------------------------- gstandard00 · 2018-04-30 13:08 ouch my ears! pretty cool though ---------------------------------------------------------------------- ShooterJennings · 2018-05-05 16:58 Do you know how to do this in an ANSI? Would be killer to add tunes and sounds to the new game I’m working on. ---------------------------------------------------------------------- ShooterJennings · 2018-05-05 16:58 How do you construct these? ---------------------------------------------------------------------- Sgeo · 2018-05-05 17:21 What specifically are you asking about? The music itself? I didn't make it, I found it on the web. Or the emulation? ---------------------------------------------------------------------- ShooterJennings · 2018-05-05 17:22 Sorry. The music. I’m developing a door game for my game server (bcrgames.com) and I would like to add ansi music to it. So I was trying to understand how this happens. Btw the link seems to not be working. ---------------------------------------------------------------------- Sgeo · 2018-05-05 17:26 The Archive's emulation can be a bit weird sometimes, try in an Incognito window. I should note that this isn't really a universal spec, only a few programs (including the popular SyncTERM) can play ANSI music. There's some documentation http://artscene.textfiles.com/ansimusic/information/ and at http://cvs.synchro.net/cgi- bin/viewcvs.cgi/*checkout*/src/conio/cterm.txt?content- type=text%2Fplain&revision=HEAD , as well as programs that can help make ANSI music lying around. ---------------------------------------------------------------------- NuSkooler · 2018-05-06 16:11 ANSI music is just implemented with particular ESC sequences, then works pretty much like BASIC 'PLAY'. The problem is it's totally non- standard, implemented at least a couple ways (at least one of which conflicts with standard ESC sequences). With that said, some terminals (SyncTERM being the only "modern" term that supports them, I think?) support the stuff. You'd probably have to prompt users to switch to it, then avoid any conflicting ANSI ESC sequences if the user chose that mode. Good reading: * http://cvs.synchro.net/cgi- bin/viewcvs.cgi/*checkout*/src/conio/cterm.txt?content- type=text%2Fplain&revision=HEAD * http://www.bbsdocumentary.com/library/PROGRAMS/GRAPHICS/ANSI/bansi.txt Another option may be to use VTX's music sequences. Again, non- standard (and only VTX supports them so far) but at least non- conflicting. It can play any stream of music, but you could of course record BASIC style PLAY, CID, or whatever. Ref. here: https://github.com/codewar65/VTX_ClientServer/blob/master/vtx.txt ---------------------------------------------------------------------- ShooterJennings · 2018-05-06 18:07 Wow. Thank you this is very helpful. I imagine I could put an option upon launch of the game asking if you want music and the requirements needed. I know Deuce was going to put streaming music into Syncterm in the near future. That would be the ultimate win for me. Vtx seems like its doing that here. ---------------------------------------------------------------------- NuSkooler · 2018-05-06 18:31 It would be great if he could implement the VTX codes into SyncTERM... I'd love to chat with him about this. I'm sure codewar65 would be willing to adjust the sequences as well if that meant multiple terms implementing the same way