What does ‘ditty’ mean?

( n ) A short song. Since me a little ditty before you go to bed.
( n ) A trinket. Give me that ditty, will you?