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]; }
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]; }
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); }
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; }