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 15289 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 #40 on: March 07, 2023, 01:30:44 AM »

ABC Transcription Tools is now (finally!) able to export PDF tunebooks with one tune-per-page or intelligently layout multiple tunes to fit on each page.

Demo Video:

https://youtu.be/jtiVzXB8xhQ

Try the ABC Transcription Tools here:

http://michaeleskin.com/abc

User Guide:

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

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #41 on: March 07, 2023, 01:32:14 AM »

Yes, those were very early videos, I've been culling them a bit as the tool has been getting a lot more capable.

Logged

Paul Jewell

  • Member
  • *
  • Offline Offline
  • Posts: 49
Re: My new client-side abcjs-based ABC converter
« Reply #42 on: March 07, 2023, 10:04:08 AM »

I am enjoying having a little play with your software! One question I have now come across:

From this thread (http://forum.melodeon.net/index.php/topic,28908.msg344789.html#msg344789, I have copied the ABC into your program (at http://michaeleskin.com/abctools/abctools.html). Everything seems as expected, with one exception. The bass is scored on the treble clef, and not on the bass clef. Is this an issue with the ABC itself, or the interpretation by your program?

Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #43 on: March 08, 2023, 07:52:53 PM »

Figured out how to add a table of contents to the PDF tunebooks as well as an index:

https://youtu.be/B1jJmxSQ36M


Also, the latest Pad Demo (posted on 8 Mar 2023):

https://youtu.be/8FHD1B9VcPs

« Last Edit: March 08, 2023, 09:19:41 PM by Michael Eskin »
Logged

Paul Jewell

  • Member
  • *
  • Offline Offline
  • Posts: 49
Re: My new client-side abcjs-based ABC converter
« Reply #44 on: March 14, 2023, 01:18:36 PM »

I am enjoying having a little play with your software! One question I have now come across:

From this thread (http://forum.melodeon.net/index.php/topic,28908.msg344789.html#msg344789, I have copied the ABC into your program (at http://michaeleskin.com/abctools/abctools.html). Everything seems as expected, with one exception. The bass is scored on the treble clef, and not on the bass clef. Is this an issue with the ABC itself, or the interpretation by your program?

The abc file was missing a "K: clef=bass" in the section for the bass music. With this in place - everything is fine and dandy!
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #45 on: March 15, 2023, 09:56:14 PM »

Cool, glad it's working for you!

Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #46 on: March 16, 2023, 05:42:11 PM »

Improved the transpose functionality so you can now transpose just one or many tunes:

https://youtu.be/b9BQEUb6XcI

You can also now strip annotations, text, and chords from the ABC instead of just hiding/showing them:

https://www.youtube.com/watch?v=NbbX1BHVtyo
« Last Edit: March 16, 2023, 09:16:06 PM by Michael Eskin »
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #47 on: March 17, 2023, 05:01:56 PM »

Just in time for your St. Patrick's Day gigs!

PDF Tunebook export can now generate "tune incipits" that consist of only the first line of each tune in the tune book.

The incipits can be in standard notation or any of the available tablatures.

Demo video:
https://youtu.be/R7kC5jc0ziY

Try the ABC Transcription Tools here:
http://michaeleskin.com/abc

User Guide:
http://michaeleskin.com/abctools/userguide.html
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #48 on: March 17, 2023, 09:28:58 PM »

If you need even more tunes on a page for the incipits, print the resulting PDF to another PDF and select 2 or 4 pages/page.

Example screenshot from a 2-up PDF:

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

Example screenshot from a 4-up PDF:

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

Again, these are the result of taking the PDF Tunebook with incipits my tool creates and then printing that PDF using either the browser’s own print feature (just drop the PDF on a tab) or from Adobe Acrobat or other PDF viewer.

Another new usability feature I just added, suggested by a power user after the incipits feature release, now if you click on the notation, the ABC for the tune will be scrolled into place in the ABC editor.

You might have to scroll a couple of lines up or down to get the full tune displayed, but it should either be right on or very, very close.

All autoscrolling features (click in ABC to autoscroll notation, click in notation to autoscroll ABC) are limited to desktop browsers.

Mobile onscreen keyboards and automatic text area activation and window resizing don't really play well with the autoscrolling system so I've disabled them on mobile. Sorry, it's non-negotiable. 🙂

In theory this should be a benign change. If anyone sees any bizarro behavior, please let me know. Looks good in my testing on Firefox, Chrome, and Safari.
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #49 on: March 23, 2023, 03:50:38 AM »

I improved the PDF save in the ABC tool for iOS and Android devices.

The default save routine in jsPDF used to replace the current tab with the PDF and people were confused what to do with it. Plus, if you did a browser back command you’d sometime lose your ABC work in-progress.

Now on mobile, the tool asks if you want to download it and then it ends up in your “Files” app downloads directory.

From there you can view the file right in Safari or do whatever you want with it, like export it to a PDF reader like GoodReader or share it.
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #50 on: March 24, 2023, 04:40:21 AM »

New Improved PDF Tunebook Incipits 23 Mar 2023

You can now get 4x as many tunes on each page when generating PDF Tunebooks with incipits

Demo Video

https://youtu.be/ik9ObQXlBLU

Example PDF tunebook with 386 reel incipits:

https://www.dropbox.com/s/ib895e2qucntaxl/386_Reels_Incipits_Demo_23Mar2023.pdf?dl=0

Example PDF tunebook with 173 jig incipits:

https://www.dropbox.com/s/hji3b83ixw46axu/173_Jigs_Incipits_Demo_23Mar2023.pdf?dl=0

Example PDF tunebook with 173 jig incipits:

https://www.dropbox.com/s/hji3b83ixw46axu/173_Jigs_Incipits_Demo_23Mar2023.pdf?dl=0

Example PDF tunebook with 173 jig incipits (Whistle tab):

https://www.dropbox.com/s/pc8fzsv8rhsqz5a/173_Jigs_Incipits_Demo_23Mar2023_Whistle.pdf?dl=0

Example PDF tunebook with 173 jig incipits (Mandolin tab):

https://www.dropbox.com/s/ret9h0pqlpgamwc/173_Jigs_Incipits_Demo_23Mar2023_Mandolin.pdf?dl=0

Try my ABC Transcription Tools here:

http://michaeleskin.com/abc

User Guide:

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

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #51 on: March 27, 2023, 11:32:01 PM »

I know some of you would prefer ABC text incipits... 

Now available under the PDF Tunes/Page options:

https://youtu.be/OC5uFL2X6yQ
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #52 on: March 30, 2023, 12:49:32 AM »

Modified the sorting so that sorted table of contents and index pages move any initial "The " in the tune names to the end before sorting:

So if you use:


%addsortedtoc (your table of contents title here)
or
%addsortedindex (your index title here)


you'll get something that looks like:


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


Standard unsorted table of contents or index pages don't do the pre-processing of the tune names, they just list them in page order.


So if you use:


%addtoc (your table of contents title here)
or
%addindex (your index title here)


You'll get something that looks like:


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

Michael Eskin

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

As long as I'm sorting all the things, added a new button that will sort all the tunes in the ABC area alphabetically by tune name.

For tunes that start with "The ", the sort algorithm moves the "The" to the end before the sorting, but the resulting ABC doesn't change.
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #54 on: April 05, 2023, 07:16:02 PM »

Latest "Power User" tips:

1) Injecting Note names under notation


2) Example PDF headers injection - So you don't have to remember all the possible PDF header options for title pages, table of contents, index, etc.


https://www.youtube.com/watch?v=RoPOXQAVbVE
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #55 on: April 06, 2023, 10:47:16 PM »

New "Power User" tip for those of you who use the playback feature and would prefer something nicer than the default piano sound used by the ABC Quick Editor.

You could have done this manually as described in the User Guide section on "Changing the instrument for playback" but I've added a simple way to automate it for you.

If you now Shift-click on the "Play" button, it will prompt you for a MIDI program number (offers some suggestions) and will then inject a:

%%MIDI program <your selected program number here>

directive into every tune. You can then save the ABC if you want to reuse the directives later.

https://www.youtube.com/watch?v=CHvORF--Dhc
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #56 on: April 07, 2023, 08:40:53 PM »

Just posted an invisible but significant change to the ABC Transcription tools behavior.

I’m now saving all the tool settings to browser local storage so you don’t have to reset the settings every time you use the tool.

It will now launch with the same settings you last used as far as tablature, PDF tunes/page, page number location, capo, line spacing, etc.

If you are opening the tool from a ShareURL or QR code, the values in the ShareURL override the default values from the browser local storage.
Logged

Michael Eskin

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

Looks like Firefox pushed out an update this morning that, at least on Macs, completely messes up the output of abcjs.

I'm seeing the same result on Paul Rosen's reference decoder at:
https://editor.drawthedots.com/

For now, I suggest using Chrome instead.

PDF generation on Firefox seems fine, just the on-screen display is cutting out staff lines and note stems. I've sent an email to Paul to see if there might be a way to fix it on Firefox.

Firefox bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1827699
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #58 on: April 13, 2023, 11:51:16 PM »

Some new features for those who have requested more control over the Table of Contents and Index page appearance in the PDF tunebooks generated by my ABC tool:

Table of Contents and Index Font Size and Line Spacing Overrides

You may override the top offset to title, offset from title to the index or table of contents entries, default tune name font sizes and line spacing, by adding the following comment-based annotations anywhere in your ABC:

Table of Contents offset and font overrides:

%toctopoffset (your top offset goes here) - 72 dpi offset from the page header for the top of the table of contents title. Default is 30.

%toctitleoffset (your title offset goes here) - 72 dpi offset from the title to the first entry in the table of contents. Default is 35.

%toctitlefontsize (your font size goes here) - Font size for the table of contents title. Default is 18.

%tocfontsize (your font size goes here) - Font size for tune names in the table of contents. Default is 13.

%toclinespacing (your line spacing goes here) - Line spacing for tune names in the table of contents. Default is 12.

Index offset and font overrides:

%indextopoffset (your top offset goes here) - 72 dpi offset from the page header for the top of the index title. Default is 30.

%indextitleoffset (your title offset goes here) - 72 dpi offset from the title to the first entry in the index. Default is 35.

%indextitlefontsize (your font size goes here) - Font size for the index title. Default is 18.

%indexfontsize (your font size goes here) - Font size for tune names in the index. Default is 13.

%indexlinespacing (your line spacing goes here) - Line spacing for tune names in the index. Default is 12.

As with all previously described annotation, only the first instance these annotations are processed, any additional instances are ignored.

Power User Tip:

Holding down the Shift key while clicking on the "PDF Tunes/Page" label will inject examples of all of the above PDF headers at the top of the ABC.

You can then remove the headers you don't need and edit the others to meet your requirements.

I've also made the text incipits generation a bit more compact.
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: My new client-side abcjs-based ABC converter
« Reply #59 on: April 15, 2023, 07:50:01 PM »

Looks like the Firefox 112 issue will be fixed soon, either by an update to abcjs and/or a new Firefox release! Stay tuned!
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