ebook img

LAC 2009 - Slides: Reflection in Pure data PDF

2009·0.51 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview LAC 2009 - Slides: Reflection in Pure data

Reflection in Pure Data IOhannes m zmölnig [email protected] Institute of Electronic Music and Acoustics University of Music and Dramatic Arts Graz, Austria 2009/04/18 Reflection in Pure Data IOhannes m zmölnig LAC 2009 [email protected] Overview motivation ● reflection (super­short) ● self­examination/modification in Pd ● iemguts ● design ideas ● examples ● uses ● outlook ● 2009/04/18 Reflection in Pure Data IOhannes m zmölnig LAC 2009 [email protected] Motivation agent­like system ● esp. in visual programming languages ● live coding ● adding “funny” (easily comprehensible) features ● – moving objects coding with the computer as “opponent/partner” ● 2009/04/18 Reflection in Pure Data IOhannes m zmölnig LAC 2009 [email protected] Reflection “process of reasoning about and/or acting upon  ● oneself” [Demer/Malenfant 1995] Self examination ● examine run­time behaviour ● Self modification ● changing running program ● Self replication ● 2009/04/18 Reflection in Pure Data IOhannes m zmölnig LAC 2009 [email protected] Definitions object ● Pd­object (“rectangles”) ● abstraction ● external object written in Pd ● canvas ● a Pd window where you can put objects ● patch, sub­patch, abstraction ● 2009/04/18 Reflection in Pure Data IOhannes m zmölnig LAC 2009 [email protected] Reflection and Pd Self modification ● interpreter and IO (GUI, file,...) communicate via  ● Pd­messages → generate messages to control the interpreter ● Self examination ● few constructs to query the interpreter ● 2009/04/18 Reflection in Pure Data IOhannes m zmölnig LAC 2009 [email protected] Self­examination in Pd some functionality that allows examination by user ● e.g. numberboxes ● few objects that allow patch to examine itself ● ● [cputime] ● [realtime] message domain only! ● signal­domain usually has constant load (less  ● problematic) 2009/04/18 Reflection in Pure Data IOhannes m zmölnig LAC 2009 [email protected] [cputime] featured in “Load Meter” (top for Pd interpreter) ● turn on/off patches depending on the available  ● processing power – only takes Pd­process into account – estimation! could be interesting during performance ● stress­tests ● generating cpu­load in the process ● interesting during development (stability tests) ● 2009/04/18 Reflection in Pure Data IOhannes m zmölnig LAC 2009 [email protected] [realtime] confusion about “logical” vs “real” time ● measuring the “real” (system) time elapsed  ● between two events profiling! ● performing? ● ^ 2009/04/18 Reflection in Pure Data IOhannes m zmölnig LAC 2009 [email protected] Self­modification in Pd “dynamic patching” ● messages to canvas ● exactly the same happens when reading a  ● patch from file #X msg 100 100 bang; #X obj 100 120 print; additive (restore from file) ● #X connect 0 0 1 0; 2009/04/18 Reflection in Pure Data IOhannes m zmölnig LAC 2009 [email protected]

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.