Seems Engine side is then clear, its Gear then .... for further confirmation take it to somebody who can lift the vehicle, put it in D mode and see from where the noise is ... most probably its Gear !
If CVT then complete replacement will be involved, other planetary type of Automatic Gears can be repaired !