<commit_before>//
//  AKStereoOperation.swift
//  AudioKit
//
//  Created by <NAME> on 12/26/15.
//  Copyright © 2015 AudioKit. All rights reserved.
//

import Foundation

/// Stereo version of AKComputedParameter
public struct AKStereoOperation: AKComputedParameter {
    
    /// Default stereo input to any operation stack
    public static var input = AKStereoOperation("((0 p) (1 p))")
    
    /// Sporth representation of the stereo operation
    var operationString = ""
    
    /// Redefining description to return the operation string
    public var description: String {
        return "\(operationString.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceCharacterSet())) "
    }
    
    /// Initialize the stereo operation with a Sporth string
    ///
    /// - parameter operationString: Valid Sporth string (proceed with caution
    ///
    init(_ operationString: String) {
        self.operationString = operationString
    }
    
    /// Create a mono signal by droppigng the right channel
    public func toMono() -> AKOperation {
        return AKOperation("(\(self) drop)")
    }
    
    /// An operation is requiring a parameter to be stereo, which in this case, it is, so just return self
    public func toStereo() -> AKStereoOperation {
        return self
    }
}
<commit_msg>Need this to be a public initializer<commit_after>//
//  AKStereoOperation.swift
//  AudioKit
//
//  Created by <NAME> on 12/26/15.
//  Copyright © 2015 AudioKit. All rights reserved.
//

import Foundation

/// Stereo version of AKComputedParameter
public struct AKStereoOperation: AKComputedParameter {
    
    /// Default stereo input to any operation stack
    public static var input = AKStereoOperation("((0 p) (1 p))")
    
    /// Sporth representation of the stereo operation
    var operationString = ""
    
    /// Redefining description to return the operation string
    public var description: String {
        return "\(operationString.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceCharacterSet())) "
    }
    
    /// Initialize the stereo operation with a Sporth string
    ///
    /// - parameter operationString: Valid Sporth string (proceed with caution
    ///
    public init(_ operationString: String) {
        self.operationString = operationString
    }
    
    /// Create a mono signal by droppigng the right channel
    public func toMono() -> AKOperation {
        return AKOperation("(\(self) drop)")
    }
    
    /// An operation is requiring a parameter to be stereo, which in this case, it is, so just return self
    public func toStereo() -> AKStereoOperation {
        return self
    }
}

{'fraction_non_alphanumeric': 0.09125188536953242, 'fraction_numerical': 0.00904977375565611, 'mean_word_length': 2.6542699724517904, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '5557095', 'n_tokens_mistral': 745, 'n_tokens_neox': 700, 'n_words': 253}