google researchers have created an ai that can generate musical pieces from text inputs similar to how chatgpt can turn a text command into a story and dalle generates images from written prompts the ai program can turn text input into seconds and even minuteslong music as well as turn hummed melodies into other instruments as per research published on github the ai model is called musiclm and the company has uploaded a string of samples that it produced using the model the samples are called musiccaps and are basically a dataset composed of 55k musictext pairs with rich text descriptions provided by human expertswe introduce musiclm a model generating highfidelity music from text descriptions such as a calming violin melody backed by a distorted guitar riff musiclm casts the process of conditional music generation as a hierarchical sequencetosequence modeling task and it generates music at 24 khz that remains consistent over several minutes the company said in the research publishedgoogles ai creates 5minute melodiesthe examples include 30second clips as well as longform music of 5 minutes that sound like actual songs they have been created by paragraphlong descriptions and the more clear the instructions are the better the music is furthermore the examples also include genre vibe and even specific instrumentsthe audio is generated by providing a sequence of text prompts these influence how the model continues the semantic tokens derived from the previous caption the researchers saidstory modethere is also a story mode demo where the model is basically given multiple text inputs with time duration for each type of music that needs to be createdtake this prompt for exampletime to meditate 000015time to wake up 015030time to run 030045time to give 100 045060our experiments show that musiclm outperforms previous systems both in audio quality and adherence to the text description moreover we demonstrate that musiclm can be conditioned on both text and a melody in that it can transform whistled and hummed melodies according to the style described in a text caption the researchers noted