Analyzing the spectrum of stars is actually easier than voices as it sings the same notes always. The plot is done with matplotlib and is the output of "SPECTRUM" open source located here. and reading with line.split() . It allows me to automate the creation of star spectra and then comparison by additive or subtractive synthesis with red shift and interspace absorption. An exploding star would have a voice over time and I would guess that variable stars would sing a fairly simple song. If I convert the emission line identity for H etc. to notes of a symphony then it might be a very dull presentation.
It is very similar to how I automate the production of 3D objects with blender and then compare to objects in an image for recognition. It is actually much less complicated.