MIDIdef in OSCdef.allEnabled?

OSCdef.all.printAll

OSCdef(lvl, /lvl, nil, nil, nil)

OSCdef.allEnabled.keys

Set[ OSC unmatched, MIDI control ]

OSCdef.allEnabled.do(_.printAll)

OSCFunc(/n_off, a BundleNetAddr(0.0.0.0, nil), nil, nil)
OSCdef(lvl, /lvl, nil, nil, nil)
OSCFunc(/n_on, a BundleNetAddr(0.0.0.0, nil), nil, nil)
OSCFunc(/n_go, a BundleNetAddr(0.0.0.0, nil), nil, nil)
OSCFunc(/status.reply, a NetAddr(0.0.0.0, nil), nil, nil)
OSCFunc(/n_end, a BundleNetAddr(0.0.0.0, nil), nil, nil)
MIDIdef(., control, 19, nil, nil)

MIDIdef(., control, 19, nil, nil)

???

That’s correct.

allEnabled is a method of AbstractResponderFunc. It is not specifically a method of OSCFunc / OSCdef.

hjh

1 Like

…using this as a workaround:

OSCdef.all.select(_.enabled).printAll