An example of a ditty is a jingle for a commercial.
Origin of dittyMiddle English dite from Old French dité from Classical Latin dictatum, thing dictated, neuter past participle of dictare: see dictate
Origin of dittyMiddle English dite a literary composition from Old French dite from Latin dictātum thing dictated from neuter past participle of dictāre to dictate frequentative of dīcere to say ; see deik- in Indo-European roots.
(third-person singular simple present ditties, present participle dittying, simple past and past participle dittied)
From Old French ditie or dité, from ditier, from Latin dictāre (participle dictatus).