Trying to debug mystery sinewave using AKMIDISampler in Audiokit

前端 未结 4 1691
余生分开走
余生分开走 2021-01-13 16:03

Following on from a previous issue, I stopped using AKSampler to move to the functionality used in AKMIDISampler. Got my loops working again (with

4条回答
  •  无人共我
    2021-01-13 16:34

    I had a mystery sinewave in my code as well. In my situation, it turns out I had an extra occurrence of the following code:

    AudioKit.output = sampler
    

    So I accidentally ended up specifying AudioKit.output twice. After removing the extra occurrence, the sinewave disappeared. I'm not sure how this caused the sinewave, but I'm leaving this answer here in case it helps others who might have a similar issue.

提交回复
热议问题