We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
i urgently need a speaker simulator program for the project. i try searching my intrnet but cannot find much that is good. please someone must have some like anyone have library or source code for it?
i need a sound but i have not not much money for the project. i want it small and not many electric bits. speaker is money and to big for the project and i must simulate it. my watch is small and no speaker but it sounds because procesor make sound! i need code for my processor. you understand now?
can anyone help?
anyone there?
"speaker is money and too big"
So just get a small, cheap speaker!
You have never stated anything about size or cost constraints in your previous posts - so how was anyone supposed to guess that??
Again, nobody knows anything at all about your project apart from what you explicitly describe in your posts! You cannot expect useful answers if you don't explain what the question is!!
"my watch is small and no speaker but it sounds because procesor make sound!"
Wrong: your watch does contain a miniature "speaker"
It probably actually uses a Piezo-electric transducer - commonly known as a "Piezo buzzer" or "Piezo sounder" or similar.
"you understand now?"
Gradually getting there - but you still haven't said what sounds you want to make...
i want it to sound music
i like sara kibuts on mp3
You cannot get good sound reproduction without good speakers - and good speakers are inherently large and expensive.
The size is governed by the laws of physics - there's nothing you can do about that.
Does the speaker have to be integral to your project?
Couldn't you just provide a socket for earphones - like most MP3 players...?
First this is not a chat. You may not get an answer for a day. I assume English is not your 1st language. "not many electric bits" is not English. Try to explain this. A Simulated Speaker in software is not possible, so I assume you want something else. Like a PWM sound generator?
sound requires a mechanical movement and if a '51 is moving mechanically you have a REAL problem.
I guess (perceiving that there is a language problem here) that you are under the illusion that because there is no 'speaker' in your watch the sound is generated without any electromechanical device which is blatantly false, there MUST be some kind of a 'transducer' (e.g. speaker, piezo, ...)
Erik
Hmmm... over 6 hours with no comment from "malcom sky"
Where's the sense of urgency gone now, then...?!
sorry for long time but i had to eat and sleep.
i speaked to a lecturer to get good help and he say what he wanted was a led light so it lights when there is a sound.
now is very easy i hope.
"sorry for long time but i had to eat and sleep."
Don't you think that also applies to everyone else?!
"i speaked to a lecturer"
Yes, It's always a good idea to make sure you have the correct requirements!!
I have always thought that everyone else on web forums or mailing lists were droids or bots :)
how can i get the led to go in code?
has someone a sample code or good project please
so it lights when there is a sound. then you need a microphone (or something similar) not a speaker.
based on your previous questions:
I speaked to a lecturer either your 'lecturer' is asking you to do things he has not covered - which is totally unreasonable - or - i had to eat and sleep. which took place in class
if the first is the case, go tho the 'lecturers' boss and complain, if the second is the case, you dug that hole yourself.
Switch to a more powerful processor. Connect line out from preamp, computer or whatever to AD input of uC. Write a couple of digital filters to extract the amount of energy at different frequencies. Use PWM or similar to control a couple of LEDs. Voila - a spectrum analyzer.