     private var recordBufferDuration: Double = 16_384 / AKSettings.sampleRate
 
     /// return the AKAudioFile for reading
-    open var audioFile: AKAudioFile? {
+    @objc open var audioFile: AKAudioFile? {
         do {
             return try AKAudioFile(forReading: internalAudioFile.url)
 

    ///   - file: Audio file to record to
    ///   - bus: Integer index of the bus to use
    ///
    public init(node: AKNode? = AudioKit.output,
                file: AKAudioFile? = nil,
                bus: Int = 0) throws {
        guard let existingFile = file else {

    @objc public private(set) dynamic var isRecording = false

    /// An optional duration for the recording to auto-stop when reached
    @objc open var durationToRecord: Double = 0

    /// Duration of recording
    @objc open var recordedDuration: Double {
        return internalAudioFile.duration
    }

