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];
        }
Exemplo n.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StatBeatDetection obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StatBeatDetection obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }