He continued to write music including odes to the king and royal family . For some years after this , he was busy in the production of sacred music , odes addressed to the king and royal family , and other similar works .