diff --git a/SyllableDetector/AudioInterface.swift b/SyllableDetector/AudioInterface.swift index ec526ee..bdd4264 100644 --- a/SyllableDetector/AudioInterface.swift +++ b/SyllableDetector/AudioInterface.swift @@ -27,7 +27,6 @@ func renderOutput(inRefCon:UnsafeMutablePointer, actionFlags: UnsafeMutabl // decrement high for if 0 < high { aoi.outputHighFor[channel] = high - min(high, frameCountAsInt) - DLog("write high") } // write data out diff --git a/SyllableDetector/ViewControllerProcessor.swift b/SyllableDetector/ViewControllerProcessor.swift index 996f27a..bcbe207 100644 --- a/SyllableDetector/ViewControllerProcessor.swift +++ b/SyllableDetector/ViewControllerProcessor.swift @@ -88,6 +88,9 @@ class Processor: AudioInputInterfaceDelegate { // process dispatch_async(queueProcessing) { if self.detectors[index].seenSyllable() { + // log + DLog("\(channel) play") + // play high self.interfaceOutput.createHighOutput(self.entries[index].outputChannel, forDuration: self.highDuration) }