Segment#
- class iqm.models.playlist.segment.Segment(instructions=<factory>)#
Bases:
objectContains the instructions to be executed in one segment for each channel.
- Parameters:
Module:
iqm.models.playlist.segmentAttributes
instructionsMethods
Add an instruction to the segment on a specific channel.
- add_to_segment(channel_description, instruction)#
Add an instruction to the segment on a specific channel.
Also adds the instruction to the channel’s instruction and waveform tables.
- Parameters:
channel_description (ChannelDescription) – Channel on which to add the instruction.
instruction (Instruction) – The instruction to be added
- Return type:
None