Logic:convert pitch bend to volume in real time using the transformer object
1. Open the environment. Windows/Environment. Go to the clicks and ports layer.
Click "New" and select a Transformer
Set it up as a destructive connection ( between the physical input and sequencer input)
2. Double click the transformer object to open its editing window ( shown below )
3. Emulate the settings shown in the image below. These settings are what will convert incoming pitch data to volume information.
Now if you record pitch bend information into Logic using an external controller it will be converted to volume.
For a clearer understanding of the MIDI messages and the specification: