How to create a plugin audio->midi that is recognized in garageband?

i am beginner with juce.
I would like to create a plugin that detect the pitch from an audio input and convert to a midi output, i.e. a audio->midi plugin. I see on this video that their plugin works on garage band, because when they load the plugin on an audio track as an effect, this proposes new midi input on mac os. Is this possible to develop this with JUCE? My question is how to configure the projucer to get this please?