PowerBASIC Users Meeting Point
gbScroller - Vertical to Horizontal Music Converter - Printable Version

+- PowerBASIC Users Meeting Point (http://pump.richheimer.de)
+-- Forum: User to User Discussions (http://pump.richheimer.de/forumdisplay.php?fid=3)
+--- Forum: PowerBASIC for Windows (http://pump.richheimer.de/forumdisplay.php?fid=4)
+--- Thread: gbScroller - Vertical to Horizontal Music Converter (/showthread.php?tid=77)



gbScroller - Vertical to Horizontal Music Converter - Gary Beene - 09-17-2025

From talking with a friend, I got the idea of writing a tool to convert music sheets from a portrait format to a scrollable, horizontal format.  I went looking on the web, thinking there must be one already, but did not find anything.  I have the basics working, but before I spent more time on it, I thought I'd see if anyone here knows of such a thing.

Here's an image showing the idea.  A vertical page of music, with multiple rows of content, would be converted to a horizontal image that can be scrolled at a specified rate.  There might be several pages to convert.

[Image: gbscroller.png]

My approach is to have a transparent, resizable dialog that the user places over a row of music and takes a snapshot of that row, then moves the dialog over the next row of music and takes another snapshot - repeating until all rows over multiple pages have been captured. All images would be the same size. gbScroller would merge the images into a single image, which could then be displayed and scrolled within the same app.


RE: gbScroller - Vertical to Horizontal Music Converter - Gary Beene - 09-17-2025

A really smart guy might be able to have the program automatically separate the page into images. I'll have to think on that.

In the example above, the vertical delimiter is simply empty lines. That might be enough to allow easy separation of content.

But, I'd want the images that are merged to be the same size and to vertically line up adjacent images.