PDA

View Full Version : Simulating Chords using sound



IAmTheAnswer
- 5th May 2010, 11:20
Hello mates. I have some questions regarding the sound order.

1. Using SOUND, you can play one note at a time. If you are having a chord, say c-e-g, could you emulate that by sending the single notes very fast after one another, so cegcegcegceg and each chord a fraction of a second.

2. Can you use SOUND via Transistor, too?

So instead of

Pin --- | | --- Speaker --- GND

this

Pin --- | | --- Resistor --- Transistor --- Speaker --- GND, by using a emitter follower.

IAmTheAnswer
- 10th May 2010, 09:35
Still interested.

rmteo
- 9th June 2010, 05:56
Take a look at this:


http://www.youtube.com/watch?v=Ii7-orwG8F0&feature=player_embedded

rsocor01
- 9th June 2010, 06:53
Nice video!!

Don't tell me they made this piano with a PIC :eek:. What are the round buttons? Are they touch sensors?

Robert

ScaleRobotics
- 9th June 2010, 07:09
Nice video!!

Don't tell me they made this piano with a PIC :eek:. What are the round buttons? Are they touch sensors?

Robert

It is done with a PIC, a 16F688. The buttons are capacitive sensors, in this case it looks like he used coins. They can be pretty much made out of anything metal. This guy has done some nice work. Check out http://www.pic24.ru/doku.php/en/osa/articles/pk2_osa_piano for more info.

rmteo
- 9th June 2010, 15:02
Everything (except for the speaker amplifier) is done with a PIC. A PIC16F88 is used to scan 36 capacitive touch switches (using coins), an 8-channel PWM generator for polyphonic tones (chords) and voices, etc. They key to getting all of this to work is the use of a Real Time Operating System.