Building a Generative AI Music Visualizer with JavaScript and React
47mAdvanced2024-09-23
Authors

Eve Porcello
Software Developer and Instructor
Course details
In this course, learn how artificial intelligence technologies generate and manipulate visual content, enabling innovative applications in digital art and design. This knowledge empowers creators to leverage AI in crafting visuals, revolutionizing the fields of graphic design, entertainment, and media production. Instructor Eve Porcello takes you through the entire process of creating a generative AI music visualizer, from setting up a React application with Next.js, to using the ml5 library to incorporate AI functionalities, to enhancing your app with effects and color changing characteristics.
Skills covered
Ecma InternationalReact.jsMetaJavaScriptGenerative AIFront-End Web DevelopmentArtificial Intelligence (AI)Web DevelopmentProgramming LanguagesSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Creating a JavaScript music visualizer with AI
- 02 - What you should know
- 03 - Setting up your environment
1. Creating the Project
- 04 - Generating a React application with Next.js
- 05 - Understanding the Next.js project architecture
- 06 - Creating React components
- 07 - Defining the canvas
- 08 - Introducing p5.js
- 09 - Positioning audio notes
2. Incorporating ml5 Models
- 10 - Working with the ml5 library
- 11 - Starting the audio context
- 12 - Handling audio frequencies
- 13 - Incorporating useEffect for the audio context
- 14 - Listening to the audio context
- 15 - Using the pitch detection model
3. Enhancing the App
- 16 - Adjusting useEffect
- 17 - Changing note colors
- 18 - Loading React components dynamically
- 19 - Testing the app
Conclusion
- 20 - Next steps