Quarter notes and bank notes: the economics of music composition in the eighteenth and nineteenth centuries