void Awake() { //ドライバー名デバッグ string[] asioDriverIDNames = AsioManager.GetAsioDriverNames(); foreach (string asioDriverIDName in asioDriverIDNames) { Debug.Log(asioDriverIDName); } //ASIOスタート AsioManager.PrepareAsio(2, sampleRate, sampleLength); }
private void Awake() { // サンプル数の2の乗数を計算 length_bit = (int)(Mathf.Log(sampleLength, 2f)); //ドライバー名デバッグ string[] asioDriverIDNames = AsioManager.GetAsioDriverNames(); foreach (string asioDriverIDName in asioDriverIDNames) { Debug.Log(asioDriverIDName); } //ASIOスタート //localは1 ドライバー選択可能に string instLog = AsioManager.PrepareAsio(2, sampleRate, sampleLength); }