If you stay somewhere in Osaka or Kyoto and would want to see the wonders of the traditional thatched roof farmhouses, you can travel to Miyama instead of Shirakawago (which is closer to Nagoya).
A contrast to the fast-paced city, here you can enjoy the tranquility, and listen to the sound of river flowing.