Post not yet marked as solved
Post marked as unsolved with 1 replies, 372 views
The resulted matches from a custom catalog on both iOS/ Android are a bit delayed (1-3+ seconds)
How to test? (iOS)
Prepare AVAudioPlayer with recorded audio.
Load custom catalog & listen to recorded audio from an external source.
When a match is found, play recorded audio from the AVAudioPlayer at: predictedCurrentMatchOffset
Result:
1-3+ seconds delayed matches
Question
How to improve or filter the resulting matches to be close if not exact to the external audio source?
Experimental
Filtering results by frequencySkew close to 0, does not minimize delayed matches.
[{
"sh_audioStartDate" = "2021-11-24 12:34:42 +0000";
"sh_frequencySkew" = "2.222024e-05";
"sh_matchOffset" = "388.3738065670163";
"sh_score" = "4302.546";
"sh_speedSkew" = "0.0009712927";
"sh_title" = ItemTitle;
}]
Printing the matchedMediaItems, there is a “sh_score”, maybe we can experiment with?
But it’s not a public property
Best regards.