< Back to IRCAM Forum

gotolabel in Antescofo

I have been trying to use the ‘rehearsal’ option in antescofo. My score is organized into 8 sections. I have made instrument audio files of each section as well as the entire piece. I load in the asco.txt file which has the sections labeled. I load an audio file for a section, e.g. section B. I select the “LabelMenu” corresponding to section B. When I hit start, the audio file for Section B plays but the follower is looking at Section A, not Section B so score following does not work. I think it should so that in rehearsal the live performer can start somewhere other than the beginning of the piece. Am I doing something wrong?

Larry,

It should work.

The [gotolabel $1] would automatically go to the label position and STARTs… . You should see a message in Max window indicating that (or an error if not found). You do not need to push start afterwards. Pressing the start button will start from the beginning of the score.

Note that the “LabelMenu” is part of the Max patch… the menu gets populated automatically by the [getcues] command.

My suggestion is to watch the Max window and see whether with ‘gotolabel’ Antescofo has managed to position itself first; and then make sure you don’t proceed by doing ‘start’ afterwards.

Everything works as you describe except for the START. The Max window says “antescofo~ - Starting at event number 89 with label Section_B”. But following does not begin. I tried it on the antescofo~.maxhelp patch and it shows the same problem - Max window “antescofo~ - Starting at event number 89 with label Section_B”, the Tempogram window shows activity, but no score following. I’m sure I must be missing something but I would like to understand what I am doing wrong. Thanks for your help.

Thanks for sending me your patch and score to look at.

I just loaded the score, and attempted to start at “Section_B”. Looks fine… as I get this:

antescofo~ - Score loaded succesfully with 511 events and 212 actions.

antescofo~ - Starting at event number 89 with label Section_B

Now here is what we can do next: If you want me to see WHY it doesn’t follow from this point on I need to also have an audio excerpt (of this section) to test. Otherwise, looking quickly at the score I see this:

; ---------- measure 16 beat 62.00 ---------

CHORD ( 6100 4000 ) 0.5000 Section_B

CHORD ( 6100 5000 ) 0.5000

CHORD ( 6100 5900 ) 0.5000 ; chord91_63.00

I suspect (without looking at the audio) that therecognition algorithm does not hear the new events in the consecutive chords? Try declaring the second chord as

NOTE 5000

maybe and try again?

Larry,

I just tested the audio and score using the Antescofo help file. Everything seems to work! No need to change anything in the score. Here is what I did:

<li>I loaded your Score (and the performance audio for simulation)</li>

<li>[in the help patch] I opened the [p LabelMenu] patcher, pressed CLEAR and then GETCUES (it just populates the menu with labels.</li>

<li>In the main patch, I chose "Section_B" from the menu. I see this in the Max window:</li>

antescofo~ - Stopped!

antescofo~ - Starting at event number 89 with label Section_B

<li>then I just pressed the <em>toggle</em> to play the audio.. follows smoothly from there!</li>

Note: I did not press start after choosing ‘Section_B’ from the menu… just choosing the label does it all.

I suspect that there’s an additional command that enters your chain that resets Antescofo?!

BTW, I had never tested Antescofo before on polyphonic guitar! Seems to work… :slight_smile:

Hi Arshia,

I restarted Max and then loaded the text score and audio file for Section B. It worked as advertised. So I have been trying other sections and also the entire score. It works much of the time so it is an improvement. I don’t understand why it will work one time and not the next. Your new suggestion that I might need to pressed on the toggle is helpful - in those instances in which it does not start automatically it sometimes does start after I press the toggle. I will do some more testing to see if I can get it to work consistently. I will let you know of my progress.

Do you have an idea what kind of additional command might be resetting Antescofo? What might I look for?

Thanks,

Larry

Larry, the blue Start button in the help patch does two things: (1) sends Start to Antescofo (therefore starts from the BEGINNING), and (2) starts playing the audio file. So you should evade using that since it resets everything to the beginning.

The toggle in the help patch just plays the audio from a sfplay~ independently (without altering anything in Antescofo).

When you use gotolabel, you should evade sending commands to Antescofo that will reset its behavior. They include for example the following messages: start, stop, loading a new score, reloadscore.

In short: gotolabel puts Antescofo where it should be and is ready-to-go.

Arshia, Your clarification has helped very much. I can now consistently use the ‘gotolabel’ for rehearsing/testing all the sections of my piece. I still sometimes get it to start automatically and sometimes start only after I press the toggle but, one way or the other, it works.