Jump to content
The Dark Mod Forums

Convert PDF to Midi file...


kano

Recommended Posts

Anybody ever done this? There is this rather nice piece of "hold" music, which I can't find a high quality version of. But I got the sheet music from a site online, its free. Apparently there are ways for a computer to convert the sheet music into a midi file.

 

I'm obviously not expecting perfection. It would probably turn out something like what happens when you make a computer translate Russian to English.

Edited by kano
Link to comment
Share on other sites

Well, it might be possible that some more data is stored than meets the eye. In most pdf files you can nowadays copy and paste the text, if the pdf was created from a word document. So it might be possible that in this case the stave and info where the notes sit is also stored. However, I also cannot help you, kano. I would try to use some freeware music make software and copy the score into that by hand...

Link to comment
Share on other sites

I think the best bet would be a dedicated OCR software, which also can convert it into MIDI notes afterwards. But, i'm not aware if something like that exists.

 

Would it be a major effort to just program the notes from the sheet in a score program, or a DAW? Think you can save that as a MIDI file then.

Link to comment
Share on other sites

This is something known as "OMR (optical music recognition)".

OMeR used to be the thing - it was shareware: http://www.myriad-online.com/en/products/pdftomusicpro.htm

It seems that the same people have an improved version that isn't from several years ago, but it costs 200e (but has a free trial): http://www.myriad-online.com/en/products/harmony.htm
and a free version of a simple melody OMR here: http://www.myriad-online.com/en/products/melodyplayer.htm

 

// of course, it might be less expensive to simply transcribe the notation yourself with some free software that reads the music, such as: http://scorecloud.com/

Edited by teh_saccade
Link to comment
Share on other sites

Here's the midi file. https://drive.google.com/file/d/0B4Ujne3RkyZBeGZVNExjWV83V1E/view

 

And here's a crappy 8Khz telephone version. https://soundcloud.com/drbalt/cvs-pharmacy-hold-music

 

I want a CD quality version!

 

unfortunately this doesn't start at the beginning of the song, but it loops around. I think you'll agree that this is a great tune

Edited by kano
Link to comment
Share on other sites

Unfortunately, most telephones only have a frequency range of around 400 to 4000hz - which is why most phone holding music sounds of a poor quality.

What is at 8000hz is actually heard at <4000hz due to Nyquist-Shannon theorum and telephone restriction. You get what you pay for - at least it sounds like authentic telephone holding music :P

It's a good conversation starter when you've been on hold for 20 minutes, listening to Phil Collins and it's a good way to soften up a secretary by making lame jokes about their holding music, in order for them to admit that "they just stepped back to their desk - I'll put you right through".

A long time since I read music... Every Good Boy Deserves Apples, FACE. Ok... Common time, 6/4, key C.

 

https://www.dropbox.com/s/7cj0a0m1m5y7t91/CVS%20pharmacy%20hold%20music_01.ogg?dl=0 <--- complete with the synth strings.

Link to comment
Share on other sites

So I was just reading - It is a catchy tune, you're right.

I tried to variate the tempo a little, as it was difficult to define any emphasis or expression using the OMR and it couldn't reach the +1 octave for the last chord before the time-change, so was best-can-do before dinner is cooked - it also missed a few semi-brieves and the da capo that had to be manually placed.

You can use any number of freeware editors to speed up or slow down the ogg's, as I didn't take time to match.

But the one of the real instrument with the strings is probably the best for the walkman. On repeat. Forever. In pharmacist hell.

 

That OMR might come in handy in future. Free trial probably means there's probably a key in the reg that can be goofed for it to expire in -1 days or something.

 

It was a fun exercise and diversion - thanks for bringing it up, Kano.

 

//tbh, it was the first time I touched a keyboard other than this ps/2 from the 90s' since... xmas 2008. Still can't play.

Edited by teh_saccade
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 3 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
×
×
  • Create New...