Blogs (1) >>

This program is tentative and subject to change.

Sat 1 Mar 2025 14:35 - 14:47 at Meeting Rooms 302-303 - Nifty Assignments

In this assignment, students develop a program to create a music visualizer using the MinMax algorithm. A music visualizer synchronizes graphical effects with audio playback, adding motion, color, and energy to the music. The MinMax algorithm, widely used in platforms like Spotify, Apple Music, and ffmpeg, is a key to generating such visualizations.

The program reads an audio file, stores the audio samples in an array, and then divides the samples into k groups. For each group, the program calculates the maximum absolute value of a sample and displays it as a vertical bar. This produces a dynamic, real-time visual representation of the audio file, synchronized with the audio playback.

Kevin Wayne is the Phillip Y. Goldman University Lecturer in Computer Science at Princeton University, where he has been teaching since 1998. He has co-developed (with Robert Sedgewick) two of the most popular courses at Princeton (COS 126 and COS 226); co-authored several award-winning textbooks for students and practitioners; co-designed four free MOOCs on Coursera, with over 2 million enrolled students; and authored or co-authored seven nifty assignments. He directs a summer program aimed at broadening participation in computer science by historically under-represented groups. He was named a Distinguished Educator by the ACM in 2014.

This program is tentative and subject to change.

Sat 1 Mar

Displayed time zone: Eastern Time (US & Canada) change

13:45 - 15:00
13:45
12m
Talk
Murder Mystery
Nifty Assignments
Colin Sullivan Rutgers University, Steven Chen Rutgers University, Ana Paula Centeno Rutgers University
13:57
12m
Talk
Augmentative and Alternative Communication Device Maps Assignment
Nifty Assignments
Catherine Baker Creighton University, Yasmine Elglaly Western Washington University, Kristen Shinohara School of Information
14:10
12m
Talk
Nifty Assignments: Particle Systems
Nifty Assignments
Keith Schwarz Stanford University
14:22
12m
Talk
Building The Tree of Life from Scratch
Nifty Assignments
Christopher Tralie Ursinus College
14:35
12m
Talk
Music Visualizer
Nifty Assignments
Kevin Wayne Princeton University
14:47
12m
Talk
Infinite Story
Nifty Assignments
Chris Piech Stanford University, Mehran Sahami Stanford University and ACM Taskforce, Yasmine Alonso Stanford University, Katie Liu Stanford University, Javokhir Arifov Stanford University, Anjali Sreenivas Stanford University, Dan Webber Stanford University, Tina Zheng Stanford University, Ngoc Nguyen Stanford University, Iddah Mlauzi Stanford University, Juliette Woodrow Stanford University