Skip to content

Instantly share code, notes, and snippets.

@oneman
Created October 9, 2012 05:47
Show Gist options
  • Save oneman/3856859 to your computer and use it in GitHub Desktop.
Save oneman/3856859 to your computer and use it in GitHub Desktop.
Krad Radio Nomenclature / Formal Definition / Brainstorm
Units - May be or have subunits
Controls - Changes one or more parameters, and/or causes an operation
Parameter - A user controllable value of a unit, has a datatype and in some cases value range
Indicator - A read only value of a unit
Groups - Units can be in zero or more groups, groups are also units
Tags - Units can have zero or more tags, allways text
Operation - May add or remove units in addtion to changing parameters
Examples:
Top level unit: station
Primary Units: Mixer, Compositor
Subunits: Portgroup, Videoport, Sprite, etc
Controls/Parameters: Volume, Bitrate
Operation Controls: Adding a portgroup
Indicators: Recording Length, Peak Level
Groups: Mixer Buses, Compositor Layers
Unit List:
Station
Mixer
Compositor
Transponder
Station, Mixer, Compositor, Transponder units are single instance are not members of any group.
Mixer:
Subunits:
Portgroup
Parameters:
Sample Rate - Int
OpControls:
Add Portgroup
Remove Portgroup
Compositor:
Subunits:
Videoport
Sprite
Text
Vector
Parameters:
Resolution
Frame Rate
Transponder:
Subunits:
Recorder (Recording to disk)
Player (Reading from disk)
Transmitter (handles outgoing stream connection requests, transmissions)
Receiver (handles incoming stream connection requests, reception)
Video Encoder
Video Decoder
Audio Encoder
Audio Decoder
Muxer
Demuxer
Compositor Subunits:
Videoport - Sprite - Text - Vector
Shared Controls:
x
y
z
width
height
rotation
opacity
xscale
yscale
text:
font
color
vector
type
color
sprite
filename
animation frame rate
videoport
source_width
source_height
source framerate numerator
source framerate denominator
source link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment