Import PDF sheet music files

It would be really helpful if Gig Performer were able to import PDF sheet music files and be able to display them.

Are you on Mac?

Yes. I’m on Catalina OS

Try this gig, you have to change the rackspace script to your PDF-Paths and Filenames

TextEdit.gig (4.3 KB)

And this is the script

//$<AutoDeclare>
// DO NOT EDIT THIS SECTION MANUALLY
Var
   PDF : Widget
   vea : ExternalApplication
//$</AutoDeclare>


// Called when a widget value has changed
On WidgetValueChanged(newValue : double) from PDF
 if newValue == 1.0 then
  EA_SetProgramName(vea, "open")
  EA_ClearAllArgs(vea)
  EA_AddArgument(vea,  "-n")
  EA_AddArgument(vea,  "/users/tweindl/Downloads/t.pdf")
  EA_Start(vea)
 end 
End
1 Like

You can embed a single page PDF file into a ChordPro file that you can use with your song. Simply use the following within your ChordPro file

{image: /full-path-to-your-pdf.pdf}

1 Like

I tested this and it doesn’t work for me while the GPScript version works properly:
{image: D:/Users/David/Desktop/Songs/My_Song.pdf}
Did I miss something?

Unfortunately that trick will not work on Windows where you’d have to convert the PDF to an actual image and then use that image instead of the pdf.

:roll_eyes:

On Mac this is working.

In Windows 10:
It’s a little work (but less than re-typing all my pdf’s)…I went to Convert PDF to JPG online for free | Adobe Acrobat (United States) and made my jpg file. Then just entered this into the Song Lyrics/Chord Editor:
{image:“C:\Users\John Talley\Downloads\Song Title1024_1.jpg”}.

It works really good. But, using ChordPro files it is so nice to have the transposition abilities, font size, etc, etc…So, for the most part, I’ll continue re-typing…

Thanks! I will check this out