Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Any advice reference of guidance for creating a Sound Recognition App? (Similar to Siri but much simpler in its function

Dear Community,

My goal is to create an app which detects a specific imbedded sound (not necessarily a word or a speech) which would trigger an action within the app.

The purpose of the App is to recognize a vocabulary of up to 10 specific words or sounds, which would be pre-defined. Once the app recognizes 1 of the 10 words/sounds it would trigger and certain function.

For example: 3 pre-defined sounds are: "Break", "Run", and a whistle sound.

  • Whenever the app recognizes the input of the word "Break", it sets a timer for 45 seconds.
  • Whenever the app recognizes the input of the word "Run", it engages a Rocky Theme Melody for 20 seconds. -Whenever the app recognizes the input sound of a whistle, it engages a bird sound.

There is no logic or sense in this example, just mentioned it to clarify the main gist of the App.

I'm currently going through the "iOS development with Swift" track. But hoping to hear some suggestions about how I should go about this. Truly appreciate any advice, guidance, or reference.

Thank you,

Is there an existing technology which identifies unique pre-defined sounds such as whistle sound, bark sound, breathing sound etc ? - not speech or word recognizer

1 Answer

Thanks Dylan, this is an helpful insight.