In the previous chapters, we've covered Magenta in Python, its usage, and its inner workings. We'll now be looking at Google's Magenta.js, a smaller implementation of Magenta in JavaScript. Magenta and Magenta.js both have their advantages and disadvantages; let's compare them to see which one we should use, depending on the use case.
A Magenta.js application is easy to use and deploy since it executes in the browser. Developing and deploying a web application is easy: all you need is an HTML file and a web server, and your application is available for the whole world to see and use. This is a major advantage of making a browser-based application, since not only does it enable us to create our own music generation application easily, but it also makes it easy to use it collaboratively. See the Further reading section...