aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/swap.pd
diff options
context:
space:
mode:
Diffstat (limited to 'pd/doc/5.reference/swap.pd')
-rw-r--r--pd/doc/5.reference/swap.pd20
1 files changed, 20 insertions, 0 deletions
diff --git a/pd/doc/5.reference/swap.pd b/pd/doc/5.reference/swap.pd
new file mode 100644
index 00000000..987a5844
--- /dev/null
+++ b/pd/doc/5.reference/swap.pd
@@ -0,0 +1,20 @@
+#N canvas 376 130 488 326 12;
+#X msg 67 124 bang;
+#X floatatom 67 252;
+#X floatatom 79 154;
+#X floatatom 118 194;
+#X obj 66 15 swap;
+#X text 114 16 - SWAP TWO NUMBERS \, RESPECTING RIGHT-TO-LEFT ORDER;
+#X text 284 309 updated for Pd version 0.27;
+#X text 12 42 The swap object stores numbers from its left inlet to output on its right inlet -- after repeating its right hand input out the left.;
+#X text 112 123 outputs 2 stored values;
+#X obj 67 226 swap 6.5;
+#X text 110 154 sets second value and outputs both;
+#X text 150 195 sets first value;
+#X text 142 226 creation argument initializes first value;
+#X floatatom 118 254;
+#X connect 0 0 9 0;
+#X connect 2 0 9 0;
+#X connect 3 0 9 1;
+#X connect 9 0 1 0;
+#X connect 9 1 13 0;