Code:
{"version":1,"settings":{"main":{},"OSC":{"RedirectDebugToConsole":false},"arduino":{"ExportForOSC":true,"useExportDialog":true,"ProjectName":"TestDelayExtClass","StandardIncludeHeader":"#include <Arduino.h>\n#include <Audio.h>\n#include <Wire.h>\n#include <SPI.h>\n#include <SD.h>\n#include <SerialFlash.h>\n\n#include <OSCAudioBase.h>\n","Board":{"Platform":"","Board":"teensy41","Options":""}},"BiDirDataWebSocketBridge":{},"workspaces":{},"sidebar":{},"palette":{},"editor":{},"devTest":{},"IndexedDBfiles":{"testFileNames":"testFile.txt"},"NodeDefGenerator":{},"NodeDefManager":{},"NodeHelpManager":{}},"workspaces":[{"type":"tab","id":"Main","label":"AudioMain","nodes":[{"id":"20220403T101520_519Z_b5ff","type":"UI_Button","name":"enable","tag":"","comment":"","w":59,"h":30,"textSize":14,"midiCh":"0","midiId":"0","pressAction":"","repeatPressAction":false,"releaseAction":"","repeatReleaseAction":false,"local":"true","sendCommand":"","x":815,"y":315,"z":"Main","bgColor":"#F6F8BC","wires":[]},{"id":"20220406T084810_432Z_9fb2","type":"AudioSynthWaveform","name":"waveform1","comment":"","arraySize":1,"x":329,"y":428,"z":"Main","bgColor":"#E6E0F8","wires":[["20220403T144247_683Z_d069:0","20220406T165807_908Z_70b:0"]]},{"id":"20220404T073750_610Z_ef7c","type":"AudioEffectDelayExternal","name":"delayExt","comment":"","arraySize":1,"outputs":"8","useMakeConstructor":true,"memtype":"3","maxDelay":"2000.0","x":447,"y":324,"z":"Main","bgColor":"#E6E0F8","wires":[["20220403T101126_926Z_fdb0:1"],["20220403T101126_926Z_fdb0:2"],["20220403T101126_926Z_fdb0:3"],[],[],[],[],[]]},{"id":"20220403T144247_683Z_d069","type":"Looper","name":"looper[6]","comment":"","arraySize":6,"x":480,"y":425,"z":"Main","bgColor":"#CCFFCC","wires":[["20220403T101126_926Z_fdb0:4"],["20220403T101126_926Z_fdb0:5"]]},{"id":"20220406T165807_908Z_70b","type":"Looper","name":"leaper[2]","comment":"","arraySize":2,"x":480,"y":505,"z":"Main","bgColor":"#CCFFCC","wires":[["20220403T101126_926Z_fdb0:7"],["20220403T101126_926Z_fdb0:6"]]},{"id":"20220403T101152_742Z_188a","type":"AudioSynthWaveform","name":"waveform","comment":"","arraySize":1,"x":510,"y":175,"z":"Main","bgColor":"#E6E0F8","wires":[["20220403T101126_926Z_fdb0:0","20220403T101052_022Z_d9d8:0"]]},{"id":"20220403T101126_926Z_fdb0","type":"AudioMixer","name":"mixer","comment":"","arraySize":1,"inputs":8,"ExtraInputs":0,"RealInputs":20,"x":706,"y":198,"z":"Main","bgColor":"#E6E0F8","wires":[["20220403T101052_022Z_d9d8:1","20220404T073750_610Z_ef7c:0"]]},{"id":"20220403T101105_747Z_c59e","type":"AudioControlSGTL5000","name":"sgtl5000","comment":"","x":720,"y":315,"z":"Main","bgColor":"#E6E0F8","wires":[]},{"id":"20220403T101052_022Z_d9d8","type":"AudioOutputI2S","name":"i2s","comment":"","x":840,"y":190,"z":"Main","bgColor":"#E6E0F8","wires":[]}],"links":[],"export":true,"isMain":false,"mainNameType":"tabName","mainNameExt":".ino","isAudioMain":true,"generateCppDestructor":true,"extraClassDeclarations":"","settings":{}},{"type":"tab","id":"20220403T144054_680Z_dbe1","label":"Looper","nodes":[{"id":"20220403T144134_869Z_5d8f","type":"TabInput","name":"In","comment":"","outputs":1,"x":285,"y":60,"z":"20220403T144054_680Z_dbe1","bgColor":"#cce6ff","wires":[["20220404T132211_328Z_1163:0","20220406T130144_493Z_8845:0"]]},{"id":"20220403T144140_901Z_edd7","type":"TabOutput","name":"MixOut","comment":"","inputs":1,"x":730,"y":75,"z":"20220403T144054_680Z_dbe1","bgColor":"#cce6ff","wires":[]},{"id":"20220406T130500_552Z_17e8","type":"TabOutput","name":"DelayOut","comment":"","inputs":1,"x":720,"y":135,"z":"20220403T144054_680Z_dbe1","bgColor":"#cce6ff","wires":[]},{"id":"20220404T132211_328Z_1163","type":"AudioEffectDelayExternal","name":"delay","comment":"","arraySize":1,"outputs":"8","useMakeConstructor":true,"memtype":"6","maxDelay":"30000.0","x":430,"y":130,"z":"20220403T144054_680Z_dbe1","bgColor":"#E6E0F8","wires":[["20220406T130144_493Z_8845:1"],["20220406T130144_493Z_8845:2"],["20220406T130144_493Z_8845:3"],["20220406T130500_552Z_17e8:0"],[],[],[],[]]},{"id":"20220406T182118_313Z_37e8","type":"ConstructorCode","name":"constructor code","comment":"//constructor code","x":491,"y":270,"z":"20220403T144054_680Z_dbe1","bgColor":"#DDFFBB","wires":[]},{"id":"20220406T130144_493Z_8845","type":"AudioMixer","name":"mixer","comment":"","arraySize":1,"inputs":4,"ExtraInputs":0,"RealInputs":4,"x":600,"y":75,"z":"20220403T144054_680Z_dbe1","bgColor":"#E6E0F8","wires":[["20220403T144140_901Z_edd7:0"]]}],"links":[],"export":true,"isMain":false,"mainNameType":"tabName","mainNameExt":".ino","isAudioMain":false,"generateCppDestructor":true,"extraClassDeclarations":"","settings":{}}],"nodeAddons":{"mine":{"isAddon":true,"label":"mine","description":"mine","credits":"me","homepage":"","url":"https://api.github.com/repos/[user]/[repository]/contents/[subpath if any]","types":{"AudioEffectDelayExternal2":{"defaults":{"name":{"type":"c_cpp_name","value":"20220403T144120_253Z_b198"},"id":{"noEdit":""},"comment":{},"color":{"editor":{"type":"color"},"value":"#E6E0F8"},"arraySize":{"value":1,"maxval":255,"minval":1,"type":"int","editor":{"label":"Array Size","help":"(not in use yet, as there is a lot of dependencies on the old style)<br>selects the array size,<br>a value of 0 or 1 mean no array<br>the max value is 255"}},"outputs":{"value":"8"},"memtype":{"type":"int","value":"3"},"length":{"type":"float","value":"2000.0"}},"makeConstructor":{"root":"packets.add(OSC.GetCreateObjectAddr(),\"ssif\", \"AudioEffectDelayExternal\", n.name, node.memtype,node.length);","group":"packets.add(OSC.GetCreateObjectAddr(),\"sssif\", \"AudioEffectDelayExternal\", n.name, grpName, node.memtype,node.length);"},"editor":"autogen","shortName":"delayExt2","editorhelp":"","inputs":1,"outputs":8,"category":"effect","color":"#d6d0e8","icon":"arrow-in.png"}}}}
}
Note that this uses two different-sized arrays based on the Looper object in AudioMain, and still manages to get the connectivity right (I think). Full disclosure - I've not actually run anything built with this exporter code, but I have compiled it successfully, barring a couple of warnings.