Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't transcribe a complete book - am I doing it wrong? #761

Open
blockx opened this issue Dec 1, 2024 · 10 comments
Open

Can't transcribe a complete book - am I doing it wrong? #761

blockx opened this issue Dec 1, 2024 · 10 comments

Comments

@blockx
Copy link

blockx commented Dec 1, 2024

Hi,

My situation is as follows:

  1. By using <File/Input> and selecting several .jpg files I have opened some files which I want to form a book and transcribe into a single .mxl file. The .jpg files are names "p2.jpg", "p3.jpg", "p4.jpg" and "p5.jpg" and they are visible in the sheets tab list as p2,p3,p4 and p5.

  2. I have selected the action <Book/Transcribe Book> but nothing happens.

What's up ?

Thanks,

@hbitteur
Copy link
Contributor

hbitteur commented Dec 1, 2024

I think you should have a look at the "Split and Merge" feature, described in this section of the handbook.

@blockx
Copy link
Author

blockx commented Dec 1, 2024

I think you should have a look at the "Split and Merge" feature, described in this section of the handbook.

Thanks very much for your reply, but I had already tried that and it didn't work ? I'm sure I must be doing something wrong but what I have tried is as follows:

I have 4 image files, "p2.jpg", "p3.jpg", "p4.jpg" and "p5.jpg" in a my directory "C:\Users\Me\myfiles" along with the file "4_pages.xml" with contents appended at the end of this question

I start Audiveris and perform the following:

  1. Open <Book/Split and Merge>
  2. Select
  3. Browse to "C:\Users\Me\myfiles" and select "4_pages.xml"

In the main Audiveris window the tabs p2, p3, p4 and p5 open in Gray and Binary form taking their contents from the .jpg files mentioned above.

Still from the dialog I then perform:

  1. Select <Action!> then save as "4_pages.omr" in same directory as everything else

Then from the main Audiveris window
6. Select <Book/Transcribe Book>

Whichever tab hapopened to be selected out of p2, p3, p4 and p5 (in this case "p2" then gains a "Data" tab as well as "Gray" and "Binary" tabs but p3, p4 and p5 remain unchanged.

<Book/Export Book as> then enter a filename only exports the data from whatever page p2 was selected as a tab?

Any odeas what I am doing wrong ?

Thanks,

Contents of "4_pages.xml"

C:\Users\Me\myfiles\p2.jpg 1 C:\Users\Me\myfiles\p3.jpg 1 C:\Users\Me\myfiles\p4.jpg 1 C:\Users\Me\myfiles\p5.jpg 1

@blockx
Copy link
Author

blockx commented Dec 1, 2024

File didn't past because of the formatting, I've appended it as txt file but actually it is an xml file:
4_pages.txt

@blockx
Copy link
Author

blockx commented Dec 2, 2024

Anyone have any ideas about my problem with this ?

Thanks,

@hbitteur
Copy link
Contributor

hbitteur commented Dec 4, 2024

Seems like there is a bug somewhere.
I'm investigating...

Meanwhile, try to transcribe tab per tab (that is: sheet per sheet) by selecting the final step (PAGE) for each sheet.
The resulting score should be OK

@blockx
Copy link
Author

blockx commented Dec 4, 2024

Seems like there is a bug somewhere.
I'm investigating...
Meanwhile, try to transcribe tab per tab (that is: sheet per sheet) by selecting the final step (PAGE) for each sheet.
The resulting score should be OK

Thanks for your help, I will try what you suggest,

@hbitteur
Copy link
Contributor

hbitteur commented Dec 5, 2024

I just pushed the commit 490dc44 on the development branch to fix the Split & Merge special mode.

You can pull and build immediately
Or wait for the next release, perhaps for Xmas! :-)

@blockx
Copy link
Author

blockx commented Dec 7, 2024

Nope, for me that didn't work. I did as follows:

git clone https://github.com/Audiveris/audiveris.git
cd audiveris
git checkout development
git pull --all
gradle build
gradle run

But the program that was built seemed to have identical behaviour as before ?

Thanks,

@hbitteur
Copy link
Contributor

hbitteur commented Dec 8, 2024

I made a similar test and it worked.
Perhaps you are not using the program the way it should be used (and this may result from a bad UI design on my side).

What you should do is to build the compound book based on your playlist, and then transcribe the compound book.

  1. Your playlist seems OK, so just open Audiveris and select the Book | Split and merge menu.
  2. In the opened dialog click on Open Playlist and navigate to your 4_pages.xml playlist file.
  3. This should result in the loading of 4 tabs, one for each of the excerpts defined by your playlist
  4. Then, click on the Action! button
  5. This prompts you for saving the newly created book, let's call it 4_pages for example, this will result in the book file 4_pages.omr.

Now, here comes a non very intuitive action, because you have these 4 tabs in front of you and you may be tempted to launch the transcription on them.
But doing so, you would launch the transcription on the original excerpt sheet, which has nothing to do with the compound. These are two different beasts, as explained in this handbook section.

What you should do is to load the compound book (4_pages.omr) and launch the transcription on it (not on any of the original excerpts).
And it would even be safer to close the excerpts before loading the compound book, to avoid any confusion.

@hbitteur
Copy link
Contributor

hbitteur commented Dec 8, 2024

As an example, I made a very small (and a bit stupid) playlist with 2 excerpts: chula.png and batuque.png.
I say "stupid" because these two images have nothing in common, but who cares, this is just for illustration purpose.

I use the book | Split and merge dialog, load my small playlist file. This results in the loading of each of the two original images.
I then press the Action! button and save the resulting compound into sam-compound.omr book file.

Then I load this compound book and see the result:

image

We can see 4 tabs:

  1. chula
  2. batuque
  3. sam-compound#1 (note that the tip indicates that "chula#1" is the input reference)
  4. '#2' (not yet loaded)

If I move the mouse over the 4th tab, I get this:
image

We can see that the input reference for sam-compound#2 is "batuque#1", which is correct

And, still from the sam-compound book, I can ask for book transcription.
Then both sheets sam-compound#1 and sam-compound#2 will be processed in sequence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants