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 =