Re: [PD] How to read I2C sensors?
What if you use the Wire library in Arduino and then collect the info in Pd with [comport]? On Sun, Apr 27, 2014 at 2:06 PM, Ingo i...@miamiwave.com wrote: I have been using an arduino with [comport] (pduino) to read out sensors so far and want to use a I2C sensor board for some other sensors soon. Can [comport] connect to the I2C interface or is there another object in Pd-extended that can do that? Thanks! Ingo ___ 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] Chebyshev waveshaper
Opening tcheb~-help.pd I get this in the console: smoother~ ... couldn't create There's a smoother~-help.pd included but no smoother~.pd or smoother~.pd_darwin or a .c file... On Mon, Apr 21, 2014 at 3:30 AM, sebfumas...@aol.com wrote: Hi all, If anybody's interested I made a chebyshev wave shaper external. it's on the pd forum http://puredata.hurleur.com/sujet-10371-chebyshev-waveshaper-controlled-signals. I know there's already creb/cheby~ but this is slightly different because you cannot set the harmonics but you can control the order with a signal. adjacent orders of polynomial are interpolated with the pd cosine table which I have no idea how to use like the cos~ object but I did it anyway and it seemed to work. Suggestions would be appreciated, this is only my 3rd small c program -Sebastian ___ 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] Loading arrays with arbitrary wave forms
You can implement the same thing with Pd only. I've attached a patch that creates the same waveform as the one you're loading, plus adds the three guard points for the cubic interpolation. On Thu, Apr 10, 2014 at 3:48 AM, David dfket...@gmail.com wrote: Thanks again to everyone that replied. I looked at the examples, but to be honest I didn't really understand them completely, and I got a few error messages when I tried to run them. I have pd-extended installed, but maybe I'm missing some externals used by the examples. Anyway, I decided to go with plan B, and use another software package to generate sound files and then load them into PD. I'm using Octave, an open-source math program that is mostly compatible with Matlib. It has some built-in functions to read and write audio files (mono only), but I can generate audio files in just a few lines of code, like this: x = linspace(0,2*pi,1024); y = sin(cos(sin(x) * pi) * pi); plot(x,y); title('y = sin(cos(sin x) * pi) * pi)'); wavwrite(y,44100,16,'C:\\Data\\Octave\\sincossin.wav'); The first two lines generate the data (1024 samples in length), the next two lines draw a graph in a separate window, and the last line writes the data to a file. I really recommend it if you want to generate audio samples using math functions. Then I load the file into PD with the attached patch. Since I know my files are 1024 samples long, I can just allocate an array of the correct size and not have to worry about complications. I attached my patch and a sample file (generated using the code above) if you're interested. David. #N canvas 175 55 969 565 10; #N canvas 0 22 450 278 (subpatch) 0; #X array wave 1027 float 2; #X coords 0 1 1027 -1 200 140 1; #X restore 584 390 graph; #X obj 36 138 until; #X obj 36 181 f; #X obj 63 181 + 1; #X msg 51 160 0; #X obj 114 302 pi; #X obj 55 319 sin; #X obj 55 341 *; #X obj 114 324 t f f; #X obj 55 363 cos; #X obj 55 385 *; #X obj 55 407 sin; #X obj 55 429 tabwrite wave; #X msg 266 267 resize \$1; #X obj 251 311 until; #X obj 251 353 f; #X obj 345 425 + 1; #X obj 251 375 t f f f; #X msg 385 194 3; #X obj 385 216 until; #X obj 385 261 f; #X obj 411 261 + 1; #X msg 400 240 0; #X obj 479 310 moses 1; #X obj 518 387 +; #X obj 404 340 +; #X obj 266 245 + 3; #X obj 278 353 - 1; #X obj 266 332 - 1; #X obj 385 168 sel 0; #X obj 404 317 moses 1; #X obj 251 223 t f f f f f b; #X obj 251 196 arraysize wave; #X obj 266 289 s wave; #X obj 270 398 tabread wave; #X obj 270 450 tabwrite wave; #X obj 404 379 tabread wave; #X obj 404 404 tabwrite wave; #X floatatom 584 175 5 0 0 0 - - -; #X obj 584 350 dac~; #X obj 104 115 s wave; #X obj 36 484 sel; #X obj 36 116 t f b f; #X obj 36 203 t f f f; #X obj 51 461 - 1; #X obj 584 328 tabread4~ wave; #X obj 584 196 phasor~; #X obj 584 282 *~ 1024; #X obj 584 304 +~ 1; #X msg 104 93 resize \$1; #X obj 36 76 t f f f; #X floatatom 36 41 5 0 0 0 - - -; #X obj 623 240 arraysize wave; #X obj 623 262 - 3; #X obj 623 218 sel 2; #X obj 385 293 t f f f; #N canvas 405 223 696 526 divisor 0; #X obj 56 346 / 8; #X obj 56 368 t f f; #X obj 83 390 / 4; #X obj 56 429 +; #X obj 212 285 f; #X obj 238 285 + 1; #X msg 227 263 1; #X obj 212 97 until; #X obj 212 141 f; #X obj 238 141 + 1; #X msg 227 119 1; #X obj 212 163 swap 2; #X obj 212 196 pow; #X obj 212 218 ==; #X obj 212 240 sel 0 1; #X obj 212 72 t b b b f; #X obj 212 307 + 1; #X obj 56 33 inlet; #X obj 56 55 t f f; #X obj 56 451 outlet; #X obj 212 351 swap 2; #X obj 212 373 pow; #X obj 212 395 * 3; #X obj 212 329 - 10; #X text 260 176 this loop determines what power 2 the table's size is; #X obj 83 412 +; #X text 258 384 It seems to give the desired result; #X text 259 329 and this algorithm makes sure we get the correct divisor. e.g. for 1024 we need to divide by 163 \, which is ((1024 / 8) + 32) + 3 \, for 2048 we divide by 326 ((2048 / 8) + 64) + 6 etc.; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 1 1 2 0; #X connect 2 0 25 0; #X connect 3 0 19 0; #X connect 4 0 5 0; #X connect 4 0 16 0; #X connect 5 0 4 1; #X connect 6 0 4 1; #X connect 7 0 8 0; #X connect 8 0 9 0; #X connect 8 0 11 0; #X connect 9 0 8 1; #X connect 10 0 8 1; #X connect 11 0 12 0; #X connect 11 1 12 1; #X connect 12 0 13 0; #X connect 13 0 14 0; #X connect 14 0 4 0; #X connect 14 1 7 1; #X connect 15 0 7 0; #X connect 15 1 10 0; #X connect 15 2 6 0; #X connect 15 3 13 1; #X connect 16 0 23 0; #X connect 17 0 18 0; #X connect 18 0 0 0; #X connect 18 1 15 0; #X connect 20 0 21 0; #X connect 20 1 21 1; #X connect 21 0 22 0; #X connect 22 0 25 1; #X connect 23 0 20 0; #X connect 25 0 3 1; #X restore 90 181 pd divisor; #X obj 55 227 /; #X text 84 226 this is x; #X text 81 351 this is y; #X text 261 146 this algorithm creates the guard points; #X text 580 60 we play the waveform with [tabread4~] instead of [tabosc4~] cause when we create a new table size we first set it to a power of (not a power of two plus three) and then add the three guard points. before we
Re: [PD] Loading arrays with arbitrary wave forms
And here's a patch that creates guard points. Your table should already have a size of (2^x) + 3, which is taken care of in the patch. On Wed, Apr 9, 2014 at 6:43 PM, Alexandre Torres Porres por...@gmail.comwrote: and I'm using it for an envelope... 2014-04-09 12:42 GMT-03:00 Alexandre Torres Porres por...@gmail.com: I made one that takes care of it, here you go it's just doing a hann window, but you tweak any way you want it :) 2014-04-09 11:52 GMT-03:00 David dfket...@gmail.com: Right, I think 'sinesum' takes care of that for you. I don't know if Tim's example takes care of that or not. Thanks again. On Wed, Apr 9, 2014 at 10:36 AM, Alexandre Torres Porres por...@gmail.com wrote: the tricky detail you'd have to think of, if you're planing to use [tabread4~], is that you need 3 extra points that are copies of existing points. The help file will tell you that. [tabosc4~], in extent, needs a power of 2 plus the 3 extra points. 2014-04-09 9:21 GMT-03:00 David dfket...@gmail.com: Thanks to everyone who replied, I'll try your suggestions when I get home tonight. David. ___ 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 140 252 867 401 10; #N canvas 0 22 450 278 (subpatch) 0; #X array guard_points 11 float 2; #X coords 0 1 11 -1 200 140 1; #X restore 471 193 graph; #X msg -1 180 bang; #X floatatom -1 58 5 0 0 0 - - -; #X floatatom 472 95 5 0 0 0 - - -; #X floatatom 472 143 5 0 0 0 - - -; #X floatatom -1 103 5 0 0 0 - - -; #X floatatom 703 143 5 0 0 0 - - -; #X text 359 94 the value at index; #X text 507 94 should be equal to the value of index; #X text 509 142 - these two should be equal -; #X obj -1 37 cnv 15 15 15 empty empty 1.Set_a_power_to_raise_2_to 0 8 0 14 -262144 -66577 0; #N canvas 233 195 379 344 create-random-values 0; #X obj 74 59 arraysize guard_points; #X obj 74 103 until; #X obj 74 145 f; #X obj 101 145 + 1; #X obj 74 167 t f b f; #X obj 93 189 random 200; #X obj 93 211 / 100; #X obj 93 233 - 1; #X obj 93 255 tabwrite guard_points; #X obj 74 81 t f b f; #X msg 89 124 1; #X obj 74 38 inlet; #X obj 74 277 outlet; #X obj 113 103 outlet; #X connect 0 0 9 0; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 2 0 4 0; #X connect 3 0 2 1; #X connect 4 0 12 0; #X connect 4 1 5 0; #X connect 4 2 8 1; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 7 0 8 0; #X connect 9 0 1 0; #X connect 9 1 10 0; #X connect 9 2 13 0; #X connect 10 0 2 1; #X connect 11 0 0 0; #X restore -1 205 pd create-random-values; #N canvas 222 238 428 437 set-guard-points 0; #X msg 57 155 3; #X obj 57 177 until; #X obj 57 222 f; #X obj 83 222 + 1; #X msg 72 201 0; #X obj 180 271 moses 1; #X obj 219 348 +; #X obj 57 254 t f f; #X obj 57 301 +; #X obj 57 278 moses 1; #X obj 57 129 t b f f b; #X obj 57 80 sel; #X obj 57 104 f; #X obj 72 56 t f f; #X obj 57 340 tabread guard_points; #X obj 57 365 tabwrite guard_points; #X obj 99 87 - 3; #X obj 57 9 inlet; #X obj 72 32 inlet; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 2 0 7 0; #X connect 3 0 2 1; #X connect 4 0 2 1; #X connect 5 0 15 1; #X connect 5 1 6 0; #X connect 6 0 15 1; #X connect 7 0 9 0; #X connect 7 1 5 0; #X connect 8 0 14 0; #X connect 9 0 8 0; #X connect 9 1 14 0; #X connect 10 0 0 0; #X connect 10 1 8 1; #X connect 10 2 6 1; #X connect 10 3 4 0; #X connect 11 0 12 0; #X connect 12 0 10 0; #X connect 13 0 11 1; #X connect 13 1 16 0; #X connect 14 0 15 0; #X connect 16 0 12 1; #X connect 17 0 11 0; #X connect 18 0 13 0; #X restore -1 230 pd set-guard-points; #N canvas 94 174 377 304 set-array-size 0; #X obj 54 81 swap 2; #X obj 54 103 pow; #X msg 81 169 resize \$1; #X obj 81 191 s guard_points; #X obj 54 125 + 3; #X obj 54 147 t f f; #X obj 54 57 inlet; #X obj 54 216 outlet; #X connect 0 0 1 0; #X connect 0 1 1 1; #X connect 1 0 4 0; #X connect 2 0 3 0; #X connect 4 0 5 0; #X connect 5 0 7 0; #X connect 5 1 2 0; #X connect 6 0 0 0; #X restore -1 80 pd set-array-size; #X text 35 102 array size should (2^x) + 3; #X obj -1 160 cnv 15 15 15 empty empty 2.create_random_values_and_guard_points 0 8 0 14 -262144 -66577 0; #N canvas 516 156 564 378 check-the-values-of-the 0; #X obj 67 296 tabread guard_points; #X obj 292 182 %; #X obj 288 88 arraysize guard_points; #X obj 288 110 - 3; #X obj 292 296 tabread guard_points; #X obj 67 71 t f f b; #X obj 273 156 +; #X obj 292 206 sel 0; #X obj 288 132 t f f f; #X obj 292 228 f; #X obj 292 250 t f f; #X obj 319 272 s index; #X obj 67 48 inlet; #X obj 67 318 outlet; #X obj 292 318 outlet; #X connect 0 0 13 0; #X connect 1 0 7 0; #X connect 2 0 3 0; #X connect 3 0 8 0; #X connect 4 0 14 0; #X connect 5 0 0 0; #X connect 5 1 6 0; #X connect 5 2 2 0; #X connect 6 0 1 0; #X connect 7 0 9 0; #X
Re: [PD] pd on debian hardfloat on udoo
On Tue, Mar 25, 2014 at 12:00 AM, Simon Iten itensi...@gmail.com wrote: just a quick update: pd runs definitely smoother on the udoo with the debian hard float image. i am now down to 10ms with no problems (and a very cheap usb-soundcard dongle) Which sound card are you using? 8ms gives some crackles but still works... this is with the usual rtprio and memlock stuff and -rt and for now with a gui. ___ 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] pd on debian hardfloat on udoo
On Tue, Mar 25, 2014 at 12:00 AM, Simon Iten itensi...@gmail.com wrote: just a quick update: pd runs definitely smoother on the udoo with the debian hard float image. Also, it might be obvious to some, but which one is the debian hard float image? Is it in Udoo's website? ___ 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] pd on debian hardfloat on udoo
On Tue, Mar 25, 2014 at 11:51 AM, Alexandros Drymonitis adr...@gmail.comwrote: On Tue, Mar 25, 2014 at 12:00 AM, Simon Iten itensi...@gmail.com wrote: just a quick update: pd runs definitely smoother on the udoo with the debian hard float image. Also, it might be obvious to some, but which one is the debian hard float image? Is it in Udoo's website? Sorry to bother the whole list, just found this pagehttp://www.udoo.org/category/ubuntu/which mentions the hard float flavors: Debian Wheezy, Ubunt Studio and Ubuntu 12.04 ___ 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] Compiling zexy in Udoo
On Mon, Mar 24, 2014 at 11:13 AM, IOhannes m zmoelnig zmoel...@iem.atwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-03-23 11:07, Alexandros Drymonitis wrote: What am I missing here? an outdated zexy version that uses bashisms in it's scripts. I got it from here ftp://ftp.iem.at/pub/pd/Externals/ZEXY/ as the link given herehttps://puredata.info/Members/zmoelnig/news/zexy/?searchterm=zexywasn't responding. Is this outdated? either do: - - get a recent zexy (e.g. from svn) from the terminal? Haven't done it ever, what should I type? I'm on osx. or - - (quick workaround): change the shebang in makesource.sh to read #!/bin/bash This alone will solve it? I guess, since you're mentioning it.. or - - change the default shell to bash (you probably don't want this). you could also bugger the author of zexy to create a new release that has this problem fixed. Aren't you the author? fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBCAAGBQJTL/csAAoJELZQGcR/ejb4gPYP/jwCVmRzuseW1RQ4KAM8qs49 UFdEjX5eGPGPgCpjB20/XFPgHFC52g9/JRB3AWOhZy7Jy03UM/+owBJ4pZDRHVEV MXL8U8l+Oie7CM8xfXiwC0msFXsmhGI/WQNNC0oAyR3Om6XmOfPd9q+6Lr9/6eLq hxyYlgazS1j7alEyXKReyhFY9gXODycCG6+urxYKLFVwz1FQt4wT7Hpn1RgLZuhM XuVjjyX4CB1hVyaJudofH8mQGVbNgr0FPI+8ON9TvdvHGoQFXMkrN9FlA0FlcaZb BQZ/PTbIHKXtMlKqF2VByObrbJ8acLa9kWehXE6KJX3MLFhODvWpUf5de7CmR3Gy +XOaNEoxdlAY/iDceQmnKbHtvw5eE8ifDVlHFG7rAo3a+adPY9q6SBDgwRQdaLhR Nj865/b9Shr1V0PSWq6u/veTDC4ONRZbp0Uh9R/H9KpKqES5heuRAbzE3tlxSFcj jawCjbXeWEkdmPzhabFvms8The21XmCQsAnObm6jnvBqkJoh+4RsK6i1yjYcICWJ 4yYaymbiFTArL7kbnDi7yQyRWoq6wPyRWOGYhmvZC/ed0VDo8cYLpS9f7eZWwu1C 6Kyhm91ruj397rrj7TiT7cbs7RnUSjcg62B5YIV7BkA/0HZG66eH16czZI3WYYNk HrzMR8ES8TGHiMGRbDPF =EBtj -END PGP SIGNATURE- ___ 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] Compiling zexy in Udoo
On Mon, Mar 24, 2014 at 11:26 AM, IOhannes m zmoelnig zmoel...@iem.atwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-03-24 10:13, IOhannes m zmoelnig wrote: On 2014-03-23 11:07, Alexandros Drymonitis wrote: What am I missing here? either do: [...] or simple do # apt-get install pd-zexy That worked, thanks! Can I do the same for other libraries, like iemmatrix? (i initially missed the point that your Udoo runs a Debian-based system) fgasdmr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBCAAGBQJTL/pFAAoJELZQGcR/ejb4B3QP/3lumJix+HxshBe1X5wvbh+c 31N4NB74I65w6WMX5lIYRSzY+LZh5NR18ys/9F3JXso0c/rPS/qmKIPqVCmDZv73 Y+IyQWyuuln4/8VdQzYVcS+nwX1ao/T5d7VvAkgsk77qO9MUzATVxIM3pWhr0j+q /gJ4nx/9M3SXUr8ALGaQJJcl9u6/0lftkrZvlwjx7xiQdFEckj1xeio440lEgdLG m9nru+2IixHyRkEg7mfCo5qdUGBmcDtfGqu0ppDVeFf3o5HdsMEhVkGTVINCIuLE G7en9oFVh2kLFqvay3ZM+c3IenU3hiE86JyweqHohFiglmHhCwZKnV+21t5mCLNd 5suQoVMnebOJfFN8xvqM2lEzMUHpBTSGGlP6Y7JGIahzUjC2Ul8iNkf31NW9yA3N m2Ogza7Au06FoWR7JRmbAJxpubqjOi57kCbFtnFZ/ExNQm+attmSPOAwQJtrlvP6 5c/zg1pDYhAxAsxNthSM3WePpwtZcFye+4TVSo+EjtW/LIgY+liwG1lVkB/Gzdci g0hZwcBK3RJd+Sw89oO5u+tH91G5ITMe4tDlBEB4q79lnFuDi1xjkc2nAdop873P opsWpU6ruChEkd+dSFxEL2B7kkdvBbH20BhVu58I4tHSd6hSGi8N6Yfv3Y/rrKUG ZPxKJXmjKQPDZrX17Ol4 =I7kv -END PGP SIGNATURE- ___ 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] Compiling zexy in Udoo
This alone will solve it? I guess, since you're mentioning it.. most likely this alone will solve it, hence i mentioned it. on the other side, the version of zexy you are referring to is almost 10 years old. there might be other bugs preventing compilation on newer systems. you could also bugger the author of zexy to create a new release that has this problem fixed. Aren't you the author? in this case, you might bugger me to create a new release. but first make sure, that the problem you are reporting still exists with the newest release. apt-get install pd-zexy did it, as you mentioned in an earlier email, so no need to bugger you. fgmadf IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBCAAGBQJTMAVJAAoJELZQGcR/ejb48b8P/iNacEQIiHfhtLIe1NUe8Pef y4XkAQPVl6ft5IJbv5eI4y+9WwHQBUdOGq7aOutuAYskAzIdHI8sCuh00kXnnsV6 pi5PBFIZfsBnAoZNqeNKViF/XkXLZ32IEiFVgBQF8GpGiFr0/NDRPkv2LnqjzGyK Jy1ZD8AsVbkrWS10RyVZoOs+YkwKERhuGzoP0GjPHTLfONDpkBozY6+e/tdCLcfO VwWroXXWLZLA7oRJoeWPz0yESivon0/Oq/LHwYkxlTt2dzU0JHpyxDzm+d4GyZ87 FxE/AO//mQhOKO303A3lGXZ4nQb56y8o7FYmUvfjQFH5eYqWlQTKg/bKteqMOQDP tO4xOG0S+0j6qgsNTTPtscdk4NAZbnanJ4EIyOErHLOysXSsNZLQ7Lslc88+KWBB uBi9eMs+M2Vm7rldCxRUqH+Lt0te8/cBfvnPDr5iFXPRCVAlgxHbe/VZPIhchaLq Ktb49hMa1iXXg/ZOOYACwiUpMBJv9wMzOtIW+joaCtN20wrrd5p8PghGdhfHSipu nxKk3eFTW76WHePGje/qE6FfrwXXP37KUQGbBbgkhyKOlUnm09pWXSUvhSYrRR7Q GsgybI2jFgUhKJ9Ssp85VC9uldzwfXN25DR/dJ9SoAxQRFBc1nTl+gfJ/K7GdWR1 wmET+9nRnGoPPSL/A/gU =/+xT -END PGP SIGNATURE- ___ 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] Compiling zexy in Udoo
Following the readme instructions I moved the zexy directory in the extra directory of Pd, which is in my home directory (so far so good?), then changed to directory src/ and typed autoconf, fine, then typed ./configure and at the end of it I got this: config.status: creating Makefile ./makesource.sh: 15: ./makesource.sh: Syntax error: ( unexpected And when I typed make I got: make: *** No rule to make target `Make.source'. Stop. This is the whole ./configure log: checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for main in -lc... yes checking for fclose in -lcrtdll... no checking for lseek in -lcoldname... no checking for main in -lkernel32... no checking for main in -lm... yes checking for nullfn in -lpd... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for string.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for select... yes checking for socket... yes checking for strerror... yes checking ms-bitfields... no checking pd\=0.37... yes checking zexy-version... 2.1 checking parallel-port... yes configure: creating ./config.status config.status: creating Makefile ./makesource.sh: 15: ./makesource.sh: Syntax error: ( unexpected What am I missing here? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Application initialization failed: no display name and no $DISPLAY environment variable
Just a follow up, Pd by default had imx-hdmi-soc (hardware) selected as an input and output audio device. Changing it to vt1613-audio (hardware) solved the problem and now I do have audio. How can I set this as a default? Every time I open Pd, I have to go to Audio Settings to change this. There's something else that seems a bit strange to me (according to my very limited linux experience), in /etc/security/ there's a limits.d directory but there's nothing in that directory. Shouldn't there be something like a 90-realtime-base.conf file includint the following lines: @realtime - rtprio99 @realtime - memlock unlimited Should I create it? On Sat, Mar 22, 2014 at 10:11 PM, Alexandros Drymonitis adr...@gmail.comwrote: Super, it worked! Though, I tried to open the Test audio and midi patch and the Pd window was gone. I stopped the session with ^C and started it again, opened a new window and put an [osc~ 440] connected to [dac~], turned the DSP on and nothing comes out of the headphones, plus I get this in the terminal: snd_pcm_open (input): No such file or directory snd_pcm_open (output): Invalid argument snd_pcm_open (input): No such file or directory snd_pcm_open (output): Invalid argument More help? On Sat, Mar 22, 2014 at 9:58 PM, Roman Haefeli reduz...@gmail.com wrote: On Sam, 2014-03-22 at 19:27 +0200, Alexandros Drymonitis wrote: Just installed Pd in my Udoo quad with sudo apt-get install puredata and all the necessary files appear to be where they should but when I type /usr/bin/puredata (or pd) I get the above message and then 'watchdog: signaling pd...' without anything else happening. Pd doesn't know where to display its GUI. I'm logging in udoo with ssh. What do I need to do? Depends on what you want. You can use X11 forwarding (ssh -X) in order to display Pd's windows on your local machine. Or you can run an X session on your Udoo and connect to your Udoo with VNC. Roman ___ 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] Application initialization failed: no display name and no $DISPLAY environment variable
Just installed Pd in my Udoo quad with sudo apt-get install puredata and all the necessary files appear to be where they should but when I type /usr/bin/puredata (or pd) I get the above message and then 'watchdog: signaling pd...' without anything else happening. I'm logging in udoo with ssh. What do I need to do? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Application initialization failed: no display name and no $DISPLAY environment variable
Super, it worked! Though, I tried to open the Test audio and midi patch and the Pd window was gone. I stopped the session with ^C and started it again, opened a new window and put an [osc~ 440] connected to [dac~], turned the DSP on and nothing comes out of the headphones, plus I get this in the terminal: snd_pcm_open (input): No such file or directory snd_pcm_open (output): Invalid argument snd_pcm_open (input): No such file or directory snd_pcm_open (output): Invalid argument More help? On Sat, Mar 22, 2014 at 9:58 PM, Roman Haefeli reduz...@gmail.com wrote: On Sam, 2014-03-22 at 19:27 +0200, Alexandros Drymonitis wrote: Just installed Pd in my Udoo quad with sudo apt-get install puredata and all the necessary files appear to be where they should but when I type /usr/bin/puredata (or pd) I get the above message and then 'watchdog: signaling pd...' without anything else happening. Pd doesn't know where to display its GUI. I'm logging in udoo with ssh. What do I need to do? Depends on what you want. You can use X11 forwarding (ssh -X) in order to display Pd's windows on your local machine. Or you can run an X session on your Udoo and connect to your Udoo with VNC. Roman ___ 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] [pix_opencv_facetracker]
On Fri, Mar 21, 2014 at 12:43 AM, Antoine Villeret antoine.ville...@gmail.com wrote: hello, which archive did you download ? (for which OS) I've downloaded the osx one and btw I can't find any readme. In the package there is a 'model' directory which contains the following files: face.con, face.tracker, face.tri and face2.tracker which sounds like there should be some face tracking there, but there's no pix_opencv_facetracker.pd_darwin I didn't receive any feedback for this beta release and I've switch to a new version with lot's of improvement but it breaks some backward compatibility but I could manage to produce a [pix_opencv_facetracker] binary on deman btw, it's most likely a packaging issue because it was tested on 3 platforms + a -- do it yourself http://antoine.villeret.free.fr 2014-03-19 22:35 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: Just downloaded the pix_opencv library from here http://puredata.info/downloads/pix_opencv/releases/0.2rc/view and it's supposed to include [pix_opencv_facetracker] but it actually doesn't. Is this a known issue? ___ 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] [pix_opencv_facetracker]
Super! It's there and it works! Though I seem to be missing [gemvertexbuffer] but I'll search for it. The help patch did it though, it worked fine. Thanks! On Fri, Mar 21, 2014 at 6:01 PM, Antoine Villeret antoine.ville...@gmail.com wrote: hi alex, thanks for the feedback could you try again with the newly uploaded archive ? http://puredata.info/downloads/pix_opencv/releases/0.2rc/view I've added [pix_opencv_facetracker], its help and a README.txt file. Please let me know if there are other issues. + a -- do it yourself http://antoine.villeret.free.fr 2014-03-21 9:19 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: On Fri, Mar 21, 2014 at 12:43 AM, Antoine Villeret antoine.ville...@gmail.com wrote: hello, which archive did you download ? (for which OS) I've downloaded the osx one and btw I can't find any readme. In the package there is a 'model' directory which contains the following files: face.con, face.tracker, face.tri and face2.tracker which sounds like there should be some face tracking there, but there's no pix_opencv_facetracker.pd_darwin I didn't receive any feedback for this beta release and I've switch to a new version with lot's of improvement but it breaks some backward compatibility but I could manage to produce a [pix_opencv_facetracker] binary on deman btw, it's most likely a packaging issue because it was tested on 3 platforms + a -- do it yourself http://antoine.villeret.free.fr 2014-03-19 22:35 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: Just downloaded the pix_opencv library from here http://puredata.info/downloads/pix_opencv/releases/0.2rc/view and it's supposed to include [pix_opencv_facetracker] but it actually doesn't. Is this a known issue? ___ 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] [pix_opencv_facetracker]
Are you sure? I just downloaded Gem from Pd's website and it's still not there.. On Fri, Mar 21, 2014 at 9:53 PM, Antoine Villeret antoine.ville...@gmail.com wrote: cool [gemvertexbuffer] was introduced just after the 0.93.3 release which is shipped with Pd-extended. And I don't know if there is some newer Gem binary available somewhere for Mac OS X. + a -- do it yourself http://antoine.villeret.free.fr 2014-03-21 20:31 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: Super! It's there and it works! Though I seem to be missing [gemvertexbuffer] but I'll search for it. The help patch did it though, it worked fine. Thanks! On Fri, Mar 21, 2014 at 6:01 PM, Antoine Villeret antoine.ville...@gmail.com wrote: hi alex, thanks for the feedback could you try again with the newly uploaded archive ? http://puredata.info/downloads/pix_opencv/releases/0.2rc/view I've added [pix_opencv_facetracker], its help and a README.txt file. Please let me know if there are other issues. + a -- do it yourself http://antoine.villeret.free.fr 2014-03-21 9:19 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: On Fri, Mar 21, 2014 at 12:43 AM, Antoine Villeret antoine.ville...@gmail.com wrote: hello, which archive did you download ? (for which OS) I've downloaded the osx one and btw I can't find any readme. In the package there is a 'model' directory which contains the following files: face.con, face.tracker, face.tri and face2.tracker which sounds like there should be some face tracking there, but there's no pix_opencv_facetracker.pd_darwin I didn't receive any feedback for this beta release and I've switch to a new version with lot's of improvement but it breaks some backward compatibility but I could manage to produce a [pix_opencv_facetracker] binary on deman btw, it's most likely a packaging issue because it was tested on 3 platforms + a -- do it yourself http://antoine.villeret.free.fr 2014-03-19 22:35 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: Just downloaded the pix_opencv library from here http://puredata.info/downloads/pix_opencv/releases/0.2rc/view and it's supposed to include [pix_opencv_facetracker] but it actually doesn't. Is this a known issue? ___ 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] [pix_opencv_facetracker]
Do you have the source code? Maybe I can compile it for osx...Is there a makefile with it? On Fri, Mar 21, 2014 at 10:21 PM, Antoine Villeret antoine.ville...@gmail.com wrote: I think the release you've download is the 0.93.3, which is the one shipped with Gem and don't include [gemvertexbuffer]. And unfortunately there is no more recent one. I have a [gemvertexbuffer] for Windows but not for Mac OS X. + a -- do it yourself http://antoine.villeret.free.fr 2014-03-21 21:07 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: Are you sure? I just downloaded Gem from Pd's website and it's still not there.. On Fri, Mar 21, 2014 at 9:53 PM, Antoine Villeret antoine.ville...@gmail.com wrote: cool [gemvertexbuffer] was introduced just after the 0.93.3 release which is shipped with Pd-extended. And I don't know if there is some newer Gem binary available somewhere for Mac OS X. + a -- do it yourself http://antoine.villeret.free.fr 2014-03-21 20:31 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: Super! It's there and it works! Though I seem to be missing [gemvertexbuffer] but I'll search for it. The help patch did it though, it worked fine. Thanks! On Fri, Mar 21, 2014 at 6:01 PM, Antoine Villeret antoine.ville...@gmail.com wrote: hi alex, thanks for the feedback could you try again with the newly uploaded archive ? http://puredata.info/downloads/pix_opencv/releases/0.2rc/view I've added [pix_opencv_facetracker], its help and a README.txt file. Please let me know if there are other issues. + a -- do it yourself http://antoine.villeret.free.fr 2014-03-21 9:19 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: On Fri, Mar 21, 2014 at 12:43 AM, Antoine Villeret antoine.ville...@gmail.com wrote: hello, which archive did you download ? (for which OS) I've downloaded the osx one and btw I can't find any readme. In the package there is a 'model' directory which contains the following files: face.con, face.tracker, face.tri and face2.tracker which sounds like there should be some face tracking there, but there's no pix_opencv_facetracker.pd_darwin I didn't receive any feedback for this beta release and I've switch to a new version with lot's of improvement but it breaks some backward compatibility but I could manage to produce a [pix_opencv_facetracker] binary on deman btw, it's most likely a packaging issue because it was tested on 3 platforms + a -- do it yourself http://antoine.villeret.free.fr 2014-03-19 22:35 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: Just downloaded the pix_opencv library from here http://puredata.info/downloads/pix_opencv/releases/0.2rc/view and it's supposed to include [pix_opencv_facetracker] but it actually doesn't. Is this a known issue? ___ 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] [pix_opencv_facetracker]
Just downloaded the pix_opencv library from here http://puredata.info/downloads/pix_opencv/releases/0.2rc/view and it's supposed to include [pix_opencv_facetracker] but it actually doesn't. Is this a known issue? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] udoo board sound issues
Also, for an electric guitar player, the difference between the latency you get with an analog amp (not perceivable) and a computer with more than 10(?)ms latency, is very big. Maybe around 10ms would be ideal, but haven't reached that (yet?), but would really love to. On Sun, Mar 16, 2014 at 11:33 AM, Simon Iten itensi...@gmail.com wrote: well, i play a lot in an orchestra. (doublebass) and i can assure you it's a problem you don't get used to. (and that is not just me) sure you can adapt to the situation but it is not ideal. let a pipe organ player play with a conductor and orchestra and the fun begins :-) it works but it needs a lot of practice and constant forward-conducting from the conductor. i also play a lot with an orchestra that focuses on film-music. basically the movie is going on a screen and we play the filmmusic live to it. the conductor (ludwig wicki) has a small screen with the movie and a click on his notestand, and it's his job to get the orchestra in sync with the movie. he always has to conduct way before the click to even get close to the right spot. so you could say the latency is even worse for the conductor! also i yet have to find an orchestra that plays highly rhythmically fast stuff in sync :-) it's just a different way of making music. my education is that of a jazz-bassplayer and i had to get into the orchestra groove (or the lack of it), before i could understand why they play so non-precise rhythms :-) but it is the only way to stay in sync with each-other and the orchestra. try a symphonic orchestra with a rock-drummer :-) he will get crazy. and to the latencies inherent in wooden instruments: on the doublebass (which many consider as the wooden instrument with the largest latency) the situation is complex. as a player you feel the strings and you have immediate response when you bow or pluck them. so there is no latency for your body. the tone that you hear as a player by the instrument is also there very fast (mostly the attack) but the tone that people here in the audience comes in much later (mostly not the attack) and depends on frequency and volume and if the bass is plucked or bowed. it's a problem with digital instruments or effects when the body experience is non existant and you have to rely solely on your ears. imho this makes a huge difference. cheers simon so i think we should try to make latencies as small as possible, since it helps a lot :-) On 16 Mar 2014, at 02:36, Simon Wise simonzw...@gmail.com wrote: On 15/03/14 23:03, Dan Wilcox wrote: I guess I don't get that since I've been playing that relative latency for years. How is 10-15 ms not real time? It's not even really perceivable unless you're doing lots of high rate short attack decay stuff. At least as far as I can tell. I must be slow. :D Then again, I might be wrong. I'll probably try the hard float Debian UDOO image next. That might give us some room. Musicians in orchestras have been playing with, dealing with, much longer latencies for centuries. An orchestra cannot all be within a metre or so of each other, they are 10s of metres apart, and that is on top of the different set of differences in distance to the audience. In a pit in an opera or ballet it gets much worse. Any modern PA adds substantial latencies to achieve a good sound in the audience, and mostly use mics and foldback in other kinds of performances, and make the musicians life easier by avoiding the natural latency issues of an acoustic performance. Organ players have dealt with huge latencies for as long as there have been big pipe organs. Percussionists using real instruments don't get the attack from their instruments till well after they initiate the note by starting to move their stick toward the cymbal. Wood and metal instruments all have considerable latencies, some much more than others, it is all part of playing that particular instrument. Electric guitar players rely on the latency between amp and pickup (this time only a few milliseconds) for their sound. Any digital instrument also has latencies. Basically it is a matter of playing the instrument you are using. Simon ___ 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] HD 1920 X 1080
On Fri, Mar 14, 2014 at 11:13 AM, Max abonneme...@revolwear.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Also, the choice of codec would be a different one depending on what you are going to do. If you are aiming to JUMP to specific frames in the video or play it backwards you would choose a different codec than if you just want to play it from the beginning to the end linearly. Could you give some examples? I don't know anything about this but would really like to. Could you explain why is it like this? m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Gem geometric objects's outlet
Thanks for you answers guys, Jack this is exactly what I was looking for, I'll check the help patch of [gemframebuffer] to fully understand it. On Tue, Mar 11, 2014 at 5:43 PM, Jack j...@rybn.org wrote: To apply motion blur from a geo, I use two framebuffers ([gemframebuffer]). It is also possible to use [pix_snap] or [pix_snap2tex]... Here a small example attached. ++ Jack Le 11/03/2014 15:55, Alexandros Drymonitis a écrit : If I want to apply, say motion blur to a geometric object that's moving inside the [gemwin], is there some way to use the object's outlet? In the help patch of each geometric object, it says that the outlet outputs the gemlist as many (all?) other gem objects. But other objects, e.g. [pix_video], [pix_image] etc., can send their gemlist to a geometric object and others, like [pix_motionblur], and you can get the desired effect. How would you go about applying some effects to the movement of a primitive? Is recursion what I'm looking for? ___pd-l...@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] Gem geometric objects's outlet
They're in the git repo already ;) but thanks On Wed, Mar 12, 2014 at 11:27 AM, Py Fave pyf...@gmail.com wrote: gemsFeedback-help.pdhttps://github.com/patricksebastien/mtl/blob/master/gemsFeedback-help.pd gemsFeedback.pdhttps://github.com/patricksebastien/mtl/blob/master/gemsFeedback.pd 2014-03-12 9:38 GMT+01:00 Py Fave pyf...@gmail.com: check in mtl abstractions too, it's very well done https://github.com/patricksebastien/mtl 2014-03-12 9:05 GMT+01:00 Alexandros Drymonitis adr...@gmail.com: Thanks for you answers guys, Jack this is exactly what I was looking for, I'll check the help patch of [gemframebuffer] to fully understand it. On Tue, Mar 11, 2014 at 5:43 PM, Jack j...@rybn.org wrote: To apply motion blur from a geo, I use two framebuffers ([gemframebuffer]). It is also possible to use [pix_snap] or [pix_snap2tex]... Here a small example attached. ++ Jack Le 11/03/2014 15:55, Alexandros Drymonitis a écrit : If I want to apply, say motion blur to a geometric object that's moving inside the [gemwin], is there some way to use the object's outlet? In the help patch of each geometric object, it says that the outlet outputs the gemlist as many (all?) other gem objects. But other objects, e.g. [pix_video], [pix_image] etc., can send their gemlist to a geometric object and others, like [pix_motionblur], and you can get the desired effect. How would you go about applying some effects to the movement of a primitive? Is recursion what I'm looking for? ___pd-l...@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
Re: [PD] Sigmund~ parameters
Haven't tried [sigmund~], but [fiddle~] and [helmholtz~] (the latter by Katja Vetter) and I found [both fine but [helmholtz~] a bit better for my taste. I think it's a bit more responsive. What if you combine this with [env~] for example and this way you get pitch and amplitude... On Wed, Mar 12, 2014 at 9:42 PM, Benoît Fortier benoitfort...@yahoo.cawrote: Dear list, I've been working on a patch for quite a few months now which involves pitch tracking. I've explored many possible solutions, considering the pros and cons of every approach, made different tests, etc. I've also done a lot of reading (help files, forums, etc), but I couldn't find satisfying answers to all my questions. I am now in front of 4 or 5 different approach, each of which requires to do a certain number of compromise at different level. My feeling is that I am now at the point where I could possibly eliminate some of those compromise with your help. I have a lot of questions, but I'll start with one regarding Sigmund's notes parameters. I've done a lot of tests, changing one parameter at a time. I found that only the stable time and vibrato parameters seems to be affecting the output the way it should. The other parameters - growth and minpower - doesn't seem to be working the way it's described in the help file. Am I the only person who noticed that? When I looked in the list archives, I found someone else mentioning this issue but nobody replied (and i lost the link to the thread). I'm using my patch to track the pitch of a violin. What I'm trying to do is to convert the pitch of the violon into the most accurate note on message possible (with midi note and velocity). I need this patch to be as responsive as possible but also with as few insignificant output as possible. Thanks for your help! Benoît Fortier 581 995-5622 ___ 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] Gem geometric objects's outlet
If I want to apply, say motion blur to a geometric object that's moving inside the [gemwin], is there some way to use the object's outlet? In the help patch of each geometric object, it says that the outlet outputs the gemlist as many (all?) other gem objects. But other objects, e.g. [pix_video], [pix_image] etc., can send their gemlist to a geometric object and others, like [pix_motionblur], and you can get the desired effect. How would you go about applying some effects to the movement of a primitive? Is recursion what I'm looking for? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] KMI SoftStep foot controller?
On Sat, Mar 8, 2014 at 2:18 AM, Simon Wise simonzw...@gmail.com wrote: On 08/03/14 06:24, Jonghyun Kim wrote: Thanks Chris for the answer! I was worried about compatibility with Pd. How about OSC function with Pd? It's OSC works with [netsend] or [udpsend]? [your OSC message( | [packOSC] | [udpsend] You'll have to explicitly import the mrpeach library, use [import mrpeach] pd-osc: /usr/lib/pd/extra/osc/packOSC.pd_linux pd-iemnet: /usr/lib/pd/extra/iemnet/udpsend.pd_linux Simon ___ 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] easing in pd
The mapping library is very likely to have stuff that would be helpful to you, I guess.. On Wed, Feb 26, 2014 at 10:42 PM, David Schaffer schafferda...@hotmail.comwrote: Hi , I was wonderning if anyone of you had tried to implement easing in pd. I'm working on a video animation patch that uses random objects and the result would look much better if I could find a way to smooth the transitions. I already use the line object, but I'm looking for a way to slow down the line output when the line comes to its end, then start smoothly when it has a new target value. I'm thinking of using the expr object but I would be grateful if someone could give me some design hints on this... Thank you very much, D.S http://www.flickr.com/photos/schafferdavid/ https://soundcloud.com/schafferdavid ___ 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] [pix_alpha]: cannot handle YUV image
I'm trying to use [pix_video] with [pix_alpha] and even though I'm sending [colorspace RGBA( to [pix_video] I get this error message. Can someone point out what I'm missing? Thanks ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pix_alpha]: cannot handle YUV image
Just found it in the FLOSS manuals, I missed the connection between [pix_video] and [pix_rgba] before connecting that to [pix_alpha]...sorry for the hasty post. On Mon, Feb 24, 2014 at 12:14 PM, Alexandros Drymonitis adr...@gmail.comwrote: I'm trying to use [pix_video] with [pix_alpha] and even though I'm sending [colorspace RGBA( to [pix_video] I get this error message. Can someone point out what I'm missing? Thanks ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] ERROR: -35 in GraphicsExportSetOutputFile() GEM: Unable to save image to 'gradient00001.tif'
Yet another question regarding Gem. I'm connecting the outlet of [circle] (which is being rendered in a Gem chain) to the first inlet of [pix_write] and when I send a bang to [pix_write] I get this error and, obviously, no image is being saved. The object's help patch is not helping me thoroughly to be honest. What kind of messages do I have to send to [pix_write] if for example I want to save a .jpg? And of course, why doesn't it save any image? I'm on OS X 10.8.5 with Pd-extended-0.43.4 Thanks ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] ERROR: -35 in GraphicsExportSetOutputFile() GEM: Unable to save image to 'gradient00001.tif'
Hm, for some reason none of the two works. Neither with pix_snap, nor without but sending [file name 99( to [pix_write] (replacing name with whatever name I wanna give to the file). I'm still getting the same error message. On Mon, Feb 24, 2014 at 6:17 PM, Etienne Landon landon.etie...@gmail.comwrote: You're right, my mistake 2014-02-24 17:06 GMT+01:00 Cyrille Henry c...@chnry.net: hello, Le 24/02/2014 16:49, Etienne Landon a écrit : Hi, I understand you're trying to render your circle to an image file, you should then have a look at pix_snap. pix_write needs pixels to write, a circle has no pixel data. pix_snap will make a snapshot of your 3D scene (your circle), this snapshot is pixels that you can then write to an image file using pix_write. your messing pix_write and pix writer. pix_write should do what Alexandros wants. to write a jpg file send a message [file name 99 cheers c 2014-02-24 13:53 GMT+01:00 Alexandros Drymonitis adr...@gmail.commailto: adr...@gmail.com: Yet another question regarding Gem. I'm connecting the outlet of [circle] (which is being rendered in a Gem chain) to the first inlet of [pix_write] and when I send a bang to [pix_write] I get this error and, obviously, no image is being saved. The object's help patch is not helping me thoroughly to be honest. What kind of messages do I have to send to [pix_write] if for example I want to save a .jpg? And of course, why doesn't it save any image? I'm on OS X 10.8.5 with Pd-extended-0.43.4 Thanks ___ Pd-list@iem.at mailto: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] how can you know if [pix_fiducialtrack] tracks a shape or not?
Once [pix_fiducialtrack] tracks a shape, you get a list which is the shape's ID, x/y coordinates and rotation angle. Once a certain shape has been tracked, how can you tell the difference between the shape being still and not being visible by the camera? Can you obtain any data for a shape appearing or disappearing from the camera? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Is Audio Settings Use Multiple Devices available on Mac OSX?
Set the number of channels in the Audio Settings and then use [adc~ 1 2] for the first two channels, [adc~ 3 4] for the other two etc. Whatever number you set as an argument to [adc~] will be the sound card's channel number, starting from one, but you first have to set that in the audio settings. On Sun, Feb 16, 2014 at 10:16 PM, Santiago J. Barro Torres santiagoba...@santiagobarro.com wrote: Hi Miller and Daniel, Thanks for your answers. But I am not sure if we are talking about the same thing. What is the relationship with the i.e. selected input device and the object [adc~]? I guess that there is a mapping between the outside world (either a physical sound card or a sound server) and Pure Data. Let's put a simple example with a single input device as single sound card. Let's think that this sound card has lots of channels (i.e. 64 input/output channels). Is it (somehow) possible to have two [adc~] objects (let's name them [adc0~] and [adc1~] for sake of simplicity)? And say, that i.e. [adc0~] corresponds to sound-card0-channels-0-and-1 and [adc1~] to sound-card0-channels-2-3? (channels starting on 0). Sorry if this is a very simple question, but most Pure Data patches I have seen deal just with single input / output and can't figure out how can I work with more entities. And in order to make this question clear, we can assume we only work with one sound card with lots of channels. And all this, under Mac OSX. Thanks! On Sun, Feb 16, 2014 at 8:24 PM, Daniel Nigrin d...@defectiverecords.comwrote: For OS X, use Aggregate Devices. Go to Audio MIDI Setup, click the little + in the lower left corner, and select Create Aggregate Device. This will allow you to group your various input and output devices, and have them presented to whatever software as a single device. Hope that helps, Dan -- Dan Nigrin / Defective Records / http://defectiverecords.com CycliC, M185 Klee Sequencers / MC-4 MC-202 Hack / Audio Plugin Player / General MIDI Player / Major Malfunction Jack OS X / http://jackosx.com From: Santiago J. Barro Torres santiagoba...@santiagobarro.com Date: Sunday, February 16, 2014 1:57 PM To: pd-list@iem.at Subject: [PD] Is Audio Settings Use Multiple Devices available on Mac OSX? Hello everybody, My name is Santiago, and I am an embedded software engineer. I have been playing around Pure Data for some time, and now I would like to further develop my skills on Music Design // Music Programming. I am working with three versions of pd: Windows, Linux and Mac OSX. Currently, I am having a look at how to use several [adc~] and [dac~] (several input/output devices). In particularly I am doing some experiments using several external USB/FireWire sound cards. So my question is if somebody knows if this feature (using multiple devices) is available on Mac OSX. I have been configuring it on a Windows machine (under Media Audio Settings Use Multiple Devices), where I can select i.e. three input devices and two output devices. This button (Use Multiple Devices) doesn't seem to appear in the Mac OSX version of Pure Data, despite of several input/output devices being available! I have found some old threads dealing with this topic, but it doesn't seem to be a clear answer. Why is this option available in Windows and not in Mac OSX? I have done some research by myself and get this thing working, but without luck. If somebody here comes up with a good answer, I will be very grateful. So I thank you all for your time. Software Versions: I am using an old Intel Mac OS X 10.6.8 32-bit, and tried with pd vanilla (0.45.4, last version) and pd-extended (0.43.4, last version). ___ 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 -- *Santiago J. Barro-Torres (Freiberufler)* Embedded Software Engineer Test Automation and Management Hans-Thoma-Weg 8, Böblingen Handy: (+49) 16 23 85 6767 santiagoba...@santiagobarro.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
Re: [PD] get sinusoid from a sine and a cosine oscillator
In the case of the circle I could just use one of the tables, since one has the cosine and the other the sine, and output that as an oscillator, but if I want to combine functions to create shapes, e.g. one function for the x axis and another for y, how can I combine these two dimensions in one? I don't really get what you mean by (x,y)-x or (x,y)-y, or the equation you wrote (tried it but didn't sound as expected, maybe my implementation was wrong). On Thu, Jan 30, 2014 at 6:06 PM, Charles Z Henry czhe...@gmail.com wrote: You don't want fft~/ rifft~ for that. It's a mapping between large structures on blocks and single-samples (and vice-versa). To get a single sinusoid from a path-defined circle, you just project onto a single dimension. For example, (x,y)-x or (x,y)-y or (x,y)- (sqrt(3)/2*x+1/2*y). In the case of a circle, all the axes you would draw through the circle work equally well. Chuck On Wed, Jan 29, 2014 at 2:44 PM, Alexandros Drymonitis adr...@gmail.comwrote: Yeah, well I'm trying to create shapes in Gem (say a circle) and create the sound they make. So, to make a circle, I'm making a ramp from 0 to 1, multiply it by 2pi and send it to [cos] and [sin] and store these values in two tables, which I then read for every instance of a [circle] (using [repeat] and [separator]). So, since for any shape, you need two coordinates, x and y, my thought was to use these two coordinates as the real and imaginary part of an FFT, merging the two dimensions in one. After the sinusoid, I'll try to make other shapes too, but I wanted to start from that to make sure that I hear exactly what I see. On Wed, Jan 29, 2014 at 10:30 PM, Charles Z Henry czhe...@gmail.comwrote: What you seem to be doing is creating a spectrum which has magnitude 1 everywhere, and the phase is varying at a constant rate vs frequency. That means it has a constant group delay. So... my guess is that you'd get an impulse in each block, whose timing depends on the rate of the phasor. When you vary the phasor frequency, it will coincide with the peak of the hann window at some point and be its loudest. Should be a periodic complex tone. I don't understand your goal: you've got sinusoids in the patch... to generate sinusoids? Chuck On Wed, Jan 29, 2014 at 9:12 AM, Alexandros Drymonitis adr...@gmail.com wrote: Say I have a full sine and a full cosine cycle stored in two tables. I'm trying the following to get a sinusoid from [rifft~] but it doesn't work. [phasor~] | [*~ sizeOfTable - 3] | [+~ 1] |\ | \ | [tabread4~ sine] | \ [tabread4~ cosine] | \ [rifft~] | |[tabreceive~ hann] || [*~ ] | [/~ 1536] I've set the block size to 1024 in this subpatch, and there's a hann window in the parent patch as well. The tables have three guard points, that's why I'm multiplying [phasor~] by the size of the table minus three and then add one. The output of this is a waveform with very low amplitude that kind of bounces up and down within a sine like mask. Don't know if I'm making my self clear. My main question is, how do you get a sinusoid out of a sine and a cosine? Also, what's wrong in my approach? ___ 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] get sinusoid from a sine and a cosine oscillator
On Thu, Jan 30, 2014 at 6:36 PM, Charles Z Henry czhe...@gmail.com wrote: That's the point I was making. By (x,y)-x I mean that you'd just use the x (cosine table) for example. The easiest projection is to throw away axes :) If you're making shapes as repeated paths in 2-D, then taking a projection (along an axis x y or any rotation of x,y) will generate a signal that makes sense and generalizes, creating simple sinusoids for circles and complex tones for different shapes. The pitch would vary by how fast the path is repeated, and the timbre would vary according to the shape. The amplitude would vary by the size of the shape. Those are simple rules--and may not be what you're interested in--but it would be consistent. For example, using a square in it's normal rotation and projecting along x or y alone, you'd get a square wave. If you want to use a contribution from both of your axes, you can just sum them together. (x+y)*sqrt(2)/2 is just a projection along the line x-y=0 Can't really try it right now, but just to be sure, the last equation is to be interpreted like this: (x+y)*(sqrt(2)/2) or like this: ((x+y)*sqrt(2))/2? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] cosinesum vs sinesum in arrays
When sending the cosinesum message to an array, don't you have to specify the number of points too? And specifically a power of two? Plus, for a cosine you have to specify the first partial to have zero amplitude and the second an amplitude of 1 (or less). So the message should be something like [; array999 cosinesum 1024 0 1( First the name of the array, then the cosinesum function, table length and partial strengths. Hope I got your question right.. On Wed, Jan 29, 2014 at 6:01 PM, Peter P. p8...@aol.com wrote: Dear List, not sure if I am getting something wrong here, but it seems that sending the message ; cosinesum array999 1 does something different (besides an obvious phase shift between sine and cosine functions) to the resulting contents of that table: the first partial on cosinesum seems to be the DC component, while the first partial in sinesum is the, well, first partial. Accordingly, the second partials have double frequency in sinesum as in cosinesum. Perhaps this is intentional, but was just wondering... best, Peter ___ 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] get sinusoid from a sine and a cosine oscillator
Yeah, well I'm trying to create shapes in Gem (say a circle) and create the sound they make. So, to make a circle, I'm making a ramp from 0 to 1, multiply it by 2pi and send it to [cos] and [sin] and store these values in two tables, which I then read for every instance of a [circle] (using [repeat] and [separator]). So, since for any shape, you need two coordinates, x and y, my thought was to use these two coordinates as the real and imaginary part of an FFT, merging the two dimensions in one. After the sinusoid, I'll try to make other shapes too, but I wanted to start from that to make sure that I hear exactly what I see. On Wed, Jan 29, 2014 at 10:30 PM, Charles Z Henry czhe...@gmail.com wrote: What you seem to be doing is creating a spectrum which has magnitude 1 everywhere, and the phase is varying at a constant rate vs frequency. That means it has a constant group delay. So... my guess is that you'd get an impulse in each block, whose timing depends on the rate of the phasor. When you vary the phasor frequency, it will coincide with the peak of the hann window at some point and be its loudest. Should be a periodic complex tone. I don't understand your goal: you've got sinusoids in the patch... to generate sinusoids? Chuck On Wed, Jan 29, 2014 at 9:12 AM, Alexandros Drymonitis adr...@gmail.comwrote: Say I have a full sine and a full cosine cycle stored in two tables. I'm trying the following to get a sinusoid from [rifft~] but it doesn't work. [phasor~] | [*~ sizeOfTable - 3] | [+~ 1] |\ | \ | [tabread4~ sine] | \ [tabread4~ cosine] | \ [rifft~] | |[tabreceive~ hann] || [*~ ] | [/~ 1536] I've set the block size to 1024 in this subpatch, and there's a hann window in the parent patch as well. The tables have three guard points, that's why I'm multiplying [phasor~] by the size of the table minus three and then add one. The output of this is a waveform with very low amplitude that kind of bounces up and down within a sine like mask. Don't know if I'm making my self clear. My main question is, how do you get a sinusoid out of a sine and a cosine? Also, what's wrong in my approach? ___ 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] Compiling Pd in Sabayon
On Sat, Jan 18, 2014 at 8:10 PM, IOhannes m zmölnig zmoel...@iem.at wrote: On 01/16/2014 11:50 AM, Alexandros Drymonitis wrote: Having had some problems with audio drop outs in Ubuntu, I am now giving Sabayon 14.01 a try. I'm trying to compile Pd, ./autogen.sh seemed to work fine, but when I type ./configure --enable-jack things go wrong. At the end of configure I get these messages: ./configure: line 15417: syntax error near unexpected token `JACK,' ./configure: line 15417: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, ok, so there are a number of things here. the first thing you should always do when you are trying to compile Pd on a debian derivative (i don't know sabayon-14.01, but it sounds very much like a ubuntu derivative, which in turn is a debian derivative), is to install all the stuff Debian uses to build the puredata package. $ apt-get build-dep puredata it seems that the PKG_CHECK_MODULES macro has not been expanded in the configure file, which most likely means that you have ignored (or overseen) an error when running autogen.sh. you must install the `pkg-config` package, so that autotools know what to do with the PKG_CHECK_MODULES macro. as roman has noticed, th is not really Pd's configure but the one from portaudio. pkg-config will not be installed with the above apt-get command, because Debian completely disables the portaudio that comes with Pd (and uses the one installed in the portaudio19-dev package). in any case, you can disable portaudio, with the --disable-portaudio flag. as roman has also pointed out, this will only disable building portaudio, but will still try to run pa's configure (which is the one that fails). you can disable recursive configure invocation by adding the --no-recursion flag to configure. $ ./configure --disable-portaudio --disable-portmidi --no-recursion plus some other stuff that don't seem write (out of intuition, not knowledge or experience) for example: checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for _oss_ioctl in -lossaudio... no nothing wrong here. I also got lots of warnings when I typed make, like: msgfmt --check --tcl --locale=af -d . af.po af.po:6: warning: header field 'Language' missing in header i don't know anything about this. but i guess it's not problematic (and in any case would only be related to i18n; so if you don't absolutely need a greek pd, i would ignore these warnings). fgmadsr IOhannes PS: debian already comes with puredata-0.45.4 My question is off topic, but since you mentioned it I'll write it here. I downloaded a liveCD image from herehttp://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/but during installation it got stuck at installing the grub boot loader. It was unable to install it to any partition of my hard drive (even the master boot record). Anyone knows why this happens? Also, when setting up the partitions, I assigned the free space I have for Linux to Ext4. I really don't know if this is what I'm supposed to do, but it was the first choice, and it was already chosen. I tried the live image to check how it works on my laptop, but there was no Pd installed there (or jack)...plus this image is 7.2 (i downloaded gnome as I've no idea what's the difference between all these) and on debian's main page you can get 7.3. I guess this should go to some debian forum, but maybe IOhannes knows better about the combination of debian and Pd.. ___ 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] Compiling Pd in Sabayon
Having had some problems with audio drop outs in Ubuntu, I am now giving Sabayon 14.01 a try. I'm trying to compile Pd, ./autogen.sh seemed to work fine, but when I type ./configure --enable-jack things go wrong. At the end of configure I get these messages: ./configure: line 15417: syntax error near unexpected token `JACK,' ./configure: line 15417: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)' configure: error: ./configure failed for portaudio I checked line 15417 in configure, but doesn't make any sense to me, unfortunately.. plus some other stuff that don't seem write (out of intuition, not knowledge or experience) for example: checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for _oss_ioctl in -lossaudio... no I also got lots of warnings when I typed make, like: msgfmt --check --tcl --locale=af -d . af.po af.po:6: warning: header field 'Language' missing in header Don't know if this helps, the messages from configure are quite a lot, I could post them if it's more helpful. I have Jack1 installed (there might be some issues there with memory allocation, but that should go to Jack's list, don't know if this influences Pd's compilation) and ALSA. I've been posting a lot on this Linux and Pd issue of mine lately, but I do wanna give this combination a try...sorry if I irritate anyone.. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] audio drops for few ms, or one sec, with jack on ubuntu (was: Mess with Pd installation on Linux)
On Thu, Jan 9, 2014 at 2:30 AM, Py Fave pyf...@gmail.com wrote: sorrry saw ubuntu late 2014/1/9 Py Fave pyf...@gmail.com i think it's from jack setup search for jack issues with your specific hardware. i mean what mac do you use , jack version is important too Well, I've been posting on the jack mailing list too, and some people there mention that Pd is known to have a poor Jack support... I also get clicks with Audacity, but someone mentioned that Audacity too is known to have a poor Jack support. Someone suggested that I use Pd with ALSA and use an alsa-jack-bridge to send the audio to my firewire sound card. I'll give that a shot and see what happens. BTW, I have Jack 1.9.8 http://www.jackosx.com/news.html 2014/1/7 Alexandros Drymonitis adr...@gmail.com Just an addition to this, it shouldn't be pd's problem as I tried jack with audacity and got drop outs there as well. I'd be grateful to any help.. On Thu, Jan 2, 2014 at 2:05 PM, Alexandros Drymonitis adr...@gmail.comwrote: Forgot to mention that whenever I move a window around, open a subpatch, swich between applications while the audio is running, the sound stops till I stop which ever action. Also I'm running $ jackd -d firewire -d hw:NVidia (forgot to write hw: in the first email) On Thu, Jan 2, 2014 at 1:29 PM, Alexandros Drymonitis adr...@gmail.com wrote: Coming back to a previous thread I started, having compiled pd with jack, having done the realtime scheduling in jack, opening pd with '-jack' and '-rt' I still get some audio drop outs. The sound actually stops for a few ms, or even about a second, then comes back. From the previous thread I was told that probably jack is waiting for samples that pd doesn't provide at certain moments. I went through jack's manual, but it is a manual for programmers and I'm not one, so I didn't make much of it. The only thing I found in jack's FAQ is a question about audio with jack on a macbook (I'm on a macbook with ubuntu) that mentions a drivers problem that distorts the output http://jackaudio.org/macbook_distortion but my output is not distorted... I also tried to start up jack like this $ jackd -d firewire -d NVidia but it really didn't make any difference (why should it? it uses the same sound card with or without '-d NVidia'). Also used QjackCtl to change the block size, but also didn't work. Dunno if this message in jack's terminal says something about the situation: JackEngine::XRun: client = pure_data_0 was not run: state = 2 JackAudioDriver::ProcessGraphAsyncMaster: Process error It appears whenever I open pd with '-jack' I'm on a macbook 5,2 with ubuntu 12.04 and pd-0.45-4 Can anyone help? ___ 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] audio drops for few ms, or one sec, with jack on ubuntu (was: Mess with Pd installation on Linux)
On Thu, Jan 9, 2014 at 12:07 PM, yvan volochine yvan...@gmail.com wrote: On 09/01/14 10:59, Alexandros Drymonitis wrote: there mention that Pd is known to have a poor Jack support... I also get clicks with Audacity, but someone mentioned that Audacity too is known to have a poor Jack support. in my experience this is not true.. both pd and audacity (and supercollider and any other audio app that supports jack) work like a charm with jack here.. Could it be the FFADO drivers with Pd? I still can't make it work and the answers I get from different lists are quite contradictory.. running latest pd, jackdmp-1.9.9.5 and 3.12.5-1-ARCH kernel.. my 0.02$.. y -- http://yvanvolochine.com http://soundcloud.com/yvanvolochine http://soundcloud.com/elgusanorojo http://github.com/gusano http://vimeo.com/yv ___ 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] audio drops for few ms, or one sec, with jack on ubuntu (was: Mess with Pd installation on Linux)
Just an addition to this, it shouldn't be pd's problem as I tried jack with audacity and got drop outs there as well. I'd be grateful to any help.. On Thu, Jan 2, 2014 at 2:05 PM, Alexandros Drymonitis adr...@gmail.comwrote: Forgot to mention that whenever I move a window around, open a subpatch, swich between applications while the audio is running, the sound stops till I stop which ever action. Also I'm running $ jackd -d firewire -d hw:NVidia (forgot to write hw: in the first email) On Thu, Jan 2, 2014 at 1:29 PM, Alexandros Drymonitis adr...@gmail.comwrote: Coming back to a previous thread I started, having compiled pd with jack, having done the realtime scheduling in jack, opening pd with '-jack' and '-rt' I still get some audio drop outs. The sound actually stops for a few ms, or even about a second, then comes back. From the previous thread I was told that probably jack is waiting for samples that pd doesn't provide at certain moments. I went through jack's manual, but it is a manual for programmers and I'm not one, so I didn't make much of it. The only thing I found in jack's FAQ is a question about audio with jack on a macbook (I'm on a macbook with ubuntu) that mentions a drivers problem that distorts the output http://jackaudio.org/macbook_distortion but my output is not distorted... I also tried to start up jack like this $ jackd -d firewire -d NVidia but it really didn't make any difference (why should it? it uses the same sound card with or without '-d NVidia'). Also used QjackCtl to change the block size, but also didn't work. Dunno if this message in jack's terminal says something about the situation: JackEngine::XRun: client = pure_data_0 was not run: state = 2 JackAudioDriver::ProcessGraphAsyncMaster: Process error It appears whenever I open pd with '-jack' I'm on a macbook 5,2 with ubuntu 12.04 and pd-0.45-4 Can anyone help? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Does CPU affinity help Pd's performance?
This is kind of a third thread I create about some drop outs I get with Pd and Jack. Anyone thinks that CPU affinity can help my situation? Anyone applies CPU affinity when using Pd? If so, how can I do it? I'm on Ubuntu 12.04 with Pd-0.45-4 and Jack 1.9.8 Also, I've installed indicator-cpufreq in order to set the CPU to a fixed frequency but that won't help either... Can anyone help me out? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] audio drops for few ms, or one sec, with jack on ubuntu (was: Mess with Pd installation on Linux)
Coming back to a previous thread I started, having compiled pd with jack, having done the realtime scheduling in jack, opening pd with '-jack' and '-rt' I still get some audio drop outs. The sound actually stops for a few ms, or even about a second, then comes back. From the previous thread I was told that probably jack is waiting for samples that pd doesn't provide at certain moments. I went through jack's manual, but it is a manual for programmers and I'm not one, so I didn't make much of it. The only thing I found in jack's FAQ is a question about audio with jack on a macbook (I'm on a macbook with ubuntu) that mentions a drivers problem that distorts the output http://jackaudio.org/macbook_distortion but my output is not distorted... I also tried to start up jack like this $ jackd -d firewire -d NVidia but it really didn't make any difference (why should it? it uses the same sound card with or without '-d NVidia'). Also used QjackCtl to change the block size, but also didn't work. Dunno if this message in jack's terminal says something about the situation: JackEngine::XRun: client = pure_data_0 was not run: state = 2 JackAudioDriver::ProcessGraphAsyncMaster: Process error It appears whenever I open pd with '-jack' I'm on a macbook 5,2 with ubuntu 12.04 and pd-0.45-4 Can anyone help? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] audio drops for few ms, or one sec, with jack on ubuntu (was: Mess with Pd installation on Linux)
Forgot to mention that whenever I move a window around, open a subpatch, swich between applications while the audio is running, the sound stops till I stop which ever action. Also I'm running $ jackd -d firewire -d hw:NVidia (forgot to write hw: in the first email) On Thu, Jan 2, 2014 at 1:29 PM, Alexandros Drymonitis adr...@gmail.comwrote: Coming back to a previous thread I started, having compiled pd with jack, having done the realtime scheduling in jack, opening pd with '-jack' and '-rt' I still get some audio drop outs. The sound actually stops for a few ms, or even about a second, then comes back. From the previous thread I was told that probably jack is waiting for samples that pd doesn't provide at certain moments. I went through jack's manual, but it is a manual for programmers and I'm not one, so I didn't make much of it. The only thing I found in jack's FAQ is a question about audio with jack on a macbook (I'm on a macbook with ubuntu) that mentions a drivers problem that distorts the output http://jackaudio.org/macbook_distortion but my output is not distorted... I also tried to start up jack like this $ jackd -d firewire -d NVidia but it really didn't make any difference (why should it? it uses the same sound card with or without '-d NVidia'). Also used QjackCtl to change the block size, but also didn't work. Dunno if this message in jack's terminal says something about the situation: JackEngine::XRun: client = pure_data_0 was not run: state = 2 JackAudioDriver::ProcessGraphAsyncMaster: Process error It appears whenever I open pd with '-jack' I'm on a macbook 5,2 with ubuntu 12.04 and pd-0.45-4 Can anyone help? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Mess with Pd installation on Linux
On Mon, Dec 30, 2013 at 11:24 PM, Dan Wilcox danomat...@gmail.com wrote: Did you see this in the PD FAQ?: http://puredata.info/docs/faq/how-can-i-run-pd-with-realtime-priority-in-gnu-linux This confuses me a bit as it slightly differs from this http://jackaudio.org/linux_rt_config In the Pd FAQ it says that if /etc/security/limits.d/audio.conf exists you don't need to do anything, where in the other link it says that you need to create /etc/security/limits.d/99-realtime.conf and there you should write the following: @realtime - rtprio 99 @realtime - memlock unlimited In the Pd FAQ, it says that if /etc/security/limits.d/audio.conf doesn't exist, you should add the two lines above to /etc/security/limits.conf but instead of @realtime you should write @audio Anyway, I've followd the jack link and supposedly I've added realtime scheduling. Should I run Pd with '-rt' ? Iohannes, haven't tried jack with anything else. I haven't installed SuperCollider and don't really know how to connect jack to other applications (firefox, vlc etc.). I guess I'll have to read the manual. On Dec 30, 2013, at 3:31 PM, pd-list-requ...@iem.at wrote: *From: *Alexandros Drymonitis adr...@gmail.com *Subject: **Re: [PD] Mess with Pd installation on Linux* *Date: *December 30, 2013 at 3:30:47 PM GMT+1 *To: *yvan volochine yvan...@gmail.com *Cc: *pd-list pd-list@iem.at On Mon, Dec 30, 2013 at 4:12 PM, yvan volochine yvan...@gmail.com wrote: On 30/12/13 14:29, Alexandros Drymonitis wrote: I've realized that I need to open pd with sudo in order to have it work with jack (I also have to open jack with sudo in order to use the firewire). as IOhannes said, you _should not_ do that.. (if you do it could mean that you did not add yourself to the `audio` group, as suggested by my previous link) Ok, I was opening jack with sudo before you posted the link, now I can indeed open it without sudo and it will see the firewire, no prob. So I'm also opening pd without sudo, but I get the same behaviour. Sometimes it works, sometimes it doesn't. how do you start jack? can you post here the full command? jack -d firewire (I use if I want to open pd from the same terminal window, but don't really know how to turn off jack afterwards..) y -- http://yvanvolochine.com http://soundcloud.com/yvanvolochine http://soundcloud.com/elgusanorojo http://github.com/gusano http://vimeo.com/yv ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list Dan Wilcox @danomatika danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] AM by keeping the Carrier (Not Ring Mod)
There's this also http://en.flossmanuals.net/pure-data/audio-tutorials/amplitude-modulation/ On Tue, Dec 31, 2013 at 8:22 PM, Martin Peach martin.pe...@sympatico.cawrote: On 2013-12-31 06:50, Arda Eden wrote: Hi, Most of the AM examples are simply multiplying carrier and modulator outputs, which is also known as Ring Modulation. But in the resulting spectrum the carrier is gone and only the side bands appear. I couldn’t figure out a way to keep the carrier signal in the resulting spectrum (Like as in real AM, not RM). It was easy in Csound for example, since the amplitude value is an input parameter to the oscil function. Any ideas ? Do it the same way as in analog, add a DC offset to one of the signals. [+~ 0.02] Martin ___ 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] Mess with Pd installation on Linux
I've realized that I need to open pd with sudo in order to have it work with jack (I also have to open jack with sudo in order to use the firewire). There's still some strange behaviour though. Sometimes pd will open but without jack. What I get in jack's terminal window when pd can't see jack is: JackProcessSync::LockedTimedWait error usec = 426660 err = Connection timed out JackEngine::ClientActivate wait error ref = 2 name = pure_data_0 JackEngine::XRun: client = pure_data_0 was not run: state = 1 JackAudioDriver::ProcessGraphAsyncMaster: Process error And in the pd console I get: cannot activate client Most of the times though, pd will open and it will work fine with jack. Never the less, these two lines appear in the jack terminal window: JackEngine::XRun: client = pure_data_0 was not run: state = 2 JackAudioDriver::ProcessGraphAsyncMaster: Process and when I close pd (after it has opened with jack) this will appear in jack's terminal: JackEngine::XRun: client = pure_data_0 was not run: state = 1 JackAudioDriver::ProcessGraphAsyncMaster: Process error and the following line will be printed seven times: Cannot write socket fd = 51 err = Broken pipe I guess I can live with that, but it's a bit strange and it would be nice if I had the reason this is happening explained.. Just to refresh, I'm on ubuntu 12.04 with pd-0.45-4 and jack 1.9.8 I run this $ sudo aptitude install libjack-jackd2-dev tha Iohannes suggested and followed this http://jackaudio.org/linux_rt_config as yvan suggested On Sun, Dec 29, 2013 at 8:19 PM, Alexandros Drymonitis adr...@gmail.comwrote: On Sun, Dec 29, 2013 at 6:31 PM, Alexandros Drymonitis adr...@gmail.comwrote: On Sun, Dec 29, 2013 at 6:09 PM, IOhannes m zmölnig zmoel...@iem.atwrote: On 2013-12-29 16:35, Alexandros Drymonitis wrote: Cannot connect to server socket err = No such file or directory Cannot connect to server socket start jack first. then start Pd with -jack. Now this is a bit weird, I start jack with the realtime and firewire flags, and pd might or might not start up wth jack (with -jack). I tried it and it worked the first and second time, but now pd just can't see jack... I'm trying with specified the realtime mode in jack or without. Without specifying I start jack and I get these messages jackdmp 1.9.8 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2011 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK server starting in realtime mode with priority 10 libffado 2.999.0- built Feb 17 2012 15:52:28 It seems to be working, right? But when I start pd with -jack I get this Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started How can it be that pd run a couple of times with jack and all was fine and now it just can't start with jack again? fgmadsr 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
Re: [PD] Mess with Pd installation on Linux
On Mon, Dec 30, 2013 at 4:12 PM, yvan volochine yvan...@gmail.com wrote: On 30/12/13 14:29, Alexandros Drymonitis wrote: I've realized that I need to open pd with sudo in order to have it work with jack (I also have to open jack with sudo in order to use the firewire). as IOhannes said, you _should not_ do that.. (if you do it could mean that you did not add yourself to the `audio` group, as suggested by my previous link) Ok, I was opening jack with sudo before you posted the link, now I can indeed open it without sudo and it will see the firewire, no prob. So I'm also opening pd without sudo, but I get the same behaviour. Sometimes it works, sometimes it doesn't. how do you start jack? can you post here the full command? jack -d firewire (I use if I want to open pd from the same terminal window, but don't really know how to turn off jack afterwards..) y -- http://yvanvolochine.com http://soundcloud.com/yvanvolochine http://soundcloud.com/elgusanorojo http://github.com/gusano http://vimeo.com/yv ___ 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] Mess with Pd installation on Linux
On Mon, Dec 30, 2013 at 4:30 PM, yvan volochine yvan...@gmail.com wrote: On 30/12/13 15:30, Alexandros Drymonitis wrote: Ok, I was opening jack with sudo before you posted the link, now I can indeed open it without sudo and it will see the firewire, no prob. So I'm also opening pd without sudo, but I get the same behaviour. Sometimes it works, sometimes it doesn't. what happens when you launch jack and in another terminal run pd normally, i.e. just `pd`.. don't you have jack in the media menu? True, just tried twice, once I got the : 'cannot activate client' in pd's console, and the other not. Audio run both times fine (actually I played a bit before and had a few drop outs. Could it be cause of the big block size used by jack by default?). What if I want to open Pd -nogui? use audio-dialog would work? y -- http://yvanvolochine.com http://soundcloud.com/yvanvolochine http://soundcloud.com/elgusanorojo http://github.com/gusano http://vimeo.com/yv ___ 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] Mess with Pd installation on Linux
I'm a newbie in Linux and have installed Ubuntu 12.04. I have a running Pd vanilla (0.44-3), but wanting to use jack, I got the latest version (0.45-4) and recompiled. My steps for both versions were: extract the downloaded file to my home directory (I've made a directory there called 'apps'), and cd to that directory, ./autogen.sh then ./configure --enable-jack (btw, at the end of configure, there was a JACKno), then make and sudo make install. If I type pd in a terminal I get Pd-0.44-3 working fine (without jack). My question is, how do I get to open Pd-0.45.4? Is pd a symbolic link pointing at the pd binary? If so, how do I make it point at the newer version? And where is this link located? Also, in the beginning I installed Pd-extended but then uninstalled it, and had some compiling efforts with vanilla that didn't work. Going through my system, I see that there are some pd files in /usr/bin/, in /etc/alternatives/, in /usr/share/man/man1, some of which are broken symbolic links (some from the extended installation), maybe some places else too...with a proper compilation aren't things supposed to go to /usr/local/ ? Should I remove any file that's in the directories above? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Mess with Pd installation on Linux
On Sun, Dec 29, 2013 at 2:49 PM, IOhannes m zmölnig zmoel...@iem.at wrote: On 2013-12-29 12:03, Alexandros Drymonitis wrote: I'm a newbie in Linux and have installed Ubuntu 12.04. I have a running Pd vanilla (0.44-3), but wanting to use jack, I got the latest version (0.45-4) and recompiled. My steps for both versions were: extract the downloaded file to my home directory (I've made a directory there called 'apps'), and cd to that directory, ./autogen.sh then ./configure --enable-jack (btw, at the end of configure, there was a JACKno), you are probably missing the jack development packages. run $ sudo aptitude install libjack-jackd2-dev did it, though my version of jack is 1.9.8, so I guess there will be a conflict? I reinstalled pd and can open it with the -jack flag, but I get these errors in the terminal Cannot connect to server socket err = No such file or directory Cannot connect to server socket jackdmp 1.9.8 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2011 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details Cannot create thread 1 Operation not permitted Cannot create thread 1 Operation not permitted Cannot create thread 1 Operation not permitted JACK server starting in realtime mode with priority 10 Cannot lock down 82241434 byte memory area (Cannot allocate memory) control device hw:0 control device hw:0 audio_reservation_init Acquire audio card Audio0 creating alsa driver ... hw:0|hw:0|1024|3|44100|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 3 periods ALSA: final selected sample format for capture: 32bit integer little-endian ALSA: use 3 periods for capture ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 3 periods for playback Cannot use real-time scheduling (RR/10)(1: Operation not permitted) AcquireSelfRealTime error Cannot lock down 82241434 byte memory area (Cannot allocate memory) open: /etc/pd/gem.conf: No such file or directory open: /home/alexandros/.pd/gem.conf: No such file or directory open: ./gem.conf: No such file or directory and in the pd console: JACKerror: Cannot use real-time scheduling (RR/5)(1: Operation not permitted) JACKerror: JackClient::AcquireSelfRealTime error when trying the test audio and midi patch I get sound but from my laptop speakers... (alternatively, just install all the packages needed to build the puredata package: sudo aptitude build-depends puredata; note however that the puredata package is built against jack1 (and can be used with jack2) - but the development packages of jack1 might conflict with your jack2 installation) then make and sudo make install. good. If I type pd in a terminal I get Pd-0.44-3 working fine (without jack). My bad. question is, how do I get to open Pd-0.45.4? Is pd a symbolic link pointing at the pd binary? If so, how do I make it point at the newer version? And where is this link located? probably you messed with your path. after successfully running make install the pd binary should be installed to /usr/local/bin/pd (unless you changed that when running configure; in any case you should examine the output of make install, as it will show where it installed the files to). but: when running pd, your system will search in it's PATH for the first pd binary it can find. It appears that all the pd file in /usr/local/ (either lib/ or bin/)were overwritten by the new installation. If I type pd I get the 0.45-4 version. what's the output of the following command: $ which pd what's the output of: $ echo $PATH you can force to run a given binary by specifying it's full path: $ /usr/local/bin/pd or $ /usr/bin/pd the alternatives stuff,... is only used by the deb-packages of puredata and pdx. gfmdra 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
Re: [PD] Mess with Pd installation on Linux
On Sun, Dec 29, 2013 at 5:34 PM, yvan volochine yvan...@gmail.com wrote: On 29/12/13 16:35, Alexandros Drymonitis wrote: JACKerror: Cannot use real-time scheduling (RR/5)(1: Operation not permitted) you should configure your system to allow jack to use RT scheduling: http://jackaudio.org/linux_rt_config I guess that did the trick! Thanks a lot guys cheers, y -- http://yvanvolochine.com http://soundcloud.com/yvanvolochine http://soundcloud.com/elgusanorojo http://github.com/gusano http://vimeo.com/yv ___ 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] Mess with Pd installation on Linux
On Sun, Dec 29, 2013 at 6:09 PM, IOhannes m zmölnig zmoel...@iem.at wrote: On 2013-12-29 16:35, Alexandros Drymonitis wrote: Cannot connect to server socket err = No such file or directory Cannot connect to server socket start jack first. then start Pd with -jack. Now this is a bit weird, I start jack with the realtime and firewire flags, and pd might or might not start up wth jack (with -jack). I tried it and it worked the first and second time, but now pd just can't see jack... fgmadsr 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
Re: [PD] Mess with Pd installation on Linux
On Sun, Dec 29, 2013 at 6:31 PM, Alexandros Drymonitis adr...@gmail.comwrote: On Sun, Dec 29, 2013 at 6:09 PM, IOhannes m zmölnig zmoel...@iem.atwrote: On 2013-12-29 16:35, Alexandros Drymonitis wrote: Cannot connect to server socket err = No such file or directory Cannot connect to server socket start jack first. then start Pd with -jack. Now this is a bit weird, I start jack with the realtime and firewire flags, and pd might or might not start up wth jack (with -jack). I tried it and it worked the first and second time, but now pd just can't see jack... I'm trying with specified the realtime mode in jack or without. Without specifying I start jack and I get these messages jackdmp 1.9.8 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2011 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK server starting in realtime mode with priority 10 libffado 2.999.0- built Feb 17 2012 15:52:28 It seems to be working, right? But when I start pd with -jack I get this Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started How can it be that pd run a couple of times with jack and all was fine and now it just can't start with jack again? fgmadsr 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] why is the -jack flag not working?
Following the FLOSS manuals, I'm trying to open Pd with the jack flag and I get the 'usage:' message and jack is not included in the audio configuration flags. These are the audio configuration stuff audio configuration flags: -r n -- specify sample rate -audioindev ... -- audio in devices; e.g., 1,3 for first and third -audiooutdev ... -- audio out devices (same) -audiodev ...-- specify input and output together -inchannels ... -- audio input channels (by device, like 2 or 16,8) -outchannels ... -- number of audio out channels (same) -channels ...-- specify both input and output channels -audiobuf n-- specify size of audio buffer in msec -blocksize n -- specify audio I/O block size in sample frames -sleepgrain n -- specify number of milliseconds to sleep when idle -nodac -- suppress audio output -noadc -- suppress audio input -noaudio -- suppress audio input and output (-nosound is synonym) -listdev -- list audio and MIDI devices -oss -- use OSS audio API -alsa-- use ALSA audio API -alsaadd name -- add an ALSA device name to list -pa -- use Portaudio API (default audio API for this platform: ALSA) I've already started jack with the -d firewire flag, and it seems to be ok, but Pd won't let me use this flag. Any ideas? I'm on Ubuntu 12.04 and Pd-0.44-3 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] why is the -jack flag not working?
On Sat, Dec 28, 2013 at 5:32 PM, IOhannes m zmölnig zmoel...@iem.at wrote: On 2013-12-28 15:39, Alexandros Drymonitis wrote: Following the FLOSS manuals, I'm trying to open Pd with the jack flag and I get the 'usage:' message and jack is not included in the audio configuration flags. These are the audio configuration stuff this means, that the Pd you are using has been compiled without jack support. (when running `./configure` you have to *explicitely* enable jack with the --enable-jack flag) I guess I'll have to recompile then why don't you just use the puredata package that comes with ubuntu? Just thought of compiling vanilla from source and importing any external libraries I need afterwards. Dunno why really, it's good for practice maybe.. gfmdsar 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
Re: [PD] why is the -jack flag not working?
On Sat, Dec 28, 2013 at 5:32 PM, IOhannes m zmölnig zmoel...@iem.at wrote: On 2013-12-28 15:39, Alexandros Drymonitis wrote: Following the FLOSS manuals, I'm trying to open Pd with the jack flag and I get the 'usage:' message and jack is not included in the audio configuration flags. These are the audio configuration stuff this means, that the Pd you are using has been compiled without jack support. (when running `./configure` you have to *explicitely* enable jack with the --enable-jack flag) why don't you just use the puredata package that comes with ubuntu? Also, an 'issue' I have is my firewire sound card, which I don't know how to utilize without jack. Does the puredata package that comes with ubuntu include jack? gfmdsar 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] [PD-announce] 'Electric Nights' Festival, call for works
Sorry for cross-posting, posted it to off-topic first, it fits here better though. Medea Electronique announces an open call for works for the upcoming 'Electric Nights' Festival, a 27hour long festival of experimental electronic music, DIY and noise art. Check the call here http://www.medeaelectronique.com/2013/12/electric-nights-2014-open-call/ ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] ordering stream
Check the rePatcher Pd patch http://wiki.openmusiclabs.com/wiki/Repatcherthey are sending the hexadecimal 0xc0 for the beginning of the data stream (decimal 192) and then collect the rest of the values. If this is what you need..It works fine for me. On Thu, Dec 12, 2013 at 2:41 PM, David Welch nicederangem...@gmail.comwrote: say I have a stream of ASCII numbers coming in from an Arduino device. It contains a letter indicating the beginning of the stream, something like (when you translate from ASCII): B 1023 1022 1021 1023 1021 etc. Does anyone know how one can process this in such a way that the numbers are handled in the same order, correctly? thanks, Dave ___ 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] Live stream audio, do it with [oggcast~]?
I'm actually trying to solve the make problem with the iemrtp library. The error I get when I type make in the library's directory is this: ./iemrtp.h:35:2: error: No byte order defined I looked at the iemrtp.h file and what I understood is that I need the endian.h file, which I don't have. There is also an #if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) || defined(ANDROID) which I commented out and left only the #include endian.h (bad, good? I'm on os x, so should I define something when attempting to make the library?). I googled and found an endian.h file, copied it to the library's directory, but if I type make I get this error: ./iemrtp.h:26:10: fatal error: 'endian.h' file not found. Can anyone help me out with this? On Sat, Nov 23, 2013 at 6:25 PM, Alexandros Drymonitis adr...@gmail.comwrote: On Sat, Nov 23, 2013 at 12:19 PM, IOhannes m zmölnig zmoel...@iem.atwrote: On 2013-11-23 11:11, Alexandros Drymonitis wrote: Is [oggcast~] the object to live stream audio to another computer? And which one is the receiver? It's not mentioned in the help patch. oggcast~ is the object to feed a streaming server, like icecast. it's main purpose is to build a web broadcast, rather than a peer-to-peer communication. (you will need a streaming server and a receiver, e.g. [oggamp~]; latency is usually quite high in such setups, expect 10sec) for low-latency peer-to-peer streaming, check [netsend~]/[netreceive~]. Forgot to ask, are these the [netsend~]/[netreceive~] objects http://www.nullmedium.de/dev/netsend~/? Taken from this website: If you're looking for objects to stream audio over the Internet this is not what you want! However, streaming over Internet2 or local 10Mbit or even wireless networks works very well. Internet2? It also is alpha and can't make that either. Tried different solutions with the makefile, like change pd_darwin to d_fat (took this from Lyon's book) and some other stuff, but nothing worked out. There's still much to learn about unix.. if you are on linux (or osx), you could also use an external application like `jacktrip` (`aptitude install jacktrip`) and use jack to setup your routing between Pd, network and speakers. finally, there's the iemrtp [1], which allows you to build an RTP streamer (both sides) within Pd. mgfdsar IOhannes [1] https://github.com/iem-projects/pd-iemrtp/ ___ 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] Live stream audio, do it with [oggcast~]?
Ok, I don't know stuff about RTP/RTCP. So, I'd rather go for [netsend~]/[netreceive~]. In the README file though it says this: To compile for Pd, cd into the directory, where you found this README and type make pd_linux, make pd_darwin, make pd_irix6 (make is supposed to be gnu-make) or nmake pd_nt depending on the operating system you are using. But typing make pd_darwin I get this error: make: Nothing to be done for `pd_darwin'. Plus, on the website of these objects it says that they are currently unsupported... The directory though includes .pd_darwin files, but trying to import the library in a patch, the console shows this: /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/netsend~/netsend~.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/netsend~/netsend~.pd_darwin, 10): no suitable image found. Did find: /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/netsend~/netsend~.pd_darwin: mach-o, but wrong architecture [import]: can't load library in 'netsend~' Any tip on solving this problem? On Sun, Nov 24, 2013 at 9:25 PM, IOhannes m zmölnig zmoel...@iem.at wrote: On 2013-11-24 19:38, Alexandros Drymonitis wrote: I'm actually trying to solve the make problem with the iemrtp library. The darn, i should not announce these objects :-) :-( the thing is, that these objects allow you to create an RTP streaming solution - if you know what you are doing (you should have a good idea about what RTP/RTCP is; the objects will do the data-formatting/packaging for you, but you have to implement buffering, resampling, packet-loss correction,... yourself and within Pd! currently the only supported payload is 16bit uncompressed audio. these objects are not for the fain-hearted... [netsend~]/[netreceive~] are definitely easier to use. gfmdsar 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] Live stream audio, do it with [oggcast~]?
Is [oggcast~] the object to live stream audio to another computer? And which one is the receiver? It's not mentioned in the help patch. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Live stream audio, do it with [oggcast~]?
On Sat, Nov 23, 2013 at 12:19 PM, IOhannes m zmölnig zmoel...@iem.atwrote: On 2013-11-23 11:11, Alexandros Drymonitis wrote: Is [oggcast~] the object to live stream audio to another computer? And which one is the receiver? It's not mentioned in the help patch. oggcast~ is the object to feed a streaming server, like icecast. it's main purpose is to build a web broadcast, rather than a peer-to-peer communication. (you will need a streaming server and a receiver, e.g. [oggamp~]; latency is usually quite high in such setups, expect 10sec) for low-latency peer-to-peer streaming, check [netsend~]/[netreceive~]. if you are on linux (or osx), you could also use an external application like `jacktrip` (`aptitude install jacktrip`) and use jack to setup your routing between Pd, network and speakers. finally, there's the iemrtp [1], which allows you to build an RTP streamer (both sides) within Pd. Do I have to make the objects? There's no pd_darwin (I'm on os x) in the directory.. I did type make in this directory (I moved it to the 'extra' directory) and got this: cc -I/Applications/Pd-extended.app/Contents/Resources/include/pd -DPD -DVERSION='0' -arch i386 -arch x86_64 -mmacosx-version-min=10.5 -fPIC -I/sw/include -Wall -W -g -ftree-vectorize -ftree-vectorizer-verbose=2 -fast -o unpackRTP.o -c unpackRTP.c clang: warning: argument unused during compilation: '-ftree-vectorize' clang: warning: argument unused during compilation: '-ftree-vectorizer-verbose=2' clang: warning: argument unused during compilation: '-fast' In file included from unpackRTP.c:23: ./iemrtp.h:35:2: error: No byte order defined #error No byte order defined ^ 1 error generated. make: *** [unpackRTP.o] Error 1 Any suggestions? mgfdsar IOhannes [1] https://github.com/iem-projects/pd-iemrtp/ ___ 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] Live stream audio, do it with [oggcast~]?
On Sat, Nov 23, 2013 at 12:19 PM, IOhannes m zmölnig zmoel...@iem.atwrote: On 2013-11-23 11:11, Alexandros Drymonitis wrote: Is [oggcast~] the object to live stream audio to another computer? And which one is the receiver? It's not mentioned in the help patch. oggcast~ is the object to feed a streaming server, like icecast. it's main purpose is to build a web broadcast, rather than a peer-to-peer communication. (you will need a streaming server and a receiver, e.g. [oggamp~]; latency is usually quite high in such setups, expect 10sec) for low-latency peer-to-peer streaming, check [netsend~]/[netreceive~]. Forgot to ask, are these the [netsend~]/[netreceive~] objects http://www.nullmedium.de/dev/netsend~/? Taken from this website: If you're looking for objects to stream audio over the Internet this is not what you want! However, streaming over Internet2 or local 10Mbit or even wireless networks works very well. Internet2? It also is alpha and can't make that either. Tried different solutions with the makefile, like change pd_darwin to d_fat (took this from Lyon's book) and some other stuff, but nothing worked out. There's still much to learn about unix.. if you are on linux (or osx), you could also use an external application like `jacktrip` (`aptitude install jacktrip`) and use jack to setup your routing between Pd, network and speakers. finally, there's the iemrtp [1], which allows you to build an RTP streamer (both sides) within Pd. mgfdsar IOhannes [1] https://github.com/iem-projects/pd-iemrtp/ ___ 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] How to set file path for [readsf~] in Windows?
Since Pd won't accept the \ symbol (you always get this message 'keycode 92: dropped'), how can you set a file path so that [readsf~] and find that file, in Windows? All paths in Windows use the backward slash instead of the forward slash... ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Is there an outlet and inlet limit for [mtx_*~]?
Has anyone experienced any buggy behavior by setting lots of outlets and inlets to a [mtx_*~]? I'm designing some hardware that will be using this object and the prototype, on a breadboard, behaves fine with 16 outlets and 16 inlets. Haven't tried more than that yet as it is quite cumbersome on a breadboard, so thought of asking if anyone knows of any limitations of this object. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Is there an outlet and inlet limit for [mtx_*~]?
On Tue, Nov 19, 2013 at 3:34 PM, IOhannes m zmoelnig zmoel...@iem.atwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2013-11-19 13:58, Alexandros Drymonitis wrote: Has anyone experienced any buggy behavior by setting lots of outlets and inlets to a [mtx_*~]? I'm designing some hardware that will be using this object and the prototype, on a breadboard, behaves fine with 16 outlets and 16 inlets. Haven't tried more than that yet as it is quite cumbersome on a breadboard, so thought of asking if anyone knows of any limitations of this object. the sky (and your processing power) is the limit. Good to know! Thanks. fmgadr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBCAAGBQJSi2j/AAoJELZQGcR/ejb4TtwP/2+TOsqK8f79of/3+saUiLTr wTQW7IOgVUq0Jaukf/2y//JPuxpb0wuRrpMIGQcecz4eiRS+bxE/shQ+IXENfGmw F8cQdXFiAStPdS9PkTI+I8Sc9bAuKt6ogUgM5LwDhfHHQG8KZNQxbt3gXXuiWQu7 QvQwdMErRCeAdfQ/88iz4ZNtsBDjH49K+REG01iqOInjOh92OuTK4ieb8JD3ufX5 SzApyibEXujuKPZHtomQICSPPgF/F7pYYrHPLmYkxvGfi5w4Eg8QDz3StGwlG+9L HmbuBZ9MF4q3mrdS78Ds8rRL58KdqzI31zW6AqJYzmb18ObtRCBbZZpXx4k+/gY1 XGOyNLnv7dAJiwxT5Hj3SPH0VUhHNc9ez8A74ysEe827MT1HpUVJozUkDVgEg+uV OyVG/KLUuXI6BI/l6Pt1akep1Nh50b5kFepk8c68mXYDm6A1mcZUYjI11eFDOR35 yj530vNRGJpJbXSbiWdmqyyg8cZ4KlL64Sq4rDBPpNU3tOV/R3TNJG9DNUSWqZoe JHgGe6yq0XUDFVI8SmyQSJbP9Qkij35rTs0cNMASmJ49EwCUv9aRkewSkKA7n1P/ pC/8XRW9DHhRUPVLRGN/NQIqT3fOZ3oF1aACWlAJvGk20R8oZzVViXLozBi6gE9U rTlwoUfxglSyoti0EHeN =7Tp+ -END PGP SIGNATURE- ___ 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] Windows 7 won't output sound...
Just started a Pd course and a student's got a problem with the audio. He's on Windows 7 with Pd-extended 0.43.4 and Pd will not make any sound. He tried though on another laptop of his also with Windows 7 and Pd-extended 0.43.4 and he did get sound. Is it some driver issue? Anyone knows anything about it? Thanks, Alex ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] waveform segment breakpoints
But what if you want to change some parameters dynamically? Won't you get clicks? I've made an oscillator that changes smoothly between various shapes. You can get it here http://drymonitis.me/code/. It's the first link 'Various Shapes Oscillator~'. Dunno if this is kind of what you're looking for though.. On Fri, Nov 15, 2013 at 11:19 AM, peiman khosravi peimankhosr...@gmail.comwrote: Unless I've misunderstood your question, you can write the data to an array, which can be read with tabread~. *www.peimankhosravi.co.uk http://www.peimankhosravi.co.uk || RSS Feed http://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/* On 15 November 2013 04:38, Ronni Montoya ronni.mont...@gmail.com wrote: Hi, i need to convert some data into waveforms. I need to use the trick used in non standard synthesis where you use the data to define waveform segments breakpoints. Do anybody have tried something like this purely in pd (not externals)? which is the best way of achieving this in pd? cheers R. ___ 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] Arduino/Raspberry comport issue
Are you sure the baud rate you set to [comport] is the same as the code you load on your Arduino? That could be a problem.. If you send the [devices( message to [comport] what do you get in the console? On Mon, Nov 11, 2013 at 11:19 AM, kubriel kubr...@servus.at wrote: It won?t receive data. Hi! i was using RPi plenty of times headless without any problems with comport in pd, but usually running armarch linux. but i was not using device name, but device nr, like [comport 0 9600] for uno, or [comport 4 9600] for duemilanove. kub -- http://kubriel.servus.at ___ 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] Fwd: Arduino/Raspberry comport issue
The baud rate issue seems strange, as the communicating devices should talk and listen to the same baud rate...no idea, sorry. -- Forwarded message -- From: Allen, Michael all...@spu.edu Date: Mon, Nov 11, 2013 at 7:35 PM Subject: Re: [PD] Arduino/Raspberry comport issue To: Alexandros Drymonitis adr...@gmail.com The baud rate in the arduino code is 9600. But like I said, in pd it doesn't seem to matter? If the first rate I try in the comport object is 9600 it won't connect. If I change to 115200 it will. Similarly if I close the patch with 115200 saved and reopen it, the comport won't connect unless I change the baud rate back to 9600. I haven't tried other speeds but I bet they would do the same thing. It seems like it wants to do the opposite of what I want it to do. A mind of its own. I have a message going to the comport object to open it. Either [open 0 9600( with whatever port [devices] tells me, or [devicename /dev/ttyAMA0 9600( On Nov 11, 2013, at 9:14 AM, Alexandros Drymonitis adr...@gmail.com wrote: Are you sure the baud rate you set to [comport] is the same as the code you load on your Arduino? That could be a problem.. If you send the [devices( message to [comport] what do you get in the console? On Mon, Nov 11, 2013 at 11:19 AM, kubriel kubr...@servus.at wrote: It won?t receive data. Hi! i was using RPi plenty of times headless without any problems with comport in pd, but usually running armarch linux. but i was not using device name, but device nr, like [comport 0 9600] for uno, or [comport 4 9600] for duemilanove. kub -- http://kubriel.servus.at ___ 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] could not open midi input 1 (nanoKONTROL SLIDER/KNOB): PortMidi: `Bad pointer'
Even though Pd can see my midi controller, last days I've been receiving this error message as soon as I launch Pd. Anyone knows why this happens? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] ==~ and avg~ not recognised
Is [==~] a vanilla object? On 1 Νοε 2013, at 11:31, peiman khosravi peimankhosr...@gmail.com wrote: Dear all, Is this a bug? OS X 10.7.5 and Pd 0.45.3 (vanilla)? If so please let me know and I will report it. Best, Peiman www.peimankhosravi.co.uk || RSS Feed || Concert News test.pd ___ 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] Strip file name from path (alternative to [stripfilename])?
On Sun, Oct 27, 2013 at 10:21 PM, peiman khosravi peimankhosr...@gmail.comwrote: Hello, Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy). Isn't the library called moonlib? Best, P *www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/* On 27 October 2013 19:56, Antonio Roberts anto...@hellocatfood.comwrote: I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation. Can anyone help? Thanks -- anto...@hellocatfood.com http://www.hellocatfood.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-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] covert sensor data to midi
Did you check this out? http://arduino.cc/en/Tutorial/Midi On Mon, Oct 28, 2013 at 6:39 PM, Sofia Paraskeva so...@copperbluemedia.comwrote: Dear list, I have a patch that receives data from wireless sensor (FSR) via xbee USB serial port. I want to convert the raw data to MIDI and i don't know how to do this. In my understanding converting to MIDI means scaling the raw sensor values to to a range of 0-126 This is going to be for a percussion sound, so how hard the sensor is pressed will determine for example how loud it is heard. I've read some things online and people talk about using a hardware device to convert to MIDI. Can I do this without a hardware device? Thank you, Sofia ___ 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] matrix~
Try [mtx_*~] instead. Or [mtx_mul~]. On my mac I can't always create [mtx_*~], but on my linux with pd-vanilla, I've compiled the library and [mtx_*~] works fine. [mtx_mul~] is the same though, although it's supposed to be deprecated...at least I think.. On Mon, Oct 14, 2013 at 5:44 PM, Olivier Baudry olivierbaudry@hotmail.fr wrote: Dear all in, Pd extended 0.43.4 on Mac OS Lion, matrix~ seems to be broken, it's not possible to use matrix connect or disconnect message. Maybe because message are not in wright syntax. ( help of matrix~ is not present in package) ___ 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] LED on the Cheap
I guess some microprocessor like Arduino will be needed for that. Plus shift registers since you'll be using lots of LEDs. Do you wanna use RGB LEDs? How do you want to use Pd in that? Will the panels react to some or image, or something like that? On Thu, Oct 3, 2013 at 11:58 AM, Alvin Google alvin.os...@gmail.com wrote: I am writing a proposal to use Pure-Data to control LED panels that would light part of a rock quarry. The panels should both illuminate and show pixelated imagery (the resolution dependent on the quality of LEDs). I would looking for the cheapest and easiest solution. It has to be visible at some distance so the panel size would have to be at least 2 x 3 meters. This sort of application is completed new to me and any and all advise would be super helpful.. Thanks A __**_ 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
Re: [PD] udpsend not recognised
As of Pd-extended-0.43 (I think) you have to import external libraries explicitly, so you need to use [import] or include the library name in the object (e.g. [mrpeach/udpsend]). Did you try those, as Dan indicated? On Tue, Oct 1, 2013 at 11:57 PM, peiman khosravi peimankhosr...@gmail.comwrote: Hello, I've added the path to the library directory in the preferences. And in pd-extended, I'm guessing it should just work out of the box, but it doesn't. Thanks, Peiman *www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/* On 1 October 2013 17:50, Dan Wilcox danomat...@gmail.com wrote: Are you using import ala [import mrpeach] or invoking the lib path explicitly? [mrpeach/udpsend] On Oct 2, 2013, at 12:02 AM, pd-list-requ...@iem.at wrote: *From: *peiman khosravi peimankhosr...@gmail.com *Subject: **[PD] udpsend not recognised [was Re: [PD-announce] pd 0.45-3 test 1 released]* *Date: *October 2, 2013 12:02:07 AM GMT+08:00 *Cc: *PD List pd-list@iem.at I might be imagining this but I remember a discussion about OSC and one of these test releases, which I can't find now. I'm asking because I cannot get 'udpsend' to be recognised as an object on OS X 10.7.5. I've tried with both pd-extended and installing it manually alongside the vanilla version. Best, Peiman 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
Re: [PD] udpsend not recognised
[import] is a pd-extended object, hence it's not recognised by vanilla. It will work on extended though.. On Wed, Oct 2, 2013 at 12:17 AM, peiman khosravi peimankhosr...@gmail.comwrote: Thanks for the reply. Sorry for the stupid question but I'm not quite clear about this. I'm using vanilla now. Is [import] an object? It's not recognised here. Peiman *www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/* On 1 October 2013 22:06, Alexandros Drymonitis adr...@gmail.com wrote: As of Pd-extended-0.43 (I think) you have to import external libraries explicitly, so you need to use [import] or include the library name in the object (e.g. [mrpeach/udpsend]). Did you try those, as Dan indicated? On Tue, Oct 1, 2013 at 11:57 PM, peiman khosravi peimankhosr...@gmail.com wrote: Hello, I've added the path to the library directory in the preferences. And in pd-extended, I'm guessing it should just work out of the box, but it doesn't. Thanks, Peiman *www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/* On 1 October 2013 17:50, Dan Wilcox danomat...@gmail.com wrote: Are you using import ala [import mrpeach] or invoking the lib path explicitly? [mrpeach/udpsend] On Oct 2, 2013, at 12:02 AM, pd-list-requ...@iem.at wrote: *From: *peiman khosravi peimankhosr...@gmail.com *Subject: **[PD] udpsend not recognised [was Re: [PD-announce] pd 0.45-3 test 1 released]* *Date: *October 2, 2013 12:02:07 AM GMT+08:00 *Cc: *PD List pd-list@iem.at I might be imagining this but I remember a discussion about OSC and one of these test releases, which I can't find now. I'm asking because I cannot get 'udpsend' to be recognised as an object on OS X 10.7.5. I've tried with both pd-extended and installing it manually alongside the vanilla version. Best, Peiman 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
Re: [PD] PLEASE HELP ME (CLICKS AND POPS FROM KNOBS)
The frequency inlets of [lop~] and [hip~] don't take signals, that's why you get clicks. You have to implement the filters yourself using [rpole~], [rzero~], [cpole~] and [czero~]. You can read the theory here http://msp.ucsd.edu/techniques/latest/book-html/node139.html Or you can go to Pd's forum and check some post from Maelstorm (administrator). His posting signature is his library of abstractions that include all kinds of filters driven by signals too. On Sun, Sep 22, 2013 at 7:06 AM, Luca Mani manif...@yahoo.it wrote: Hello is there a way to avoid clicks and pops coming out when moving the frequency/bandwith knobs of the lowpass and hipass filters of the pd library? line~ and sig~ lop are not working because the knobs are not controlling an audio signal. Thanks in advance Luca ___ 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] [PD-announce] pd 0.45-2 released
Built-in in my case too. On Fri, Sep 13, 2013 at 1:13 AM, Jaime E Oliver jaime.oliv...@gmail.comwrote: built-in in my case. J On Sep 12, 2013, at 5:47 PM, Miller Puckette m...@ucsd.edu wrote: Is this with built-in audio hardware or an external box of some sort? I can't reproduce this on the machines I've tried it on (10.4 and 10.8-something) (I've found and fixed the pasting bug OK - it was failing on all platforms.) thanks Miller On Tue, Sep 10, 2013 at 04:56:01PM +0300, Alexandros Drymonitis wrote: I can confirm the crackles with a 48k sampling rate and delay = 100 ms on OS X 10.8.4 On Tue, Sep 10, 2013 at 4:34 PM, Jaime E Oliver jaime.oliv...@gmail.comwrote: Could you also try the 48k sample rate while playing a sinusoid? I get crackles unless I increase the software's delay (in audio preferences) to something like 500ms. ? On Sep 10, 2013, at 6:01 AM, Cyrille Henry c...@chnry.net wrote: Le 10/09/2013 11:38, Nicolas Montgermont a écrit : Same here on osx 10.6.8 But isn't that a pd-extended only feature? it has always been working in vanilla / linux. but I can confirm that it did not work any more on linux. c n Le 10/09/13 09:03, peiman khosravi a écrit : I can confirm the copying issue on OS X 10.7.5. P On 10 September 2013 06:36, Jaime E Oliver jaime.oliv...@gmail.com mailto: jaime.oliv...@gmail.com wrote: A couple of bugs it seems in osx 10.8.4 and pd 0.45-2 I cannot copy the content of one object box (i.e. the text inside the box like name of an object and arguments) into another object. -- http://www.nimon.org ___ 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-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] pd 0.45-2 released
I can confirm the crackles with a 48k sampling rate and delay = 100 ms on OS X 10.8.4 On Tue, Sep 10, 2013 at 4:34 PM, Jaime E Oliver jaime.oliv...@gmail.comwrote: Could you also try the 48k sample rate while playing a sinusoid? I get crackles unless I increase the software's delay (in audio preferences) to something like 500ms. ? On Sep 10, 2013, at 6:01 AM, Cyrille Henry c...@chnry.net wrote: Le 10/09/2013 11:38, Nicolas Montgermont a écrit : Same here on osx 10.6.8 But isn't that a pd-extended only feature? it has always been working in vanilla / linux. but I can confirm that it did not work any more on linux. c n Le 10/09/13 09:03, peiman khosravi a écrit : I can confirm the copying issue on OS X 10.7.5. P On 10 September 2013 06:36, Jaime E Oliver jaime.oliv...@gmail.commailto: jaime.oliv...@gmail.com wrote: A couple of bugs it seems in osx 10.8.4 and pd 0.45-2 I cannot copy the content of one object box (i.e. the text inside the box like name of an object and arguments) into another object. -- http://www.nimon.org ___ 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] Fwd: Sinesum, cosinesum and cubic interpolation's guard points
Ok, but why don't you need the guard points at the end of the array when you're using [tabread4~], and only the first guard point? In the audio examples of Pd's browser, the patch B04.tabread4.interpolation.pd demonstrates the use of the object where it reads an array of 11 elements, from index 1 up to (and including) index 8. Why is there an index 9 and 10 if those values are not needed? What's the difference between [tabosc4~]'s interpolation and [tabread4~]'s interpolation? -- Forwarded message -- From: Miller Puckette m...@ucsd.edu Date: Thu, Sep 5, 2013 at 4:35 PM Subject: Re: [PD] Sinesum, cosinesum and cubic interpolation's guard points To: Alexandros Drymonitis adr...@gmail.com It's only necessary if you want to smoothly wrap around from the last index to 0 (as you do in most uses of tabosc~, but not, for example, if you're using tabread4~ as a sampler.) I should fix Pd to uniformly use PI from math.h - 3.14159 was a bit slapdash in retrospect :) cheers Miller On Thu, Sep 05, 2013 at 04:26:20PM +0300, Alexandros Drymonitis wrote: OK, that's clear, thanks. Still when using [tabread4~] or [tabosc4~] you still need a copy of the last element in the first index and copies of the first two elements in the last two indices, right? Even if you're not using sinesum or cosinesum but some other mathematical function.. On Thu, Sep 5, 2013 at 1:56 PM, IOhannes m zmoelnig zmoel...@iem.at wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-09-05 09:45, Alexandros Drymonitis wrote: OK, index 0 is the negative of index 2, no not really, they just happen to be the same. which can again make sense as it's a sine (supposing that index 0 is a copy of the table's last element), but index 512 doesn't have that value, why? And why do indices 1 and 513 have different values too? do they? when it comes to floating point, equality becomes a little bit fuzzy. e.g. 0.1 is really the 'same' as 0.10001490116119384765625 [1]. comparing the values, you can see that they are not *very* wrong: array[512]-array[0] = -5.30668e-6 = -0.053 array[513]-array[1] = -5.30718e-6 = -0.053 array[514]-array[2] = -5.30668e-6 = -0.053 so the errors are really rather small, and hopefully don't matter so much in the interpolation (which is another approximation anyhow). the reason why the error is not smaller, is that Pd internally (src/g_array.c:896) deals with a PI value of 3.14159, which is a rather rough estimate and is the reason why the cycle is not exactly 512 points long. fgamsdr IOhannes [1] http://en.wikipedia.org/wiki/Floating_point#Representable_numbers.2C_conversion_and_rounding -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlIoY3UACgkQkX2Xpv6ydvTY1wCcDCyH8kY50snbVOv5AxwspIAB jwQAoLJOrVoESvzyqrZyvWKky0ec1eUT =YqkS -END PGP SIGNATURE- ___ 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] Fwd: Sinesum, cosinesum and cubic interpolation's guard points
I understand this, I understand how cubic interpolation works, to some extent. What I don't understand is in what way is this different to the way [tabosc4~] deals with tables. If I want to feed a table with values from a mathematical function, should I copy the last element to index(0) and the first two elements to index(length - 2) and index(length - 1), if I'm gonna use [tabread4~]? What I understand is that this is necessary, whether I use [tabosc4~] or [tabread4~], right? On Fri, Sep 6, 2013 at 4:26 PM, Miller Puckette m...@ucsd.edu wrote: The read points actually rangee from 1 to 9 (or 8.9 - something) - and if, for nstance, you want to read teh value at 8.5, you need the points 7, 8, 9, and 10. So teh sze is 11 (indices 0-10 nclusve). It's confusing, I know cheers Miller On Fri, Sep 06, 2013 at 01:53:54PM +0300, Alexandros Drymonitis wrote: Ok, but why don't you need the guard points at the end of the array when you're using [tabread4~], and only the first guard point? In the audio examples of Pd's browser, the patch B04.tabread4.interpolation.pd demonstrates the use of the object where it reads an array of 11 elements, from index 1 up to (and including) index 8. Why is there an index 9 and 10 if those values are not needed? What's the difference between [tabosc4~]'s interpolation and [tabread4~]'s interpolation? -- Forwarded message -- From: Miller Puckette m...@ucsd.edu Date: Thu, Sep 5, 2013 at 4:35 PM Subject: Re: [PD] Sinesum, cosinesum and cubic interpolation's guard points To: Alexandros Drymonitis adr...@gmail.com It's only necessary if you want to smoothly wrap around from the last index to 0 (as you do in most uses of tabosc~, but not, for example, if you're using tabread4~ as a sampler.) I should fix Pd to uniformly use PI from math.h - 3.14159 was a bit slapdash in retrospect :) cheers Miller On Thu, Sep 05, 2013 at 04:26:20PM +0300, Alexandros Drymonitis wrote: OK, that's clear, thanks. Still when using [tabread4~] or [tabosc4~] you still need a copy of the last element in the first index and copies of the first two elements in the last two indices, right? Even if you're not using sinesum or cosinesum but some other mathematical function.. On Thu, Sep 5, 2013 at 1:56 PM, IOhannes m zmoelnig zmoel...@iem.at wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-09-05 09:45, Alexandros Drymonitis wrote: OK, index 0 is the negative of index 2, no not really, they just happen to be the same. which can again make sense as it's a sine (supposing that index 0 is a copy of the table's last element), but index 512 doesn't have that value, why? And why do indices 1 and 513 have different values too? do they? when it comes to floating point, equality becomes a little bit fuzzy. e.g. 0.1 is really the 'same' as 0.10001490116119384765625 [1]. comparing the values, you can see that they are not *very* wrong: array[512]-array[0] = -5.30668e-6 = -0.053 array[513]-array[1] = -5.30718e-6 = -0.053 array[514]-array[2] = -5.30668e-6 = -0.053 so the errors are really rather small, and hopefully don't matter so much in the interpolation (which is another approximation anyhow). the reason why the error is not smaller, is that Pd internally (src/g_array.c:896) deals with a PI value of 3.14159, which is a rather rough estimate and is the reason why the cycle is not exactly 512 points long. fgamsdr IOhannes [1] http://en.wikipedia.org/wiki/Floating_point#Representable_numbers.2C_conversion_and_rounding -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlIoY3UACgkQkX2Xpv6ydvTY1wCcDCyH8kY50snbVOv5AxwspIAB jwQAoLJOrVoESvzyqrZyvWKky0ec1eUT =YqkS -END PGP SIGNATURE- ___ 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] Changing the frequency of [phasor~] with [biquad~]
If you have a [phasor~] controlling a bunch of stuff and you wanna to have lots of different frequencies, one way of doing this is: [phasor~ 1] | [*~ 8] | [wrap~] which will increase the frequency by eight times. But if you wanna have a decimal number in [*~ ], say 11.7, then the last ramp of the increase will be cut at a certain point (here at 0.7, if I'm not mistaken). Someone once sent me a patch here in the list where he was doing this with [biquad~] and decimal increments were possible, but I can't find that patch anywhere, and I've no idea what coefficients I have to send to [biquad~] to achieve this. Anyone knows? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Changing the frequency of [phasor~] with [biquad~]
Well, I've found the patch. It's this: [phasor~ 1] | | [0 0 1 -1 0( | / | / [biquad~] | | [0\ - increment multiplication | | [*~ ] | [max~ 0] remove negative dirac | [fexpr~ fmod($x[0]+y[-1], 1)] integration of the signal with a wrap The comments are from the person who made, I'm sorry but can't remember who it is... On Fri, Sep 6, 2013 at 5:18 PM, Alexandros Drymonitis adr...@gmail.comwrote: If you have a [phasor~] controlling a bunch of stuff and you wanna to have lots of different frequencies, one way of doing this is: [phasor~ 1] | [*~ 8] | [wrap~] which will increase the frequency by eight times. But if you wanna have a decimal number in [*~ ], say 11.7, then the last ramp of the increase will be cut at a certain point (here at 0.7, if I'm not mistaken). Someone once sent me a patch here in the list where he was doing this with [biquad~] and decimal increments were possible, but I can't find that patch anywhere, and I've no idea what coefficients I have to send to [biquad~] to achieve this. Anyone knows? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Sinesum, cosinesum and cubic interpolation's guard points
When you send this message [sinesum 512 1( to a table Pd will automatically add one index to the beginning of the table and two indices to its end, and you end up with a table of 515 indices. The three additional indices are the guard points for the cubic interpolation, right? So the first index should be a copy of the last element (here, index 0 a copy of index 512), and the last two indices should be copies of the first two elements (here, indices 513 and 514 copies of indices 1 and 2 respectively). Am I getting it right up to here? Well, with the message [cosinesum 512 0 1( this is indeed true; these are the values I get: index 512 = 0.25 index 0 = 0.25 index 1 = 1 index 513 = 1 index 2 = 0.25 index 514 = 0.25 Well, the second and the last elements have the same value anyway (index 2 and 512), which makes sense as it's a cosine. But if I send [sinesum 512 1( I'm getting these results: index 512 = -0.0122768 index 0 = -0.0122715 index 1 = 0 index 513 = -5.30718e-06 index 2 = 0.0122715 index 514 = 0.0122662 OK, index 0 is the negative of index 2, which can again make sense as it's a sine (supposing that index 0 is a copy of the table's last element), but index 512 doesn't have that value, why? And why do indices 1 and 513 have different values too? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sinesum, cosinesum and cubic interpolation's guard points
OK, that's clear, thanks. Still when using [tabread4~] or [tabosc4~] you still need a copy of the last element in the first index and copies of the first two elements in the last two indices, right? Even if you're not using sinesum or cosinesum but some other mathematical function.. On Thu, Sep 5, 2013 at 1:56 PM, IOhannes m zmoelnig zmoel...@iem.at wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-09-05 09:45, Alexandros Drymonitis wrote: OK, index 0 is the negative of index 2, no not really, they just happen to be the same. which can again make sense as it's a sine (supposing that index 0 is a copy of the table's last element), but index 512 doesn't have that value, why? And why do indices 1 and 513 have different values too? do they? when it comes to floating point, equality becomes a little bit fuzzy. e.g. 0.1 is really the 'same' as 0.10001490116119384765625 [1]. comparing the values, you can see that they are not *very* wrong: array[512]-array[0] = -5.30668e-6 = -0.053 array[513]-array[1] = -5.30718e-6 = -0.053 array[514]-array[2] = -5.30668e-6 = -0.053 so the errors are really rather small, and hopefully don't matter so much in the interpolation (which is another approximation anyhow). the reason why the error is not smaller, is that Pd internally (src/g_array.c:896) deals with a PI value of 3.14159, which is a rather rough estimate and is the reason why the cycle is not exactly 512 points long. fgamsdr IOhannes [1] http://en.wikipedia.org/wiki/Floating_point#Representable_numbers.2C_conversion_and_rounding -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlIoY3UACgkQkX2Xpv6ydvTY1wCcDCyH8kY50snbVOv5AxwspIAB jwQAoLJOrVoESvzyqrZyvWKky0ec1eUT =YqkS -END PGP SIGNATURE- ___ 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] filtercoeff~ / filtergraph~ in Pd?
Mike Moser-Booth has a whole library with abstractions which include [filtercoeff~] and [filtergraph~]. You can get it if you go to Pd's forum ( puredata.hurleur.com) and check any post by Maelstrom (he's an administrator there). He's got a link to his library as a post signature. On Sun, Sep 1, 2013 at 7:44 PM, José Rafael Subía Valdez jsubiaval...@gmail.com wrote: there was this object.. http://puredata.info/downloads/filterview I don't know in what state it is, but it sure promised a great leep in PD gui objects. cheers On Sun, Sep 1, 2013 at 11:14 AM, Alexandre Torres Porres por...@gmail.com wrote: Hi there, now that someone gave me a Max license and I'm translating some patches to Pd, I guess I'm gonna start bugging you guys a lot asking for equivalent objects in Pd ;) And here I ask about [filtercoeff~] and [filtergraph~]... Based on filtergraph~, filtercoef~ calculates filter coefficient for the biquad~ object from frequency, amp Q. They seem to make it really easier and friendlier to use the [biquad~] object. Maybe this could be worked out as some abstraction, maybe someone already has. The math just blows me away and I have completely no idea whatsoever... Cheers ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Lic. José Rafael Subía Valdez www.jrsv.net ___ 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] sample based engine sound for racing game
Check Andy Farnell's website http://obiwannabe.co.uk/html/sound-design/sound-design-audio.html He's got quite some examples there. On 26 Αυγ 2013, at 22:54, hghoyer hgho...@gmail.com wrote: hi list, does anyone has experience or tips to patch a realistc motorsound for racing game prototyping? i wants to experiment with some motorsound loops to create some real engine noise... for tips i'll be very happy ___ 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] taxinomy, website or more
The forum puredata.hurleur.com has a section for tutorials, a section for artistic projects, a section for externals, a section for abstractions, and other sections (technical issues, visuals, microcontrollers etc.). It's not as active as the list, but it's there and it's being used by quite some people. Plus you can always search the list archives for specific topics. On 22 Αυγ 2013, at 19:16, Olivier Baudry olivierbaudry@hotmail.fr wrote: Dear all I would like to make a few comments that I think are important to the community puredata, this concerns the puredata website _ Mailing list is very nice to read some topics. However it seems to me that a forum with a search engine is especially useful to make queries for topics. _ It seems to me that it would be good to have a tab Do you know how? spend on mini tutorials powered by community contributors (academic or not) _ ensuite a tab with puredata projects in the context of artistic projects _ a libraries tab divided into two categories of : _ librairies abstactions, _ libraries of externals _ A taxonomy and site-specific model of semantic data to facilitate research and to maintain and develop the software that is used PureData olivierbaudry_eba.vcf ___ 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] separate list of symbols
[list split 2] would work in your case I guess.. Sent from my iPad On 4 Αυγ 2013, at 21:18, Mirko Maier mir...@gmx.de wrote: hi all, (sorry, the previous mail didn't work because of html) i'd like to separate a list (with floats or symbols) with a given separator into two lists. for example, my input list ist [hi i am a robot( and i want to give am as a separator, that i receive two lists as output: [hi i( and [am a robot( (the second list includes the separator). it should also work with floats and symbols and floats mixed. any cheap solution? thanks for help. best Mirko ___ 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] Gem create many cubes
Isn't [repeat] along with [separator] the solution for such things? Maybe something like this could work: [gemhead] | [t a a] | | | [cube] | [separator] | [repeat] | [color] | [translate] Incrementing the number in the left inlet of [repeat] should create a new copy where you can change its parameters (color, position,etc.), if i'm not mistaken... maybe you need a separator before [cube] as well, not sure.. On 2 Αυγ 2013, at 11:16, pured...@11h11.com wrote: maybe [gemlist] will help you? What if i need specific colors for each cubes? ___ 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] Gem create many cubes
There's a recursion tutorial by Claude Heiland-Allen that uses such techniques. Maybe it's included in the browser, check it out. On 2 Αυγ 2013, at 12:07, Miguel Eduardo Venegas Monroy miguelvmon...@gmail.com wrote: i dont undertand. ;S 2013/8/2 Alexandros Drymonitis adr...@gmail.com Isn't [repeat] along with [separator] the solution for such things? Maybe something like this could work: [gemhead] | [t a a] | | | [cube] | [separator] | [repeat] | [color] | [translate] Incrementing the number in the left inlet of [repeat] should create a new copy where you can change its parameters (color, position,etc.), if i'm not mistaken... maybe you need a separator before [cube] as well, not sure.. On 2 Αυγ 2013, at 11:16, pured...@11h11.com wrote: maybe [gemlist] will help you? What if i need specific colors for each cubes? ___ 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] Gem compiled without FONT-support
I've compiled Pd-0.44.3 on Ubuntu 12.04 and compiled the Gem library as well. Thought all was good (ok, I have some issues with the camera and a couple of other stuff, but it's not of my interest at this point), but when I opened a patch I made some time ago I got this error: [text2d]: Gem has been compiled without FONT-support ! Any idea how to fix this? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Gem compiled without FONT-support
I've installed the ftgl-dev package and recompiled Gem, but now I get this error: [text2d]: cannot find font-file '/home/alexandros/Dropbox/pd_patches/H1N1/video/vera.ttf' I just downloaded vera.ttf, but where should it be so that Pd can see it? For now it's in the Downloads directory. On Sat, Jul 27, 2013 at 12:13 PM, IOhannes m zmölnig zmoel...@iem.atwrote: On 07/27/13 08:09, Alexandros Drymonitis wrote: I've compiled Pd-0.44.3 on Ubuntu 12.04 and compiled the Gem library as well. Thought all was good (ok, I have some issues with the camera and a couple of other stuff, but it's not of my interest at this point), but when I opened a patch I made some time ago I got this error: [text2d]: Gem has been compiled without FONT-support ! Any idea how to fix this? compile Gem with font support? you need the ftgl-dev package installed when running configure (and afterwards). fgmasdr 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
Re: [PD] Gem compiled without FONT-support
I put it in the extra directory and it works. Thanks. On Sat, Jul 27, 2013 at 2:28 PM, Cyrille Henry c...@chnry.net wrote: put the ttf file in a place pd will look at it : in the search patch, or directly in the patch folder. but since the error is that the file /home/alexandros/Dropbox/pd_**patches/H1N1/video/vera.ttf can not be found, putting vera.ttf in /home/alexandros/Dropbox/pd_**patches/H1N1/video/ will certainly work! cheers c Le 27/07/2013 13:12, Alexandros Drymonitis a écrit : I've installed the ftgl-dev package and recompiled Gem, but now I get this error: [text2d]: cannot find font-file '/home/alexandros/Dropbox/pd_ **patches/H1N1/video/vera.ttf' I just downloaded vera.ttf, but where should it be so that Pd can see it? For now it's in the Downloads directory. On Sat, Jul 27, 2013 at 12:13 PM, IOhannes m zmölnig zmoel...@iem.atmailto: zmoel...@iem.at wrote: On 07/27/13 08:09, Alexandros Drymonitis wrote: I've compiled Pd-0.44.3 on Ubuntu 12.04 and compiled the Gem library as well. Thought all was good (ok, I have some issues with the camera and a couple of other stuff, but it's not of my interest at this point), but when I opened a patch I made some time ago I got this error: [text2d]: Gem has been compiled without FONT-support ! Any idea how to fix this? compile Gem with font support? you need the ftgl-dev package installed when running configure (and afterwards). fgmasdr IOhannes __**_ Pd-list@iem.at mailto: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
Re: [PD] polygate~, demux~ mux~, mtx_*~
[mtx_*~] is part of the iemmatrix library. On Pd-extended on my mac I also can't create [mtx_*~], but [mtx_mul~] using [import iemmatrix]. I think [mtx_mul~] should be deprecated, but it works on Pd-extended-0.43 (I think, the latest version from puredata.info). On my Linux I have Pd-0.44.3 (vanilla) and I have compiled iemmatrix and I can create [mtx_*~]. Anyway, try it, this is the object for what you wanna do. On Sun, Jul 28, 2013 at 1:08 AM, pured...@11h11.com wrote: hi, i need to route 1 to x x to 1 audio signal. demux~ (demultiplex~ on pd-extended) and mux~ are doing exactly that, but when switching using a number box = glitch. polygate~ have a fade option that avoid this glitch but there's no couterpart (like unpolygate~) and finally mtx_*~ on pd-extended linux 64, i cannot create the object (i don't know what to import). any advice? __**_ 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
[PD] where can I find [udpsend] and [udpreceive]?
I've just compiled the osc library in Pd vanilla (wasn't it called mrpeach?) but [udpsend] and [udpreceive] are not included? Where can I find them? Can't seem to find them in Pd's website.. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list