ep-4xx13 DSP – week 4

Signals

examples

  • fft-tz.maxpat: demonstrates fft transform to the frequency domain. Also a puzzling bit of complex multiplication in the time domain.
  • fplanet-tz.maxpat: hacked version of forbidden-planet example which uses granular indexing to do spectral convolution and make spaceship sounds. To use patch:
    •  turn on audio,
    • then press message boxes inside the green panel
  • fp-fft-tz.maxpat: pfft~ subpatch for above
  • fourierfilter (folder) containing fourierfiltertest.maxpat: Katja Vetter’s complex spectral filter example
download all examples here:
[wpdm_file id=9]

 

Assignment

Become a signal. Have an out of body experience. Take a good look at yourself.

ep-3xx41 Max – week 4

Building a digital sampler

References

Max patches demonstrated in class

  • sampler-341.a.maxpat – the sampler we built in class
snippets of code that were used in the sampler
  • sampler-2d.phasor-mod.maxpat –
  • sampler-file-waveform-mod.maxpat
  • sampler-groove-module.maxpat
  • sampler-record-mod.maxpat
  • sampler-selector.maxpat
  • sampler-sfplay-mod.maxpat
A link to download all of the patches
[wpdm_file id=8]

Topics not covered…

  • abstraction
  • bpatcher
  • print, message object right inlet
  • Max window
  • Presentation mode
  • OSC
  • Serial
  • attrui
  • clippings
  • prototypes

Useful things to know

  • Pasting patches from the c74 Forum into a patcher
  • Using externals (set Max path options)
  • Where are the examples? (inside the application)
  • Max For Live – Use it as a “shell” to give your patches Midi, audio production, recording, automation, etc.,
  • vignettes

 Assignment

Continue to write a patch that sounds bad. Due next week. Just bring patch to class. Alternative or bonus: Design a digital sampling alarm clock.

Build VST plugins in Max with gen~

Today I built a VST plugin in gen~ using instructions…

at the Cycling 74 Wiki

http://cycling74.com/wiki/index.php?title=Gen_Code_Export_VST

additional things

local files:

  • max teaching examples/Tremelo-vst.maxpat (gen~)
  • max teaching examples/vst-tester.maxpat

code:

  • vstsdk2.4/public_sdk/samples/vst2.x/MyVSTPlugin
notes
  • VST requires all paramaters to go from 0-1.0 so you need to scale them in gen~
  • There are a ton of compiler warnings in Xcode. And a syntax error that you can autocorrect.
  • Restart Max, if you make changes to the plugin

 

New Interfaces for Musical Expression

By Michael Lyons

notes

http://www.kasrl.org/publications.html

Gestural control without primary feedback. i.e.. Theremin.

Perry’s Principles (perry cook)

human/artistic

  • P1: Programmability is a curse
  • P2: Smart instruments are often not smart
  • P3: Copying an instrument is dumb, leveraging expert technique is smart
  • P4: Some players have spare bandwidth, some do not
  • P5: Make a piece, not an instrument or controller
  • P6: Instant music, subtlety later

Technological

  • P7: Miracle, Industry Designed, Inadequate
  • P8: Batteries, Die (a command not an observation)
  • P9: Wires are not that bad (compared to wireless)
Miscellaneous
  • P10: New algorithms suggest new controllers
  • P11: New controllers suggest new algorithms
  • P12: Existing Instruments suggest new controllers
  • P13: Everyday objects suggest amusing controllers
New (as of 2007)
  • P14: More can be better (but hard)
  • P15: Music + Engineering is a great Teaching (and Marketing) tool
  • P17: Younger students are more fearless