     open fileprivate(set) var totalSamples = 0
 
     /// A portion of the waveform rendering to be highlighted
-    @IBInspectable open var progressSamples: Int = 0 {
+    @IBInspectable open var progressSamples = 0 {
         didSet {
             if totalSamples > 0 {
                 let progress = CGFloat(progressSamples) / CGFloat(totalSamples)

    //TODO:  MAKE THIS A RANGE, CAN IT BE ANIMATABLE??!

    /// The first sample to render
    @IBInspectable open var zoomStartSamples: Int = 0 {
        didSet {
            setNeedsDisplay()
            setNeedsLayout()

    }

    /// One plus the last sample to render
    @IBInspectable open var zoomEndSamples = 0 {
        didSet {
            setNeedsDisplay()
            setNeedsLayout()
