HomeProductsDownloadOrderSupportSearch
  
Myriad Forum « global edit of imported text from PDFtoMusic Pro? »
 Welcome, Guest.
 You can read all messages, but to be able to post,
 please Login or Register.
Oct 1st, 2023, 10:07am 
   Myriad Forum
   Melody Assistant / Harmony Assistant
(Moderator: Forum Administrator)
   global edit of imported text from PDFtoMusic Pro?
« Previous topic | Next topic »
Pages: 1  Reply | Notify of replies | Print
   Author  Topic: global edit of imported text from PDFtoMusic Pro?  (Read 208 times)
Bruce Simonson
Board Newbie
*





   
Email

Gender: male
Posts: 43
global edit of imported text from PDFtoMusic Pro?   proPDFtoMusic_-__r__interpreted_as__7__--_is_global_edit_possible.png
« on: Feb 18th, 2023, 10:06pm »
Quote | Modify

Greetings,
 
I've recently started working with PDFtoMusic Pro, with lots of good success.
 
However, I've experienced a glitch for which I hope there's any easy fix.  
 
In my current project, many of the "r"s in text blocks are interpreted as "7"s, leading to such amusing renditions as:
 
"c7esc", "Semp7e", and "esp7ess"
 
Is there a way to globally edit all of these "7" characters to "r" in HA (i.e., globally replace each "7" with an "r")?  
 
I can manually edit each one, but I have long way to go on this project ...
offline

ANdre_B
Board Master
*****





   
Email

Gender: male
Posts: 2589
Re: global edit of imported text from PDFtoMusic Pro?  
« Reply #1 on: Feb 19th, 2023, 11:59am »
Quote | Modify

Strange, I would have thougt that with a vector pdf the text strings would have been text strings, not something to apply OCR on.  
With a score reader (like PhotoScore) I have often seen letter "m" interpreted as "rn" (in lyrics essentially)...  
 
Do you have the problem in the lyrics too?  
 
Unless somebody knows some method within PDFtoMusic Pro, I think a script can handle that. If you provide me with the .myr, I would have a look.
Logged

André Baeck, de retour en Belgique après 12 ans passés dans le Gard.
Windows 11, HA 996c (et précédents)
bubu42
Board Master
*****





   


Gender: male
Posts: 10435
Re: global edit of imported text from PDFtoMusic Pro?  
« Reply #2 on: Feb 19th, 2023, 11:15pm »
Quote | Modify

on Feb 18th, 2023, 10:06pm, Bruce Simonson wrote:

Is there a way to globally edit all of these "7" characters to "r" in HA (i.e., globally replace each "7" with an "r")?  
I can manually edit each one, but I have long way to go on this project ...
Batch processing all these "7" is not possible in HA... And yet... there are two possible workarounds !
1- Edit the lyrics, copy them and paste them into a text editor (Windows notepad, Notepad++, GEdit or Kate for Linux) Use the "find/replace" function, then copy/paste back into HA.
2- A simple script may be used. (yet to be written, but I can give it a try if you wish)
Logged

Harmony Assistant - Ubuntu + Wine et Windows XP sur machine virtuelle. VS, OMeR, PDF2M
ANdre_B
Board Master
*****





   
Email

Gender: male
Posts: 2589
Re: global edit of imported text from PDFtoMusic Pro?  
« Reply #3 on: Feb 20th, 2023, 12:00am »
Quote | Modify

If the problem lies (essentially) in free objects, it may be easier (in HA, not in P2M) to start from Score/Edit Free Objects - than to fish with the mouse.  
 
A possibility is to export in XML, open it in an editor and start a change from "7" to "r", of course not a "change all" but with a manual scroll, selecting for each occurence "Next" or "Change".
Logged

André Baeck, de retour en Belgique après 12 ans passés dans le Gard.
Windows 11, HA 996c (et précédents)
Pages: 1  Reply | Notify of replies | Print

« Previous topic | Next topic »

« Myriad Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB © 2000-2002,
Xnull. All Rights Reserved.

Top of page
Legal information Cookies Last update:  (c) Myriad