Is there any way to compare sounds from two or more buttons?

Greetings.
I’ve been working on a 2D quiz
Each question has a button that plays a sound (for example: a dog barking), the buttons corresponding to the answers also play similar sounds.
Is there a way to compare the audios? All audios are 2 seconds long.
Thank you for your time and contributions.

Don’t think of this as comparing audio.

You should just be comparing answers, just a regular quiz program. Eg, it shows sound #3, if you click button #3 you get it right.

If you want to compare audio you get into a whole world of “how close is it?” and you would need to do digital signal processing to analyze the audio in some meaningful way.

2 Likes

Thanks for the response, I didn’t get too complicated and decided to follow what you advised me. Have a good day :slight_smile:

1 Like