Skip to content
/ WAVCat Public

Swift Library that allows you to concatenate WAV files without any sweat

Notifications You must be signed in to change notification settings

Grimi94/WAVCat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

WAVCat

WAV concat in iOS made simple

Usage

Create instance with initial data

var audioPath = NSBundle.mainBundle().pathForResource("audio", ofType: "wav")!
var audioData = NSData(contentsOfFile: audioPath)!
var wavcat = WAVCat(data: audioData)
        

Now lets append some data

for i in 1...10 {
	wavcat!.append(otherAudioData)
}

To get the concatenated data just:

var finalAudioData = wavcat.getData()

From there you can save it, play it, send it, etc

About

Swift Library that allows you to concatenate WAV files without any sweat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages