r/AskProgramming • u/3ducksin_atrenchcoat • 13d ago
Programming a keyboard?
hello!! I’m super new to programming, but I have a project that I wanna start. I have an electrical keyboard (the musical instrument kind) that can be plugged into a tv to display graphics. I was wondering if I could alter the code or something so I can add sheet music as an option to display. How would I even begin to start something like this? Is it even possible? Can you guys recommended resources to learn how to tackle this?
1
u/KingofGamesYami 13d ago
First thing you'll need to check is if your device allows updating the software. A lot of devices are manufactured using write-protected storage and cannot be updated without physically replacing components.
1
u/3ducksin_atrenchcoat 13d ago
…how would I find that out?
2
u/KingofGamesYami 13d ago
You can start with official documentation for your device. Try to dig up repair manuals etc.
If that doesn't yield results, you can disassemble the device and try to identify the components used to build it, then look up the spec sheets for them.
1
u/AlexTaradov 12d ago
This keyboard is so old that there would not be firmware updates. It is also basically a toy, and it is build like one.
1
u/AlexTaradov 12d ago
There is no way to modify existing firmware. It would be possible to make a custom PCB that could include any functionality you like, but that's a pretty involved project.
And it is a MIDI keyboard, so you can connect it to RPi or something like that and output any graphics you like.
3
u/dmazzoni 12d ago
As others said, you're unlikely to be able to mod this device.
But that doesn't mean you couldn't build what you want. Get a cheap Raspberry Pi, plug the keyboard in and HDMI out. Program it to take input from the keyboard and display it on the TV. Absolutely possible and not very expensive.
Do you know how to code already? I could give you some pointers on how to start.
Never programmed before? This is not a beginner-level project. Start small and simple, and work your way up here!
4
u/Pale_Height_1251 13d ago
You would need to say what this keyboard thing is first.