Thanks for your fast response rharv. I have verified that in the MIDI Driver Setup dialog box,the Reroute option is not checked and that my keyboard is selected for both input and output drivers. This was the case before I submitted my request for assistance.
I had previously converted a Cakewalk patch map for use in PT, but in case that was a problem, I uninstalled PT, searched and deleted any keys in the registry for "powertracks" and deleted the pt and Program Files\PowerTracks DirectX Plugins folders. I also uninstalled Real Band and deleted the bb folder. I then reinstalled PT2021 and added the patch map for my keyboard to which you so kindly pointed me.
The end result of all this was that there was no change to my issue. I can select a Patch using the Patch Select Dialog option and hear the correct voice but as soon as I start a recording, I'm only hearing piano.
Any other suggestions?
Barry