static void Main(string[] args) { BeepPlayer player = new BeepPlayer(); player.FromFile("test.abc"); player.Play(); while (player.Playing) { player.Update(); // be nice to the CPU System.Threading.Thread.Sleep(1); } }