aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/swap.pd
blob: 987a584419d02f2d55470dc7f136d8db607ab2d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;