He studied music history with Guido Adler and Curt Sachs at the University of Vienna and studied composition with Hans Gál . He studied music history at the University of Vienna under Guido Adler and Curt Sachs , and studied composition under Hans Gál .