Hello, I'm stumped by a compile error in my multi script. This is my first KSP project, and my ultimate goal is to create melody and bass couplers to use with Impact Soundworks' Fredonia Grand Organ. (I don't have the intended behaviour working yet--this script simply splits a keyboard into 3 zones and distributes them across 4 MIDI channels.)
The error is "Error (line 236): variable "$melody_to_out4" was not declared." That variable is defined on line 84, and Notepad++ recognises them as being spelled identically.
All variables are global in KSP, right? I don't understand why the compiler doesn't recognise $melody_to_out4.