Go Down

Topic: A Mini Piano (Read 8386 times) previous topic - next topic

Vincent19

It is just a simple wireless piano where I will be using a normal low cost RF 433MHz. I would probably have the basic 8 keys do,re,mi,fa,......Then user can press the button then the speaker on the other side would sounds.

Thats my idea.

Thank you

RamJam

Presumably it will use an arduino controller board? Presumably other people will want one of these as well so as to join in? My hand span from thumb to smallest finger can stretch to 8.5" but relaxed it is 6" down to 5" so I can fit thumb and all 4 fingers into a rectangle that's 5 5/8ths" x 3". So we can start by drawing a rectangle to those dimensions and see where the fingers on the right hand naturally settle for the first 5 notes of the c major scale from c to g. Then mark out a grid that intersects at each finger.

Don't patent it. Open source it!

Vincent19

I just plan to do a mini piano that using one hand to play onlad of two :)))

1ChicagoDave

#18
Jul 21, 2013, 09:20 am Last Edit: Jul 21, 2013, 09:44 am by 1ChicagoDave Reason: 1
http://makezine.com/2008/05/16/build-the-arduino-pocket/

EDIT:
My bad, looks like that kit is no longer available, and I can't find any schematics for it either. But, at least there's a part list & photos to give you an idea where to start. It should be simple enough to reverse engineer/modify to suit your vision. Though, as cheap as tactile switches are (I've got about 100 I got FREE by just taking apart other things before throwing them out!), might as well build the full keyboard. That is, the white and black keys - All semitones vs. just whole notes.

boguz

Sounds like a fun project!  8)

The problem with having 8 buttons is that you will be stuck to one "key".
So for example if you have the notes Do, Re, Mi, Fa, Sol, La, Si, Do you will be stuck playing in Cmajor (you could also play in Am and in a couple of different modes, but that's a different story...).

If you want to play the "Happy birthday" song, and you want to start with Do, it means you need to play it in the key of Fa Major.
This means you would need to use the notes:
Do, Re, Mi, Fa, Sol, La, Sib, Do.    <---  Notice the Si is FLAT!

You can take a look at the frequencies here:
http://www.phy.mtu.edu/~suits/notefreqs.html

I guess a nice Octave would be from C4 to C5, but you can try and see which one you like the best...

Have you decided on your circuit?
Maybe the easiest way for you to play the notes is with the tone() command.
You can see here how it works:
http://arduino.cc/en/Tutorial/tone

And here you can see an example of a simple "piano" with 3 buttons. Maybe you can adapt it to your project!
http://arduino.cc/en/Tutorial/Tone3

When you have something ready, post your code and we can help you more from there!
Good Luck!
=)

RamJam

If you wanted to have 2 or even 3 octaves 37 notes and it was monophonic you could arrange 3 buttons to behave like valves on a trumpet for one hand and 4 buttons for the other hand. In combination modelling the 3 based on trumpet and the other for for different blows. You could use a strap to slip one hand to hold unit and etc. this makes it very small and only 7 buttons.

1ChicagoDave

Quote
The problem with having 8 buttons is that you will be stuck to one "key".
So for example if you have the notes Do, Re, Mi, Fa, Sol, La, Si, Do you will be stuck playing in Cmajor (you could also play in Am and in a couple of different modes, but that's a different story...).

If you want to play the "Happy birthday" song, and you want to start with Do, it means you need to play it in the key of Fa Major.
This means you would need to use the notes:
Do, Re, Mi, Fa, Sol, La, Sib, Do.    <---  Notice the Si is FLAT!


Or, play C scale...starting with G. (Technically, "G Mixolydian"....but I digress.)(I'm sure what you were thinking by mentioning modes)

Though it's easy enough to transpose, too.

By adding a simple pot, or extra button to project...could access different scales easily. (Though, I think this is may be more complex than OP intends or wants.)

Here's example of simple, whole note version of "Happy Birthday".

DuaneB

Hi,

Why not hack a cheap keyboard, I used a 37 key one, but i have looked at smaller ones with 1 or 1 and a half octaves.

http://rcarduino.blogspot.com/2012/10/five-dollar-synthesiser.html

Duane B
rcarduino.blogspot.com
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

RamJam

If it were my project I can see my way to assembling the electronics of the thing. Finding suitable chips and putting the bits onto a pcb. I can see my way to programming it up. That's easy. What is not easy is making it kinaestheticly useable. Once the project is complete it should have a use. In this case it should enable the users to create music, so the instrument needs to be playable and have some kind of visual and tactile appeal and ease of use once completed. This leads one to question what the buttons should be shaped as? Where should they be positioned? Will it power off AA batteries. Are their options to charge and install new firmware via USB, Bluetooth etc.

I think the guy said he wanted it wireless so that would mean a Bluetooth shield. So the things got to have space for at least 2 boards, probably more to future proof it. There's nothing worse than spending months or years of hard work on a project only for it to be dumped into the scrap box immediately on completion due to its over dedicated and inflexible design.

1ChicagoDave

#24
Jul 21, 2013, 06:40 pm Last Edit: Jul 21, 2013, 06:43 pm by 1ChicagoDave Reason: 1
Quote
What is not easy is making it kinaestheticly useable. Once the project is complete it should have a use. In this case it should enable the users to create music, so the instrument needs to be playable and have some kind of visual and tactile appeal and ease of use once completed


All that information can be found in a book called "A Measure of Man and Woman". Pretty handy piece of work!

Quote
I think the guy said he wanted it wireless


I think they also said they wanted to make one of these to give to a female friend for her birthday. I don't think they want to create a new, mass-produced product, to introduce to the marketplace. So, I would assume (understanding women as little as I do) that it just needs to "work" (play Happy Birthday, etc...) and show they put an effort into it. Sorta more like, "it's the thought that counts" kinda thing?

RamJam

Women? Oh. Why not just make her a birthday cake?

KeithRB

For the Notes and Frequencies, just look at the notes.h file included with the tone example above. You didn't even bother to try it, did you.

Go Up