Canada
Asked — Edited
Resolved Resolved by Mickey666Maus!

Can I Use Custom Sounds To Trigger Actions?

Hello wonderful Synthiam-ians!

While I see some back and forth on this from years ago, I’m wondering if there is a simple way of having our EZ-robots recognize and respond to some custom, silly sounds (rubber chicken honk, fart cushion etc.)? Like they do with speech recognition.  It would be a great way to introduce the idea to my Tech Bandits kid’s Club and could be very useful for the kids with developmental and physical disabilities we will be collaborating with in the near future.

Any help or insights would be much appreciated!

cheers,

D!


Related Hardware Roli Rover

ARC Pro

Upgrade to ARC Pro

Unleash your robot's full potential with the cutting-edge features and intuitive programming offered by Synthiam ARC Pro.

PRO
Synthiam
#1  

No - that doesn't exist. You can detect frequencies: https://synthiam.com/Products/Controls/Audio/Frequency-Detector-15896

#2  

Thanks DJ,

This should work though, right? Compare frequencies?  Is there a way to do that "loosely" (is like kind of thing?) as even the same sounds will have variations?

Cheers,

D!

PRO
Synthiam
#3  

Not that I know of. Unless someone has any ideas?

#4   — Edited

In my mind - the "simple" way to do it would be think about it in terms of "faking" the robot hearing the sound.  Picture it like this, you have create a ARC mobile app with buttons to play sounds files.  Those same buttons can also trigger scripted actions to make the robot react to the sounds as if it "heard" the sound.  That's the "simple" way - is to fake it.

Comparing the frequency I don't think will produce the results you would like to see.  Sound recognition is a tricky thing and so far there are not any plug in solutions that I have read about.  Vision, speech recognition and image recognition are the hot cognitive app and dev areas.  Sound has got to be in there too in the wider cognitive development space because there are cognitive utilities that can pull music tracks apart and in my mind that kind of relates to that, but I would not consider it simple and from some of the stuff I have seen I would not consider any of it good candidates to attempt plugs ins to experiment with.

#5  

Thanks JustinRatliff... I did wonder if faking it might be the way... or even having very distinct frequencies in recorded sounds to set it off...if I have more time I might try and play with that... but I"m hoping that moving the robots by frequency, like in DJ's tutorial, should be raucous enough to keep the Tech Bandits happy!

Cheers,

D!

#6  

https://teachablemachine.withgoogle.com/

Works with ARC... :)

#7  

Mickey666maus...this looks amazing... Thanks so much!

#8  

Quote:

https://teachablemachine.withgoogle.com/

Works with ARC...:)

Came here to post this.  Haven't played with it yet, but I knew it could be trained to recognize sounds, and I know Google is already working with trained models because the "Live Transcribe" app on Android adds "laughter", "crying" "Cough", "Sneeze" and "Fart" (it is an easter egg.  Needs to be un-naturally loud) if it hears them in a conversation .

Alan

#9  

Its really nice being able create datasets for custom classes on the fly...they just started, and I guess more models will be included soon!! Great stuff for robotics!!

Also take a look at some fun implementations of ml5.js over here... https://ml5js.github.io/ml5-examples/public/

Super easy and cool... :D

#10  

Possibly a total newbie question here, but when MickeyMaus says it works with ARC,... could you or someone point me in the direction of how I go about integrating it into a script to control my EZ-Robot?

Thanks!

D!

PRO
Synthiam
#11  

Think this requires a tutorial or live hack... Mickey? :D

#12  

Exciting! ;-). Thanks for being all over this stuff DJ!

#13  

Anyone have any luck getting Teachable Machine talking to EZ-Robot?  I don't even know where to start!?  Love what Teachable Machine can do, but not sure how best to have that code communicate with EZ-Robot...or ARC, I guess more accurate!?

Any help would be much appreciated... otherwise me and the Tech Bandits will be fart controlling a video game instead of my beautiful EZ-Robots!

Thanks in advance!

D!

#14  

Hey, I made a tutorial on how to set this up...more code snippets and info over here!! :)

https://synthiam.com/Community/Questions/Experiments-with-Google-just-launched-Teachable-Machine-2-0-18771

Hope this helps, its super easy...I hope I did not forget any steps, its the first tutorial I ever made!!

#15  

Mickey666Maus... you are a teachable machine tutor making Angel!  This is so exactly what I needed... damn I love this Synthiam community... DJ, you gotta be so proud of this!

Thanks again... hope one day to have the skills to contribute instead of just being a code vampire! ;-)

I'll make sure to post what me and the Tech Bandits get up to!

D!

#16  

I am very happy I could help, that is what this forum is all about!! Have fun exploring all the possible options of connecting ARC and Teachable Machine... I am curious what you will be building!! :)