Skip to content
View jaekong's full-sized avatar

Block or report jaekong

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Lullaby Lullaby Public

    Functional DSP / Audio Framework for Swift

    Swift 49 1

  2. Small Swift extension for getting pr... Small Swift extension for getting proper binary representation of UInt8.
    1
    extension UInt8 {
    2
        var binaryRepresentation: String {
    3
            get {
    4
                let number = String(self, radix: 2)
    5
                let padding = String(repeating: "0", count: leadingZeroBitCount)
  3. This piece of code introduces ..? op... This piece of code introduces ..? operator which lets you handle unexpected nil found in an optional just like you would with any other Swift errors - with do/try/catch.
    1
    postfix operator ..?
    2
    
                  
    3
    extension Optional {
    4
        static postfix func ..? (optional: Optional<Wrapped>) throws -> Wrapped {
    5
            if let value = optional {
  4. AudioBuffer (or AVAudioPCMBuffer) to... AudioBuffer (or AVAudioPCMBuffer) to array of float / Float array to AudioBuffer (or AVAudioPCMBuffer)
    1
    import AVFoundation
    2
    
                  
    3
    extension AudioBuffer {
    4
        func array() -> [Float] {
    5
            return Array(UnsafeBufferPointer(self))