Playing a wav or mp3 file on detection

Jetson Xavier AGX developer kit
deepstream 4
jetpack 4.3

How can I get a sound file wav or mp3 (or other if better) to play when a detection has been made?

thanks chris

Do you mean you want to do inference on audio data?

No, I meant when positive detection is made is made “cat” it plays a sound “cat.mp3”

using c not python

thanks

Deepstream does not support audio. Gstreamer can. It is very easy to google this. wavparse
gst-launch-1.0

thanks i’ll take a look