diff --git a/.gitignore b/.gitignore index f5cf888..0f32e64 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ node_modules dist/ .vscode .devcontainer -.DS_Store \ No newline at end of file +.DS_Store diff --git a/devices/audio/generic-8ch-multi.json b/devices/audio/generic-8ch-multi.json new file mode 100644 index 0000000..f9ef340 --- /dev/null +++ b/devices/audio/generic-8ch-multi.json @@ -0,0 +1,50 @@ +{ + "options": { + "vendor": "Generic", + "model": "8 Channel Audio Multicore" + }, + "inputs": [ + { + "name": "IN 1", + "type": "xlr" + }, + { + "name": "IN 2", + "type": "xlr" + }, + { + "name": "IN 3", + "type": "xlr" + }, + { + "name": "IN 4", + "type": "xlr" + }, + { + "name": "IN 5", + "type": "xlr" + }, + { + "name": "IN 6", + "type": "xlr" + }, + { + "name": "IN 7", + "type": "xlr" + }, + { + "name": "IN 8", + "type": "xlr" + } + ], + "outputs": [ + { "name": "OUT 1", "type": "xlr" }, + { "name": "OUT 2", "type": "xlr" }, + { "name": "OUT 3", "type": "xlr" }, + { "name": "OUT 4", "type": "xlr" }, + { "name": "OUT 5", "type": "xlr" }, + { "name": "OUT 6", "type": "xlr" }, + { "name": "OUT 7", "type": "xlr" }, + { "name": "OUT 8", "type": "xlr" } + ] +} diff --git a/devices/blackmagic/decklink-duo-2.json b/devices/blackmagic/decklink-duo-2.json new file mode 100644 index 0000000..9a8ec9a --- /dev/null +++ b/devices/blackmagic/decklink-duo-2.json @@ -0,0 +1,46 @@ +{ + "options": { + "vendor": "Blackmagic Design", + "model": "DeckLink Duo 2" + }, + "inputs": [ + { + "name": "SDI IN/OUT 1", + "type": "bnc" + }, + { + "name": "SDI IN/OUT 2", + "type": "bnc" + }, + { + "name": "SDI IN/OUT 3", + "type": "bnc" + }, + { + "name": "SDI IN/OUT 4", + "type": "bnc" + }, + { + "name": "REF IN", + "type": "ref" + } + ], + "outputs": [ + { + "name": "SDI IN/OUT 1", + "type": "bnc" + }, + { + "name": "SDI IN/OUT 2", + "type": "bnc" + }, + { + "name": "SDI IN/OUT 3", + "type": "bnc" + }, + { + "name": "SDI IN/OUT 4", + "type": "bnc" + } + ] +} diff --git a/devices/blackmagic/decklink-sdi-4k.json b/devices/blackmagic/decklink-sdi-4k.json new file mode 100644 index 0000000..b3a22bf --- /dev/null +++ b/devices/blackmagic/decklink-sdi-4k.json @@ -0,0 +1,17 @@ +{ + "options": { + "vendor": "Blackmagic Design", + "model": "DeckLink SDI 4K" + }, + "inputs": [ + { + "name": "SDI IN", + "type": "bnc" + }, + { + "name": "REF IN", + "type": "ref" + } + ], + "outputs": [{ "name": "SDI OUT", "type": "bnc" }] +} diff --git a/devices/blackmagic/hyperdeck-studio-4k.json b/devices/blackmagic/hyperdeck-studio-4k.json new file mode 100644 index 0000000..5a4ab9e --- /dev/null +++ b/devices/blackmagic/hyperdeck-studio-4k.json @@ -0,0 +1,31 @@ +{ + "options": { + "vendor": "Blackmagic Design", + "model": "HyperDeck Studio 4K" + }, + "inputs": [ + { + "name": "SDI IN", + "type": "bnc" + }, + { + "name": "HDMI IN", + "type": "hdmi" + }, + { + "name": "REF IN", + "type": "ref" + }, + { + "name": "ETHERNET", + "type": "rj45" + } + ], + "outputs": [ + { "name": "SDI LOOP OUT", "type": "bnc" }, + { "name": "SDI OUT 1", "type": "bnc" }, + { "name": "SDI OUT 2", "type": "bnc" }, + { "name": "HDMI OUT", "type": "hdmi" }, + { "name": "TIMECODE OUT", "type": "ltcbnc" } + ] +} diff --git a/devices/blackmagic/hyperdeck-studio-hd-mini.json b/devices/blackmagic/hyperdeck-studio-hd-mini.json new file mode 100644 index 0000000..d59ae28 --- /dev/null +++ b/devices/blackmagic/hyperdeck-studio-hd-mini.json @@ -0,0 +1,34 @@ +{ + "options": { + "vendor": "Blackmagic Design", + "model": "HyperDeck Studio HD Mini" + }, + "inputs": [ + { + "name": "SDI IN", + "type": "bnc" + }, + { + "name": "TIMECODE IN", + "type": "ltcbnc" + }, + { + "name": "REF IN", + "type": "ref" + }, + { + "name": "REMOTE IN", + "type": "de9" + }, + { + "name": "ETHERNET", + "type": "rj45" + } + ], + "outputs": [ + { "name": "SDI OUT", "type": "bnc" }, + { "name": "HDMI OUT", "type": "hdmi" }, + { "name": "TIMECODE OUT", "type": "ltcbnc" }, + { "name": "REF OUT", "type": "ref" } + ] +} diff --git a/devices/blackmagic/mini-hdmi-sdi.json b/devices/blackmagic/mini-hdmi-sdi.json new file mode 100644 index 0000000..3cdae66 --- /dev/null +++ b/devices/blackmagic/mini-hdmi-sdi.json @@ -0,0 +1,24 @@ +{ + "options": { + "vendor": "Blackmagic Design", + "model": "Mini Converter HDMI to SDI" + }, + "inputs": [ + { + "name": "HDMI IN", + "type": "hdmi" + }, + { + "name": "Ana 1 or AES", + "type": "jack" + }, + { + "name": "Ana 2", + "type": "jack" + } + ], + "outputs": [ + { "name": "SDI OUT", "type": "bnc" }, + { "name": "SDI OUT", "type": "bnc" } + ] +} diff --git a/devices/blackmagic/mini-sdi-audio copy.json b/devices/blackmagic/mini-updowncross-hd.json similarity index 100% rename from devices/blackmagic/mini-sdi-audio copy.json rename to devices/blackmagic/mini-updowncross-hd.json diff --git a/devices/blackmagic/smart-videohub-40x40.json b/devices/blackmagic/smart-videohub-40x40.json new file mode 100644 index 0000000..e89f87d --- /dev/null +++ b/devices/blackmagic/smart-videohub-40x40.json @@ -0,0 +1,222 @@ +{ + "options": { + "vendor": "Blackmagic Design", + "model": "Smart Videohub 40x40" + }, + "inputs": [ + { + "name": "Input 1", + "type": "bnc" + }, + { + "name": "Input 2", + "type": "bnc" + }, + { + "name": "Input 3", + "type": "bnc" + }, + { + "name": "Input 4", + "type": "bnc" + }, + { + "name": "Input 5", + "type": "bnc" + }, + { + "name": "Input 6", + "type": "bnc" + }, + { + "name": "Input 7", + "type": "bnc" + }, + { + "name": "Input 8", + "type": "bnc" + }, + { + "name": "Input 9", + "type": "bnc" + }, + { + "name": "Input 10", + "type": "bnc" + }, + { + "name": "Input 11", + "type": "bnc" + }, + { + "name": "Input 12", + "type": "bnc" + }, + { + "name": "Input 13", + "type": "bnc" + }, + { + "name": "Input 14", + "type": "bnc" + }, + { + "name": "Input 15", + "type": "bnc" + }, + { + "name": "Input 16", + "type": "bnc" + }, + { + "name": "Input 17", + "type": "bnc" + }, + { + "name": "Input 18", + "type": "bnc" + }, + { + "name": "Input 19", + "type": "bnc" + }, + { + "name": "Input 20", + "type": "bnc" + }, + { + "name": "Input 21", + "type": "bnc" + }, + { + "name": "Input 22", + "type": "bnc" + }, + { + "name": "Input 23", + "type": "bnc" + }, + { + "name": "Input 24", + "type": "bnc" + }, + { + "name": "Input 25", + "type": "bnc" + }, + { + "name": "Input 26", + "type": "bnc" + }, + { + "name": "Input 27", + "type": "bnc" + }, + { + "name": "Input 28", + "type": "bnc" + }, + { + "name": "Input 29", + "type": "bnc" + }, + { + "name": "Input 30", + "type": "bnc" + }, + { + "name": "Input 31", + "type": "bnc" + }, + { + "name": "Input 32", + "type": "bnc" + }, + { + "name": "Input 33", + "type": "bnc" + }, + { + "name": "Input 34", + "type": "bnc" + }, + { + "name": "Input 35", + "type": "bnc" + }, + { + "name": "Input 36", + "type": "bnc" + }, + { + "name": "Input 37", + "type": "bnc" + }, + { + "name": "Input 38", + "type": "bnc" + }, + { + "name": "Input 39", + "type": "bnc" + }, + { + "name": "Input 40", + "type": "bnc" + }, + { + "name": "REF IN", + "type": "ref" + }, + { + "name": "Control", + "type": "rj45" + } + ], + "outputs": [ + { "name": "Output 1", "type": "bnc" }, + { "name": "Output 2", "type": "bnc" }, + { "name": "Output 3", "type": "bnc" }, + { "name": "Output 4", "type": "bnc" }, + { "name": "Output 5", "type": "bnc" }, + { "name": "Output 6", "type": "bnc" }, + { "name": "Output 7", "type": "bnc" }, + { "name": "Output 8", "type": "bnc" }, + { "name": "Output 9", "type": "bnc" }, + { "name": "Output 10", "type": "bnc" }, + { "name": "Output 11", "type": "bnc" }, + { "name": "Output 12", "type": "bnc" }, + { "name": "Output 13", "type": "bnc" }, + { "name": "Output 14", "type": "bnc" }, + { "name": "Output 15", "type": "bnc" }, + { "name": "Output 16", "type": "bnc" }, + { "name": "Output 17", "type": "bnc" }, + { "name": "Output 18", "type": "bnc" }, + { "name": "Output 19", "type": "bnc" }, + { "name": "Output 20", "type": "bnc" }, + { "name": "Output 21", "type": "bnc" }, + { "name": "Output 22", "type": "bnc" }, + { "name": "Output 23", "type": "bnc" }, + { "name": "Output 24", "type": "bnc" }, + { "name": "Output 25", "type": "bnc" }, + { "name": "Output 26", "type": "bnc" }, + { "name": "Output 27", "type": "bnc" }, + { "name": "Output 28", "type": "bnc" }, + { "name": "Output 29", "type": "bnc" }, + { "name": "Output 30", "type": "bnc" }, + { "name": "Output 31", "type": "bnc" }, + { "name": "Output 32", "type": "bnc" }, + { "name": "Output 33", "type": "bnc" }, + { "name": "Output 34", "type": "bnc" }, + { "name": "Output 35", "type": "bnc" }, + { "name": "Output 36", "type": "bnc" }, + { "name": "Output 37", "type": "bnc" }, + { "name": "Output 38", "type": "bnc" }, + { "name": "Output 39", "type": "bnc" }, + { "name": "Output 40", "type": "bnc" }, + { + "name": "REF IN", + "type": "ref" + } + ] +} diff --git a/devices/blackmagic/smartscope-duo.json b/devices/blackmagic/smartscope-duo.json new file mode 100644 index 0000000..5ea9a3c --- /dev/null +++ b/devices/blackmagic/smartscope-duo.json @@ -0,0 +1,34 @@ +{ + "options": { + "vendor": "Blackmagic Design", + "model": "SmartScope Duo" + }, + "inputs": [ + { + "name": "SDI IN 1", + "type": "bnc" + }, + { + "name": "SDI IN 2", + "type": "bnc" + }, + { + "name": "Control", + "type": "rj45" + } + ], + "outputs": [ + { + "name": "SDI OUT 1", + "type": "bnc" + }, + { + "name": "SDI OUT 2", + "type": "bnc" + }, + { + "name": "Control", + "type": "rj45" + } + ] +} diff --git a/devices/blackmagic/smartview-17.json b/devices/blackmagic/smartview-17.json new file mode 100644 index 0000000..7d978cc --- /dev/null +++ b/devices/blackmagic/smartview-17.json @@ -0,0 +1,26 @@ +{ + "options": { + "vendor": "Blackmagic Design", + "model": "Smartview HD 17" + }, + "inputs": [ + { + "name": "SDI IN", + "type": "bnc" + }, + { + "name": "Control", + "type": "rj45" + } + ], + "outputs": [ + { + "name": "SDI OUT", + "type": "bnc" + }, + { + "name": "Control", + "type": "rj45" + } + ] +} diff --git a/devices/blackmagic/teranex-av-minimal.json b/devices/blackmagic/teranex-av-minimal.json new file mode 100644 index 0000000..93b8e37 --- /dev/null +++ b/devices/blackmagic/teranex-av-minimal.json @@ -0,0 +1,48 @@ +{ + "options": { + "vendor": "Blackmagic Design", + "model": "Teranex AV (Minimal)" + }, + "inputs": [ + { + "name": "XLR IN L", + "type": "xlr" + }, + { + "name": "XLR IN R", + "type": "xlr" + }, + { + "name": "SDI IN A", + "type": "bnc" + }, + { + "name": "SDI IN B", + "type": "bnc" + }, + { + "name": "HDMI IN", + "type": "hdmi" + }, + { + "name": "REF IN", + "type": "ref" + }, + { + "name": "ETHERNET", + "type": "rj45" + } + ], + "outputs": [ + { "name": "SDI LOOP OUT 1", "type": "bnc" }, + { "name": "SDI LOOP OUT 2", "type": "bnc" }, + { "name": "SDI OUT 1", "type": "bnc" }, + { "name": "SDI OUT 2", "type": "bnc" }, + { "name": "HDMI LOOP OUT", "type": "hdmi" }, + { "name": "HDMI OUT", "type": "hdmi" }, + { + "name": "REF OUT", + "type": "ref" + } + ] +} diff --git a/devices/blackmagic/teranex-av.json b/devices/blackmagic/teranex-av.json new file mode 100644 index 0000000..2436ee7 --- /dev/null +++ b/devices/blackmagic/teranex-av.json @@ -0,0 +1,64 @@ +{ + "options": { + "vendor": "Blackmagic Design", + "model": "Teranex AV" + }, + "inputs": [ + { + "name": "XLR IN L", + "type": "xlr" + }, + { + "name": "XLR IN R", + "type": "xlr" + }, + { + "name": "STEREO IN", + "type": "rca" + }, + { + "name": "SDI IN A", + "type": "bnc" + }, + { + "name": "SDI IN B", + "type": "bnc" + }, + { + "name": "HDMI IN", + "type": "hdmi" + }, + { + "name": "OPTICAL IN", + "type": "lc" + }, + { + "name": "REF IN", + "type": "ref" + }, + { + "name": "ETHERNET", + "type": "rj45" + } + ], + "outputs": [ + { "name": "SDI LOOP OUT 1", "type": "bnc" }, + { "name": "SDI LOOP OUT 2", "type": "bnc" }, + { "name": "SDI OUT 1", "type": "bnc" }, + { "name": "SDI OUT 2", "type": "bnc" }, + { "name": "HDMI LOOP OUT", "type": "hdmi" }, + { "name": "HDMI OUT", "type": "hdmi" }, + { + "name": "OPTICAL OUT", + "type": "lc" + }, + { "name": "QUAD SDI OUT A", "type": "bnc" }, + { "name": "QUAD SDI OUT B", "type": "bnc" }, + { "name": "QUAD SDI OUT C", "type": "bnc" }, + { "name": "QUAD SDI OUT D", "type": "bnc" }, + { + "name": "REF OUT", + "type": "ref" + } + ] +} diff --git a/devices/cameras/ptz-sdi.json b/devices/cameras/ptz-sdi.json new file mode 100644 index 0000000..3d553de --- /dev/null +++ b/devices/cameras/ptz-sdi.json @@ -0,0 +1,9 @@ +{ + "options": { + "vendor": "Generic", + "model": "SDI PTZ Camera", + "compact": true + }, + "inputs": [{ "type": "rj45" }], + "outputs": [{ "type": "bnc" }] +} diff --git a/devices/displays/projector-sdi.json b/devices/displays/projector-sdi.json new file mode 100644 index 0000000..e441bdf --- /dev/null +++ b/devices/displays/projector-sdi.json @@ -0,0 +1,13 @@ +{ + "options": { + "vendor": "Generic", + "model": "SDI Projector", + "compact": true + }, + "inputs": [ + { + "type": "bnc" + } + ], + "outputs": [] +} diff --git a/devices/misc/buzzer-xlr.json b/devices/misc/buzzer-xlr.json new file mode 100644 index 0000000..6f7cd1e --- /dev/null +++ b/devices/misc/buzzer-xlr.json @@ -0,0 +1,14 @@ +{ + "options": { + "vendor": "JG Audio", + "model": "Buzzer", + "compact": true + }, + "inputs": [], + "outputs": [ + { + "name": "XLR", + "type": "xlr" + } + ] +} diff --git a/devices/misc/decimator-mdhx.json b/devices/misc/decimator-mdhx.json new file mode 100644 index 0000000..3d80e46 --- /dev/null +++ b/devices/misc/decimator-mdhx.json @@ -0,0 +1,38 @@ +{ + "options": { + "vendor": "Decimator", + "model": "MDHX" + }, + "inputs": [ + { + "name": "HDMI In", + "type": "hdmi" + }, + { + "name": "SDI In", + "type": "bnc" + } + ], + "outputs": [ + { + "name": "HDMI Out", + "type": "hdmi" + }, + { + "name": "SDI Out 1", + "type": "bnc" + }, + { + "name": "SDI Out 1", + "type": "bnc" + }, + { + "name": "SDI Out 2", + "type": "bnc" + }, + { + "name": "SDI Out 2", + "type": "bnc" + } + ] +} diff --git a/devices/misc/drop-rj45.json b/devices/misc/drop-rj45.json new file mode 100644 index 0000000..0adc7f8 --- /dev/null +++ b/devices/misc/drop-rj45.json @@ -0,0 +1,15 @@ +{ + "options": { + "vendor": "Cable Drop", + "model": "RJ45", + "placeholders": true, + "compact": true + }, + "inputs": [], + "outputs": [ + { + "name": "RJ45", + "type": "rj45" + } + ] +} diff --git a/devices/misc/drop-sdi.json b/devices/misc/drop-sdi.json new file mode 100644 index 0000000..06db176 --- /dev/null +++ b/devices/misc/drop-sdi.json @@ -0,0 +1,15 @@ +{ + "options": { + "vendor": "Cable Drop", + "model": "SDI", + "placeholders": true, + "compact": true + }, + "inputs": [], + "outputs": [ + { + "name": "SDI", + "type": "bnc" + } + ] +} diff --git a/devices/misc/drop-xlr copy.json b/devices/misc/drop-xlr copy.json new file mode 100644 index 0000000..4b01060 --- /dev/null +++ b/devices/misc/drop-xlr copy.json @@ -0,0 +1,14 @@ +{ + "options": { + "vendor": "Cable Drop", + "model": "XLR", + "compact": true + }, + "inputs": [], + "outputs": [ + { + "name": "XLR", + "type": "xlr" + } + ] +} diff --git a/devices/misc/drop-xlr.json b/devices/misc/drop-xlr.json new file mode 100644 index 0000000..4b01060 --- /dev/null +++ b/devices/misc/drop-xlr.json @@ -0,0 +1,14 @@ +{ + "options": { + "vendor": "Cable Drop", + "model": "XLR", + "compact": true + }, + "inputs": [], + "outputs": [ + { + "name": "XLR", + "type": "xlr" + } + ] +} diff --git a/devices/misc/pc-balance-box.json b/devices/misc/pc-balance-box.json new file mode 100644 index 0000000..df0abad --- /dev/null +++ b/devices/misc/pc-balance-box.json @@ -0,0 +1,23 @@ +{ + "options": { + "vendor": "Generic", + "model": "PC Balance Box", + "placeholders": false + }, + "inputs": [ + { + "name": "3.5mm", + "type": "rca" + } + ], + "outputs": [ + { + "name": "Left", + "type": "xlr" + }, + { + "name": "Right", + "type": "xlr" + } + ] +} diff --git a/drawio.js b/drawio.js index be7e56a..e3ad5a2 100644 --- a/drawio.js +++ b/drawio.js @@ -25,6 +25,10 @@ let SocketTypes = { colour: "#ff4500", name: "XLR", }, + rca: { + colour: "#ff4500", + name: "RCA", + }, rj45: { colour: "#00FF00", name: "RJ45", @@ -53,6 +57,10 @@ let SocketTypes = { colour: "#0000ff", name: "VGA", }, + lc: { + colour: "#003300", + name: "LC", + }, }; (async () => { diff --git a/package-lock.json b/package-lock.json index b8a86c9..8600026 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "gtv", + "name": "autocad-lite", "lockfileVersion": 2, "requires": true, "packages": {