this post was submitted on 05 Sep 2024
33 points (97.1% liked)

Ask Lemmy

26270 readers
1370 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

I like the idea of being able to convert any audio track into its equivalent piano version.

Do we have the technology to do this or is it even possible?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 week ago

As others have alluded, MIDI data is the key to what you want. MIDI is essentially sheet music for computers, so you feed a virtual instrument that MIDI file, and it plays it for you. Most software even refers to the visualized MIDI data as the "piano roll."

You can see the little piano keys represented here, and the notes that will be played as the file is played through the selected instrument. There are numerous virtual representations of all kinds of piano.

The problem is making any kind of transcriptions of copy written songs is a legal grey area, and many sheet music and guitar tab sites get shut down.

The programs the others are discussing, turning mp3 straight to midi have issues because it's lumping the data for all the instruments (likely more than you realize, sometimes dozens per song when things are layered to sound bigger) into a single feed. All those instruments interplay with each other differently harmonically, and are played with different techniques. A piano is played differently than an organ, let alone something like a trumpet, so the software doesn't know how to filter what is trying to be created artistically.

So you can do it and it's relatively straightforward, but not something you're going to do on the fly is in a legal grey area.

I can go into any of this more if you want deeper explanations.