Max and I, Max and Me class notebook: Difference between revisions

From Medien Wiki
Line 19: Line 19:
* [https://docs.cycling74.com/max8/refpages/slider slider]
* [https://docs.cycling74.com/max8/refpages/slider slider]
* [https://docs.cycling74.com/max8/refpages/ezdac~ ezdac~]
* [https://docs.cycling74.com/max8/refpages/ezdac~ ezdac~]
= project: screamie =
If you scream loud enough ... you will get a selfie.
[[File:screamie_photo.png|400px]]
This little art is a first shot. Also: snarky comment on social media and selfie-culture.
[[File:screamie.png|400px]]
[[:File:2021-04-25_screamie_JS.maxpat]]
Objects used:
* [https://docs.cycling74.com/max8/refpages/levelmeter~ levelmeter~] - to display the audio signal level
* [https://docs.cycling74.com/max8/refpages/peakamp~ peakamp~] - find peak in signal amplitude (of the last second)
* [https://docs.cycling74.com/max8/refpages/past past] - send a bang when a number is larger then a given value
* [https://docs.cycling74.com/max8/refpages/jit.grab jit.grab] - to get image from camera
* [https://docs.cycling74.com/max8/refpages/jit.matrix jit.matrix] - to buffer the image and write to disk
= process: record and save audio and video data =
This patch demonstrates how to get audio/video data and how to write it to disk.
[[File:audio_video_recorder.png|400px]]
[[:File:2021-04-23_audio_video_recorder_JS.maxpat]]
Objects used:
* [https://docs.cycling74.com/max8/refpages/ezadc~ ezadc~] - to get audio input
* [https://docs.cycling74.com/max8/refpages/meter~ meter~] - to display (audio) signal levels
* [https://docs.cycling74.com/max8/refpages/metro metro] - to get a steady pulse of bangs
* [https://docs.cycling74.com/max8/refpages/counter counter] - to count bangs/toggles
* [https://docs.cycling74.com/max8/refpages/select select] - to detect certain values in number stream
* [https://docs.cycling74.com/max8/refpages/delay delay] - to delay a bang (to get DSP processing a head start)
* [https://docs.cycling74.com/max8/refpages/jit.grab jit.grab] - to get images from camera
* [https://docs.cycling74.com/max8/refpages/jit.vcr jit.vcr] - to write audio and video data to disk


= process: retrieve images from a camera =
= process: retrieve images from a camera =

Revision as of 12:15, 17 June 2021

process: other peoples work to investigate

project: theremin

Assignment: Please do your own first patch and upload onto the wiki under your name

I did build a simple Theremin to get to know the workflow with Max. Move your mouse cursor around to control the pitch and volume.

Simple mouse theremin screenshot.png

File:simple_mouse_theremin.maxpat

Objects used:

project: screamie

If you scream loud enough ... you will get a selfie.

Screamie photo.png

This little art is a first shot. Also: snarky comment on social media and selfie-culture. Screamie.png

File:2021-04-25_screamie_JS.maxpat

Objects used:

  • levelmeter~ - to display the audio signal level
  • peakamp~ - find peak in signal amplitude (of the last second)
  • past - send a bang when a number is larger then a given value
  • jit.grab - to get image from camera
  • jit.matrix - to buffer the image and write to disk

process: record and save audio and video data

This patch demonstrates how to get audio/video data and how to write it to disk. Audio video recorder.png

File:2021-04-23_audio_video_recorder_JS.maxpat

Objects used:

  • ezadc~ - to get audio input
  • meter~ - to display (audio) signal levels
  • metro - to get a steady pulse of bangs
  • counter - to count bangs/toggles
  • select - to detect certain values in number stream
  • delay - to delay a bang (to get DSP processing a head start)
  • jit.grab - to get images from camera
  • jit.vcr - to write audio and video data to disk

process: retrieve images from a camera

This simple patch allows you to grab (still) images from the camera.

Retrieve images from camera.png File:2021-04-23_retrieve_images_from_camera_JS.maxpat

Objects used: