ep-4xx13 DSP – week 7

mobile computing, automation, mass quantities of things…

notes

References

Examples

Assignment

Sound-byte assignment is due in class next week.

ep-3xx41 Max – week 7

  • Csound conference this weekend

Communicating with the outside world

keyboards, Wiimotes, controllers

References

Max patches

Topics…
  • hi
  • serial

 Assignment

Make sure I have all of the patches you have done up to this point. Send them as an attachment to: [email protected]

or share them with me ([email protected]) using Google Drive.

Extra Credit: Write a Max patch that

  • sends out one bang when you press a key
  • but if you hold the key down for 2 seconds it sends out a stream of bangs
  • it resets itself when you release the key

ep-4xx13 DSP – week 6

Topics: Soundbytes, Prototyping, Ideas

links

Examples

Assignment

Continue working on this assignment from last week.

Extra Credit: Compose an RJDJ scene.

Sound-byte

  • The sound-byte is a short audio clip of speech
  • Everything in the piece is derived from the sound-byte
  • The sound-byte in its original form should occur somewhere in the piece
  • Duration: roughly 2-3 minutes?
  • Submit a ‘draft’ version for next week – then we will revise over next 2 weeks.

ep-3xx41 Max – week 6

Communicating with the outside world

References

patches

OSC chat program – note: forgot to save this but it is essentially just two or more computers using [udpsend] and [udpreceive] to send text messages back and forth

Topics…
  • OSC
  • updpsend, udpreceive
  • serial
  • externals
  • terminal
  • curl
  • API’s
  • print, message object right inlet
  • Max window
  • 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

Choose one of the Internet Sensors Projects and get it running. Tweak it to make it do something else, improve usability, or connect to another process.

Alternative: Design a Max interface to something outside of Max.

pdlib, csoundapi, openframeworks, coreAudio, Cinder, and Leap Motion

Notes on developing an architecture for Leap Motion ‘Muse’.

  1. pdlib is the vehicle for the Pd sound engine in RJDJ. It runs Pd patches in iOS and Android – but also has potential in MacOS, Windows, and Linux
  2. After many frustrating attempts I was able to get only as far as getting a simple pdlib example from Rich Eakin to run in Xcode. Couldn’t get it running under Cinder. The code is a hodgepodge of c, c++, and obj-c so these projects can easily get bogged down in compiler and linker errors.
  3. I was able to get Chris Adamson’s chapter 8 input/output example running in Mac OS by using updated files from his blog.
  4. By merging some of Adamson’s and Eakin’s code we got audio output but not input – although I see no reason it couldn’t be done.
  5. At some point I decided to try openframeworks instead of Cinder. Within about 10 minutes I had ofxPd (Dan Wilcox) addon running input and output in Pd.
  6. Next I got a leapMotion example running from an ofxLeap archive.
  7. Today after much confusion, I got the csoundapi~ source code link (its in Csound archive, not in Pd) And then using the Csound.Framework and a few include files, along with great instructions from oxfPd author – got csoundapi~ running in pdlib.
  8. Next I duplicated the ofxLeap example and tried to add in the ofxPd code. This worked – but the instructions aren’t complete. You need to add the lib folder and the extras folder (which doesn’t add folders ending with tilde when you drag and drop the parent folder) But I have a working example now – The most important thing to remember with the ofx projects is NOT TO LET XCODE UPDATE VALID PROJECT SETTINGS. I’m not sure which setting that ofx doesn’t like – but once you update the settings you are screwed and not even a snapshot restore will fix it.
  9. The final result is an app which uses leap hand movement to change the pitch of an oscillator in a Pd patch by sending messages via pdlib. The app also uses csoundapi~ external.
  10. Next project should be to clean up and document the pdlib ofx process and try the whole thing on windows and linux.

 

 

ep-3xx41 Max – week 5

Video and Graphics

Jitter and Vizzie
  • 3 part Youtube vizzie tutorial:
  • http://youtu.be/z4TfdPHrbgg
  • Max Help: jitter tutorials

Max patches

  • vizzie class example
  • vizzie desktop capture (2)
  • nano controller
  • green screen 1
  • syphon
  • cornerpin test
  • connecting jitter to vizzie
  • recording audio with jit.vcr
  • abstractions of vizzie modules (vz.brcosr)
Topics…
  • 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

Connect one of the projects you have already written to a patch that generates video, using Vizzie or jitter.

For example:

  • connect a control panel to a video effects processor
  • use the built-in camera to modulate audio (instant soundtrack)
  • use audio to modulate video (instant visualization)
 Extra credit: prototype an etch-a-sketch (hint: use lcd object help file)

ep-4xx13 DSP – week 5

Reverse Engineering, Prototyping, Portfolios

notes

  • Connor’s web site:
  • Eren’s video:

Examples

  • Double Degrader (Eren’s idea)
  • Leap Motion prototypes

Assignment

Sound-byte

  • The sound-byte is a short audio clip of speech
  • Everything in the piece is derived from the sound-byte
  • The sound-byte in its original form should occur somewhere in the piece
  • Duration: roughly 2-3 minutes?
  • Submit a ‘draft’ version for next week – then we will revise over next 2 weeks.

How to get Youtube video into Max (jitter) using Syphon and Quartz

This method doesn’t work. Check out this link for a better way 5/2014

https://reactivemusic.net/?p=11371

Original post…

[another update – having issues with video noise in the quartz viewer 12/2013 – have tried various obvious things without success – overall this is kind of a kluge anyway]

An update to previous post

1. Read this post about QC + syphon

http://cycling74.com/forums/topic/using-jitter-to-display-a-website/

Have installed this plugin with Quartz Composer

http://code.google.com/p/cogewebkit/

Now have installed a Syphon server example in quartz with a youtube video. Load this file:

tkzic/quartz/GoGe WebKit RC3/Example Patches/GoGe Players/Webkit Stuff/SimpleBrowser syphon.qtz

Then run the client example Max help file from Syphon:

tkzic/syphon/Max 6 Help/jit.gl.syphonclient.maxhelp

You will need to add the folder with the syphon externals to your max file path – in my case:

tkzic/syphon/

 

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.