With any music making software suite, you would probably expect it to be programmed in a hardware-optimized low-level language. That is not always the case as Javascript, plus some key libraries are sufficient to create a music maker. This Youtube tutorial demonstrates us just how powerful this language can be by providing source code to a simple music maker.Examining the Github Source Code
As indicated by the video, the complete source code is published on Github. The files posted in this project make up the complete front-end and back end of the music program. Within the root directory, you will see the JS project file, the CSS style file, and the index file.
You will also find a "drums" folder that makes up the reactive sound effects in the project. Using the WAV sound file format, it has the kick and snare sounds used in the app. Other sound applications may be added or replaced in this template but they are there as an example.
DevEdwin hosts other projects on Github as well, which is expected from a programming teacher. They are mostly JavaScript projects that are quite useful for web development or web application learning. One example is his embedded weather application that can be embedded into your website. These code examples also come with video tutorials and full source code under permissive licenses.
Edwin also has a large library of video tutorials on Youtube. Within his videos include freelancing tips, product reviews, programming tips, and even more JavaScript demonstrations. He pumps out awesome videos several times a month so keep your eyes peeled when a new one is released.
The efficiency of JavaScript is no longer questionable with most in-browser applications. The only competitor would be Java, although there is a whole layer of bloat and security holes that come with it. Nothing will beat processor-optimized C or C++ code, but these type of apps cannot be built into web pages. JavaScript is simply portable, cross-platform, and has the fastest evolving code base that continues to break barriers in computer science. For more information click here https://www.youtube.com/watch?v=8T4SCksjrQ4.