Subj : ANSI music / sound effects
To   : All
From : Kirkman
Date : Sat Aug 08 2015 12:46 pm

 Re: ANSI music / sound effects
 By: Kirkman to All on Mon Jun 22 2015 04:47 pm

Ki> I'm playing around with using ANSI music code to make sound effects. Has
Ki> anyone played around with this? What's the best way to integrated music
Ki> routines into drawing routines?

Ki> For example, I'm using frames and .cycle(). After a cycle, if something
Ki> has happened that should trigger a sound effect, I play the appropriate
Ki> ANSI music by calling console.write().

Ki> But it does seem like the game hangs a bit until the (three-note) music is
Ki> finished playing. Not sure if there's a better way.

Just wanted to bump this topic.

In my experiments, if I play a sound effect using console.write(), the game
will not respond to player input until the entire sound effect has finished
playing.


Would this be a problem on the BBS/code side, or is this a SyncTerm issue with
playing ANSI music?


--Josh

////--------------------------------------------------
BiC -=- http://breakintochat.com -=- bbs wiki and blog

---
� Synchronet