Post

Replies

Boosts

Views

Activity

Comment on In iOS 18 beta, the SoundAnalysis framework reports an error when the iPhone is locked
@anthonyshook Compared to SoundAnalysis, this approach is more flexible, allowing custom audio processing logic, frequency range adjustments, and the use of a tailored model for more accurate detection. While slightly more complex to implement, it offers greater control and is especially suitable for scenarios requiring specialized audio detection.
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Nov ’24
Comment on In iOS 18 beta, the SoundAnalysis framework reports an error when the iPhone is locked
@Borrecan This code replaces SoundAnalysis with AudioSession and AudioEngine, implementing the entire audio capture and analysis workflow from scratch. Audio is captured through the AudioEngine’s inputNode, then processed using FFT (Fast Fourier Transform) to convert the signal from the time domain to the frequency domain.
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Nov ’24
Comment on In iOS 18 beta, the SoundAnalysis framework reports an error when the iPhone is locked
@Borrecan Features within the target frequency range are extracted and packed into an MLMultiArray, which is passed to a custom CoreML model (BeepRecogniserIOS) for classification to determine whether the sound matches the target (e.g., a beep).
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Nov ’24
Comment on In iOS 18 beta, the SoundAnalysis framework reports an error when the iPhone is locked
@anthonyshook Compared to SoundAnalysis, this approach is more flexible, allowing custom audio processing logic, frequency range adjustments, and the use of a tailored model for more accurate detection. While slightly more complex to implement, it offers greater control and is especially suitable for scenarios requiring specialized audio detection.
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Nov ’24