portable organs (the portative and the positive organ) were invented in the middle ages. towards the middle of the 13th century, the portatives represented in the miniatures of illuminated manuscripts appear to have real keyboards with balanced keys, as in the cantigas de santa maria. its portability made the portative useful for the accompaniment of both sacred and secular music in a variety of settings.