Wrote melody by name function. Sounds bad right now.