Create a web app that generates melodies using Magenta’s AI (Coursera)

Create a web app that generates melodies using Magenta’s AI (Coursera)

By the end of this project, you will create a music web application that uses AI to generate melodies, based on the musical idea given by the user. For this, we are going to use Magenta.js, Vexflow and Tone.js. In order to take this project, you should be familiar with HTML, CSS, and JavaScript. Starting from scratch, we will use Glitch to create our music web app. If you are interested in music and machine learning, this project is for you. This Guided Project was created by a Coursera community member.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

In this Guided Project, you will:

  • Create a web app with a music notation system using VexFlow
  • Add Tone.js to your app so user can hear the notes in the browser
  • Use Magenta.js to generate melodies using AI

Learn step-by-step

  • Getting started with Glitch
  • Adding a form and capture the inputs using JS
  • Creating a Staff using EasyScore from VexFlow
  • Parsing the notes
  • Adding the notes to VexFlow
  • Getting started with Tone.js
  • Using Tone.js to play the notes of our Staff
    • Getting started with Magenta.js by Google
  • Generating a melody using MusicRNN
  • Adding an HTML midi player and visualizer to your app
Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Business Considerations for 5G with Edge, IoT, and AI (Coursera) Coursera
EDUCBA

Business Considerations for 5G with Edge, IoT, and AI (Coursera)

By completing this course, learners will be equipped with the knowledge and skills necessary to navigate the complex landscape of 5G technology and its intersection with edge computing, IoT, and AI. They will gain a comprehensive understanding of how these technologies converge to drive business innovation and success in the digital age. Real-world case studies and practical insights will enable participants to apply their learning directly to their organizations, fostering a competitive advantage in the rapidly evolving marketplace.

Sep 21st 2026
2 Weeks
Ethics of Artificial Intelligence (Coursera) Coursera
Politecnico di Milano

Ethics of Artificial Intelligence (Coursera)

This course deals with the problems created, aggravated or transformed by AI. It is intended to give students a chance to reflect on the ethical, social, and cultural impact of AI by focusing on the issues faced by and brought about by professionals in AI but also by citizens, institutions and societies. The course addresses these topics by means of case studies and examples analyzed in the light of the main ethical frameworks.

Sep 14th 2026
4 Weeks
Web Application Development: Basic Concepts (Coursera) Coursera
University of New Mexico

Web Application Development: Basic Concepts (Coursera)

This is the first course in a Coursera Specialization track involving Web Application Architectures. This course will give you the basic background, terminology and fundamental concepts that you need to understand in order to build modern full stack web applications. A full stack web developer is familiar with each "layer" of the software technologies involved in a web application, including data modeling and database technologies, the web server environment and middleware components, network protocols, the user interface and basic visual design and user interaction concepts.

Sep 14th 2026
5-12 Weeks
Machine Learning Rapid Prototyping with IBM Watson Studio (Coursera) Coursera
IBM

Machine Learning Rapid Prototyping with IBM Watson Studio (Coursera)

An emerging trend in AI is the availability of technologies in which automation is used to select a best-fit model, perform feature engineering and improve model performance via hyperparameter optimization. This automation will provide rapid-prototyping of models and allow the Data Scientist to focus their efforts on applying domain knowledge to fine-tune models. This course will take the learner through the creation of an end-to-end automated pipeline built by Watson Studio’s AutoAI experiment tool, explaining the underlying technology at work as developed by IBM Research.

Sep 14th 2026
4 Weeks
Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning (Coursera) Coursera
DeepLearning.AI

Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning (Coursera)

If you are a software developer who wants to build scalable AI-powered algorithms, you need to understand how to use the tools to build them. This course is part of the upcoming Machine Learning in Tensorflow Specialization and will teach you best practices for using TensorFlow, a popular open-source framework for machine learning.

Sep 14th 2026
4 Weeks
Exploring AI Possibilities (Coursera) Coursera
Fred Hutchinson Cancer Center

Exploring AI Possibilities (Coursera)

This course on Exploring AI Possibilities for Decision Makers explores the growing use of AI across disciplines and its potential benefits and challenges. The course covers necessary context, such as discussing what AI is, how it works, and key definitions in AI. Through exploring the many AI possibilities at your fingertips, you will build leadership skills for helping your business or community work more efficiently, creatively, and ethically.

Sep 21st 2026
1 Week
Inteligência Artificial para Logística (Coursera) Coursera
FIA Business School

Inteligência Artificial para Logística (Coursera)

Nossas boas-vindas ao Curso Inteligência Artificial para Logística. Neste curso, você aprenderá sobre os processos de planejamento logístico, seu escopo de atuação e sua integração com as demais áreas da empresa, e como as novas tecnologias de inteligência artificial e internet das coisas podem ampliar a eficiência e a geração de valor para a empresa.

Sep 14th 2026
4 Weeks
AI Concepts and Strategy (Coursera) Coursera
Rutgers University

AI Concepts and Strategy (Coursera)

Artificial intelligence (AI) is rapidly evolving as a multidimensional paradigm, with critical implications for individuals, communities, organizations, businesses, national and regional economies and human society at large. This unique course will help you understand AI on three dimensions: Practice, Principles & Strategy. The course is introductory in nature but will provide a reasonably rigorous learning experience towards gaining a state of the art applied and philosophical overview of AI.

Sep 21st 2026
4 Weeks