Exemplo n.º 1
0
        const double scale = 96;//multiplier between index in soundinformation list to correct time in ms for the song

        //constructor takes in a Wave object which is used to initialize the fields
        public MapMaker(Wave w)
        {
            wave     = w;
            wavAudio = new Audio(wave, 1000000);//1000000

            SBD = new StatBeatDetection(wave, 1000000);

            soundInformation = new SoundInfo[SBD.length() + 1];
        }
Exemplo n.º 2
0
        Wave wave; //wav file wrapper

        #endregion Fields

        #region Constructors

        //constructor takes in a Wave object which is used to initialize the fields
        public MapMaker(Wave w)
        {
            wave = w;
            wavAudio = new Audio(wave, 1000000);//1000000

            SBD = new StatBeatDetection(wave, 1000000);

            soundInformation = new SoundInfo[SBD.length() + 1];
        }