Ever lose your mind trying to unpack massive dictionaries in Max8? #bigdata = bigproblems 📊 🤯 📈
Try this useful little js helper tool to automagically script the arguments required to parse dictionaries in MaxMSP / Jitter
- Checks for types (Float, Int,Symbols)
- Creates a
[dict.unpack]
object with an argument for every key in the dictionary - Spawns the appropriate UI objects and comment annotations in the parent and in the subpatcher
- Save this script as
autodictunpack.js
in your Search Paths - Instantiate
[js autodictunpack.js]
in any patch you're working on - Connect the third outlet of a dictionary in your patch
- Send it the
getkeys
message