Skip to main content

MixNode

One node on the canvas. kind says what it is and which of the fields beside it count

Attributes (20)
AttributeTypeRequiredDescription
idstringYesUnique in the flow
kind'picks' | 'onAir' | 'block' | 'split' | 'limitShare' | 'limitCount' | 'noRepeat' | 'merge' | 'require' | 'timeSwitch'Yespicks is what the station proposes and onAir what may air. block keeps the named bands off. split sends each record down the first branch it matches. limitShare and limitCount hold records past an amount of what has passed through them. noRepeat holds a record when the last record aired also passed through it. merge joins wires. require adds a record when due. timeSwitch is a number that changes at an hour
bandsstring[]Noblock: the bands it keeps off, matched by name, ignoring case
splitBy'genre' | 'artist' | 'decade' | 'hour' | 'showProgress' | 'lastGenre' | 'judged' | 'energy'Nosplit: what it reads. genre is the band's main genre, which matches a branch's value or anything that refines it, so "black metal" takes "Norwegian black metal". hour and showProgress (a percent of the show) match a branch's range. energy is the record's measured energy as a third of the station's library, low, medium or high; a record not measured yet matches no branch. judged is the model's stored answer to question, yes or no, asked once per record and kept; a record not answered yet is held at the split and waits a refill while the model is asked
branchesMixBranch[]Nosplit: its outputs in order, before the last output, "everything else"
questionstringNosplit by judged: what the model is asked about each record, once
percentnumberNolimitShare: at most this percent of the counted records in each per may pass through it. A number wired into its input 1 wins over this
countnumberNolimitCount: at most this many records in each per may pass through it
per'show' | 'hour'NolimitShare and limitCount: what the amount is counted over. Absent is show
requireGenresstring[]Norequire: the main genres that satisfy it
requireMode'any' | 'each'Norequire: any is due until one record of any of requireGenres has aired in the show, each until one of each has. Absent is any
songsMixSong[]Norequire: the records it adds, the one aired longest ago first. Absent or empty adds a library record of a required genre
afterPercentnumberNorequire: not due before this percent of the show has gone. Absent is 0
fromHournumberNotimeSwitch: the hour on the station's clock it changes at
thenValuenumberNotimeSwitch: its value from fromHour to the end of the show
elseValuenumberNotimeSwitch: its value before fromHour
bypassedbooleanNoSwitched off without being taken out: it judges nothing, counts nothing and tells the model nothing, and its wires still have to be whole. A Block, a limit or No two in a row lets every record through, a Split sends every record down "everything else", a Require never falls due and a Time switch leaves its limit on its own percent. Picks, On air and Merge cannot be bypassed. Absent is no
fromBriefstringNoThe phrase of the brief this node was drafted from, shown on the canvas. Nothing reads it
xnumberNoWhere the canvas draws it. Nothing else reads it
ynumberNo