extemporise has definitions from the field of music
1
[ verb ] (music) perform without preparation

Examples

"he extemporized a speech at the wedding"

*