Objective-C: Cross correlation of two audio files
问题 I want to perform a cross-correlation of two audio files (which are actually NSData objects). I found a vDSP_convD function in accelerate framework . NSData has a property bytes which returns a pointer to an array of voids - that is the parameter of the filter and signal vector. I struggled with other parameters. What is the length of these vectors or the length of the result vectors? I guess: it's the sum of the filter and signal vector. Could anyone give me an example of using the vDSP