The Swan , threatened with death , burst forth into song and thus made himself known by his voice , and preserved his life by his melody .