Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: 1 [2] 3 4 5   Go Down

Author Topic: My new client-side abcjs-based ABC converter  (Read 15383 times)

0 Members and 1 Guest are viewing this topic.

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #20 on: February 11, 2023, 08:06:08 PM »

New feature: Sharing tunes sets via a QR code!

When sharing a tune set via the "Share URL" button, once a share URL is generated, if it is short enough to fit in a QR code, a new button appears.

Clicking the button will generate a QR code for the share URL and open it in a new browser tab where it can be saved or printed.

Scanning the code code with your devices camera will open the converter with the same tune set and tab settings.

Demo video showing QR code generation from a set of tunes:

https://youtu.be/tNTAAJzla_s

My ABC transcription tool is available at:

http://michaeleskin.com/abctools/abctools.html

The project Git repo is:

https://github.com/seisiuneer/abctools
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #21 on: February 12, 2023, 01:20:10 AM »

Here's a couple example QR code for

"An Comhra Donn":

https://flic.kr/p/2ogtfso

and

"Kesh" / "Lilting Banshee":

https://flic.kr/p/2ogtg1T

« Last Edit: February 12, 2023, 01:22:10 AM by Michael Eskin »
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #22 on: February 12, 2023, 06:00:55 AM »

You can now easily force a page break after a tune when generating PDF files with multiple tunes per page in my ABC Transcription tool.

To force a page break after a specific tune during Multiple Tunes / Page  PDF generation, add the following ABC at the bottom of the tune:

%%newpage

This will allow you to easily format a tune book where you want multiple tunes per page, but some tunes to not be split between pages

The tool is available at:

http://michaeleskin.com/abctools/abctools.html

The project repo is at:

https://github.com/seisiuneer/abctools

Demo video showing adding a %%newpage ABC directive at the end of a tune to force a break for a tune set where a tune was previously split between two pages:

https://youtu.be/GcGF8CGfRE4
« Last Edit: February 12, 2023, 06:03:31 AM by Michael Eskin »
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #23 on: February 12, 2023, 07:22:50 PM »

Now scrolling the music into view on consumption of a share link or URL code.

Also on iOS and Android, automatically sets the music to fill the screen width when consuming a share link or URL code.
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #24 on: February 12, 2023, 09:28:23 PM »

Switched from Base64 to LZW compression of the URL encoded ABC for share links in my ABC tool.

Can get much more data now in the links and QR codes.

I really wanted the QR codes to be able to hold at least three tune sets if possible.

Consuming the older base64 links are still supported for backwards compatibility.

Here's an example of one of the new style links with eight tunes:

http://michaeleskin.com/abctools/abctools.html?lzw=BoLgBAjAUAKiMAsCmYBCAbAhgYwNYMwEsAnJAEzABlMBnGqAWRAGEAfKAaRAEEBbQgB5Rs3AH7cATGGxkk2VmQkBzCqgDiotRNYjxUmXIUAzOWHEBmVCHYGjYJRKRLWRiWTtKTZVgApLMsCQPJExnI1lsM25LG1kPRzCyMki450wjJRRww3dTC1RWdihQMAlYcG4AVxoAF0IAOzAYQiRieqQATwByeiYwABYAen6oSnAIQYAOTnAAEV5MACsoVjmpPwAxAFFZsG5Zje4wVj2yUUVT8OOwWfXzbd39w+uyVBE0Q43jqFuwTZ29gcjiduGcLqlrulMmBspETq9uGowBtdr9rCtwMlXnsNqINlITgdUF9uNsvvCZKhAc8TsS8VI1GTvhcAn43hRSddQckwBCTlCshEXqhEcjUVJrOwAKRS9oAdwADqEkFBiuBzOUmsgwAAJTCkHpgAAKmDljHAQxGY0gUxmYDUC2Wmksewkam4rFQW1EWwZO20jPdaG4qG8ED+5iCShh0fIIusdyjMbMSHMRkKGIcGUCr3kF3IaAoilY4azsde3igfiT2dEqaMCcCabAOdDJ2r2aMmHscYzaoG5UQKCNAHtiDUECP0CgR3YOEh0ArzWwZrMyGOMciJLMtsidruTmSkVtmMwCVud8j3UjDzvmHsADSzX7sfGXjbuqknESMsAn5gHjcWwfqc2Lfoiu47Gi7CrLybgoMkoqHsBx6noB3IIT+XJJCkkbfLCvIiF+0iIl8-6ATuIHcsRP6Qc+EjojK8pKpkqolAArJqQ7IiOAhgAA8o03EwCOcr1OaAzDKM4y2lw9qOlAQSsJk2Jxh6WjqDcahtipVLkEpSjNlGmCsAAhFAABGSAFmprAaUiszad4UYWWAmDuCZSgWek9gMWZUBKCZVkFqGmQKKgqBSLIgWsMFUhWWFLluco6bmYZCG9k55Ztkl7ldsp3nxNY5n9gAbFx2oAEpIAqIToAJdjcQAqvUhAjuJfSWtJNrTHJ8yCJu+wAnoSF-hI2C7mQWzYMRQ27CNN5jRNf70WA6KwRhMJCiCbxHLms1JIK7wnGo010S+UCbQRO0BE4ogOJCGRHcC9pnStL7SrKSCKsqbHgAA7BVKCUJUeDGkg9T1B0Emlba1oTL14AOksGIikipKzHZbpXh6aOFgUWEbMk7B4xjdmhmYhkKEE9ivCWJFfFo3CNiIjMSAUMEgIo0aeGkFnRhkQWhG5njU-EJmWcLoTpg4AtkAAenmNMqAU4as-a7Ms0cjNvBmqyvEigasI5VIGzo3AALxfGSrDMFbRwzR6UAG-aOnKFtiti7TqsM672Ba2zHqfcxv39tMcBaigABy31gAAmmOuBgAAUoQSgw3DMnTJV4CLGndp8Cj0b8gWlJctgKChN2JzBby1nXLX3nF1AmCl2BewVyL1dgPzCGabSoqSGtJPXNgUhHFs3BwryRh2F4o+yG5pi0rPMIFjY49-lPLyr-P36L630+vCgQ9fsIm+T0fu-r9IB-L2g18UDY3BHEgL8vO-e+BJ34R2CcvNuXMMcIoqpQFQCAA&w=50&format=noten

Here's the resulting QR code (again, eight tunes):

https://flic.kr/p/2ogCZPA
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #25 on: February 12, 2023, 10:53:14 PM »

In case you're wondering "Who is this Michael Eskin guy, and does he even play accordion?"  :-)

Here are a couple of tunes on my shiny red VanderAa B/C box recorded at the session at The Ould Sod pub here in San Diego on February 7, 2023.

The tunes are:

"Mayor Harrison's Fedora" - Reel
"The Diamond" - Waltz (written by Billy McComiskey)

https://youtu.be/Mb2oJqaO_8w
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #26 on: February 13, 2023, 02:09:37 AM »

Oh, just realized that on Flickr, photos get shown with a black background.

Bad idea for QR codes, since the black symbols go all the way to the edges.

People were complaining that putting the QR codes on Facebook was giving them migraines, so instead I was putting them on Flickr and posting Flickr links.

Had to put a white border around them before uploading them to Flickr and now they are working much better.

I guess the error correction built into QR actually works!

As a result was able to set the QR code error correction to a lower value, now can encode a max 2300 characters in the code, previous limit was 1650.
« Last Edit: February 13, 2023, 04:40:26 PM by Michael Eskin »
Logged

CAB

  • Mass Debater
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1147
    • Somerset Russets Village Band
Re: My new client-side abcjs-based ABC converter
« Reply #27 on: February 13, 2023, 06:45:01 AM »

In case you're wondering "Who is this Michael Eskin guy, and does he even play accordion?"  :-)

Here are a couple of tunes on my shiny red VanderAa B/C box recorded at the session at The Ould Sod pub here in San Diego on February 7, 2023.
https://youtu.be/Mb2oJqaO_8w

Sounding good, Michael.  Mayor Harrison's Fedora is a personal favourite which doesn't seem to get played much in my part of the world.  I don't know the waltz but it's a cracker - one to learn.
Logged
Pas de lieu Rhone que nous

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #29 on: February 13, 2023, 08:56:49 PM »

Here's how you can the ABC Transcription tool to your iOS device launch screen as a web app shortcut icon:

https://youtu.be/pYlv3fmQMws
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #30 on: February 14, 2023, 05:07:28 AM »

Dramatically sped up the time it takes to export very large (>50 page) tune books on my ABC Transcription Tool.

I'm seeing this sort of performance now on my M1 Mac for all browsers I've tried:

12-tune tunebook export to PDF:  17 seconds
104-tune tunebook export to PDF: 2 minutes 20 seconds.

Here's a screen capture from my M1 Mac running Firefox of a 12-tune PDF export in multiple formats (notation, mandolin tab, note name tab):

https://youtu.be/fKRo9nwie1Y

And a full 104-tune PDF export:

https://youtu.be/Tbd3uTOSuno
Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: My new client-side abcjs-based ABC converter
« Reply #31 on: February 14, 2023, 05:54:38 AM »

Dramatically sped up the time it takes to export very large (>50 page) tune books on my ABC Transcription Tool, etc...

Quote from 'another forum': "...Apparently Michael Eskin never sleeps..." 8)

Apparently, this would seem to be the case...

Nice!
« Last Edit: February 14, 2023, 06:00:30 AM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #32 on: February 14, 2023, 07:35:49 PM »

Not the past two weeks that's for sure. 

I keep waking up in the middle of the night with either solutions to problems I've been struggling with on the project or frustrated about some little thing I want to fix.

When that happens, there's no way I'm getting back to sleep, so I just go do the work, test it, check it in, and then go back to bed.

I feel like with today's updates (2/14/23), barring any really nasty bugs, it's in a good state and looking both solid and pretty enough to leave alone for a while.

A bunch more little improvements this morning, mostly fit-and-finish stuff:

New app icon and favicons with a bit more breathing room around the letters.

New styling and colors for the buttons.

Figured out why all the button text was blue on iOS, now fixed.

Re-arranged the buttons and button sections a bit to make the UI feel more consistent.

Share URL text box used to get really huge for complex URLs. Now limited to 10 lines, but can be scrolled.
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #33 on: February 16, 2023, 02:53:09 AM »

This demo on my iPad shows importing an ABC tune set from iCloud Drive, walks through the different notation and tab options, generates a QR code to share, and finally generates a PDF file of the tune set.

Demo video:

https://youtu.be/OvwSQj47Y7o
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #34 on: February 16, 2023, 03:01:10 AM »

One more demo of the latest code:

https://youtu.be/R8Ygnml4meE
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #35 on: February 16, 2023, 04:43:09 PM »

Installed a redirect, so you can now just go to the ABC tool using:

http://michaeleskin.com/abc
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #36 on: March 03, 2023, 07:16:04 PM »

A lot has happened with the ABC Tools as of the start of March 2023!

Here are the the latest demos and links:

Try the ABC Transcription Tools here:

http://michaeleskin.com/abc

User Guide:

http://michaeleskin.com/abctools/userguide.html

Demonstration Video:

https://youtu.be/4kzXTcySKYc

Feature demo: Tune autoscrolling:

https://youtu.be/MEzj5JsC0RE

Feature demo: Playing your tunes:

https://youtu.be/40VPLxvCL9s

Feature demo: "Click and Play"

https://youtu.be/-JvOFaotgtY

Feature demo: All about ABC Share URLs and QR codes:

https://youtu.be/I8KcG4swmUQ

Feature demo: New PDF annotation features:

https://youtu.be/p8xWxOsqQ6A

Feature demo: Using iOS desktop shortcuts to bookmark tune sets:

https://youtu.be/OvwSQj47Y7o

Feature demo: Scanning a tune set QR code with your iOS device's Camera app and saving an iOS desktop shortcut:

https://youtu.be/R8Ygnml4meE

Feature demo: Hiding the Title and Links:

https://youtu.be/wsMa1Y7ACWk

Feature demo: Changing the playback instrument:

https://youtu.be/i6oKpGzS2lo

Feature demo: Widescreen Responsive Editor Demo

https://youtu.be/3_g3xj6XOnY
Logged

Clive Williams

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3936
    • Home Page
Re: My new client-side abcjs-based ABC converter
« Reply #37 on: March 04, 2023, 03:34:28 PM »

Dang that’s really impressive Michael. I’m a big fan of your accordion apps too of course :-)

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #38 on: March 04, 2023, 07:28:30 PM »

Thanks!


This morning added much better support for printing in portrait or landscape mode from your browser, every tune starts on it's own page:

 
Demo video:

https://youtu.be/6AlzAVNTRQA

Massive tunebook (386 tunes) PDF torture test:

While I wouldn't recommend trying to edit a 386 tune tunebook in the editor itself, you can certainly bring such a huge tunebook into the tool to print or export it to PDF using your browser's native Print feature.

Demo video:

https://youtu.be/3-6Xa2iDjOs
« Last Edit: March 04, 2023, 08:10:47 PM by Michael Eskin »
Logged

Paul Jewell

  • Member
  • *
  • Offline Offline
  • Posts: 49
Re: My new client-side abcjs-based ABC converter
« Reply #39 on: March 05, 2023, 06:37:05 AM »

[quote author=Michael Eskin link=topic=29004.msg345940#msg345940 date=1676351248

Here's a screen capture from my M1 Mac running Firefox of a 12-tune PDF export in multiple formats (notation, mandolin tab, note name tab):

https://youtu.be/fKRo9nwie1Y

And a full 104-tune PDF export:

https://youtu.be/Tbd3uTOSuno
[/quote]

I’m getting a message from YouTube saying these videos have been removed by the uploader. Is that so, or are there permission issues?

Thanks for sharing your work!

Edit: having seen the video with the “torture test”, I guess these videos have been superseded! Seriously impressive software - thanks again
« Last Edit: March 05, 2023, 06:45:52 AM by Paul Jewell »
Logged
Pages: 1 [2] 3 4 5   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal