You can record a melody but I don't think you can edit the recorded melody in the iOS app, It would be a brilliant feature to have.