                 return Int(doubleSamples)
             } else {
                 AKLog("Warning: Samples exceeds the maximum number.")
-                return Int.max
+                return .max
             }
         }
         set {

public typealias BPM = Double

/// Container for the notion of time in sequencing
public struct AKDuration: CustomStringConvertible {
    let secondsPerMinute = 60

    /// Duration in beats

    return copy
}

