Exemple #1
0
        public FSCPlayer(FSC fsc, string basedir)
        {
            this.fsc = fsc;
            this.BaseDir = basedir;
            SoundCache = new Dictionary<string, SoundEffect>();
            SoundEffects = new List<SoundEffectInstance>();

            BeatLength = 60.0f / fsc.Tempo;
        }
Exemple #2
0
        public FSCPlayer PlayFSC(string path)
        {
            var dir = Path.GetDirectoryName(path)+"/";
            FSC fsc = new FSC(path);
            var player = new FSCPlayer(fsc, dir);
            FSCPlayers.Add(player);

            return player;
        }