Francois Couperin (1668-1733), Fugue sur la Trompette / Fugue on the trumpet from Messe pour les Couvents. Sheet music can be found in ''Great fugues for organ", edited by Rollin Smith, Doverpublications.
More pieces of this nice album can be found in my playlist: https://www.youtube.com/playlist?list=PLNFZTCpjQ59WPrlmJ1MtFQB6FwJifgb7t