Re: [PD] Scaling values in pd
On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) gamsdr IOhannes signature.asc Description: OpenPGP digital signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Scaling values in pd
IOhannes, you are right only in these cases: 0 127 0 500 0 300 0 1 ... But, if I need: 50 10 0 500 3000 -3000 0.5 0.6 ... I will need a linear equation conversion. As I wrote in last mail, I was needing something like this, first in ActionScript... then in Python... but I never could did it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get a and b at load. Then, it only computes aX + b = Y. I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd. Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits). PD: translated to Python: |def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b| El 03/09/13 03:32, IOhannes zmölnig escribió: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) gamsdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 549 82 637 625 12; #X obj 122 263 expr ($f3 - $f4) / ($f1 - $f2); #X obj 122 366 expr - ( $f1 * $f2 ) + $f3; #X floatatom 134 398 0 0 0 0 - - -; #X text 215 338 x0; #X text 130 339 a; #X text 130 420 b; #X obj 54 441 expr $f3 * $f1 + $f2; #X floatatom 68 475 0 0 0 0 - - -; #X obj 54 526 outlet; #X obj 54 -40 inlet; #X floatatom 131 292 0 0 0 0 - - -; #X floatatom 122 138 5 0 0 0 - - -; #X floatatom 191 138 5 0 0 0 - - -; #X floatatom 260 138 5 0 0 0 - - -; #X floatatom 329 138 5 0 0 0 - - -; #X text 485 21 x0 = a*x0 + b \; y1 = a*x1 + b; #X text 448 125 y0 - y1 = a*(x0 - x1); #X text 428 294 y = a * x + b; #X obj 122 113 \$1; #X obj 191 113 \$2; #X obj 260 113 \$3; #X obj 329 113 \$4; #X text 153 113 x0; #X text 223 113 x1; #X text 293 113 y0; #X text 363 113 y1; #X text 305 338 y0; #X obj 122 -40 loadbang; #X obj 122 45 t b b b b; #X obj 202 -40 inlet; #X obj 322 43 unpack f f f f; #X obj 54 43 f; #X floatatom 70 7 0 0 0 0 - - -; #X text 414 325 - b = a * x - y; #X obj 122 -20 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 122 320 t f f; #X text 192 417 a; #X text 59 421 X; #X text 62 504 Y; #X obj 122 232 t f f; #X obj 260 232 t f f; #X text 345 260 a = (y0 - y1) / (x0 - x1); #X text 331 366 -- b = -(a * x) + y; #X text 222 444 -- y = a * x + b; #X text 551 542 Mario Mey; #X obj 191 164 t f f; #X obj 260 164 t f f; #X obj 329 164 t f f; #N canvas 634 98 614 362 if-not-error 0; #X obj 75 13 inlet; #X obj 132 13 inlet; #X obj 175 13 inlet; #X obj 225 13 inlet; #X obj 75 310 outlet; #X obj 75 56 t f f; #X obj 253 203 print; #X obj 192 258 print; #X obj 175 90 ==; #X obj 114 90 ==; #X obj 207 147 route 0; #X obj 146 188 route 0; #X obj 75 286 spigot; #X obj 146 310 outlet; #X obj 114 189 +; #X obj 175 119 t f f; #X obj 114 120 t f f; #X obj 114 216 == 0; #X obj 114 242 t f f; #X msg 253 177 Incorrect y0 - y1 values or bad arguments.; #X msg 192 232 Incorrect x0 - x1 values or bad arguments.; #X obj 114 267 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X connect 0 0 5 0; #X connect 1 0 9 1; #X connect 2 0 8 0; #X connect 3 0 8 1; #X connect 5 0 12 0; #X connect 5 1 9 0; #X connect 8 0 15 0; #X connect 9 0 16 0; #X connect 10 1 19 0; #X connect 11 1 20 0; #X connect 12 0 4 0; #X connect 14 0 17 0; #X connect 15 0 14 1; #X connect 15 1 10 0; #X connect 16 0 14 0; #X connect 16 1 11 0; #X connect 17 0 18 0; #X connect 18 0 21 0; #X connect 18 1 13 0; #X connect 19 0 6 0; #X connect 20 0 7 0; #X connect 21 0 12 1; #X restore 122 201 pd if-not-error; #X text 442 189 Check if x0 = x1; #X text 456 209 ... or y0 = y1; #X obj 93 229 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 202 23 t b b b b b a; #X obj 54 248 spigot; #X text 441 -37 Look at the help file.; #X text 59 -15 test-in; #X text 99 475 test-out; #X connect 0 0 10 0; #X connect 0 0 35 0; #X connect 1 0 2 0; #X connect 1 0 6 1; #X connect 6 0 7 0; #X connect 6 0 8 0; #X connect 9 0 31 0; #X connect 11 0 48 0; #X connect 12 0 45 0;
Re: [PD] Scaling values in pd
Le 03/09/2013 14:06, Mario Mey a écrit : IOhannes, you are right only in these cases: 0 127 0 500 0 300 0 1 ... But, if I need: 50 10 0 500 3000 -3000 0.5 0.6 ... I will need a linear equation conversion. As I wrote in last mail, I was needing something like this, first in ActionScript... then in Python... but I never could did it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get a and b at load. Then, it only computes aX + b = Y. I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd. i don't see where Iohannes was wrong : it's easy math, and you made the abstraction. ;-) Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits). that's the desired autoscale behaviors. it scann input and scale it acording to it's min and max value. see help file. cheers c PD: translated to Python: |def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b| El 03/09/13 03:32, IOhannes zmölnig escribió: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) gamsdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Scaling values in pd
On 03/09/2013 14:06, Mario Mey wrote: IOhannes, you are right only in these cases: 0 127 0 500 0 300 0 1 ... But, if I need: 50 10 0 500| (assuming you want to map have 50 mapped to the 'minimum'): | [- 10] | [t b f] | / [- ] | [* 12.5] | 3000 -3000 0.5 0.6 [* -1] | [+ 3000] | [/ 6] | [+ 0.5] ... I will need a linear equation conversion. As I wrote in last mail, I was needing something like this, first in ActionScript... then in Python... but I never could did it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get a and b at load. Then, it only computes aX + b = Y. I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd. Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits). PD: translated to Python: |def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b| El 03/09/13 03:32, IOhannes zmölnig escribió: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) gamsdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Scaling values in pd
El 03/09/13 10:11, Lorenzo Sutton escribió: On 03/09/2013 14:06, Mario Mey wrote: IOhannes, you are right only in these cases: 0 127 0 500 0 300 0 1 ... But, if I need: 50 10 0 500| (assuming you want to map have 50 mapped to the 'minimum'): | [- 10] | [t b f] | / [- ] | [* 12.5] | 3000 -3000 0.5 0.6 [* -1] | [+ 3000] | [/ 6] | [+ 0.5] Yes, you can make this math every scale you need... or use an abstract that does the same automatically. In my patch, I use 284 lin-eq-conv objects. I didn't want to think how to make that math... and change everytime (normally, I create a lin-eq-conv and change its values a lot of times). Best. ... I will need a linear equation conversion. As I wrote in last mail, I was needing something like this, first in ActionScript... then in Python... but I never could did it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get a and b at load. Then, it only computes aX + b = Y. I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd. Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits). PD: translated to Python: |def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b| El 03/09/13 03:32, IOhannes zmölnig escribió: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) gamsdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] A giant step sideways for Pd on Android
Hey all, Just got MIDI input working in PdDroidParty thanks to Peter Brinkmann's new libpd midi glue code. This means you can plug a MIDI controller or keyboard into your Android tablet/phone using the OTG cable, and use it to control Pd on the device. Which means yr gigging setup just shrank to pocket size. Almost certainly bugs. Have at it! http://droidparty.net/ Now I must sleep. Cheers, Chris. PS after you load a patch it's under a menu option. PPS crashes phones/tablets that don't do USB in ( Android 2.3.4 I think). PPS I recently found a really good 7 tablet from Shenzen for $US 88 so we are getting down to Raspberry Pi kinds of prices. Email me if you want the link. -- http://mccormick.cx/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Scaling values in pd
jaja, you can do the math. well, obviously we can always do the math, but he was asking for that particular object. anyway, i appreciate the math examples, surely they empower my brain : ) to the original question, as mentioned above, the object is in pd extended 2013/9/3 Mario Mey mario...@gmail.com El 03/09/13 10:11, Lorenzo Sutton escribió: On 03/09/2013 14:06, Mario Mey wrote: IOhannes, you are right only in these cases: 0 127 0 500 0 300 0 1 ... But, if I need: 50 10 0 500| (assuming you want to map have 50 mapped to the 'minimum'): | [- 10] | [t b f] | / [- ] | [* 12.5] | 3000 -3000 0.5 0.6 [* -1] | [+ 3000] | [/ 6] | [+ 0.5] Yes, you can make this math every scale you need... or use an abstract that does the same automatically. In my patch, I use 284 lin-eq-conv objects. I didn't want to think how to make that math... and change everytime (normally, I create a lin-eq-conv and change its values a lot of times). Best. ... I will need a linear equation conversion. As I wrote in last mail, I was needing something like this, first in ActionScript... then in Python... but I never could did it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get a and b at load. Then, it only computes aX + b = Y. I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd. Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits). PD: translated to Python: |def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b| El 03/09/13 03:32, IOhannes zmölnig escribió: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) gamsdr IOhannes __**_ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list __**_ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list __**_ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list __**_ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list -- JM Jones ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd - Radium
mkdir temp cd temp git clone https://github.com/kmatheussen/radium.git touch audio/*.cpp common/gfx_op_queue_generated.c common/visual_op_queue_proc.h make packages BUILDTYPE=RELEASE ./build_linux.sh -j7 ./start.sh Can you also mail me privately the terminal output when running radium? I will! It should be fixed now. I guess this problem showed up on all ubuntu linux machines, plus probably many other distributions. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Scaling values in pd
On 09/03/2013 02:32 AM, IOhannes zmölnig wrote: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. I'm unclear-- are you insulting the user on purpose, or do you expect others to be equally insulting to you if you happen to ask a question they find trivial? as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) If you want to help empower people to solve complex problems, start by not insulting them when they ask questions on the list. Best, Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Scaling values in pd
Whoops! Here's the other one! Cheers, Ed - Forwarded Message - From: Ed Kelly morph_2...@yahoo.co.uk To: Mario Mey mario...@gmail.com; pd-list@iem.at pd-list@iem.at Sent: Tuesday, 3 September 2013, 22:58 Subject: Re: [PD] Scaling values in pd Couple of tricks for scaling here. These are from my Pd workshops at Camberwell College of Art in London. The sutoscaler abstraction is especially useful when you don't know what the input will be, but you want to specify the output range. The other patch is a tutorial on how to scale input values with a bit more explanation. Enjoy! Ed Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad http://www.ninjajamm.com/ Gemnotes-0.2: Live music notation for Pure Data, now with dynamics! http://sharktracks.co.uk/ From: Mario Mey mario...@gmail.com To: pd-list@iem.at Sent: Tuesday, 3 September 2013, 15:15 Subject: Re: [PD] Scaling values in pd El 03/09/13 10:11, Lorenzo Sutton escribió: On 03/09/2013 14:06, Mario Mey wrote: IOhannes, you are right only in these cases: 0 127 0 500 0 300 0 1 ... But, if I need: 50 10 0 500| (assuming you want to map have 50 mapped to the 'minimum'): | [- 10] | [t b f] | / [- ] | [* 12.5] | 3000 -3000 0.5 0.6 [* -1] | [+ 3000] | [/ 6] | [+ 0.5] Yes, you can make this math every scale you need... or use an abstract that does the same automatically. In my patch, I use 284 lin-eq-conv objects. I didn't want to think how to make that math... and change everytime (normally, I create a lin-eq-conv and change its values a lot of times). Best. ... I will need a linear equation conversion. As I wrote in last mail, I was needing something like this, first in ActionScript... then in Python... but I never could did it. Now, I needed again in Pd... so, I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for clipped values. I made it as neat as I could, to see how it works. Using x0-x1 and y0-y1, it uses expr to get a and b at load. Then, it only computes aX + b = Y. I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd. Also, I have some issues using [autoscale]. I start giving values and it outputs only 1. Then, I start to down the input and, then, it shows the real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits). PD: translated to Python: |def lin_eq_conv(x, x0, x1, y0, y1): a = (y0 - y1) / (x0 - x1) b = (a * x0) + y0 return a * x + b| El 03/09/13 03:32, IOhannes zmölnig escribió: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) gamsdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 49 103 545 486 10; #X obj 24 16 cnv 15 380 460 empty empty Scaling_2 20 12 0 14 -236864 -66577 0; #X floatatom 61 164 5 0 0 0 - - -; #X obj 64 145 hsl 128 15 38 130 0 0 empty empty range_1 16 6 0 10 -261682 -1 -1 0 1; #X obj 148 276 /; #X obj 138 206 t b b; #X obj 138 187 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262144 -1 -1; #X obj 61 295 *; #X floatatom 61 315 5 0 0 0 - - -; #X floatatom 61 354 5 0 0 0 - - -; #X text 95 312 new range; #X text 43 34 Other number streams can produce different ranges of numbers \, and the range of these number streams can also be changed. ; #X text 46 74 In this example we want to change a number stream that changes between 38 and 130 into one that varies between 5 and 50; #X obj 61 182 - 38; #X msg 117 236 50; #X obj 117 257 - 5; #X msg 178 236 130; #X obj 178 257 - 38; #X text 142 107 range 1: bottom=38 \, top=130; #X text 142 119 range 2: bottom=5 \, top=50; #X obj 61 333
Re: [PD] Finish Him!
'tis the ultimate in geek chic ;-D Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad http://www.ninjajamm.com/ Gemnotes-0.2: Live music notation for Pure Data, now with dynamics! http://sharktracks.co.uk/ From: Ivica Ico Bukvic i...@vt.edu To: pd-list@iem.at Sent: Tuesday, 3 September 2013, 5:45 Subject: Re: [PD] Finish Him! :-D From:pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of Dan Wilcox Sent: Tuesday, September 03, 2013 12:18 AM To: pd-list@iem.at Subject: Re: [PD] Finish Him! I don't think it's possible to get nerdier than that. :D GetOverHere On Sep 2, 2013, at 11:52 PM, pd-list-requ...@iem.at wrote: From: Jonathan Wilkes jancs...@yahoo.com Subject: [PD] Finish Him! Date: September 2, 2013 11:51:50 PM EDT To: pd-list@iem.at pd-list@iem.at Reply-To: Jonathan Wilkes jancs...@yahoo.com Here's some more [drawimage] fun: http://puredata.info/Members/jancsika/subzero.webm/view -Jonathan Dan Wilcox @danomatika danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Nettiquette (was Re: Scaling values in pd)
OUCH! On 09/03/2013 02:32 AM, IOhannes zmölnig wrote: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. I'm unclear-- are you insulting the user on purpose, or do you expect others to be equally insulting to you if you happen to ask a question they find trivial? as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) If you want to help empower people to solve complex problems, start by not insulting them when they ask questions on the list. Best, Jonathan Another heated moment in Pd-list history. I think it's wise for us to remember that not every noob coming onto the list for the first time has a personal acquaintance with all of us. We're all sometimes a bit casual in our dealings with each other, and for those of us who have met each other in person we've had a chance to measure the aloofness and eccentricity of the other core members of the community. Remember it's a community! Love, and peace xx Ed PS did I spell netiquette write? :) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Nettiquette (was Re: Scaling values in pd)
On 09/03/2013 07:00 PM, Ed Kelly wrote: OUCH! On 09/03/2013 02:32 AM, IOhannes zmölnig wrote: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. I'm unclear-- are you insulting the user on purpose, or do you expect others to be equally insulting to you if you happen to ask a question they find trivial? as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) If you want to help empower people to solve complex problems, start by not insulting them when they ask questions on the list. Best, Jonathan Another heated moment in Pd-list history. I think it's wise for us to remember that not every noob coming onto the list for the first time has a personal acquaintance with all of us. We're all sometimes a bit casual in our dealings with each other, and for those of us who have met each other in person we've had a chance to measure the aloofness and eccentricity of the other core members of the community. Remember it's a community! Yes, that's a much better way to put it than I did. Sorry for the unnecessarily extreme reaction. Love, and peace xx Ed PS did I spell netiquette write? :) Looks good to me. -Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Nettiquette (was Re: Scaling values in pd)
yeah, im a noob and i really appreciate the knowledge of this beautiful community, keep the good vibes! some really brilliant and humble people here! 2013/9/3 Jonathan Wilkes jancs...@yahoo.com On 09/03/2013 07:00 PM, Ed Kelly wrote: OUCH! On 09/03/2013 02:32 AM, IOhannes zmölnig wrote: On 09/02/2013 06:17 PM, hghoyer wrote: Hi, in Max/MSP there is an object for simple scaling. If you create in MAX these object with this arguments: [scale 0 127 0 500] incomming messages from 0 to 127 are automatically scaled from 0 to 500... honestly i'm of the firm conviction that you should learn how scaling works: it really is only a matter of adding, multiplying, dividing, subtracting - stuff you should heave learned in primary school. I'm unclear-- are you insulting the user on purpose, or do you expect others to be equally insulting to you if you happen to ask a question they find trivial? as frank pointed out, this should do for you: | [/ 127] | [* 500] | if you find it too tedious to do the maths over and over again, you might want to create an abstraction. being able to solve trivial problems like this will surely empower you to solve more complex problems :-) If you want to help empower people to solve complex problems, start by not insulting them when they ask questions on the list. Best, Jonathan Another heated moment in Pd-list history. I think it's wise for us to remember that not every noob coming onto the list for the first time has a personal acquaintance with all of us. We're all sometimes a bit casual in our dealings with each other, and for those of us who have met each other in person we've had a chance to measure the aloofness and eccentricity of the other core members of the community. Remember it's a community! Yes, that's a much better way to put it than I did. Sorry for the unnecessarily extreme reaction. Love, and peace xx Ed PS did I spell netiquette write? :) Looks good to me. -Jonathan __**_ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list __**_ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list -- JM Jones ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list