AI-Generated Music: Composing Melodies with Machine Learning