Skip to content

Instantly share code, notes, and snippets.

@streamer45
Last active Aug 29, 2015
Embed
What would you like to do?
- alsa: '{"title" : "alsa","type" : "object","properties" : {"card" : {"type" : "number" },"name" : {"type" : "string" ,"maxLength" : 39 },"required" : ["card","name"]}}'
alsa_path: '{"title" : "alsa_path","type" : "object","properties" : {"card_num" : {"type" : "number" },"required" : ["card_num"]}}'
app_server: '{"title" : "app_server","type" : "object","properties" : {"clients" : {"type" : "number" },"uptime" : {"type" : "number" },"required" : ["clients","uptime"]}}'
router: '{"title" : "router","type" : "object","properties" : {"maps" : {"type" : "number" },"required" : ["maps"]}}'
router_map: '{"title" : "router_map","type" : "object","properties" : {"endpoints" : {"type" : "number" },"required" : ["endpoints"]}}'
sprite: '{"title" : "sprite","type" : "object","properties" : {"filename" : {"type" : "string" ,"maxLength" : 255 },"rate" : {"type" : "number" },"controls" : {"type" : "object","properties" : {"x" : {"type" : "number" },"y" : {"type" : "number" },"z" : {"type" : "number" },"w" : {"type" : "number" },"h" : {"type" : "number" },"rotation" : {"type" : "number" },"opacity" : {"type" : "number" },"required" : ["x","y","z","w","h","rotation","opacity"]}},"required" : ["filename","rate"]}}'
text: '{"title" : "text","type" : "object","properties" : {"string" : {"type" : "string" ,"maxLength" : 511 },"font" : {"type" : "string" ,"maxLength" : 255 },"red" : {"type" : "number" },"green" : {"type" : "number" },"blue" : {"type" : "number" },"controls" : {"type" : "object","properties" : {"x" : {"type" : "number" },"y" : {"type" : "number" },"z" : {"type" : "number" },"w" : {"type" : "number" },"h" : {"type" : "number" },"rotation" : {"type" : "number" },"opacity" : {"type" : "number" },"required" : ["x","y","z","w","h","rotation","opacity"]}},"required" : ["string","font","red","green","blue"]}}'
vector: '{"title" : "vector","type" : "object","properties" : {"type" : {"enum": ["NOTHING","HEX","CIRCLE","RECT","TRIANGLE","VIPER","METER","GRID","CURVE","ARROW","CLOCK","SHADOW"]},"red" : {"type" : "number" },"green" : {"type" : "number" },"blue" : {"type" : "number" },"controls" : {"type" : "object","properties" : {"x" : {"type" : "number" },"y" : {"type" : "number" },"z" : {"type" : "number" },"w" : {"type" : "number" },"h" : {"type" : "number" },"rotation" : {"type" : "number" },"opacity" : {"type" : "number" },"required" : ["x","y","z","w","h","rotation","opacity"]}},"required" : ["red","green","blue"]}}'
compositor_path: '{"title" : "compositor_path","type" : "object","properties" : {"type" : {"enum": ["KR_CMP_OUTPUT","KR_CMP_INPUT","KR_CMP_BUS"]},"width" : {"type" : "number" },"height" : {"type" : "number" },"crop_x" : {"type" : "number" },"crop_y" : {"type" : "number" },"crop_width" : {"type" : "number" },"crop_height" : {"type" : "number" },"view" : {"type" : "object","properties" : {"top_left" : {"type" : "object","properties" : {"x" : {"type" : "number" },"y" : {"type" : "number" },"required" : ["x","y"]}},"top_right" : {"type" : "object","properties" : {"x" : {"type" : "number" },"y" : {"type" : "number" },"required" : ["x","y"]}},"bottom_left" : {"type" : "object","properties" : {"x" : {"type" : "number" },"y" : {"type" : "number" },"required" : ["x","y"]}},"bottom_right" : {"type" : "object","properties" : {"x" : {"type" : "number" },"y" : {"type" : "number" },"required" : ["x","y"]}},"required" : []}},"controls" : {"type" : "object","properties" : {"x" : {"type" : "number" },"y" : {"type" : "number" },"z" : {"type" : "number" },"w" : {"type" : "number" },"h" : {"type" : "number" },"rotation" : {"type" : "number" },"opacity" : {"type" : "number" },"required" : ["x","y","z","w","h","rotation","opacity"]}},"required" : ["width","height","crop_x","crop_y","crop_width","crop_height"]}}'
decklink: '{"title" : "decklink","type" : "object","properties" : {"device" : {"type" : "string" ,"maxLength" : 63 },"required" : ["device"]}}'
decklink_path: '{"title" : "decklink_path","type" : "object","properties" : {"device" : {"type" : "string" ,"maxLength" : 63 },"width" : {"type" : "number" },"height" : {"type" : "number" },"num" : {"type" : "number" },"den" : {"type" : "number" },"video_connector" : {"type" : "string" ,"maxLength" : 63 },"audio_connector" : {"type" : "string" ,"maxLength" : 63 },"required" : ["device","width","height","num","den","video_connector","audio_connector"]}}'
jack_setup: '{"title" : "jack_setup","type" : "object","properties" : {"client_name" : {"type" : "string" ,"maxLength" : 63 },"server_name" : {"type" : "string" ,"maxLength" : 63 },"required" : ["client_name","server_name"]}}'
jack: '{"title" : "jack","type" : "object","properties" : {"client_name" : {"type" : "string" ,"maxLength" : 63 },"server_name" : {"type" : "string" ,"maxLength" : 63 },"state" : {"enum": ["KR_JACK_OFFLINE","KR_JACK_ONLINE"]},"inputs" : {"type" : "number" },"outputs" : {"type" : "number" },"sample_rate" : {"type" : "number" },"period_size" : {"type" : "number" },"xruns" : {"type" : "number" },"frames" : {"type" : "number" },"required" : ["client_name","server_name","inputs","outputs","sample_rate","period_size","xruns","frames"]}}'
jack_path: '{"title" : "jack_path","type" : "object","properties" : {"name" : {"type" : "string" ,"maxLength" : 63 },"channels" : {"type" : "number" },"direction" : {"enum": ["KR_JACK_INPUT","KR_JACK_OUTPUT"]},"required" : ["name","channels"]}}'
mixer_path: '{"title" : "mixer_path","type" : "object","properties" : {"type" : {"enum": ["KR_MXR_SOURCE","KR_MXR_INPUT","KR_MXR_BUS","KR_MXR_OUTPUT"]},"channels" : {"enum": ["NIL","MONO","STEREO","THREE","QUAD","FIVE","SIX","SEVEN","EIGHT"]},"lowpass" : {"type" : "object","properties" : {"bw" : {"type" : "number" },"hz" : {"type" : "number" },"required" : ["bw","hz"]}},"highpass" : {"type" : "object","properties" : {"bw" : {"type" : "number" },"hz" : {"type" : "number" },"required" : ["bw","hz"]}},"analog" : {"type" : "object","properties" : {"drive" : {"type" : "number" },"blend" : {"type" : "number" },"required" : ["drive","blend"]}},"eq" : {"type" : "object","properties" : {"band" : {"type" : "object","properties" : {"db" : {"type" : "number" },"bw" : {"type" : "number" },"hz" : {"type" : "number" },"required" : ["db","bw","hz"]}},"required" : []}},"volume" : {"type" : "object","properties" : {"level" : {"type" : "number" },"required" : ["level"]}},"required" : []}}'
pass: '{"title" : "pass","type" : "object","properties" : {"bw" : {"type" : "number" },"hz" : {"type" : "number" },"type" : {"enum": ["KR_SFX_NONE","KR_SFX_EQ","KR_SFX_LOWPASS","KR_SFX_HIGHPASS","KR_SFX_ANALOG","KR_SFX_VOLUME"]},"required" : ["bw","hz"]}}'
eq_band: '{"title" : "eq_band","type" : "object","properties" : {"db" : {"type" : "number" },"bw" : {"type" : "number" },"hz" : {"type" : "number" },"required" : ["db","bw","hz"]}}'
eq: '{"title" : "eq","type" : "object","properties" : {"band" : {"type" : "object","properties" : {"db" : {"type" : "number" },"bw" : {"type" : "number" },"hz" : {"type" : "number" },"required" : ["db","bw","hz"]}},"required" : []}}'
lowpass: '{"title" : "lowpass","type" : "object","properties" : {"bw" : {"type" : "number" },"hz" : {"type" : "number" },"required" : ["bw","hz"]}}'
highpass: '{"title" : "highpass","type" : "object","properties" : {"bw" : {"type" : "number" },"hz" : {"type" : "number" },"required" : ["bw","hz"]}}'
volume: '{"title" : "volume","type" : "object","properties" : {"level" : {"type" : "number" },"required" : ["level"]}}'
analog: '{"title" : "analog","type" : "object","properties" : {"drive" : {"type" : "number" },"blend" : {"type" : "number" },"required" : ["drive","blend"]}}'
adapter: '{"title" : "adapter","type" : "object","properties" : {"api" : {"enum": ["KR_ADP_JACK","KR_ADP_WAYLAND","KR_ADP_V4L2","KR_ADP_DECKLINK","KR_ADP_X11","KR_ADP_ALSA","KR_ADP_KRAD","KR_ADP_ENCODER"]},"required" : []}}'
adapter_path: '{"title" : "adapter_path","type" : "object","properties" : {"name" : {"type" : "string" ,"maxLength" : 63 },"dir" : {"enum": ["KR_ADP_PATH_INPUT","KR_ADP_PATH_OUTPUT"]},"api" : {"enum": ["KR_ADP_JACK","KR_ADP_WAYLAND","KR_ADP_V4L2","KR_ADP_DECKLINK","KR_ADP_X11","KR_ADP_ALSA","KR_ADP_KRAD","KR_ADP_ENCODER"]},"required" : ["name"]}}'
transponder: '{"title" : "transponder","type" : "object","properties" : {"active_paths" : {"type" : "number" },"required" : ["active_paths"]}}'
transponder_path_io: '{"title" : "transponder_path_io","type" : "object","properties" : {"type" : {"enum": ["KR_XPDR_MIXER","KR_XPDR_COMPOSITOR","KR_XPDR_ADAPTER"]},"required" : []}}'
transponder_path: '{"title" : "transponder_path","type" : "object","properties" : {"input" : {"type" : "object","properties" : {"type" : {"enum": ["KR_XPDR_MIXER","KR_XPDR_COMPOSITOR","KR_XPDR_ADAPTER"]},"required" : []}},"output" : {"type" : "object","properties" : {"type" : {"enum": ["KR_XPDR_MIXER","KR_XPDR_COMPOSITOR","KR_XPDR_ADAPTER"]},"required" : []}},"required" : []}}'
v4l2: '{"title" : "v4l2","type" : "object","properties" : {"dev" : {"type" : "number" },"priority" : {"type" : "number" },"state" : {"enum": ["KR_V4L2_VOID","KR_V4L2_OPEN","KR_V4L2_CAPTURE"]},"mode" : {"type" : "object","properties" : {"width" : {"type" : "number" },"height" : {"type" : "number" },"num" : {"type" : "number" },"den" : {"type" : "number" },"format" : {"type" : "number" },"required" : ["width","height","num","den","format"]}},"required" : ["dev","priority"]}}'
v4l2_open: '{"title" : "v4l2_open","type" : "object","properties" : {"dev" : {"type" : "number" },"priority" : {"type" : "number" },"mode" : {"type" : "object","properties" : {"width" : {"type" : "number" },"height" : {"type" : "number" },"num" : {"type" : "number" },"den" : {"type" : "number" },"format" : {"type" : "number" },"required" : ["width","height","num","den","format"]}},"required" : ["dev","priority"]}}'
wayland: '{"title" : "wayland","type" : "object","properties" : {"state" : {"type" : "number" },"display_name" : {"type" : "string" ,"maxLength" : 127 },"required" : ["state","display_name"]}}'
wayland_path: '{"title" : "wayland_path","type" : "object","properties" : {"display_name" : {"type" : "string" ,"maxLength" : 127 },"state" : {"type" : "number" },"width" : {"type" : "number" },"height" : {"type" : "number" },"fullscreen" : {"type" : "number" },"required" : ["display_name","state","width","height","fullscreen"]}}'
x11: '{"title" : "x11","type" : "object","properties" : {"display" : {"type" : "string" ,"maxLength" : 63 },"required" : ["display"]}}'
x11_path: '{"title" : "x11_path","type" : "object","properties" : {"display" : {"type" : "string" ,"maxLength" : 63 },"width" : {"type" : "number" },"height" : {"type" : "number" },"num" : {"type" : "number" },"den" : {"type" : "number" },"x" : {"type" : "number" },"y" : {"type" : "number" },"required" : ["display","width","height","num","den","x","y"]}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment