Hello. i want to make a project with the new matter compatible arduino. I was thinking of making a presence sensor with a little twist. When the sensor notice a precense a sound should play, a short sound like "get away" " spooky" or similar. (Will be used on halloween ). And of course notify me on my phone.
I have zero knoweldge of "sound" hardware and speaker so i wanted to ask if someone have knowledge about a good and small hardware to hold my .wav or mp3 file? Size is of matter. ¨
Also a small speaker that can deliver a decent sound quality so people can hear what is being said.
Maybee a small file as this (i recoon 3 second file, ) can be stored direcctly on the arduino and be played? or will i need a secodn hardware to handle this?
Thank you, i just found this video https://www.instructables.com/Talking-Arduino-Playing-a-MP3-With-Arduino-Without/it talks about PCM audio. Do you have any experience in this? Quality vice? In the end of the video the voice is a bit bad from the speaker but that might be the speaker used. but also i need to take in to consideration the power used by the speaker. seems awsome to not have to use any extra hardware except a TIP120.
A quick Look at that project leads me to believe that you would be better off using something like the DF player. The PCM library used in the project was written for AVR style processors and converting it to use with the Nano Matter processor would not be trivial.
A good way to to start thinking about projects you might do with your new board is to run the example scripts. Note that any projects that actually use Matter will require a hub from Google, Alexa, Apple, etc.
Oh bud glad I saw this, it's for the cause! No idea about the phone thing and I use everyone seems keen on the DFPlayer MP3 these days (I use Adafruit Wave Shield but probably will switch to DFPlayer next time due to availability of Wave Shield)
BUT
never mind the amp modules you see for Arduino. I have tried most of the popular ones and they are, well, wimpy.
They also make ones with BT so you can repurpose for a nice little stereo in home later on. Available on Amazon. I'm an audio guy (like old school tower speakers, turntable, pre/pro, dual cassette, CD multi, the lot) and for the money, these Fosi amps can't be beat, IMO.
Either option, use any commercially made speakers you like.
Lastly,a nickel's worth of free advice: don't make your own amps. Unless you want to for the sake of making your own amps, just don't. Buy from the pros. It's like homemade wine. Sound and wine belong in the hands of the sound and wine artists who know what they're doing.
Just my $0.02.
This is the first product they, "Arduino team members", that is employees of Arduino, were asking for beta testers about 8 months back.
The other part of your project that no one has mentioned except @EmilyJane is the voice / sound recognition part of your project. Again not as easy as you might think.
Thank your for your response. but these are to big and i want to drive it with a battery. I will try the DF that the first poster tipsed about and see how it goes. Do you know what i should think about in a speaker? I want a very small speaker but i want the sound of the voice to be as clear as possible, what should i think about? I want the size as this one.
Will i need to build it in to a box to get a good voice output or is there other speakers that do the voice job better? I simply just want the sound of the voice to be very clear and the sound file will me maybe 3 seconds.
Well, you always have to make trade offs in audio. Sound is only as good as its weakest link, which is most often the listening environment. That's why tiny earbuds can sound amazing and massive concert speakers can sound muddy in the wrong arena (which is most big concert venues).
So where will this be used - in a small room or outdoors? Is there a lot of other noise going on, like a convention if you were trying to have some audio promo content? Is the speaker male or female? What is your amplifier going to be?
So I can't say what will work for you. I can; however, show you what worked for Lindsay Stirling, the talented violinist, in Las Vegas 9 years ago. Additional audio was played on small speakers: UE Booms to be exact. https://youtu.be/RrutzRWXkKs?feature=shared
If by notify on your phone you mean will it interact with one of the smart home platforms like Apple or Google Home with their associated phone apps the answer is yes.
For example one of the example Matter sketches produces this output with Apple Home: