98 isuzu trooper

irregular pinging noise coming from tranny,or transfer case? medium noise in park,very low noise in N, louder in R & D,3,2,1. seems to shift just fine,noise comes & goes although its doing more coming than going since i first noticed it last week. ‘any thoughts?’