Go Down

Topic: Arduino 8ohm Small Piezo Speaker: Can you play two Tones at once? Like chords? (Read 4 times) previous topic - next topic

hooj

Arduino 8ohm Small Piezo Speaker: Can you play two Tones at once? Like chords?

Is it possible to do this with just one speaker?

Grumpy_Mike

Quote
Is it possible to do this with just one speaker?

Yes, you can have many ones from one speaker look at this project of mine:-
http://vimeo.com/38466551

johnwasser

This third-party Tone library can play simultaneous square waves on multiple pins:

http://code.google.com/p/rogue-code/wiki/ToneLibraryDocumentation

You can connect resistors between the multiple pins and a single speaker to get all tones out of one speaker.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Nick Gammon


Yes, you can have many ones from one speaker look at this project of mine:-


Well, Mike, you can tell you are an engineer. That box looks fantastic. My projects on the other hand look a complete mess. :)

steinie44

@johnwasser, I have looked at this site several times and I can not find anything about playing simultaneous tones. Where is it?
Do you think it will play DTMF tones?

Go Up