Goto Chordpro marker not working in Extension

Hi all, thanks for your help in advance…

I’ve added all the correct Chordpro markers in my lyrics. (Including making sure the proper quotation marks were used)

The lyrics jump to the proper markers in the legacy Lyrics/Chords viewer, but not in the new Extension.

Any thoughts?

What extension?

Sorry, the Lyrics/Chords Extension.

Hi Again Everyone,

I’m still baffled why the Legacy Lyrics/Chords Viewer jumps to ChordPro Markers, but the new Lyrics/Chords Extension does not.

Here’s a little more detail on my trouble shooting. (I tried this on a Win 10 and Win 11 machine)
Still no joy after…
Deleting the Lyrics/Chords extension from the extension directory
Re-launching GP so it cleared the extension tab
Quitting GP
Re-copying the Lyrics/Chords extension back to the directory
Launching GP and clicking “Y” to install the Lyrics/Chords extension again
Verified that the Lyrics/Chords extension has default settings
Verified that it will change rackspaces in sync with the setlist
Verified that the “Legacy Lyrics/Chords viewer” jumps to the correct marker

But the Lyrics/Chords extension still won’t jump to markers.
It will respond to “Next Song Part” markers.

Thanks for your help everyone.

Tom

I created the extension, and am limited by what functionality is available through the Gig Performer API. You have not specifically mentioned it, but I presume you are using markers with the Streaming Audio File Player?

As far as I know, there is currently no way for an extension to be informed about a marker.

Well that explains it! Yes, setting markers in the SAFP. I’ll continue to use the built in Lyrics/Chords Viewer for now.

Thanks for your help and thank you for creating the Lyrics/Chords Extension!

Couldn’t it be done by using an action that sets a widget value? The extension can then get a callback

A widget value could be tricky, if it was intended to indicate a particular position (as there’s many ways to alter the length of the displayed file in my extension).

Ok, what about defining a GP Script function in your extension that could be used.

That function could then be invoked from a scriptlet parameter which could be controlled from an action?

I’ve found a simple option: to use the callback for Widget Caption Changed.

The extension already has a global panel, so I’ve added a new hidden text label widget. The action for changing the widget caption can have the marker name, which the extension will pick up and then scroll to that line in the ChordPro file.

I’ll have the update released shortly.

3 Likes

@Zombie please try this version and the instructions on the post.

OK, I will have some this weekend to test it. Thanks. I wasn’t expecting this as a new feature!

Works perfectly. Thank you so much!

1 Like