You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the POST gets through (i.e. 201 CREATED), the MELD-Client will:
highlight the appropriate MEI elements in a colour determined based on the MC's type (choice, challenge, disklavier)
create and queue a new session for the stage determined by the MC's cue
When the footpedal triggers:
Repeat the above steps for when a muzicode triggers, but use the following body (where $Session_URI is the current $meldcollection identifier as POSTed to Muzicodes on stage load -- NOT the bypass):
MELD will automatically create new sessions to present stages that are cued in response to muzicode triggerings. But we still need a default for the case where no muzicode triggers.
To set this up, muzicodes must POST the following annotation on each stage load after receiving the session identifer from MELD (headers as above). $NextStageURI is score URI path plus stage name, e.g. 'http://127.0.0.1:5000/score/1a':
#body for queueing up default next stage on stage load
{
"oa:hasTarget": { "@id": $Session_URI},
"oa:motivatedBy": { "@id": "motivation:createNextSession" },
"oa:hasBody": { "@id": $NextStageURI}
}
Forcing a session transition
To force a session transition (for rehearsal), ASSUMING A SESSION HAS BEEN QUEUED, send the following annotation:
#body for forcing a session transition
{
"oa:hasTarget": { "@id": $Session_URI},
"oa:motivatedBy": { "@id": "motivation:transitionToNextSession" }
}