Skip to content

Vaberer/audio_time_shifting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio Time Shifting

Font Awesome Swift

Follow me: @vaberer

I like ★. Do not forget to ★ this project.

Determining a time shift between two audio files.

The result of the function is a number in seconds:

Demnostration of finding time shift between two audio files in Objective-C compatible with iOS8.

Sample code contains two audio files i na Bundle in which we perform a cross-correlation and determine time shift is seconds.

We were recording a youtube song where the second audio - audio2.m4a is shifted in 3 minutes.

The code is also optimalized by 50 times. We presume that sample rate and file formats of two audio files are equal.

Author

Patrik Vaberer, patrik@toptal.com
LinkedIn
Blog

Thanks to: Tomas Milo

Licence

Audio Time Shifting is available under the MIT license. See the LICENSE file for more info.

About

Determine time shift between two audio files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published