DIY Digital Piano - 24 Key Prototype

Музыка

This video gives a short overview of my latest digital piano prototype.
A few details that I didn't mention in the video:
----------------------
**Key size**
I mention that the keys are smaller, but not that they are specifically 7/8ths the width of normal keys. I was worried about my fingers fitting between the black keys, due to the smaller gap. The upper octave uses narrower sharps that are 6mm wide. In the final version, I will keep the 6mm wide sharps. I also experimented with some different spacings - the buttons don't need to be screwed to the keysticks exactly centred, enabling the intentional offsetting of black keys to the left or right.
Here I should also mention that I can reach a tenth from the edge of the keys on a normal size keyboard, so I don't actually have particularly small hands - but it just so happens that the piano key width settled on as standard is on the large side, and the majority of adults would benefit from narrower keys. On this prototype, I can easily play 10ths without needing to be at the edge of the keys or roll/split!
**Black key tops**
These are also laser cut, on their sides.
**Pins**
The pins are available cheaply on aliexpress, they are 3mm wide stainless steel dowels. These were easier to source and cheaper than 'proper' piano pins.
**Tools**
The only power tools I needed were a table saw and a drill press. Earlier versions had keys laser cut in one piece, but once I moved to a new job and lost access to free laser cutting, I realized how expensive this is (largely due to the thickness of the material). I initially considered using a bandsaw to cut out the keys jigsaw style, as is typically the case in keyboard construction, but I eventually decided upon the current design, which has keysticks cut out on a table saw. I found this very efficient.
**Changes in the next version**
There are a few changes I intend on making, including:
- Distributing the counterweights between top and bottom of the keysticks.
- Moving the electronics to sit under the front of the keys, rather than the rear.
- Modifying firmware and/or hardware to better cope with expression for very fast key presses, and eliminate some extra very soft notes that are produced due to noise.
- Moving from breadboard based electronics to using a PCB fabrication service.
**Pianoteq preset**
The preset used is 'Classical Guitar Gentle', but with a foot pedal controlling the plucking point, and a velocity curve that favours low velocities.
Some links:
----------------------
The first 5 key prototype, with two keys connected to electronics:
• Laser Cut Piano: Two Keys
Lionel's video on piano key size:
• Piano's Darkest Secret
More info on hand span and keyboard size at PASK (Pianists for Alternatively Sized Keyboards):
paskpiano.org/
GitHub repository, containing firmware:
github.com/aleathwick/midi_ha...
Pianoteq, used to generate the guitar sounds heard in the demo:
www.modartt.com/

Пікірлер: 60

  • @JamesGiannoni
    @JamesGiannoni10 күн бұрын

    Wow. The expression and sensitivity with which you play honestly shocked me. Was not expecting that haha.

  • @barnabydixon
    @barnabydixon14 күн бұрын

    beautiful playing!

  • @RazzUK
    @RazzUK20 күн бұрын

    I come to this video over and over just to listen to the demo song, it's so beautiful

  • @muutamuuta5217
    @muutamuuta5217Ай бұрын

    i just started learning the piano a month ago as a female adult with very small hands, been obsessed with researching about narrow key digital pianos after watching "piano's darkest secret". Narrow keys, Kaduk...etc, the former you have to be on waitlist, the later has their pre-order closed and seems still in pre-production stage. Very frustrating to be googling for hours with no luck. So I got to the point thinking "fk it i'm gonna build my own." AND THEN I saw your video!! Looks absolutely promising and most importantly, your effort and spirit is truly inspiring, what you're doing is truly wonderful, fulll respect! I'm gonna start tinkering, super hyped! You're awesome!

  • @benm12310

    @benm12310

    23 күн бұрын

    Don't worry with every day of practice your hands will feel bigger and bigger (small keys or not)

  • @Hvranq

    @Hvranq

    23 күн бұрын

    @@benm12310 The opposite is true. The more advanced pieces you want to learn, the smaller the hands will feel. If you want to choose freely which pieces to learn, you need a narrow keyboard for not having always to play in hard mode if you have small hands.

  • @benm12310

    @benm12310

    23 күн бұрын

    @@Hvranq yes but speaking to a beginner with one month of experience. Hand size is not as bad of a hurdle as you may begin to think. Once you get to very complex pieces it may pose an issue but that early on in a piano career it’s important to know that YOU CAN do it and you don’t need a special piano yet

  • @aleathwick

    @aleathwick

    22 күн бұрын

    Yes it is a very frustrating situation, and bears testament to the power of the status quo. At least some options are slowly emerging. All the best with your tinkering! Personally I have found the tinkering itself to be very rewarding, the electronics + engineering involved has been a lot of fun.

  • @gguitarwilly
    @gguitarwilly15 күн бұрын

    Absolutely brilliant! keyboard manufacturers are idiots for sticking to regular key size when it is so easy to make a narrower size option.

  • @flywittzbeats4008
    @flywittzbeats4008Ай бұрын

    Incredible…. I fully thought you would need either an analog input or two digital inputs to read a time based velocity, but this is super enlightening! Thank you so much for showing this awesome project!

  • @flywittzbeats4008

    @flywittzbeats4008

    Ай бұрын

    Oops! I see that those are not shift registers now but adc’s! But that is even more enlightening! Thanks again (:

  • @mio8584
    @mio8584 Жыл бұрын

    awesome! I'm dreaming about playing ninths with one hand since forever. so cool!

  • @user-fd6nb5ot4d
    @user-fd6nb5ot4d Жыл бұрын

    So glad you’ve proceeded to create what you’ve always wanted to. Really beautiful work Andrew and it’s so lovely to hear you play again!

  • @aleathwick

    @aleathwick

    Жыл бұрын

    Thanks Noelle! :-)

  • @ulrikewohlwender1555
    @ulrikewohlwender1555 Жыл бұрын

    Great start! Congratulations!

  • @shahenohanjanyan3545
    @shahenohanjanyan35453 ай бұрын

    Andrew this is epic, thank you so much for this project

  • @robint7253
    @robint72532 ай бұрын

    very nice guitar demo !

  • @Poulscath
    @Poulscath2 күн бұрын

    Very very cool. I really want to do this. Btw, have you seen how harpsichord keyboards use decorative plates at the front of the keys? It could be useful for hiding the rough cut ends.

  • @samuelvink1482
    @samuelvink1482 Жыл бұрын

    Congratulations! That’s quite impressive

  • @aleathwick

    @aleathwick

    Жыл бұрын

    Thanks Samuel 🙂

  • @pleasedonotshootthepianist
    @pleasedonotshootthepianist Жыл бұрын

    Well done!

  • @nikbivation
    @nikbivation4 ай бұрын

    wow amazing!!

  • @KyleHohn
    @KyleHohn Жыл бұрын

    That’s awesome!!

  • @Planthier76
    @Planthier762 ай бұрын

    Nice work, bravo ! I would like to create one day a microtonal DIY midi piano 😅

  • @HearBetweenTheLines

    @HearBetweenTheLines

    2 ай бұрын

    Same here!

  • @andy-simmons
    @andy-simmons Жыл бұрын

    Man this is so cool! Does the action remind you of anything else you’ve played, or is it a pretty unique feel? Seems like you can play pretty expressively with it. Great job!

  • @aleathwick

    @aleathwick

    Жыл бұрын

    It has quite a unique feel. I really like how the shallower dip / lighter touch make it almost effortless to play, whilst still providing some weight. I imagine it might feel more akin to a fortepiano than a piano - I did try one once, but that was too long ago for me to be able to make a reliable comparison.

  • @TransistorBased
    @TransistorBased13 күн бұрын

    tbf, at some point the time, labor, and money spent on making a bodged controller is outweighed by just buying a used controller that's already class-compliant and can be moved around without having to rebuild it

  • @charliemopps4926
    @charliemopps49264 ай бұрын

    I wonder if rather than using weights, you could use the magnets on they keys... and then have an Arduino controlled electro magnet in place to resist it. You're already detecting the magnets movement... so then all you'd need is to modify the electro magnets current to control the key press resistance to mimic a real key. You're already doing the physics calculation as well so... By doing it that way, you could make the entire thing significantly lighter and maybe even smaller.

  • @aleathwick

    @aleathwick

    4 ай бұрын

    Not just lighter/smaller, but if done right, more piano-like too - using weights on the end of the keystick results in a different leverage ratio (1:1, if the weights are the same distance from the fulcrum as are the front of the keys) compared to the hammers on a real piano (around 5:1), which means my digital piano feels much lighter than a piano (less inertia), even if the down weight is matched to a piano (50g). I would love to build something like you suggest where the touch can be adjusted electronically to simulate any keyboard instrument, and it has been done before by others, but I think it would be a big undertaking.

  • @paulromsky9527
    @paulromsky95273 ай бұрын

    I have average size hands but I could stand to lose a few pounds (which would thin out my fingers too). So I couldn't go with narrower keys, and if I went with wider keys I would not be able to span an octave and a Major 3rd. But, if I could make the black keys a millimeter or so thinner, I could hit the whites deeply without grabbing a black key from time to time.

  • @aleathwick

    @aleathwick

    3 ай бұрын

    I have settled on 6mm wide sharps - substantially narrower than normal sharps, and conveniently (in my region, at least) 6mm black acrylic sheet is readily available which makes cutting the sharps out (cutting as side profiles) a breeze.

  • @FinnAnderson25
    @FinnAnderson252 ай бұрын

    Would you consider playing that Piece in MID? I would love to learn how to play it 🙂

  • @awanegenebayo1
    @awanegenebayo14 ай бұрын

    Great work ! What is the name of the piece you are playing at the beginning ?

  • @aleathwick

    @aleathwick

    4 ай бұрын

    Thanks! The piece has no name, it is just something small I came up with for the video - something that would fit within the limited range of the keyboard.

  • @ewwitsantonio

    @ewwitsantonio

    29 күн бұрын

    @@aleathwick I was searching for this answer too. It's a really beautiful piece! I really thought how interesting it was that it felt like the piece accomplishes so much musically with such a limited range. Seems like a great exercise and skill to develop, to write pieces with that constraint.

  • @paulromsky9527
    @paulromsky95273 ай бұрын

    Nice video, I gave you a like. Are you using the Hall Effect sensors as simple off/on switches or are you using them as a varying analog (how close the magnet is to the sensor) so that as the key is played it determines key velocity like a real piano (slow pppp to fast ffff)? I have a Yamaha DX7 and each key has a mechanical Break/Make SPDT switch. It does this so the CPU can scan the entire keyboard switches in the MHz Frequency range and measure the time in milliseconds from the Break to the Make (and debounce the switch contacts) to determine actual key velocity. This is very low cost and simple to build in hardware and to code as well because you can fabricate the switches with nails and thin pieces of metal, and the code just measures digital timing rather than changing analog values to determine key velocity. I built a 2 octave MIDI Bass Pedal using this Break/Make switch method and a Arduino Nano. I like that you used hall effect devices because they virtually don't wear out. But my DX7 is 40 years old and the switches work just like they have on day one. I think they used Palladium and Tungsten in the switch contacts, but even bright (galvanized) nails and Aluminum, that would last years without cleaning because the current through each switch is in the micro amps.

  • @michaelpark

    @michaelpark

    3 ай бұрын

    Given the mcp3008 A/D converters he's using, I assume he's measuring the analog outputs of the Hall effect sensors (which I didn't even know was a thing; I've only ever used them as on/off switches). From the video, I gather he feeds the position of the key into a software simulation of a piano hammer (including momentum!). I hope he'll reply with more details!

  • @paulromsky9527

    @paulromsky9527

    3 ай бұрын

    @@michaelpark I think you are correct, the sensors are analog so only one channel per key is needed for key action and velocity (momentum). But I still use a SPDT (2 channels) for each key for action and velocity. True, I have to debounce the switches in code, but it is a lot easier, lower cost, and faster to multiplex digital inputs than it is for analog inputs. But he does have an elegant design that works.

  • @aleathwick

    @aleathwick

    3 ай бұрын

    That is correct, I'm using the analog output of the hall sensor. When I scale up to 88 keys I will need to do some further optimization to ensure latency is still ok, but I think it is doable. The main advantage I see with my approach is that it allows half presses - I can half press a key then stop, and still trigger a note because the software simulated hammer continues travelling. I do still find the digital approach attractive for the reasons you've mentioned.

  • @paulromsky9527
    @paulromsky95273 ай бұрын

    Are you using the Hall Effect sensors as simple off/on switches or are you using them as a varying degree (how close the magnet is to the sensor) so that as the key is played it emulates key velocity like a real piano (slow pppp to fast ffff)?

  • @mueshen9861

    @mueshen9861

    Ай бұрын

    judging by the description of working, its analog hall sensors (distance to magnet)

  • @obinkmarkey
    @obinkmarkey6 ай бұрын

    This amazing.. I've dreamed for long time, to build this kind of piano, but I can't find the one that i'm looking for, and this is very close to the one that i need. Please, can i have the schematic of electronic parts? I wanna to make one too.

  • @aleathwick

    @aleathwick

    5 ай бұрын

    I haven't made a schematic, but when the design of electronics is final I'll probably upload a schematic to the github repo. In the mean time, the parts involved are pretty common, with lots of tutorials on wiring them up - raspberry pico + mcp3008 for the ADC, and 49e hall sensor.

  • @Hvranq
    @Hvranq23 күн бұрын

    Have you ever considered to use hall sensors for velocity sensitivity?

  • @aleathwick

    @aleathwick

    22 күн бұрын

    That is exactly what I do!

  • @Hvranq

    @Hvranq

    20 күн бұрын

    @@aleathwick Ah yes, I see. I must have confused this with another DIY project.

  • @JankoPianko
    @JankoPianko2 ай бұрын

    Great work! May I ask what the octave span is? Thank you

  • @aleathwick

    @aleathwick

    2 ай бұрын

    The octave span is 141mm, so roughly 7/8 the size of the octave on a normal piano.

  • @JankoPianko

    @JankoPianko

    2 ай бұрын

    @@aleathwick hey, sorry, just wrote you back but my comment just disappered, not sure what happened, whether I deleted it by mistake or it's pending for your moderation. Please let me know if you've didn't receive it. I would be interested in a collaboration. All the best!

  • @aleathwick

    @aleathwick

    2 ай бұрын

    @@JankoPianko I can't see your comment. Your work with janko keyboards looks really interesting, I would be keen to chat more. You can email me, my email address is my last name at gmail.com.

  • @b00ts4ndc4ts
    @b00ts4ndc4ts2 ай бұрын

    The reason why Fatar stopped using wood in their construction is because of worping over time, just something to watch out for.

  • @aleathwick

    @aleathwick

    Ай бұрын

    The issue of warping wood is somewhat mitigated in my design by the replacement of wood with plastic where the mortises interact with the metal pins, which eliminates the impact of humidity on the tightness of the mortises. But the holes on the balance rail pins are still wood (laser cut plywood). I'm working on a design at the moment that eliminates wood, with reduced labour / more laser cutting - I'll eventually get around to posting a video of it when I've made enough progress.

  • @JoseGustavoAbreuMurta
    @JoseGustavoAbreuMurta11 ай бұрын

    Very interesting project. Thanks for sharing. Some time ago I developed a program to test the MCP3204 with Rasp Pico in TinyGo. Maybe it's faster than with python. If interested, let me know.

  • @JLMoriart
    @JLMoriart2 ай бұрын

    :O =)

  • @vengeancequeen4165
    @vengeancequeen41656 ай бұрын

    Hello, I'd to contact you concerning a similar project please, if you don't mind.

  • @aleathwick

    @aleathwick

    5 ай бұрын

    Feel free to, my email is my last name at gmail dot com.

  • @MansyrAli
    @MansyrAli4 ай бұрын

    Кто такую красивую мелодию написал на двух октавах?

  • @deanevangelista6359
    @deanevangelista63594 ай бұрын

    D minor, the saddest of all keys.

  • @paulromsky9527

    @paulromsky9527

    3 ай бұрын

    Nigel Tufnel was close. The lower the scale, the sadder the key, so on a piano (as he was playing) A Minor would be the saddest of all keys. But, A Locrian would be even sadder. But it was a great bit and we got the joke [smile]. After all, he thought that because his Amplifier controls were marked up to 11 instead of 10, he thought they were one louder... Best comedy bit ever!

Келесі