Re: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids
Hello, On Mon, Aug 03, 2015 at 08:07:18PM +, Pagano, Patrick wrote: How do i get them into a text file? i want them so i can use them later w/o having to grab them from the screen lol loadbng; range 12; range 8; bang; random 255; gathern 8; list prepend add; list trim; Pipe that into a [textfile] and then send a [write 12x8.txt( message into the text file. Pd probably isn't the best tool for this job. Cheers, Chris. * lolPd = https://github.com/chr15m/lolPd --- http://mccormick.cx ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids
How do i get them into a text file? i want them so i can use them later w/o having to grab them from the screen Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 From: Chris McCormick ch...@mccormick.cx Sent: Monday, August 3, 2015 12:09 AM To: Pagano, Patrick; pd-l...@iem.at Subject: Re: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids Hi, On 02/08/15 03:48, Pagano, Patrick wrote: i need to know how to generate a list that looks like this so it's an 8X12 matrix of values between 0 and 255 is there a simple way in pure data that i can create such an animal? The following lol-script* will do this: lol loadbng; range 12; range 8; bng; random 255; gathern 8; This will output 12 lists of 8 random integers between 0 and 255. If you want a single list with all of the values add the following object to the bottom of the script: gathern 12; * lolPd = https://github.com/chr15m/lolPd Cheers, Chris. -- http://mccormick.cx/ ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids
Hi, On 02/08/15 03:48, Pagano, Patrick wrote: i need to know how to generate a list that looks like this so it's an 8X12 matrix of values between 0 and 255 is there a simple way in pure data that i can create such an animal? The following lol-script* will do this: lol loadbng; range 12; range 8; bng; random 255; gathern 8; This will output 12 lists of 8 random integers between 0 and 255. If you want a single list with all of the values add the following object to the bottom of the script: gathern 12; * lolPd = https://github.com/chr15m/lolPd Cheers, Chris. -- http://mccormick.cx/ ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Totally missed the topic, sorry for the noise. ++ Jack Le 02/08/2015 00:20, Jack a écrit : Hello Patrick, If you just need to create a random list with 96 values between 0 and 255, there is a [list-random] abstraction in 'list-abs' that can help yo u. ++ Jack Le 01/08/2015 21:48, Pagano, Patrick a écrit : Hey List I want to be able to create some euclidean patterns for a mutable instruments hardware eurorack module i need to know how to generate a list that looks like this const prog_uint8_t node_0[] PROGMEM = { 255, 0, 0, 0, 0, 0, 145, 0, 0, 0, 0, 0, 218, 0, 0, 0, 72, 0, 36, 0, 182, 0, 0, 0, 109, 0, 0, 0, 72, 0, 0, 0, 36, 0, 109, 0, 0, 0, 8, 0, 255, 0, 0, 0, 0, 0, 72, 0, 0, 0, 182, 0, 0, 0, 36, 0, 218, 0, 0, 0, 145, 0, 0, 0, 170, 0, 113, 0, 255, 0, 56, 0, 170, 0, 141, 0, 198, 0, 56, 0, 170, 0, 113, 0, 226, 0, 28, 0, 170, 0, 113, 0, 198, 0, 85, 0, }; so it's an 8X12 matrix of values between 0 and 255 is there a simple way in pure data that i can create such an animal? /Patrick Pagano B.S, M.F.A/ Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJVvgAjAAoJEOuluecjw8GU87EH/Av7RbRwspariiyBxLOKtq9h P0Cb/sivaLM4Ah7DN9T0JJWucXb8yFHrYe1apTP9yu+bPm9zPanw/+2bgh7x/vA5 jU52EUYzV1BTcIcaIiR9jSdVrKkgF/WxA54RFgp523E5Li+ySvcgwGwwf67XmPze iIyt8720n+c3Let8Z2GNz6sDhpzI3uI1gTFmtmww0HJncpcvkZUYBHSVv+zzmy3B 1ONJrTRECEwDKkLeUyG8UiYVeMPRiA4PFtPol3oE9tRaSBLAW179YffvY+lmnsVE DDBZFeaEqevQgx2+SHEGA9P093lfkwFC9GDGBsyrCchAvhPaD8ukd4L5T12KPQk= =uPAo -END PGP SIGNATURE- ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids
Hi Patrick, Ive made an Euclidean abstraction some time ago... Maybe you can modify it to suit your needs. It's in my todo list to put my pd objects on a server...! Olivier On Sat, Aug 1, 2015 at 3:48 PM, Pagano, Patrick p...@digitalworlds.ufl.edu wrote: Hey List I want to be able to create some euclidean patterns for a mutable instruments hardware eurorack module i need to know how to generate a list that looks like this const prog_uint8_t node_0[] PROGMEM = { 255, 0, 0, 0, 0, 0, 145, 0, 0, 0, 0, 0, 218, 0, 0, 0, 72, 0, 36, 0, 182, 0, 0, 0, 109, 0, 0, 0, 72, 0, 0, 0, 36, 0, 109, 0, 0, 0, 8, 0, 255, 0, 0, 0, 0, 0, 72, 0, 0, 0, 182, 0, 0, 0, 36, 0, 218, 0, 0, 0, 145, 0, 0, 0, 170, 0, 113, 0, 255, 0, 56, 0, 170, 0, 141, 0, 198, 0, 56, 0, 170, 0, 113, 0, 226, 0, 28, 0, 170, 0, 113, 0, 198, 0, 85, 0, }; so it's an 8X12 matrix of values between 0 and 255 is there a simple way in pure data that i can create such an animal? *Patrick Pagano B.S, M.F.A* Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 152 75 779 262 10; #X obj 402 -336 outlet bangs; #X obj 402 -518 inlet msg; #X obj 481 -518 inlet m; #X obj 597 -518 inlet k; #X obj 511 -378 outlet end_of_bar; #N canvas 1 75 450 300 memories_and_counts 0; #X obj 186 146 = 1; #X obj 186 168 sel 1; #X obj 146 79 -; #X obj 71 146 f; #X obj 128 146 f; #X obj 323 147 list; #X obj 258 147 list; #X obj 89 49 r \$0-m; #X obj 146 49 r \$0-k_init; #X obj 186 102 r \$0-k; #X obj 283 116 r \$0-mv; #X obj 348 116 r \$0-kv; #X obj 323 190 s \$0-kv1; #X obj 258 190 s \$0-mv1; #X obj 186 190 s \$0-stop; #X obj 128 190 s \$0-k1; #X obj 71 190 s \$0-m1; #X obj 19 84 r \$0-pass; #X connect 0 0 1 0; #X connect 1 0 14 0; #X connect 2 0 4 1; #X connect 3 0 16 0; #X connect 4 0 15 0; #X connect 5 0 12 0; #X connect 6 0 13 0; #X connect 7 0 2 1; #X connect 7 0 3 1; #X connect 8 0 2 0; #X connect 9 0 4 1; #X connect 9 0 0 0; #X connect 10 0 6 1; #X connect 11 0 5 1; #X connect 17 0 3 0; #X connect 17 0 4 0; #X connect 17 0 6 0; #X connect 17 0 5 0; #X restore 481 -471 pd memories_and_counts; #N canvas 1 75 469 308 looping_decomposition 0; #X obj 148 -3325 until; #X obj 180 -3136 list append; #X obj 148 -3302 t b b; #X obj 148 -3254 expr if ($f2 $f3 \, 0 \, 1); #X obj 180 -3158 list; #X obj 270 -3136 list; #X obj 308 -3136 list; #X obj 148 -3210 t b b; #X obj 194 -3210 t b b; #X obj -49 -3158 expr $f2-$f3 \; $f3; #X obj 73 -3158 expr $f3-$f2 \; $f2; #X obj 148 -3232 sel 0 1; #X obj 192 -3302 s \$0-pass; #X obj 148 -3367 r \$0-go; #X obj 180 -3346 r \$0-stop; #X obj 234 -3275 r \$0-m1; #X obj 320 -3275 r \$0-k1; #X obj -5 -3211 r \$0-m1; #X obj 63 -3210 r \$0-k1; #X obj 16 -3112 s \$0-k; #X obj 76 -3112 s \$0-m; #X obj 295 -3200 r \$0-mv1; #X obj 333 -3176 r \$0-kv1; #X obj 270 -3110 s \$0-kv; #X obj 180 -3111 s \$0-mv; #X connect 0 0 2 0; #X connect 1 0 24 0; #X connect 2 0 3 0; #X connect 2 1 12 0; #X connect 3 0 11 0; #X connect 4 0 1 0; #X connect 5 0 23 0; #X connect 6 0 23 0; #X connect 7 0 9 0; #X connect 7 1 5 0; #X connect 7 1 4 0; #X connect 8 0 10 0; #X connect 8 1 6 0; #X connect 8 1 4 0; #X connect 9 0 19 0; #X connect 9 1 20 0; #X connect 10 0 19 0; #X connect 10 1 20 0; #X connect 11 0 7 0; #X connect 11 1 8 0; #X connect 13 0 0 0; #X connect 14 0 0 1; #X connect 15 0 3 1; #X connect 16 0 3 2; #X connect 17 0 9 1; #X connect 17 0 10 1; #X connect 18 0 9 2; #X connect 18 0 10 2; #X connect 21 0 4 1; #X connect 21 0 5 1; #X connect 22 0 1 1; #X connect 22 0 6 1; #X restore 481 -447 pd looping_decomposition; #N canvas 1 75 450 300 final_construct 0; #X obj 203 47 f; #X obj 65 86 f; #X obj 203 208 list append; #X obj 203 69 until; #X obj 203 101 f 0; #X obj 232 101 + 1; #X obj 203 167 *; #X msg 293 61 0; #X obj 65 108 sel 1; #X obj 65 207 list append; #X obj 83 154 +; #X obj 65 184 f; #X obj 313 117 list length; #X obj 277 186 list; #X obj 139 185 list; #X obj 65 -2 t b b b b b b b b b b b b b b b b; #X obj 65 -26 r \$0-stop; #X obj 221 26 r \$0-m; #X obj 83 64 r \$0-k; #X obj 302 83 r \$0-mv; #X obj 148 123 r \$0-kv; #X obj 203 231 s \$0-euclide; #X obj 302 40 s \$0-euclide; #X msg 302 20 const 0; #X connect 0 0 3 0; #X connect 1 0 8 0; #X connect 2 0 21 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 4 0 6 0; #X connect 5 0 4 1; #X connect 6 0 2 0; #X connect 6 0 10 0; #X connect 7 0 4 1; #X connect 8 0 11 0; #X connect 9 0 21 0; #X connect 10 0 11 1; #X connect 11 0 9 0; #X connect 12 0 6 1; #X connect 12 0 10 1; #X connect 13 0 2 1; #X connect 14 0 9 1; #X connect 15 0 1 0; #X connect 15 5 14 0; #X connect 15 9 0 0; #X connect 15 14 13 0; #X connect 15 15 23 0; #X connect 15 15 7 0; #X connect 16 0 15 0; #X connect 17 0 0 1; #X connect 18 0 1 1; #X connect 19 0 12 0; #X connect 19 0 13 1; #X connect 20 0
Re: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Patrick, If you just need to create a random list with 96 values between 0 and 255, there is a [list-random] abstraction in 'list-abs' that can help yo u. ++ Jack Le 01/08/2015 21:48, Pagano, Patrick a écrit : Hey List I want to be able to create some euclidean patterns for a mutable instruments hardware eurorack module i need to know how to generate a list that looks like this const prog_uint8_t node_0[] PROGMEM = { 255, 0, 0, 0, 0, 0, 145, 0, 0, 0, 0, 0, 218, 0, 0, 0, 72, 0, 36, 0, 182, 0, 0, 0, 109, 0, 0, 0, 72, 0, 0, 0, 36, 0, 109, 0, 0, 0, 8, 0, 255, 0, 0, 0, 0, 0, 72, 0, 0, 0, 182, 0, 0, 0, 36, 0, 218, 0, 0, 0, 145, 0, 0, 0, 170, 0, 113, 0, 255, 0, 56, 0, 170, 0, 141, 0, 198, 0, 56, 0, 170, 0, 113, 0, 226, 0, 28, 0, 170, 0, 113, 0, 198, 0, 85, 0, }; so it's an 8X12 matrix of values between 0 and 255 is there a simple way in pure data that i can create such an animal? /Patrick Pagano B.S, M.F.A/ Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJVvUYcAAoJEOuluecjw8GUHI8IAJHmuwPQX0vNQs/g6sM6R6lN Z4DNSlpGh8ud72reiSdygK18tBmma3rnRBfDk8q/7paelhohP6Rh/6DcSHaoXjMS IfRCJt1LkAEMpLtAmuJiGzVFLnbk46xLyY6N69TcTGRKQdW5nseI18Ofoc8IuGvn 9gg7RfWU11DUjLFISu8ocGIDQ+kY+ZF19m0SZuI6Mxnk1Y3fsIIppLCfyZB/eSRT c9mcUXvSZRAnJRJiwF2XZ6QNlpyq18u2bW+2OWipZvhtBYKSuS0PiByKra0oJ59W tFJIQ8KqUmvDf6GKQV77SCXtq6O2A0oH+qB4BdiWITi+3WZK1mhlVIdCeBiS3lA= =I5Fm -END PGP SIGNATURE- ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list