{
 "_sources": [
  {
   "type": "vendor-doc",
   "name": "norns script thorns",
   "url": "https://github.com/mpelath/thorns/tree/4cd1b45d38d3ce79033d1722a783822d6c9410f6",
   "notes": "norns script thorns: thorns.lua @ 4cd1b45. Licence GPL-3.0. Listed in norns.community (monome/norns-community community.json @ 41d05e7).",
   "firmware": "thorns-4cd1b45",
   "imported_at": "2026-10-26"
  }
 ],
 "_limitations": "Source: the Lua source of the norns script thorns by mpelath (mpelath/thorns at 4cd1b45), listed in norns.community. Shares the norns system OSC of monome/norns.vendor.fw-2.9.4 (port 10111, /param, /remote): give the norns' IP address as host override. Its own routes are the 12 parameter(s) whose id is written out in its source, read without running it, with range, options and default when written out too; set them while the script runs on the norns. Parameters added by libraries or engines outside the repository are not mapped either. A value goes in the parameter's units (an option's index from 1). MIDI is not mapped: the script's MIDI handling is its own and parameter MIDI mappings are learned by each user (PMAP). Untested on hardware.",
 "_coverage": {
  "host_software": "norns script thorns",
  "commands": 12,
  "subscriptions": 0,
  "replies": 0
 },
 "midi_of": "monome/norns.vendor.fw-2.9.4",
 "device": {
  "name": "norns",
  "vendor": "Monome",
  "revision": "script thorns (mpelath/thorns @ 4cd1b45)",
  "osc_prefix": "/norns_thorns"
 },
 "commands": [
  {
   "osc": "/param/branches",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "int",
     "range": [
      0,
      7
     ],
     "default": 0
    }
   ],
   "forward": {
    "path": "/param/branches",
    "args": [
     "{value}"
    ]
   },
   "_notes": "Branches."
  },
  {
   "osc": "/param/path",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "float",
     "default": 0.0
    }
   ],
   "forward": {
    "path": "/param/path",
    "args": [
     "{value}"
    ]
   },
   "_notes": "Path: 0 to 0.99."
  },
  {
   "osc": "/param/output_mode",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "int",
     "range": [
      1,
      3
     ],
     "values": {
      "Audio": 1,
      "MIDI": 2,
      "Both": 3
     },
     "default": 1
    }
   ],
   "forward": {
    "path": "/param/output_mode",
    "args": [
     "{value}"
    ]
   },
   "_notes": "Output Mode: option index, from 1."
  },
  {
   "osc": "/param/midi_channel",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "int",
     "range": [
      1,
      16
     ],
     "default": 1
    }
   ],
   "forward": {
    "path": "/param/midi_channel",
    "args": [
     "{value}"
    ]
   },
   "_notes": "MIDI Channel."
  },
  {
   "osc": "/param/midi_device",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "int",
     "range": [
      1,
      5
     ],
     "values": {
      "Virtual": 1,
      "Device 1": 2,
      "Device 2": 3,
      "Device 3": 4,
      "Device 4": 5
     },
     "default": 1
    }
   ],
   "forward": {
    "path": "/param/midi_device",
    "args": [
     "{value}"
    ]
   },
   "_notes": "MIDI Device: option index, from 1."
  },
  {
   "osc": "/param/base_pitch",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "int",
     "range": [
      24,
      72
     ],
     "default": 60
    }
   ],
   "forward": {
    "path": "/param/base_pitch",
    "args": [
     "{value}"
    ]
   },
   "_notes": "Base Pitch."
  },
  {
   "osc": "/param/scale",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "int",
     "range": [
      1,
      9
     ],
     "values": {
      "Major": 1,
      "Minor": 2,
      "Dorian": 3,
      "Phrygian": 4,
      "Lydian": 5,
      "Mixolydian": 6,
      "Aeolian": 7,
      "Locrian": 8,
      "Chromatic": 9
     },
     "default": 1
    }
   ],
   "forward": {
    "path": "/param/scale",
    "args": [
     "{value}"
    ]
   },
   "_notes": "Scale: option index, from 1."
  },
  {
   "osc": "/param/pitch_mod_prob",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "float",
     "default": 0.5
    }
   ],
   "forward": {
    "path": "/param/pitch_mod_prob",
    "args": [
     "{value}"
    ]
   },
   "_notes": "Pitch Mod Prob: 0 to 1."
  },
  {
   "osc": "/param/velocity_mod_prob",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "float",
     "default": 0.5
    }
   ],
   "forward": {
    "path": "/param/velocity_mod_prob",
    "args": [
     "{value}"
    ]
   },
   "_notes": "Velocity Mod Prob: 0 to 1."
  },
  {
   "osc": "/param/gate_chaos_prob",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "float",
     "default": 0.05
    }
   ],
   "forward": {
    "path": "/param/gate_chaos_prob",
    "args": [
     "{value}"
    ]
   },
   "_notes": "Gate Chaos Prob: 0 to 1."
  },
  {
   "osc": "/param/mutation_prob",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "float",
     "default": 0.5
    }
   ],
   "forward": {
    "path": "/param/mutation_prob",
    "args": [
     "{value}"
    ]
   },
   "_notes": "Mutation Prob: 0 to 1."
  },
  {
   "osc": "/param/shift_freedom",
   "section": "Parameters",
   "args": [
    {
     "name": "value",
     "type": "float",
     "default": 0.5
    }
   ],
   "forward": {
    "path": "/param/shift_freedom",
    "args": [
     "{value}"
    ]
   },
   "_notes": "Shift Freedom: 0 to 1."
  }
 ]
}
