【文件属性】:
文件名称:Sequencer:音序器插件在Amazing Audio Engine中的使用示例
文件大小:377KB
文件格式:ZIP
更新时间:2021-05-05 15:34:59
Objective-C
音序器
在使用音序器插件的示例。
有关Swift的实现,请参见 。
##使用克隆此存储库,将pod 'TheAmazingAudioEngine'添加到您的pod文件中,或 。
在此示例中,我们将在每个播放声音:
//Add an audio file to your Xcode project and get its `NSURL` :
NSURL *woodblockSoundURL = [[NSBundle mainBundle] URLForResource:@"woodblock" withExtension:@"caf"];
//Next, specify when the sound should play in relation to the whole sequence,
//by adding instances of AESequencerBeat to y