The wave field analysis and synthesis of an acoustic filed in rooms using the concept of a direction of arrival algorithm