Skip to content

Main content

Actor Scene Line Count Tool

Count line records assigned to an explicit actor code; multiline speech segmentation is supplied by the caller.

Loading tool…

Description

Require nonempty actorCode and count exact matches in lineSpeakers.

Performance timing can use clock labels, durations, cues, or frame counts. These are different coordinate systems, and a local time label alone does not determine a timezone-aware instant.

Require nonempty actorCode and count exact matches in lineSpeakers.

When to use this tool

Use Actor Scene Line Count when you need one cue, duration, or frame-based component under the stated time convention.

How to use the tool and how it works

  1. Enter lineSpeakers, actorCode. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read lineCount. Use the output convention below.

Require nonempty actorCode and count exact matches in lineSpeakers.1

Input fieldMeaning and unitsAccepted input
lineSpeakersLine SpeakersRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
actorCodeActor CodeRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
lineCountLine CountRequired. Safe integer.
json
{
  "input": {
    "lineSpeakers": [
      "A",
      "B",
      "A",
      "C",
      "A"
    ],
    "actorCode": "A"
  },
  "output": {
    "lineCount": 3
  }
}

Limitations and assumptions

  • Each array entry counts as one line; text wrapping, speech duration, shared lines, and script or performer identity are not interpreted.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Check the complete running order and the actual playback or clock system before coordinating an event.

References

  1. Calculation and input contract: performing-arts/actor-scene-line-count — tool.io

Similar or alternative tools