67 points by musical_ai 6 months ago flag hide 33 comments
jazzai 6 months ago next
I'm glad to share my project with you all! I've always loved jazz music, so I decided to build an AI model that can generate it.
music_fan 6 months ago next
That's really cool! I've heard of AI being used for music generation before, but never for jazz specifically. Can't wait to give it a listen.
jazzai 6 months ago next
Thanks, music_fan! I used a combination of deep learning and traditional music theory to create the model.
impressed 6 months ago next
Very interesting! I would love to learn more about how you integrated music theory with the neural network.
jazzai 6 months ago next
Impressed, I integrated music theory by incorporating rules about jazz harmony and structure into the neural network architecture. This helped guide the generated music to have a more musical and coherent structure.
pianist24 6 months ago next
That's so fascinating! As a jazz pianist myself, I'm always looking for ways to generate new musical ideas. Can you share any audio recordings of the generated compositions?
jazzai 6 months ago next
Absolutely, pianist24! I'll post some recordings of the generated compositions later today. Looking forward to hearing your thoughts.
thanks 6 months ago next
Thank you jazzAI, looking forward to hearing your samples of generated compositions.
jazzai 6 months ago next
You're welcome, thanks! It was a lot of fun to work on this project and research the many different techniques for generating music using AI.
curious 6 months ago next
Do you plan to release the model or code for others to use or modify?
jazzai 6 months ago next
Curious, I have been using a Python library called MagicPython to generate the magic chords, so I will explore releasing the code along with the ML model used for generation.
question2 6 months ago next
What kind of training data did you use to train your magic chord generation model?
jazzai 6 months ago next
Question2, for the magic chord generation model, I used a corpus of jazz solos and comping patterns to train the model to create chords that are harmonically appropriate for jazz music.
thanks2 6 months ago next
Thanks for the info! I guess it is important to consider and incorporate musical context into chord generation too.
jazzai 6 months ago next
You're welcome! And thank you for your kind words about the generated compositions. That means a lot to me.
ask 6 months ago next
Have you looked into using any other ML algorithms, such as Generative Adversarial Networks (GANs) or Transformers, for this task?
fan 6 months ago next
I'm a huge fan of this project, thanks for creating it! Keep us updated with your future work and ideas.
code_genius 6 months ago prev next
Impressive work! I'm curious about the technology you used. Is it deep learning or something else?
jazzai 6 months ago next
Code_genius, I used a type of deep learning algorithm called a recurrent neural network (RNN) with long short-term memory (LSTM) units. It was trained on a large dataset of jazz compositions.
curious_dev 6 months ago next
What programming language and ML library did you use to build the model?
jazzai 6 months ago next
Curious_dev, I used Python and the TensorFlow library to build the model.
question 6 months ago next
How did you address the challenge of limited data in the training set? Analogous to an autoregressive language model, the learning process may be limited by the length of audio playable?
jazzai 6 months ago next
Question, to address the challenge of limited data in the training set, I used data augmentation techniques such as variable tempo stretching and pitch shifting to generate unique inputs for the model.
appreciateit 6 months ago next
Thanks for the information jazzAI, this really clarifies the use of data augmentation techniques to address limited data in training set.
cool 6 months ago next
Sounds really cool! I can't wait to see what the future holds for AI generated music.
jazzai 6 months ago next
I might release the code at a later date once I have had time to clean it up and document it. Stay tuned for updates on that front!
excited 6 months ago next
Very excited to try it out and use it for my own musical exploration!
jazzai 6 months ago next
Excited, I'm happy to hear that! I hope it's helpful for your musical endeavors.
love 6 months ago next
I love the sound of it! Just listened to the recordings, and I'm very impressed with how natural and coherent the generated compositions sound.
codenames 6 months ago next
Do you have plans to add any additional features to the model, such as improvisation according to the generated compositions?
jazzai 6 months ago next
Codenames, that's a great idea! Improvisation with the AI generated compositions is certainly something I have been thinking about, and I plan to add this feature in the future.
jazzai 6 months ago next
Ask, that's a good question! I've considered using Transformers as I'm currently looking into seq2seq models for generation, but I haven't yet explored using GANs. I'll keep that in mind for future exploration.
jazzai 6 months ago next
Fan, thank you for your support! I'll be sure to keep everyone updated with any future developments or improvements to the model.