Skip to content

Latest commit

 

History

History
195 lines (164 loc) · 10.9 KB

File metadata and controls

195 lines (164 loc) · 10.9 KB

Class 9

  • H&M + Jordan projects

🛠️ Open Source

Open source software (OSS) = Freely-available source code!

Open source libraries & frameworks that you'll find

Package (library) managers

  • Why use a package (library) manager?
    • Quick & easy to add functionality to your project
    • Dependency management - any library you use may have its own dependencies, and the package manager will download (and solve version conflicts) for you
    • It's nice to have one source for the latest tools
  • Downsides of package managers
  • Different languages have different package managers
    • p5js: Doesn't have one! You include remote javascript files or upload them
    • Processing & Arduino: library manager inside IDE
    • Javascript: npm
    • Java: Maven or Gradle
    • Ruby: Bundler
    • Python: pip or conda
    • OS X: Homebrew
    • Windows: Chocolatey

🛠️ Audio

Justin's examples of different audio uses in creative code

  • Interphase
  • #dancelab @ DAM
    • All choreography & computer-generated visuals were synced to the tempo of the music
  • Bauhouse
    • Graphics respond to audio triggering (built w/Interphase music engine)
  • Feetboxin
    • Piezo (impact) sensors send MIDI signals that trigger audio, but also are turn into DMX signals to trigger the lights
  • HaxVisual
    • Incoming audio signal is analysed and used to draw audio-reactive images
  • Obsidian
    • Looping animation was matched exactly to the length of the looping audio track
  • Webcam sonification
    • Using pixel data to translate into a looping sound wave

Samples vs. Synthesis

Making music

Audio input

Other tools for creating music with code

📝 Homework:

Read:

Watch & listen:

Build something with audio

  • Ideas:
    • Write a program that plays a sound file along with a graphical element
    • Build an interactive or self-playing instrument
    • Visualize microphone or audio file analysis
    • Synthesize some sounds with oscillators
    • Build a drum pad/machine like Bongo.cat
    • Use MIDI
  • Resources: Free audio files
  • Resources: Wave editors (record & edit your own audio files)

📋 Review code

  • Present your webcam/hardware sketches