The soundtrack album attributes the composition of the Hohenfriedberger March to Frederick the Great ; the origin of this attribution is uncertain The piece most associated with the film , however , is the main title music , Handel 's Sarabande from the Keyboard suite in D minor ( HWV 437 ) .
Frederick the Great appears in the soundtrack of Barry Lyndon as the composer of the Hohenfriedberger March .