It works!

Ringtones are generated and being assigned properly.  The code needs
cleaning up but it works.