Home

Awesome

WorldInApple

Platform Swift Xode

Swift wrapper for vocoder World (https://github.com/mmorise/World)

Features

Required

Projects

WorldInApple

WorldInApple Target

WorldLib

Examples

Multiplatform (iOS)

clone https://github.com/fuziki/WorldInApple
cd WorldInApple
open WorldInApple.xcworkspace

Usage

Shift AVAudioPCMBuffer pitch and formant

let buffer: AVAudioPCMBuffer
x_length = buffer.frameLength  

make WorldInApple instance

let worldInApple = WorldInApple(fs: 48000, frame_period: 5, x_length: 38400)

set pitch and formant

worldInApple.set(pitch: Double(1.2))    //positive number
worldInApple.set(formant: Double(1.8))    //positive number

shift pitch and formant

let result = worldInApple.conv(buffer: buffer)

Installation

SwiftPM

https://github.com/fuziki/WorldInApple
    dependencies: [
        // Dependencies declare other packages that this package depends on.
        // .package(url: /* package url */, from: "1.0.0"),
        .package(url: "https://github.com/fuziki/WorldInApple", from: "0.1.0"),
    ],

Makefile