<commit_before>//
//  resonantFilter.swift
//  AudioKit For iOS
//
//  Created by <NAME> on 7/13/16.
//  Copyright © 2016 AudioKit. All rights reserved.
//

import Foundation

extension AKComputedParameter {
    
    /// A second-order resonant filter.
    ///
    /// - Parameters:
    ///   - frequency: The center frequency of the filter, or frequency position of the peak response.
    ///   - bandwidth: The bandwidth of the filter (the Hz difference between the upper and lower half-power points).
    ///
    public func resonantFilter(
        frequency frequency: AKParameter = 100.0,
                  bandwidth: AKParameter = 0.95
        ) -> AKOperation {
        return AKOperation("(\(self.toMono()) \(frequency) \(bandwidth) reson)")
    }
}
<commit_msg>Updated default parameters<commit_after>//
//  resonantFilter.swift
//  AudioKit For iOS
//
//  Created by <NAME> on 7/13/16.
//  Copyright © 2016 AudioKit. All rights reserved.
//

import Foundation

extension AKComputedParameter {
    
    /// A second-order resonant filter.
    ///
    /// - Parameters:
    ///   - frequency: The center frequency of the filter, or frequency position of the peak response (defaults to 1000 Hz).
    ///   - bandwidth: The bandwidth of the filter (the Hz difference between the upper and lower half-power points; defaults to 100 Hz).
    ///
    public func resonantFilter(
        frequency frequency: AKParameter = 1000.0,
                  bandwidth: AKParameter = 100.0
        ) -> AKOperation {
        return AKOperation("(\(self.toMono()) \(frequency) \(bandwidth) reson)")
    }
}

{'fraction_non_alphanumeric': 0.1158422041327489, 'fraction_numerical': 0.02567313713212273, 'mean_word_length': 2.294845360824742, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4626189', 'n_tokens_mistral': 486, 'n_tokens_neox': 426, 'n_words': 154}