A repository containing multiple projects from my CSC 299 class, Making Music with Computers, at the University of Mount Union that was taught by Dr. Sarah Huibregtse.
This class uses the Python programming language and utilizes libraries from Jython Music found here: https://jythonmusic.me/
The textbook for this class is used for some exercises. This book is "Making Music with Computers: Creative Programming in Python" by Bill Manaris and Andrew R. Brown.
It contains code that does the following:
- Assignments
Assignments/CH8_Discussion_AlecBarker/ch8_discussion_8-4-1#2.py
: Draws shapes across a windowAssignments/CH8_Discussion_AlecBarker/ch8_discussion_8-6-2.py
: A window with buttons to start and stop notesAssignments/CH8_Project_AlecBarker
problems 1-3: Creates a piano graphic with notes that can be played on the keyboardAssignments/CH8_Project_AlecBarker
problems 4-6: Creates a GUI interface that includes sliders, knobs, and buttonsAssignments/CH9_Discussion_AlecBarker
: Creates a server and client that sends and receives messages over OSC networksAssignments/CH9_Project_AlecBarker
: Receives messages from an OSC device, specifically the "OSC Controller" mobile app on the Google Play Store created by Adam KatzAssignments/CH10_Discussion_AlecBarker
: Uses sine waves to play notesAssignments/CH11_Discussion_AlecBarker/boids.py
: Creates a group of boids that flock togetherAssignments/CH11_Discussion_AlecBarker/musicalSphere.py
: Uses a group of points to create the illusion of a rotating sphere that plays notes as the points cross an invisible lineAssignments/HW1_TheEntertainer_AlecBarker/HW1_TheEntertainer_AlecBarker.py
: Plays the first 21 measures of The Entertainer by Scott JoplinAssignments/HW2_TheEntertainer_AlecBarker/HW2_TheEntertainer_AlecBarker.py
: Plays the first 21 measures of The Entertainer by Scott Joplin with some edits to include percussion and modsAssignments/MozartMeasures-BarkerAlec
: Plays a handful of measures from Wolfgang Amadeus Mozart's musical dice game, "Musikalisches Würfelspiel"
- In-Class Exercises
In-Class Exercises/coin_flip.py
: Uses a 50/50 random chance to play a noteIn-Class Exercises/D02-Note.py
: Plays a single noteIn-Class Exercises/major_scale.py
: Users can choose a root note and number of repetitions, and the program will play a major or minor scale starting at the root note that is repeated the specified number of timesIn-Class Exercises/OdeToJoy.py
: Plays a single phrase of Ode to Joy by Ludwig van BeethovenIn-Class Exercises/TheEntertainer-v1.py
: Plays part of The Entertainer by Scott Joplin
- Notes
Notes/ch8_notes.py
: Notes on displaying shapes, loading images, processing key presses, and starting and ending notes
- Miscellaneous
- Bohemian Rhapsody in Python: A longer performance that covers the ballad section of "Bohemian Rhapsody" by Freddie Mercury.