Finding the Processor Type of a (Module Tree) Processor?
- 
Given a reference to a Module Processor, does anyone know how to find out the processor type? (It's the first line in the XML .) Thanks and cheers!
 - 
.getType() - 
C clevername27 has marked this topic as solved on
 - 
C clevername27 has marked this topic as unsolved on
 - 
@d-healey Thank you for your reply. Am I using it correctly?

 - 
@clevername27 It only works for modulators. What do you want it to return,
EffectChain? - 
@d-healey Thanks for asking - I have a pointer to either an Effect or an getAudioSampleProcessor. (But I don't know which.)
 - 
@clevername27 could you distinguish them by variable name?
 - 
@d-healey said in Finding the Processor Type of a (Module Tree) Processor?:
@clevername27 could you distinguish them by variable name?
or use two array one of fx one of all audio processors and use indexOf....