Unity 2018 Cookbook(Third Edition)
上QQ阅读APP看书,第一时间看更新

Creating beat sounds through data rather than AudioClips

The Unity documentation about dspTime provides an interesting approach to creating the basic and accented beats for a metronome  though editing the audio data samples themselves. Check out their scripted metronome at https://docs.unity3d.com/ScriptReference/AudioSettings-dspTime.html.