A NN naturally continues the existing music fragment by prompt.
We’ve created MuseNet, a deep neural network that can generate 4-minute musical compositions with 10 different instruments, and can combine styles from country to Mozart to the Beatles. MuseNet was not explicitly programmed with our understanding of music, but instead discovered patterns of harmony. MuseNet is a deep neural network created by OpenAI that can generate 4-minute musical compositions with 10 different instruments, and can combine styles from country to Mozart to the Beatles. It uses the same general-purpose unsupervised technology as GPT-2, a large-scale transformer model trained to predict the next token in a sequence, whether audio or text. The model is trained on data from MIDI files and can generate samples in a chosen style by starting with a prompt. It uses several embeddings such as positional embeddings, a timing embedding, and structural embeddings to give the model more context.