• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transposing ABC section fails badly
#1
Transposing the attached song fails badly in V 3.9.17, showing really strange results. It works fine in EasyABC and the ChordPro reference implementation.
Without transposing it's OK:
   
The same source file transposed to A and C shows completely different errors (same errors on eInk, Win10 and Win11)
         


Attached Files
.pro   RingOfFire_ABC.pro (Size: 910 bytes / Downloads: 2)
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#2
I'm investigating this because I'm not sure why abc2svg is doing what it's doing. I'm just inserting %%transpose -2 to transpose from D to C, for example, and getting bizarre results. If I do the same thing in the ChordPro reference application, it outputs fine.

Mike
Reply
#3
It looks like my code is transposing the chords inside the brackets before processing the abc section (because it appears like a ChordPro chord). So I need to add code to stop it from doing that when in an ABC section. Should be an easy fix.

Thanks,
Mike

Update: Fixed now for the next update.
Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2025 MyBB Group.