Pavel Josef Vejvanovský (c. 1633 or 1639 – 24 July 1693) was a Czech-Moravian composer and trumpeter of the Baroque period. Vejvanovsky was born in Moravia (Hukvaldy or Hlučín) in either 1633 or 1639. He received an education at the Jesuit university in Opava, where he also began composing. Moravia had been devastated during the Thirty Years War and much of it was in desperate need of rebuilding. The Habsburg authorities appointed the influential and ambitious Karl Liechtenstein-Castelcorno as Prince-Bishop of Olomouc who set about to rebuild much of the region. This included building himself a grand palace in Italian Renaissance style with elaborate gardens in the nearby town of Kromeriz and employing a large group of musicians drawn from throughout Europe to play at his court and churches. In the 1650s the job of running and directing this prestigious ensemble fell to Vejvanovsky, who was regularly singled out for praise by the Bishop.
As a composer his output is uneven, but in his later works he was able to master most typical idioms of the day. He seems to have struggled with imitative counterpoint and his most compelling pieces are characterised by charming folk idioms and virtuosic brass writing. He composed in a wide variety of genres ranging from large-scale Mass settings and music for special feast days to more intimate sonatas and suites. In addition to his musical responsibilities, he also maintained the Bishop's music library and was the primary copyist of the collection, with his hand appearing in hundreds of manuscripts. His own compositions circulated throughout central Europe, appearing in other Czech collections as well as in Germany and Austria. He seems to have made at least one visit to Austria with the purpose of copying and collecting music and it is largely thanks to Vejvanovsky that so much central-European music from the time is preserved in what is widely regarded as one of the most important collections of late seventeenth century music on the Continent.
Vejvanovsky must have been one of the greatest trumpet virtuosos of the age and his numerous compositions attest to his virtuosity. One of his more remarkable talents was the ability to play certain chromatic passages on the trumpet, which is not normally possible on the largely diatonic natural trumpet. Under Vejvanovsky's direction the Bishop's ensemble saw its heyday. Other musicians at court included Philipp Jakob Rittler, Heinrich Biber, and Gottfried Finger, the latter two employing certain characteristics of Vejvanovsky's trumpet writing in their own compositions.