Skip to main content

Segment

One thing the station can play that is not a record

Attributes (12)
AttributeTypeRequiredDescription
idstringYes
kindstringYesWhat sort of element it is: ident, stinger, talkbreak, news
state'planned' | 'writing' | 'written' | 'rendering' | 'ready' | 'failed'YesOne state per stage of making it. Only ready can go on air; the station skips anything else rather than waiting for it
labelstringYesWhat the console calls it, and what the mount is labelled with while it airs
sourcestringYesWho made it: library for a file dropped into the inbox
playablebooleanYesWhether there is audio behind it yet
scriptstringNoThe words, for anything that speaks. Absent for an imported recording
spokenScriptstringNoThe words as the speech engine was handed them: symbols said, years read as a person reads them, the station's pronunciation list applied. Absent until something has spoken it
sourcePathstringNoThe file in the inbox this came from. The bytes were copied, so emptying the inbox does not take it off the air
durationMsnumberNoHow long it runs. A display value: the player measures the audio itself
errorstringNoWhy it is failed
voicestringNoThe station's own name for the voice this is said in, e.g. host. Absent means the speech plugin's default