user7684436
user7684436

Reputation: 717

AudioKit - Remove AKNodeOutputPlot center line on launch

Is it possible to remove the AKNodeOutputPlot line when an audio file has been analysed? I've looked at the API and I can't find anyway to either sets it alpha to nil or clear the UIColor().

I currently have this at the start but would like to remove it.

Audio line from AKNodeOutputPlot

Upvotes: 1

Views: 77

Answers (1)

Aurelius Prochazka
Aurelius Prochazka

Reputation: 4573

The buffer is initially filled with zeros, so that's why you're getting the line. Perhaps you could add some logic to not draw when the value is identically zero.

Upvotes: 1

Related Questions