ARTS 2961: Designing Musical Games

Arts Department, Rensselaer Polytechnic Institute

Monday/Thursday, 12:00-1:50pm, VAST Lab, SAGE

Instructor: Rob Hamilton, West Hall 114

e: hamilr4 [at] rpi [dot] edu

w: http://homepages.rpi.edu/~hamilr4/arts2961

Office Hours: ONLINE

COURSE SYLLABUS - Fall, 2021

PREREQUISITE

None

COURSE DESCRIPTION

One of the most exciting areas of music technology development is happening in the realm of gaming and interactive virtual space. Music and Sound Design play crucial roles in the design of gaming environments, narratives and flow. And as designers create ever more innovative game experiences featuring rich graphics, fast multiplayer networking and next-generation controllers, new techniques for creating immersive music and sound for games to complement and showcase these advances are not only possible but necessary.

This Studio class will explore cutting edge techniques for building interactive sound and music systems for games and 2D/3D rendered environments. To better understand the link between virtual space and sound, students will learn the basics of designing sound and composing music for interactive game spaces by designing and implementing rich musical games within the Unreal gaming engine. Coursework will require the ability and desire to code game logic and design game environments. Techniques for integrating sound and music within games including game-centric middleware tools like FMOD and WWISE, interactive sound synthesis and computer networking using Open Sound Control will all be explored.

Working in teams or on their own, students will design their own music-rich game experience, compose music, design sound material, and implement their own playable musical game experiences.

CATALOG DESCRIPTION

Students will explore the artistic role of music and sound in gaming by building their own interactive sound and music-rich games and 2D/3D rendered environments. Within the context of their own creative game projects, students will learn the basics of designing sound and composing music for interactive game spaces. Using workflow programming languages and software tools, students will program basic gaming interactions, link them to interactive audio software, and create a musical gaming experience.

LEARNING OUTCOMES

    Students who successfully complete this course will demonstrate...
  1. an understanding and appreciation of game design and musical creation through an awareness of the many disciplines underlying the field including: software design and programming, interaction design, listening skills, musical theory, musical acoustics, digital audio theory, and digital signal processing.
  2. basic technical facility in the areas of game development, audio recording, editing, sound synthesis, software development and post production.
  3. creativity and resourcefulness through the creation of musical game environments and composition of your own sonic projects

EVALUATION

Evaluation is based on the following:

CLASS PARTICIPATION

You will be required to present some of your assignments to the class, to show your work within the software environment you used to create it, and to engage the class in discussion of your work. When you are not presenting your own work, you need to be attentive to whoever is presenting, and to engage them in discussion of their work. Failure to participate in class will lower your grade.

ATTENDANCE

You must attend class to succeed in this course.

  1. Since much of the class is focused on listening to and discussing work in class, attendance is mandatory.
  2. ** More then two unexcused absences will affect your grade, detracting 1/2 grade each additional 2 unexcused absences. **
  3. Absences can only be excused by a letter from a medical doctor or from the Dean of Students' office.
  4. Late arrivals are very disruptive - continued late arrival will affect your grade.
  5. It should go without saying but no use of mobile devices or personal computers during class time (except for as required by the coursework itself) is acceptable. Continued violations will be treated as an unexcused absence.

STATEMENT REGARDING ACADEMIC INTEGRITY

Collaboration between students in this course is strongly encouraged. Likewise, students are encouraged—indeed, to some extent required—to exchange ideas, opinions and information . You are also encouraged to help each other in the lab and with performance, production, and presentation of composition projects.

Plagiarism of any kind is in direct violation of University policy on Academic Dishonesty as defined in the Rensselaer Handbook, and penalties for plagiarism can be severe. In this class you will be expected to attribute due credit to the originator of any ideas, words, sounds, or music which you incorporate substantially into your own work. This applies particularly to citation of sources for sonic "samples" included in your compositions.

Submission of any assignment that is in violation of this policy may result in a grade of F for the assignment in question. Violation of this policy will be reported, as defined in the Rensselaer Handbook

DISABILITY SERVICES FOR STUDENTS

Students requiring assistance are encouraged to contact Disability Services: http://doso.rpi.edu/dss to discuss any special accommodations or needs for this course.

OFFICE HOURS

Office Hours for Fall, 2021 will be ONLINE ONLY

TEXTBOOKS / REPOSITORIES / FOUNDATIONAL MATERIAL

Designing Sound, by Andy Farnell

Musimathics (Vol. I), by Gareth Loy

Musimathics (Vol, II), by Gareth Loy

Theory and Techniques of Electronic Music, by Miller Puckette

ARTS 2961 Git Repo: https://github.com/robertkhamilton/arts2961

COURSE SCHEDULE:

The proposed course topics and schedule will be as follows (take note of project due dates!). Based on class progress and interests, this schedule is subject to change. Special topics, guest lectures, supplemental reading, listening and additional assignments to be announced.

Week 1:
Monday, 8/30
aka: Kanye-day (Ye-day? Ye-de?)

Introduction: Designing Musical Games :: Gaming Musical Design
- The role of sound and music in games; filmic influences; spectra of interactivity

Welcome to DMG Questionaire: Goo-drive link

Thursday, 9/2
aka: Trent-day

Sound/Audio Overview:
- Sound Design, Music, Digital Audio, MIDI, Sample rate,

Tool Overview:
- Audacity: http://www.audacityteam.org
- Unity: https://unity3d.com/get-unity/download
- Unreal engine: https://www.unrealengine.com/
- Pure Data (PD): https://puredata.info/downloads/pure-data
- ChucK: https://chuck.cs.princeton.edu/
- WWise: https://www.audiokinetic.com/

What is Game Sound?

- Classic Video Game Sounds Explained by Experts (1972-1998) Pt. 1 | Wired https://www.youtube.com/watch?v=jlLPbLdHAJ0
- "The resolution of sound: Understanding retro game audio beyond the ‘8-bit’ horizon" https://necsus-ejms.org/the-resolution-of-sound-understanding-retro-game-audio-beyond-the-8-bit-horizon/

Audacity: normalization, editing

Assignment #1: In Class/At Home: Sound Design/Editing Challenge (http://freesound.org)
Your challlenge, should you choose to accept it*, is to create a set of sounds for your next AAA game project using only your voice, and Audacity.

    Using whatever recording hardware is currently at your disposal and Audacity, create 5 variations of 5 different sound events listed below (Extra Credit: do as many of the following sounds as possible):
      Footsteps
      Heart-beat
      Wind
      Shooting sound
      Jump
      Rolling ball
      Large object impact
      Small object impact
      Short looping musical sequence (pitched "pad"" sounds)
      Low drum (kick)
      High-pitched drum (tom)
      Sharp attack drum (snare)
      Voice
      Motor idling
      Motor revving
      Space-ship flying
      HUD interface sounds (button presses, toggles, sliders)
      Player Death
      Player Spawn
      Game Victory
      Game Failure
Week 2:
Monday, 8/30
aka: CherYe-day

Introduction to Unity: tutorials
Unity new input system: https://www.raywenderlich.com/9671886-new-unity-input-system-getting-started
Videos: Audio Listeners and Sources
Unity Third Person Example: here
Audio Listener
Audio Source
AudioClip

IN CLASS SAMPLE PROJECT (Git Repo): https://github.com/robertkhamilton/arts2961

CherYe's "Do You Believe I'm Heartless"https://rave.dj/-j6-3OHFbDeJxA



Thursday, 9/9
aka: MOR-TAAL--KOMMMM-BAAAAT-day

Video : Digital Foley: "Mortal Kombat Foley: The Sound of Violence"
Video: "The Hunger Games" & "Frozen" Foley Artists Turn the Sound of Junk into Miracles

Simple Sound Design - Audacity + Unity
- Normalization, Fade in/out, basic editing

Audacity FFMpeg Library: https://manual.audacityteam.org/man/installing_ffmpeg_for_windows.html

Arrays of AudioClips - Randomization of Parameters
Footsteps 101

Limbo Walkthrough: https://www.youtube.com/watch?v=1ie19_GXAAw
Week 3:
Monday, 9/13
aka: Black Francis day

Audio Mixer
More Audio Tutorials
Techniques for Fading Audio
Manual Link: Audio

Unity Audio pt. II: AudioMixers and AudioGroups, exposing parameters, filters/FX, scripting audio playback

3D Sound, Volume, Audio Filters


Assignment #2: Sample-based game audio scene (Due Thursday, 9/23, 11:59:59 PM AoE [anywhere on earth] )

Using your favorite samples from our in-class recording challenge, populate our class game scene with your sounds. You can modify and add to the scene as needed/desired to make the game do what you'd like it to.

The success of your scene will revolve around whether or not your scene feels coherent, i.e. all the sounds exist in the same space. Coherence can be helped by creative use of reverberation in game, by careful editing of sounds in Audacity, or simply through artistic choices you make in your role as sound-designer.
In addition to the project itself, create a detailed "call-sheet" list of all the sounds you will use/are using in the project, including variations. List file-names, extensions, durations, and any notes that would be helpful or useful to your programming team*. Please include a short paragraph or description of the overall-zeitgeist of your scene, and why we should care.
Please include examples of the following Unity audio processes in your scene:

    * Simple Audio Source playback (multiple)
    * Mixer Groups
    * Basic C# scripting of audio playback events
    * Varying pitch, amplitude, etc.
    * 3D sound/distance-based attenuation
    * Sounds triggered through collision
    * A looping stereo background "musical" track
    * A multi-channel "stem"-based playback example
    * EXTRA-CREDIT: include MIDI file control and/or Microphone input

Please upload your entire project to your Box folder.

* the programming team is a lie...



Thursday, 9/16
Class Music Stems: Gouge Away (rob), Ye
Samples: N64 Samples (Reddit), Drum samples (ChucK)

Reverb Zones
AudioMixer bussing (continued): Sends and Receives, Ducking (Sidechaining), Snapshot transitions, Mixer Parameterization
Advanced Mixing

Audio as Data: Microphone input - thread...
Microphone input


Audio Optimization (In-Engine):

Asset Bundles: intro, Building Asset Bundles
Profiler (Audio)
Week 4:
Monday, 9/20
Assignment #2 hack-day - bring your questions.

 
Thursday, 9/23
Data systems for Music and Gaming

Audio data: Fourier Analysis
Audio Analyzer
FFT/Pitch Detection: AudioListener.GetSpectrumData

MIDI
Beyond MIDI: Chpt. 2
What Is Midi?

Easy-to access Note Events:
https://www.youtube.com/watch?v=HezNWMclZIs
https://github.com/kewlniss/CSharpSynthForUnity

MidiJack: MIDI Input to Unity
C Sharp Synth for Unity
Unity Midi
MIDI SHARP


Sonic Visualizer: Visualisation, analysis and annotation of music audio recordings
Unity Text File read/write: StreamReader, TextAsset

Week 5:
Monday, 9/27
Musical Game Design Session #1: Gamelan

 
Thursday, 9/30
Introduction to Unreal Engine 4

Blueprint Workflow Scripting Language
IDE basics, Sound Wave Assets: importing, properties
Audio Listener - Blueprint for moving from Camera to third-person character
Week 6:
Monday, 10/4
Unreal Audio (continued)

Git repo (in Discord)

Footsteps via animation Blueprint (anim notify): https://docs.unrealengine.com/4.27/en-US/AnimatingObjects/SkeletalMeshAnimation/Sequences/Notifies/

Sound Cues, Sound Cue Editor: https://docs.unrealengine.com/4.26/en-US/WorkingWithAudio/SoundCues/Editor/

Box/Capsule/Sphere Triggers: https://docs.unrealengine.com/4.26/en-US/Basics/Actors/Triggers/
 
 
Week 7:
Monday, 10/11
NO CLASS
 
Thursday, 10/14
Unreal Submixes/Submix Effects continued...

Real-time Synthesis in Unreal - GDC 2017 Presentation
Modular Synth basics: https://docs.unrealengine.com/4.26/en-US/BlueprintAPI/Synth/Components/Audio/
UNREAL Midi Input - default midi input classes
githargyro 6-channel MIDI input test project (in github)
 
Week 7:
Monday, 10/18
Soundsnap: free edu login codes in each of your box folders
Open Sound Control: http://opensoundcontrol.org/
Introduction to Pure Data: https://puredata.info/
Pure Data and Spore
Kent Jolly, Aaron McLeran @ GDC 2008: https://www.gdcvault.com/play/323/Procedural-Music-in

Assignment #3 Proposal Document (Due Saturday, 10/23, 11:59:59 PM AoE [anywhere on earth] )
* Submit a written project proposal for your Assignment #3 Unreal Engine audio project (see below). This proposal should describe the scene you'll be creating, the types of sound assets and sound generation techniques you plan on using, and should show me that you've given thought to the overall direction and focus of your upcoming assignent.
* There is no "minimum" or "maximum" length to your design document submission; if you can succinctly explain your project in one sentence, all the better. However it is your responsibility to clearly explain your proposed project and the technologies you will leverage to create it to me.

Assignment #3: Unreal audio scene (Due Monday, 11/1, 11:59:59 PM AoE [anywhere on earth] )

This project represents your chance to showcase your understanding of the basic underlying principles of game sound and music within the Unreal Engine. Populate a simple Unreal scene using sound files downloaded from Soundsnap or some other online repository - or sound assets of your own creation (even better!). You can create an Unreal scene from scratch or use one of the many available Unreal project templates (displayed when you create a new Unreal project).

As always, the success of your scene will revolve around whether or not your scene feels coherent, i.e. all the sounds exist in the same space. Coherence can be helped by creative use of reverberation in game, by careful editing of sounds in Audacity, or simply through artistic choices you make in your role as sound-designer. In addition to the project itself, create a detailed "call-sheet" list of all the sounds you will use/are using in the project, including variations. List file-names, extensions, durations, and any notes that would be helpful or useful to your programming team*. Please include a short paragraph or description of the overall-zeitgeist of your scene, and why we should care.

Please include examples of the following Unreal audio processes in your scene:

    * Footsteps (for 1st and 3rd person scenes), or movement sounds (i.e. vehicle sounds)
    * Simple Sound Assets
    * Sound Assets that continuously play regardless of player distance
    * Randomized Sound Cues
    * Sound Assets/Cues with proximity volume attenuation
    * Sound Assets/Cues triggered by Box or Sphere trigger volumes
    * Sound Assets or Cues triggered by a keypress
    * Sound Cues with one or more parameters driven by in-game action or events
    * Audio Submixes
    * Audio Submix Effects
    * EXTRA-CREDIT: MIDI input, use of the Unreal Modular or Granular Synths, Open Sound Control output or input

Please upload your entire project to your Box folder in a zipped up sub-folder titled "Assignment #3".