             let audioContext = audioContext
             else { return }
 
+        print("rendering")
+        
         renderingInProgress = true
         delegate?.waveformViewWillRender?(self)
         

        didSet {
            guard let audioURL = audioURL else {
                NSLog("FDWaveformView received nil audioURL")
                self.audioContext = nil
                // TODO: cancel existing rendering
                return
            }


        let widthInPixels = floor(frame.width * UIScreen.main.scale * horizontalTargetOverdraw)
        let heightInPixels = frame.height * UIScreen.main.scale * horizontalTargetOverdraw // TODO: Vertical target overdraw?

        let waveformRenderOperation = FDWaveformRenderOperation(audioContext: audioContext) { image in
            DispatchQueue.main.async {
                print("done")
                self.waveformImage = image
                self.cachedSampleRange = renderSampleRange
                self.renderingInProgress = false
