Ragtime (alternately spelle Rag-time) is an American musical genre which enjoyed its peak popularity between 1897 and 1918. It has had several periods of revival since then and is still being composed today. Ragtime was the first truly American musical genre, predating jazz. It began as dance music in popular music settings years before being published as popular sheet music for piano. Being a modification of the then popular march, it was usually written in 2/4 or 4/4 time (meter) with a predominant left hand pattern of bass notes on odd-numbered beats and chords on even-numbered beats accompanying a syncopated melody in the right hand. A composition in this style is called a "rag". A rag written in 3/4 time is a "ragtime waltz".