Hacker News new | ask | show | jobs
by vikbez 1261 days ago
Well I recently home-made a player piano [1] this will be perfect for it :D Thanks !

[1] : https://www.youtube.com/watch?v=atJ_YsPFDjQ

3 comments

Very nice work! How does it (does it at all?) control how hard it hits from one note to the next? What does the striking - solenoids?
Yes, it uses solenoid based actuators. Not sure if it controls the dynamics too, but one way to do that would be by driving the actuators using a curve modulated by high frequency PWM; probably quite hard to calibrate to MIDI key velocity since those actuators are essentially on/off devices, but doable.

A very nice project, I'd love to see some more information about it.

WIP code but I added infos here: https://github.com/vikbez/PlayerPianoController/
Thanks! So - midi velocity translates to PWM and hence solenoid force? Cool. You can always add some kind of mapping function if lower velocities are too low force. Nice work.

(old pre-electronics player pianos could do dynamics but most relied heavily on input from the operator to do so - with various limitations - it's probably a good plan to avoid directly imitating them :-)

Very cool - do you have a write up?
Magic!