What is something made or done offhand, at the moment, or without previous study; an extemporaneous composition, address, or remark called?

impromptu — Something made or done offhand, at the moment, or without previous study; an extemporaneous composition, address, or remark. (Webster's 1913.)

Sources