GMU:Max and I, Max and Me/Johannes Schneemann: Difference between revisions

From Medien Wiki
Line 30: Line 30:
* [https://www.howmanypeopleareinspacerightnow.com/ how many people are in space right now?]
* [https://www.howmanypeopleareinspacerightnow.com/ how many people are in space right now?]
* [[Max and I, Max and Me class notebook]]
* [[Max and I, Max and Me class notebook]]
= 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


= project: color based movement tracker =
= project: color based movement tracker =