- Видео 11
- Просмотров 19 558
Andrew Leathwick
Добавлен 1 окт 2011
5 Keys in C# Minor (accompanied by my trusty left hand)
The full guitar piece used to demonstrate my new 5 key digital piano prototype, which you can see here:
ruclips.net/video/U8PAwi5l6Sw/видео.html
My right hand is playing my prototype, while my left hand is playing a Korg microKEY.
The guitar sound comes from Pianoteq.
ruclips.net/video/U8PAwi5l6Sw/видео.html
My right hand is playing my prototype, while my left hand is playing a Korg microKEY.
The guitar sound comes from Pianoteq.
Просмотров: 634
Видео
DIY digital piano prototype: minimizing construction time with laser cutting
Просмотров 2,1 тыс.Месяц назад
A standalone recording of the guitar piece: ruclips.net/video/eNkftI_f0x4/видео.html My last prototype: ruclips.net/video/tgWXtYCHDI4/видео.html This is my latest digital piano prototype. Only 5 keys this time, but I'm very excited by changes in design which made it a lot easier to put together than the last prototype. music The drum sounds come from SSD5 Free. The guitar sound is from Pianoteq...
Leathwick - Preludes in Homage to Couperin No. 1 (piano: Andrew Leathwick)
Просмотров 1774 месяца назад
Leathwick: Preludes in Homage to Couperin No. 1. Composed in 2015. Performed by Andrew Leathwick. South Melbourne Town Hall, September 2015.
DIY Digital Piano - 24 Key Prototype
Просмотров 16 тыс.Год назад
I've since completed a more recent prototype: ruclips.net/video/U8PAwi5l6Sw/видео.html This video gives a short overview of a 24 key piano prototype I built. *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...
Machine Learning & Music: 'nb2 0.03 chordy'
Просмотров 1734 года назад
This video contains a sample generated from a three layer LSTM model using NoteTuple representation, trained on the MAESTRO dataset. Description of the sample, as found in the project report: "The start of this sample shows the model’s tendency to find a chord and repeat it. This is a good greedy strategy for maximizing the probability of getting the next prediction correct, but a poor strategy...
Machine Learning & Music: 'nb2 0.021 snakey'
Просмотров 434 года назад
This video contains a sample generated from a three layer LSTM model using NoteTuple representation, trained on the MAESTRO dataset. Description of the sample, as found in the project report: "Here is a more melodic sample, of which there were few. This one sounds rather like someone doodling over a simple, repetitive left hand. Again, harmony and melody make sense locally, but don’t make sense...
Machine Learning & Music 'nb2 0.029 chordy slightly crazy'
Просмотров 324 года назад
This video contains a sample generated from a three layer LSTM model using NoteTuple representation, trained on the MAESTRO dataset. Description of the sample, as found in the project report: "This sample shows what happens when the model progressively ‘loses control’. The process starts when the model predicts a series of unlikely events not like anything seen before in the training data. This...
Machine Learning & Music: 'nb21 fug2 0.028 two voices'
Просмотров 364 года назад
This video contains a sample generated from a three layer LSTM model using NoteTuple representation, trained on the MAESTRO dataset. The beginning of this sample is not generated by the model, but is input used to prime the hidden states of the LSTMs. The notes generated by the model begin when the cursor, positioned over the play button, disappears. Description of the sample, as found in the p...
Machine Learning & Music: 'nb21 noc7.5 0.028 two voice ending'
Просмотров 294 года назад
This video contains a sample generated from a three layer LSTM model using NoteTuple representation, trained on the MAESTRO dataset. The beginning of this sample is not generated by the model, but is input used to prime the hidden states of the LSTMs. The notes generated by the model begin when the cursor, positioned over the play button, disappears. Description of the sample, as found in the p...
Machine Learning & Music: 'oore8 0.053 strange fragments'
Просмотров 424 года назад
This video contains a sample generated from a three layer LSTM model using 'Performance Representation' to encode the music data, trained on the MAESTRO dataset. Description of the sample, as found in the project report: "The model is primed with two bars in A-minor, and the first note generated is an E. So far, so good - E fits into A-minor well - but then comes a long silence, and then a mess...
Chopin - Étude Op. 25 No. 10 in B Minor (piano: Andrew Leathwick)
Просмотров 46910 лет назад
Recorded at the Gallagher Academy of Performing Arts, Waikato, New Zealand
Wow! I think it's best action mechanism I ever see! I hate expensive instruments from famous companies like Roland or Yamaha, which in no model can eliminate the most annoying drawback of keyboards - a strong rebound of the keys after the key is released. Perhaps I played the piano for a very long time (my entire childhood is associated with it), but I almost never played the grand piano. But as far as I remember, the grand piano should not have such a strong rebound of the keys either. The key should only oscillate a little after you release it. Almost all digital instruments, on the contrary, have a keyboard that strongly wobbles up and down after you release it
Brother, you need a 3D printer.
Yyeeaah, bro. That's some epic finger drumming. I'm watching your video to make a Clavinet in the near future, checking the piano action. And like so stumbling on your skills. Greetings from a fellow Finger Drummer.
Thanks! 5 keys feels a lot less limited for drums that it does for piano/guitar etc. 😁
Pocos logran algo así
Absolutely love this. Am considering how cool it would be to design a repeatable pcb that allows for a couple of different key pitches. Also have you considered making a laser cut mount to hold the nails in place so that there isn’t tape that can degrade over time?
In my last video I used tape, but in the prototype in this video I used a combination of popsicle sticks and hair ties. Two nails sit in a slot cut out in the key, while the remainder are on top, kept in alignment by the popsicle sticks, and movement eliminated by the tension of the hair ties. Hopefully it will be more durable than using tape. We'll see!
wow, sounds crazily good
Nice!Btw,what is this instrument?
I agree with you. I also want to ask - what is this music instrument?
I assume you mean what is the physical midi controller that I'm playing? It's a five key prototype of a digital piano I'm designing and building - more info here: ruclips.net/video/U8PAwi5l6Sw/видео.html
@@aleathwick OK, thank you very much for responding us 👍🏻🙏🏻🙏🏻🙏🏻❤️❤️❤️!!!!!!
great to see the mux working!
Thank you for the idea! I was going to send this to you, but I see you found it first.
That's really cool! I like the hall sensor approach.. is the code the "Key hammer" one?
Currently the teensy is running circuitpython (I haven't implemented calibration code in arduino yet), so the class with all the logic is the Key class in `circuitPython/src/midi_controllers.py`, and then the code on the teensy is roughly `c4051 test.py` - I say roughly because I may have tweaked it since that version.
it’s really nice!
Thanks!
I've been waiting for your video for a really long time!!
I hope it was worth the wait!
Rock and roll
Hi, Andrew Really great work on the new plexi material. Because you use Hall sensors is it really necessary to have the weights (nails in your case) so far, which also introduces inertia (rebounce)? Behind the pivot point (pin) which is essentially how lever suspension works there is no real need for the keys to be that long - because you do not need any room for a whippen and reaching back to a damper lift. Wouldn't it be more compact and convenient to have a hole (or small horiz. pin) to attach an extension spring? The main feature of lever suspension is the distance of the said pivot pin not the weight. The weight is actually a problem, where with the involvement of many and more parts in acoustic pianos the overall weight behind the pivot pin got heavier and heavier - therefore requiring counter balance weights (inserts) in the keys before the pivot pin, essentially making the whole balance more massive on either side of the pin. In my opinion you do not need that in our setup as any mass would introduce inertia and stress\bend on the materials used. Do the Hall sensors allow for immediate trigger of signal\data even by gently tickling no the keys (as you do not have hammers to be lifted in a free fall)? If yes, then I think any added mass is your enemy. With standard velocity sensors (the grey rubber ones you briefly show) it is a bit different as touch contact is needed (and time difference between both or triple contact points - velocity dependent) the "action" is also nor immediate similarly to the case of a free falling hammers. I hope you can picture what I am trying to ask and describe.
Regarding your last question - if I were to rapidly move the key downwards a short distance (let's say 2mm) then stop it, which is less than half of the total travel of the key, a note would be produced. Not immediately, but the software would simulate the hammer continuing in free flight, and would trigger a note on once it hit the note on threshold (equivalent to the imaginary string), unless the hammer first succumbed to gravity, which is another factor in the simulation. I agree it would be more convenient from a size, weight, and bounce perspective to use an extension spring, but to me it is worth the inconvenience to introduce some inertia, because I find it easier to control. I think the reason for that is because I can then control the final velocity of the key by modifying how much of my weight is behind my finger as I press the key. For example even if my finger is moving fast (maybe because I have to get to the note quickly), I can still play the note softly because the inertia of the key absorbs the comparatively small inertia of my finger. I think that is roughly what is happening, but it is just a description of what I feel very strongly, as an intuitive preference. However, I feel that the inertia in a 'normal' piano goes too far. When I had the upstop firmly pressing on the key for the whole range of the key stroke, bounce was a real issue. But now the key is free in the 'up' position (changing where energy goes), the bounce isn't noticeable, or at least doesn't impact my control of the keys - unless I play in a very rapid sweeping motion, so my finger is no longer in contact with the key when the key hits the bottom. That does produce a bounce which I think it is possible could impact the velocity of a subsequent note, if timed right.
any idea on how to make a fullsize piano from it
That is my end goal! Although I only produced 5 keys this time, the 3d model (used to create drawings for laser cutting) is complete with all 12 notes of the octave, and works so that two copies placed immediately side by side will fit together nicely.
@@aleathwick i wish you all the best on your work. id love to copy your project given how disgustingly high the prices of weighted keyboards are in my country
Very cool project! I'm building an organ foot pedal with binary hall effect sensors, so it's interesting to see how much finesse the linear sensors are capable of! As a side note, I have those same 1/4" jacks and never thought to arrange them diagonally to fit a breadboard. Great stuff!
Seems like this would be an affordable diy to add midi to an acoustic piano. I have a QRS product that does that for my rhodes but it wasn’t cheap and I got it used.
There are a few diy projects out there that do exactly that, but reading the hammer positions directly, rather than imputing their positions from key position as I do - for example, see: github.com/stem-piano/stem-piano-g-main
...actually I guess the projects I'm referring to aren't "exactly that", because they involve converting piano actions into digital instruments, which no longer function acoustically (no strings anymore).
Please please mass produce it also please make a detailed guide to build it.
Me parece espectacular esto...
Wanna know more about the hardware / hammer design
The hardware is very simple - it is literally just a bunch of nails on the other end of the key, like a see-saw. Finger on one end of the see-saw, nails on the other end. The hammer is simulated in the firmware of the microcontroller - move the key halfway and stop, and the simulated hammer will keep moving. If it's moving fast enough, then it will keep travelling until it hits the (simulated) string, and a note is triggered.
This is a lot of playability for a true diy first attempt! Sounds wonderfully excessive !
Even better for small hands (especially for people who haven't gotten used to the Halberstadt layout yet): Use an isomorphic/generalized layout. Also good for tuning systems other than 12 notes per octave. If you're sticking to 12 notes per octave, harmonic table lets you play 3 note triad chords with 1 finger.
Genial!!!!
Have you built a larger version yet? Its over a year but no further updates posted on this.
Not yet - since the prototype in this video, rather than adding more keys, I've been playing around with other designs and methods of construction. It's been fruitful, eventually I'll post another video.
@@aleathwick Look forward to more updates. 👍
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.
Thanks for the suggestion - I'll keep that in mind
Wow. The expression and sensitivity with which you play honestly shocked me. Was not expecting that haha.
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
beautiful playing!
Absolutely brilliant! keyboard manufacturers are idiots for sticking to regular key size when it is so easy to make a narrower size option.
Are they, though? The best pianists in history all had big hands, and big hands need big keys.
@@Gabu_ That's crazy, I guess people with big hands must be inherently better at playing piano.... oh wait....
I come to this video over and over just to listen to the demo song, it's so beautiful
Have you ever considered to use hall sensors for velocity sensitivity?
That is exactly what I do!
@@aleathwick Ah yes, I see. I must have confused this with another DIY project.
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!
Oops! I see that those are not shift registers now but adc’s! But that is even more enlightening! Thanks again (:
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!
Don't worry with every day of practice your hands will feel bigger and bigger (small keys or not)
@@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.
@@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
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.
The reason why Fatar stopped using wood in their construction is because of worping over time, just something to watch out for.
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.
beautiful
very nice guitar demo !
:O =)
Nice work, bravo ! I would like to create one day a microtonal DIY midi piano 😅
Same here!
Great work! May I ask what the octave span is? Thank you
The octave span is 141mm, so roughly 7/8 the size of the octave on a normal piano.
@@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!
@@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.
Andrew this is epic, thank you so much for this project
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.
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.
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.
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!
@@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.
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.
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)?
judging by the description of working, its analog hall sensors (distance to magnet)
Great work ! What is the name of the piece you are playing at the beginning ?
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.
@@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.
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.
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.
wow amazing!!
Кто такую красивую мелодию написал на двух октавах?
D minor, the saddest of all keys.
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!
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.
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.
Hello, I'd to contact you concerning a similar project please, if you don't mind.
Feel free to, my email is my last name at gmail dot com.
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.