1
마이크 분석을 위해 AudioKit 예제 코드를 사용했지만 음모/그래프를 변경하는 방법을 알 수 없습니다.AudioKit 색상 또는 프로토 타입을 변경하기 위해 플롯을 업데이트하는 방법
func setupPlot() {
let plot = AKNodeOutputPlot(mic, frame: audioInputPlot.bounds)
plot.plotType = .buffer
plot.shouldFill = false
plot.shouldMirror = false
plot.color = color
audioInputPlot.addSubview(plot)
}
은 내가 버튼을 누를 때 plot.color을 변경하고 싶습니다. 어떻게해야합니까?