{
  "$schema": "https://raw.githubusercontent.com/OpenLightingProject/open-fixture-library/schema-12.5.0/schemas/fixture.json",
  "name": "Crazy Pocket 8",
  "shortName": "ADJCrazyPocket8",
  "categories": ["Moving Head", "Color Changer"],
  "meta": {
    "authors": ["Felix Edelmann"],
    "createDate": "2019-05-08",
    "lastModifyDate": "2019-05-08"
  },
  "links": {
    "manual": [
      "https://cdb.s3-us-west-1.amazonaws.com/ItemRelatedFiles/8887/crazy_pocket_8.pdf"
    ],
    "productPage": [
      "https://www.adj.com/crazy-pocket-8"
    ],
    "video": [
      "https://www.youtube.com/watch?v=6P0B1ANc_I4",
      "https://www.youtube.com/watch?v=mNvEVIV2qvE"
    ]
  },
  "physical": {
    "dimensions": [297.5, 262, 149],
    "weight": 3.5,
    "power": 59,
    "DMXconnector": "3-pin",
    "bulb": {
      "type": "8× 3W LEDs (2× red, 2× green, 2× blue, 2× amber)"
    },
    "lens": {
      "degreesMinMax": [4, 4]
    }
  },
  "matrix": {
    "pixelKeys": [
      [
        [
          "Amber Top",
          "Blue Top",
          "Green Top",
          "Red Top"
        ],
        [
          null,
          null,
          null,
          null
        ],
        [
          "Amber Bottom",
          "Blue Bottom",
          "Green Bottom",
          "Red Bottom"
        ]
      ]
    ],
    "pixelGroups": {
      "Master": "all",
      "Top": {
        "name": [
          " Top$"
        ]
      },
      "Bottom": {
        "name": [
          " Bottom$"
        ]
      }
    }
  },
  "availableChannels": {
    "Shows": {
      "defaultValue": 0,
      "capabilities": [
        {
          "dmxRange": [0, 7],
          "type": "NoFunction",
          "comment": "Blackout"
        },
        {
          "dmxRange": [8, 69],
          "type": "Effect",
          "effectName": "Show 1"
        },
        {
          "dmxRange": [70, 131],
          "type": "Effect",
          "effectName": "Show 2"
        },
        {
          "dmxRange": [132, 193],
          "type": "Effect",
          "effectName": "Show 3"
        },
        {
          "dmxRange": [194, 247],
          "type": "Effect",
          "effectName": "Show 4"
        },
        {
          "dmxRange": [248, 255],
          "type": "Effect",
          "effectName": "Show 0"
        }
      ]
    },
    "Pan": {
      "fineChannelAliases": ["Pan fine"],
      "defaultValue": 0,
      "capability": {
        "type": "Pan",
        "angleStart": "0deg",
        "angleEnd": "540deg"
      }
    },
    "Shutter / Strobe": {
      "defaultValue": 0,
      "capabilities": [
        {
          "dmxRange": [0, 7],
          "type": "ShutterStrobe",
          "shutterEffect": "Open"
        },
        {
          "dmxRange": [8, 131],
          "type": "ShutterStrobe",
          "shutterEffect": "Strobe",
          "speedStart": "slow",
          "speedEnd": "fast"
        },
        {
          "dmxRange": [132, 139],
          "type": "ShutterStrobe",
          "shutterEffect": "Open"
        },
        {
          "dmxRange": [140, 181],
          "type": "ShutterStrobe",
          "shutterEffect": "RampUp"
        },
        {
          "dmxRange": [182, 189],
          "type": "ShutterStrobe",
          "shutterEffect": "Open"
        },
        {
          "dmxRange": [190, 231],
          "type": "ShutterStrobe",
          "shutterEffect": "RampDown"
        },
        {
          "dmxRange": [232, 239],
          "type": "ShutterStrobe",
          "shutterEffect": "Open"
        },
        {
          "dmxRange": [240, 247],
          "type": "ShutterStrobe",
          "shutterEffect": "Strobe",
          "soundControlled": true
        },
        {
          "dmxRange": [248, 255],
          "type": "ShutterStrobe",
          "shutterEffect": "Open"
        }
      ]
    },
    "Dimmer": {
      "defaultValue": 0,
      "capability": {
        "type": "Intensity"
      }
    },
    "Chases": {
      "defaultValue": 0,
      "capabilities": [
        {
          "dmxRange": [0, 7],
          "type": "NoFunction"
        },
        {
          "dmxRange": [8, 22],
          "type": "Effect",
          "effectName": "Chase 1"
        },
        {
          "dmxRange": [23, 37],
          "type": "Effect",
          "effectName": "Chase 2"
        },
        {
          "dmxRange": [38, 52],
          "type": "Effect",
          "effectName": "Chase 3"
        },
        {
          "dmxRange": [53, 67],
          "type": "Effect",
          "effectName": "Chase 4"
        },
        {
          "dmxRange": [68, 82],
          "type": "Effect",
          "effectName": "Chase 5"
        },
        {
          "dmxRange": [83, 97],
          "type": "Effect",
          "effectName": "Chase 6"
        },
        {
          "dmxRange": [98, 112],
          "type": "Effect",
          "effectName": "Chase 7"
        },
        {
          "dmxRange": [113, 127],
          "type": "Effect",
          "effectName": "Chase 8"
        },
        {
          "dmxRange": [128, 142],
          "type": "Effect",
          "effectName": "Chase 9"
        },
        {
          "dmxRange": [143, 157],
          "type": "Effect",
          "effectName": "Chase 10"
        },
        {
          "dmxRange": [158, 172],
          "type": "Effect",
          "effectName": "Chase 11"
        },
        {
          "dmxRange": [173, 187],
          "type": "Effect",
          "effectName": "Chase 12"
        },
        {
          "dmxRange": [188, 202],
          "type": "Effect",
          "effectName": "Chase 13"
        },
        {
          "dmxRange": [203, 217],
          "type": "Effect",
          "effectName": "Chase 14"
        },
        {
          "dmxRange": [218, 232],
          "type": "Effect",
          "effectName": "Chase 15"
        },
        {
          "dmxRange": [233, 247],
          "type": "Effect",
          "effectName": "Chase 16"
        },
        {
          "dmxRange": [248, 255],
          "type": "ColorPreset",
          "comment": "Full on",
          "colors": ["#ff0000", "#00ff00", "#0000ff", "#ffaa00"]
        }
      ]
    },
    "Chase Speed": {
      "capability": {
        "type": "EffectSpeed",
        "speedStart": "slow",
        "speedEnd": "fast"
      }
    },
    "Pan/Tilt Speed": {
      "defaultValue": 0,
      "capability": {
        "type": "PanTiltSpeed",
        "speedStart": "fast",
        "speedEnd": "slow"
      }
    },
    "Reset / Blackout": {
      "defaultValue": 0,
      "capabilities": [
        {
          "dmxRange": [0, 69],
          "type": "NoFunction"
        },
        {
          "dmxRange": [70, 79],
          "type": "Maintenance",
          "comment": "Blackout at pan/tilt movement"
        },
        {
          "dmxRange": [80, 89],
          "type": "Maintenance",
          "comment": "Reset tilt top"
        },
        {
          "dmxRange": [90, 99],
          "type": "Maintenance",
          "comment": "Reset tilt bottom"
        },
        {
          "dmxRange": [100, 109],
          "type": "Maintenance",
          "comment": "Reset pan"
        },
        {
          "dmxRange": [110, 199],
          "type": "NoFunction"
        },
        {
          "dmxRange": [200, 209],
          "type": "Maintenance",
          "comment": "Reset all"
        },
        {
          "dmxRange": [210, 255],
          "type": "NoFunction"
        }
      ]
    },
    "Dimmer Mode": {
      "capabilities": [
        {
          "dmxRange": [0, 20],
          "type": "Maintenance",
          "comment": "Standard"
        },
        {
          "dmxRange": [21, 40],
          "type": "Maintenance",
          "comment": "Stage"
        },
        {
          "dmxRange": [41, 60],
          "type": "Maintenance",
          "comment": "TV"
        },
        {
          "dmxRange": [61, 80],
          "type": "Maintenance",
          "comment": "Architectural"
        },
        {
          "dmxRange": [81, 100],
          "type": "Maintenance",
          "comment": "Theatre"
        },
        {
          "dmxRange": [101, 255],
          "type": "Maintenance",
          "comment": "Default setting"
        }
      ]
    }
  },
  "templateChannels": {
    "Tilt $pixelKey": {
      "fineChannelAliases": ["Tilt $pixelKey fine"],
      "capability": {
        "type": "Tilt",
        "angleStart": "0deg",
        "angleEnd": "205deg"
      }
    },
    "Red $pixelKey": {
      "defaultValue": 0,
      "capability": {
        "type": "ColorIntensity",
        "color": "Red"
      }
    },
    "Green $pixelKey": {
      "defaultValue": 0,
      "capability": {
        "type": "ColorIntensity",
        "color": "Green"
      }
    },
    "Blue $pixelKey": {
      "defaultValue": 0,
      "capability": {
        "type": "ColorIntensity",
        "color": "Blue"
      }
    },
    "Amber $pixelKey": {
      "defaultValue": 0,
      "capability": {
        "type": "ColorIntensity",
        "color": "Amber"
      }
    }
  },
  "modes": [
    {
      "name": "1-channel",
      "shortName": "1ch",
      "channels": [
        "Shows"
      ]
    },
    {
      "name": "9-channel",
      "shortName": "9ch",
      "channels": [
        "Pan",
        "Tilt Top",
        "Tilt Bottom",
        "Shutter / Strobe",
        "Dimmer",
        "Chases",
        "Chase Speed",
        "Pan/Tilt Speed",
        "Reset / Blackout"
      ]
    },
    {
      "name": "17-channel",
      "shortName": "17ch",
      "channels": [
        "Pan",
        "Pan fine",
        "Tilt Top",
        "Tilt Top fine",
        "Tilt Bottom",
        "Tilt Bottom fine",
        "Red Master",
        "Green Master",
        "Blue Master",
        "Amber Master",
        "Shutter / Strobe",
        "Dimmer",
        "Chases",
        "Chase Speed",
        "Pan/Tilt Speed",
        "Reset / Blackout",
        "Dimmer Mode"
      ]
    },
    {
      "name": "21-channel",
      "shortName": "21ch",
      "channels": [
        "Pan",
        "Pan fine",
        "Tilt Top",
        "Tilt Top fine",
        "Tilt Bottom",
        "Tilt Bottom fine",
        {
          "insert": "matrixChannels",
          "repeatFor": [
            "Top",
            "Bottom"
          ],
          "channelOrder": "perPixel",
          "templateChannels": [
            "Red $pixelKey",
            "Green $pixelKey",
            "Blue $pixelKey",
            "Amber $pixelKey"
          ]
        },
        "Shutter / Strobe",
        "Dimmer",
        "Chases",
        "Chase Speed",
        "Pan/Tilt Speed",
        "Reset / Blackout",
        "Dimmer Mode"
      ]
    }
  ],
  "fixtureKey": "crazy-pocket-8",
  "manufacturerKey": "american-dj",
  "oflURL": "https://open-fixture-library.org/american-dj/crazy-pocket-8"
}
