basic podspec
refactoring: use NSError to propagate problems
extract magic number and prevent name clash of generated sound file