Re: [PD] Find distance to a line in 3d space

2013-12-05 Thread Claude Heiland-Allen
On 05/12/13 23:40, João Pais wrote: Hello list, I had a doubt, will try to explain. I wanted to define a line in a 3d space through 2 points, and be able to find out the distance from another point to that line. Since I'm very bad at math, I wanted to know if anyone has done something similar,

Re: [PD] tabread2~ noisy output

2013-10-29 Thread Claude Heiland-Allen
On 29/10/13 12:36, peiman khosravi wrote: An artefact of the sample interpolation perhaps? No, of limited precision in the index: http://lists.puredata.info/pipermail/pd-list/2012-07/097073.html Claude -- http://mathr.co.uk ___ Pd-list@iem.at mai

Re: [PD] wiki table feedback tutorial link dead

2013-10-18 Thread Claude Heiland-Allen
Hi Dan + list, On 18/10/13 22:14, Dan Wilcox wrote: > I'm curious about the table feedback tutorial on the puredata.info tutorials > wiki page, but the link is dead: > http://puredata.info/docs/tutorials?portal_status_message=HowTo%20Read%20HID%20Devices%20in%20Linux%20Without%20Being%20Root%20h

Re: [PD] RME TotalMix controlled with OSC

2013-08-28 Thread Claude Heiland-Allen
Looking at the source, there seems to be a way to set explicit type tags. I haven't checked the help patch, maybe it is documented there. On 28/08/13 21:26, Dan Wilcox wrote: > I was thinking that [packOSC] might be interpreting a non-decimal float as an > int, but I don't think so ... There is

Re: [PD] RME TotalMix controlled with OSC

2013-08-28 Thread Claude Heiland-Allen
On 28/08/13 21:10, Max wrote: > hm. since in Pd all numbers are floats printing a 1.0 will show 1 > however I can use [makefilename %s.0] which seems to be a possible > workaround. [makefilename %f] But then it might be sent as s string instead of a number (whether float or int). What are you u

Re: [PD] Worse performance with -nogui.

2013-08-15 Thread Claude Heiland-Allen
[delay]. See the attachments in my other reply: http://lists.puredata.info/pipermail/pd-list/2013-08/103730.html If it's ever 0, that might cause problems. Anyway, this bug is fixed in the latest pd and pd-extended (which you are using), sorry for the noise. > El 15/08/13 14:11, Claude Heiland-A

Re: [PD] Worse performance with -nogui.

2013-08-15 Thread Claude Heiland-Allen
On 15/08/13 05:22, Mario Mey wrote: > I'm using Pd-Extended 0.43.4 Nevermind what I said in my earlier reply, this version doesn't have that particular bug (but 0.41 and 0.42 extended do, and so does pd-l2ork git master as of today): Pd version 0.41-4extended compiled 17:56:28 Aug 15 2013 SR: 0 S

Re: [PD] Worse performance with -nogui.

2013-08-15 Thread Claude Heiland-Allen
Hi Mario, I think you might be being bitten by this bug, though I'm not 100% sure. On 15/08/13 05:22, Mario Mey wrote: > Then, I realized that that noise is there only with -nogui option. Using > GUI, it sounds great. Is this a known issue? Some versions of Pd have a bug where the sample rate is

Re: [PD] abstraction penalty benchmarks

2013-08-09 Thread Claude Heiland-Allen
king some strange but interesting patches, and doesn't >>> solve the larger problem which becomes anxiety about [s]/[r] pairs or >>> any other nonlocal connection objects inside abstractions. >>> >>> -Jonathan >>> >>>> >>>> ch

Re: [PD] abstraction penalty benchmarks

2013-08-09 Thread Claude Heiland-Allen
On 09/08/13 19:42, Miller Puckette wrote: > There still could be situations where an abstraction has a sub-patch ("pd foo" > for instance) - I'm not clear as to whether those namings should be supressed > as well. It seems like a tricky problem - lots of people seem to use > abstractions with only

Re: [PD] abstraction penalty benchmarks

2013-08-09 Thread Claude Heiland-Allen
global compatibility flag to the new canvas_should_bind() function. Toplevel patches are still bound to pd-.pd and subpatches [pd ] are still bound to pd-; it's just abstraction instances that no longer have the automatic binding. > On Thu, Aug 08, 2013 at 10:46:24PM -0400, Jonathan Wilkes wr

[PD] abstraction penalty benchmarks

2013-08-08 Thread Claude Heiland-Allen
Hi, Today I remembered one performance where I saved an abstraction with many instances, bringing things to a halt. So I benchmarked this scenario and some similar ones - some seem to scale very badly. pure-data.git gcc-4.8.1 GNU/Linux/Debian/Wheezy amd64 64bit Pd-0.45.0 ("test") compiled 17:10:

Re: [PD] Read from and write to an array at once (?!?)

2013-08-03 Thread Claude Heiland-Allen
On 03/08/13 17:11, Pierre Massat wrote: > Well, I just discovered that it was actually possible to read from and > write to the same array at the same time. I thought it was impossible (i'd > never even tried, to be honest). So here's my (probably stupid) question : > is this a feature ? Yes, it w

Re: [PD] tabread4 interpolation

2013-07-22 Thread Claude Heiland-Allen
On 22/07/13 10:47, J Oliver wrote: > Where can I find the code for tabread4? > Does someone have any lights on how this interpolation is implemented? See also this (quite long) thread: http://lists.puredata.info/pipermail/pd-list/2010-03/077278.html Claude -- http://mathr.co.uk _

Re: [PD] offline rendering?

2013-06-15 Thread Claude Heiland-Allen
On 15/06/13 09:53, Jeppi Jeppi wrote: > would you think it could be a way for pd to generate audio to file faster > than realtime? pd -batch ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-l

Re: [PD] GEM: texture on transparent sphere visible from opposite side

2013-06-08 Thread Claude Heiland-Allen
Hi, On 08/06/13 14:48, Matthias Kronlachner wrote: > i have a texture on a sphere and slightly add transparency to the sphere. > i can now see objects behind the sphere, but is it possible to make the > texture of the opposite side of the sphere visible? (through the > (semitransparent) front side

Re: [PD] pd2png : screenshots of patchs

2013-05-15 Thread Claude Heiland-Allen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jérôme, On 15/05/13 15:09, Abel Jérôme wrote: > Hi list, > > I'm following the thread about "Pd > svg" : > http://lists.puredata.info/pipermail/pd-list/2013-05/102452.html > > It gives me energy to make another tool. Sometimes I need to take >

Re: [PD] Pd Development "Reverse Kickstarter"

2013-05-14 Thread Claude Heiland-Allen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/05/13 08:47, IOhannes m zmoelnig wrote: > On 2013-05-13 23:26, Jonathan Wilkes wrote: >> * adding a function to make it easy to parse comma-separated >> A_GIMME args to an object as named args. [snip] > personally i would go for something much s

Re: [PD] Lowpass to Highpass morph

2013-04-22 Thread Claude Heiland-Allen
calculate angular frequency input; #X floatatom 83 65 5 0 0 0 - - -; #X text 53 491 z-plane filter adjustable high/low shelving \; Claude Heiland-Allen 2013-04-22 ; #X text 65 418 calculate pole/zero locations; #X connect 0 0 37 0; #X connect 2 0 5 0; #X connect 2 0 29 0; #X connect 3 0 7 1; #X c

Re: [PD] Nikon DSLR Capture with Pd

2013-04-02 Thread Claude Heiland-Allen
Hi, On 02/04/13 15:38, me.grimm wrote: > Has anyone been able to capture images from a Nikon DSLR with Pd? gphoto is a library for interfacing with cameras [0] Ben Bogart wrote a gphoto external for Pd [1] gphoto does probably work on OS X [2] gphoto for Pd's makefile is only for Linux [3] so

Re: [PD] Dynamic routing for audio signals

2013-01-02 Thread Claude Heiland-Allen
On 01/01/13 21:46, Mike McGonagle wrote: Ideally, I would think that [throw~] could be extended (into a new object? [mthrow~] for multi-throw?). This object would also allow for these signals to be scaled independently for each destination added. Multiple [throw~] can sum to corresponding [catc

Re: [PD] Pd fonts

2012-10-15 Thread Claude Heiland-Allen
On 15/10/12 08:23, Ed Kelly wrote: I've tried various -font-face arguments: $ pd -font-face "DejaVu Sans Mono" (note the quotes) works for me (at least it looks different from the default) with $ pd -version Pd version 0.42-6 compiled 08:43:13 Mar 19 2012 Hope this helps, Claude -- http:

Re: [PD] [GEM] pix_mano and latest linux kernels

2012-10-14 Thread Claude Heiland-Allen
On 14/10/12 21:23, Jaime Oliver wrote: OK, so I got it running and the crash is always in line 727: Program received signal SIGSEGV, Segmentation fault. 0x7fffe18f8418 in pix_mano::processGrayImage (this=, image=...) at pix_mano.cpp:727 727 if (base[chGray + xcoord] == 80)

Re: [PD] Parsing .pd file to get dependency graph

2012-10-12 Thread Claude Heiland-Allen
On 12/10/12 14:10, Jamie Bullock wrote: Has anyone written a script to parse a .pd files and get its full tree of dependencies (externals and abstractions)? Vaguely started something like this in 2008, attached are some almost-trivial bash scripts etc. Not very robust, but it's a start. Doe

Re: [PD] Shifting arrays (permutation)

2012-10-10 Thread Claude Heiland-Allen
On 10/10/12 12:51, Rick T wrote: Greets All I was looking for a way to shift arrays (permutation) by samples (permutation generally refers to something more general than shifting or rotating, more like shuffling a deck of cards than cutting it) Personally I keep all my vline~ in [0..1] and

Re: [PD] counting how many times an audio file is looped

2012-10-06 Thread Claude Heiland-Allen
On 06/10/12 06:24, IOhannes m zmölnig wrote: On 10/05/2012 11:25 PM, Rick T wrote: Is there another way I should be doing this trust Pd's timing. that's the foundation. count the bangs that [tabplay~] will output via it's 2nd inlet. For long files, yes. (Is [tabplay] clock-aware? it p

Re: [PD] Can't create Gem window

2012-10-05 Thread Claude Heiland-Allen
Hey, On 05/10/12 12:09, Ed Kelly wrote: Intel Core i5 Radeon HD7700 graphics card. Ubuntu 10.04 64bit OS? This is probably irrelevant as Wheezy is newer than Lucid, but... In Debian Wheezy I have no end of trouble with proprietary NVIDIA driver due to multiarch transition, in the end my wor

Re: [PD] Recording audio to mp3 using LAME or ffmpeg ?

2012-10-05 Thread Claude Heiland-Allen
On 05/10/12 11:55, Pierre Massat wrote: Dear List, How would you go about recording the audio output of a Pd patch directly to mp3 (or any other compressed format actually), without using the object from the Unauthorized library ? Would it be feasible to use the [shell] object with a script usin

[PD] hip~ nyquist gain bug test patch [Was: arraysize]

2012-10-05 Thread Claude Heiland-Allen
On 03/10/12 15:22, Claude Heiland-Allen wrote: On 02/10/12 16:15, Miller Puckette wrote: 1. there's a bug in hip~ - its DC gain is slightly (and possibly considerably) greater than 1. Did you mean nyquist-frequency rather than DC here? See attached test patch that waits 10 second

[PD] nearest neighbour matching?

2012-10-05 Thread Claude Heiland-Allen
Hi list, I have a -batch patch that randomly samples the parameter space of control signals to (some black box)* and uses [sigmund~] to detect pitched-ness vs unpitchedness, keeping the pitch info and then a notch filter to detect distortion: http://mathr.co.uk/softrockiii/2012-10-05_probe-p

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-04 Thread Claude Heiland-Allen
On 04/10/12 01:08, Simon Wise wrote: wouldn't that make it difficult to put the window outside the screen deliberately ... for example to hide the window decorations off-screen? I have needed to use this a few times (when making the window properly fullscreen was not possible or appropriate), an

Re: [PD] array size (was Re: arraysize)

2012-10-03 Thread Claude Heiland-Allen
On 02/10/12 16:15, Miller Puckette wrote: 1. there's a bug in hip~ - its DC gain is slightly (and possibly considerably) greater than 1. Did you mean nyquist-frequency rather than DC here? IIRC DC gain for hip~ should be 0 or very close to it and nyquist-frequency gain 1. I did notice that de

Re: [PD] How to control sliders inside gop abstractions

2012-09-30 Thread Claude Heiland-Allen
On 30/09/12 20:08, umberto torrez wrote: Hi, how can i control the sliders of a group of gop abstractions? I need to control the sliders of a group of gop abstractions(the same). Im trying to do in this way: Each slider has $0_hi in its receive symbol property. Im creating each abstracion

Re: [PD] array size (was Re: arraysize)

2012-09-28 Thread Claude Heiland-Allen
On 28/09/12 16:23, Miller Puckette wrote: Well, I'm persuadable on this front. I'm concerned with unduly hogging the object namespace - in general, every time I add an object name I potentially introduce incompatiblities with someone's abstraction that might have the same name. And there are 50

Re: [PD] pitched reverb?

2012-09-27 Thread Claude Heiland-Allen
Hi, On 27/09/12 08:58, umberto torrez wrote: hi, Does anybody know if exists a reveb that allows to tune to specific notes? I know that different room dimensions offer different resonating frequencies, but can this effect be manipulated electronically? I tried some 4D room simulation once, r

Re: [PD] phase modulation feedback

2012-09-24 Thread Claude Heiland-Allen
On 24/09/12 14:00, flad chester wrote: Hi list, i was wondering if somebody have implemented phase modulation feedback synthesis in pd? The idea is that the phase can self modulate using the output of the same signal. I did some stuff with mutually modulating FM oscillators, using s~/r~ for

Re: [PD] Change pitch without changing length of a audio stream ?

2012-09-21 Thread Claude Heiland-Allen
On 21/09/12 08:05, Charles Goyard wrote: Hi list, In a installation I'm building, I use veejay (veejayhq.net) for video display, and route the audio of the video for further mixing in pd. This works very well. Under some circumstances, I change the video playback speed. Veejay has a feature cal

Re: [PD] +=~ object for pd

2012-07-16 Thread Claude Heiland-Allen
On 16/07/12 22:26, Simon Iten wrote: [+=~] the object adds all the values it receives and can be reset with a signal (in my case a pulse) is there an equivalent in pd? i can't seem to find one. [rpole~] right inlet 0 to reset right inlet 1 to accumulate

Re: [PD] bigger symbols

2012-05-23 Thread Claude Heiland-Allen
On 23/05/12 16:34, Jeppi Jeppi wrote: Hi all,any easy (and hopefully standard) way to display a bigger and better looking symbol than the default [symbol] object (Ctrl-4)?Thanks! If you only need display (no editing/input), set the label of a canvas, and adjust the properties to set font/siz

Re: [PD] mapping variable-length lists to a fixed length one

2012-05-21 Thread Claude Heiland-Allen
om/SRC/ [2] http://en.wikipedia.org/wiki/Low_pass_filter#Discrete-time_realization [3] http://hackage.haskell.org/package/zoom-cache Claude #N canvas 0 0 485 714 10; #X text 15 12 list_resample.pd by Claude Heiland-Allen 2012-05-22T02:48:37+0100 ; #X obj 15 61 inlet; #X obj 76 109 list length; #X obj 76 1

Re: [PD] variable receive objects?

2012-05-18 Thread Claude Heiland-Allen
On 14/05/12 19:43, Jonathan Wilkes wrote: From: IOhannes m zmoelnig On 2012-05-14 05:02, John Harrison wrote: I've used those 2 objects a lot and thought they seemed pretty stable... that's because the "trivial" case (where receiving data and changing the receive label are completely indep

Re: [PD] variable receive objects?

2012-05-12 Thread Claude Heiland-Allen
On 12/05/12 12:20, Jörn Nettingsmeier wrote: [snip] is there a way to generate a variable receive object similar to a send via message box, whose source is defined at load time? [snip] or maybe i'm totally up the wrong alley, and someone can suggest a more idiomatic way to deal with this issue?

Re: [PD] pure data midi autoconnect

2012-05-11 Thread Claude Heiland-Allen
On 11/05/12 16:07, James Mckernon wrote: 'alsa midi' in pd to initialize its it connects its output to all other midi inputs, and its input to all other midi outputs (including through-midi on both sides, meaning it is essentially sending midi to itself, as well as everything else.) Can anyon

Re: [PD] GEM camera angle-of-view >180deg

2012-04-14 Thread Claude Heiland-Allen
Hi Marian, I've not tried this, but: On 14/04/12 17:47, Marian Weger wrote: Is it somehow possible to get a 360 degree angle-of-view with the GEM camera inside a framebuffer? Isn't there some easy way to do the same thing? I don't think so. You could use a vertex shader to implement your o

Re: [PD] That old -nogui/nosound problem on Linux ...

2012-04-11 Thread Claude Heiland-Allen
On 10/04/12 16:11, Chrissie Caulfield wrote: I don't know why polygate~ does show the problem where hip~ and friends don't but I'm hoping it's a clue! So, does anyone have any (even vague) ideas of where to start before I start randomly digging? Vague guess, might be wrong: I think the bug is

Re: [PD] pdlua + Gem-any examples/tips?

2012-03-20 Thread Claude Heiland-Allen
Hi, On 19/03/12 19:25, ALAN BROOKER wrote: can I ask where did you get the frag shader from? I wrote it. Thanks all, Claude ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

Re: [PD] pdlua + Gem-any examples/tips?

2012-03-19 Thread Claude Heiland-Allen
On 18/03/12 14:13, ALAN BROOKER wrote: Does anyone know of any examples of using Lua with Gem in anyway? Attached example uses a custom particle system in Lua that also keeps track of various parameters for a GLSL shader. Rather undocumented/hacky and might not work on any machine but mine..

Re: [PD] precision of vline~ and/or pd messaging

2012-01-24 Thread Claude Heiland-Allen
On 24/01/12 21:50, João Pais wrote: > maybe the messaging isn't precisely aligned with the audio. For this patch I'm using E Lyon's samm~ and click2bang~ I'm not familiar with those externals, nor in inspecting the output of a patch (which is on the large size) instead of the patch. But some

Re: [PD] number to fractions external?

2011-12-16 Thread Claude Heiland-Allen
On 16/12/11 06:51, i go bananas wrote: by the way, here is the method i used: first, convert the decimal part to a fraction in the form of n/10 next, find the highest common factor of n and 10 (using the 'division method' like this: http://easycalculation.com/what-is-hcf.php ) then just

Re: [PD] fux_kinect

2011-11-12 Thread Claude Heiland-Allen
On 12/11/11 16:53, Mathieu Bouchard wrote: gl_frame_cond = (pthread_cond_t*) malloc(sizeof(pthread_mutex_t)); A nice idiom for malloc is to use the sizeof of the target of the pointer to which you are assigning its result (no explicit cast needed when assigning from a void * afaik, at least n

Re: [PD] Interruption of audio / Loading sound into array

2011-10-31 Thread Claude Heiland-Allen
On 31/10/11 17:37, Sebastian Hanusa wrote: Dear List! I have a problem, where hope the solution is so easy as it is complicated for me to find a solution: When I am loading a soundfile (about one 30 seconds, stereo, .aif, 16bit/44100Hz) to an array and simultaneously I have a quite simple audio

Re: [PD] very compressed chip sounds

2011-10-11 Thread Claude Heiland-Allen
Hey, This is a fun idea indeed, thanks for the heads up. Here's one with 2 objects. Claude #N canvas 0 0 762 420 24; #X obj 333 332 dac~; #X obj 21 80 fexpr~ fmod($y1+(40.0+5.0*floor(5.0*fmod(100.0*$y5 \, 1.0)+fmod(8.0*floor(64.0*$y4 \, 1.0) \, 5.0) \, 1.0))/48000.0 \, 1.0) \; $y1*2.0*3.141592

Re: [PD] pduino rewrite

2011-09-16 Thread Claude Heiland-Allen
Hi Ingo, On 16/09/11 13:02, Ingo wrote: When I started I thought it was very convenient to use wireless [send/receive] objects to send midi data to the sample-voices (which it is). [snip] Sending 3,000 messages to 8,000 [receive] objects adds up to 24 million times per second that the individu

Re: [PD] pdtest - pd functional testing external

2011-09-13 Thread Claude Heiland-Allen
Ahoy, I'm curious why you didn't use(*) pdlua and write your whole external in Lua? Admittedly, there probably are still some bugs relating to require(), for which fixes would be welcome - last time I checked setting the paths for the Lua interpreter was rather a nightmare with different pla

Re: [PD] [OT] SSE/MMX tips?

2011-09-07 Thread Claude Heiland-Allen
On 07/09/11 12:17, Bill Gribble wrote: The operation is integration. Try calling it 'scan' and you might end up with more productive searches, at least to my mind integration is more about summing over continuous regions than something discrete like this. Searching for "data parallel algori

Re: [PD] freeverb crashes on new computer

2011-09-07 Thread Claude Heiland-Allen
On 07/09/11 15:23, Mathieu Bouchard wrote: On Tue, 6 Sep 2011, ronni montoya wrote: Do anybody have an idea why is this behaivor and how to solve it? nan is often due to trying to do 0/0 or log(-1) or other out-of-range things. Probably inf - inf or 0 * inf are NaN, I haven't checked the spe

Re: [PD] workaround for -batch -nogui delwrite~ etc bugs

2011-08-08 Thread Claude Heiland-Allen
On 08/08/11 15:38, Mathieu Bouchard wrote: On Mon, 8 Aug 2011, Claude Heiland-Allen wrote: Using pd -nogui or pd -batch, some stuff seems not set up yet when the patch is loaded, making [delwrite~] (among others) not work correctly. Did you try extended 42.6 or vanilla 43 ? Previously I

[PD] workaround for -batch -nogui delwrite~ etc bugs

2011-08-08 Thread Claude Heiland-Allen
Hi all, The problem: Using pd -nogui or pd -batch, some stuff seems not set up yet when the patch is loaded, making [delwrite~] (among others) not work correctly. The workaround: Use dynamic patching to instantiate the real patch with a delay. Example: pd -batch -r 48000 -open workaround_l

Re: [PD] Adding Gridflow to the visual arsenal

2011-05-17 Thread Claude Heiland-Allen
On 17/05/11 15:32, Pagano, Patrick wrote: Does anyone have any how to patches for bridging GEM/Gridflow/pdp/pidip? gridflow has bridges to PDP and Gem: #to_pdp #from_pdp #to_pix #from_pix gridflow must be loaded after pdp/Gem for the bridge to be loaded: $ pd -lib pdp:Gem:gridflow an example

Re: [PD] loading patches very slow in linux

2011-05-16 Thread Claude Heiland-Allen
On 16/05/11 15:56, Mathieu Bouchard wrote: there seems to be a problem finding abstractions quickly. Probably bitrotted by now, and had issues/missing features even then: http://lists.puredata.info/pipermail/pd-list/2008-10/065307.html Another thing to possibly check is whether dsp is on or o

Re: [PD] dsp external pointer problem

2011-05-12 Thread Claude Heiland-Allen
Hi, Unrelated to your issue, perhaps, but I thought this work mentioning: On 12/05/11 09:34, Ahmet Kizilay wrote: t_int *ak_addthese_tilde_perform(t_int *w) { [snip] t_sample ** ins = getbytes(sizeof(t_sample *) * 2); [snip] There's a memory leak here (no corresponding call to freebytes(

Re: [PD] multiple OSC messages in one udp packet?

2011-05-10 Thread Claude Heiland-Allen
On 10/05/11 10:38, matteo sisti sette wrote: Does the OSC standard (or to be more precise, the standard for OSC over UDP) allow to pack multiple OSC messages into a single UDP packet? No time to read it all myself, but: http://opensoundcontrol.org/spec-1_0 I ask this because I am sending OSC

Re: [PD] msg to abstractions

2011-05-05 Thread Claude Heiland-Allen
On 05/05/11 11:56, Claude Heiland-Allen wrote: On 05/05/11 10:31, Jeppi Jeppi wrote: Adding prefix to the abstraction names is not elegant, as that would require previously creating n abstractions, named [1_boo] , [2_boo] and so on...clumsy Just remembered there is a "loader plugin"

Re: [PD] msg to abstractions

2011-05-05 Thread Claude Heiland-Allen
On 05/05/11 10:31, Jeppi Jeppi wrote: Hi again,just another question regarding the pd-msg system. Say I have two parametrized abstractions [boo 1] and [boo 2] loaded in my patch. When I send a message to them to dynamically create some objects inside, I send it as [obj 20 30 metro 100(--->[s

Re: [PD] multiple [udpreceive n] instances

2011-05-04 Thread Claude Heiland-Allen
On 04/05/11 12:32, Jamie Bullock wrote: What I want to do is instantiate [udpreceive 5000] and then another [udpreceive 5000] I get the same data to both objects. Alternatively, can anyone suggest away to achieve the same result with the existing objects? You could (but see caveat below) make

Re: [PD] Midi note handling for monophonic synth

2011-04-21 Thread Claude Heiland-Allen
Hi Joe, On 21/04/11 12:48, Joe White wrote: Hi all, I'm implementing a synth in Pd using midi/notein as an input. One problem I keep coming up against is handling note off messages. This guy's blog post describes the issue - http://kemptonmooney.com/2010/09/pure-data-midi-note-off-solution/ H

Re: [PD] Graph a circle arc in an array?

2011-04-10 Thread Claude Heiland-Allen
On 10/04/11 15:12, Tyler Leavitt wrote: I've not had any real success using the formulas with [sin] and [cos]... maybe I'm missing something here. The only solution that I've gotten to work is the midpoint circle algorithm with Peter's patch. A circle centered at the origin is implicitly[1] des

[PD] [ot] Re: Making a Realtime Convolution External

2011-04-07 Thread Claude Heiland-Allen
On 07/04/11 16:15, Mathieu Bouchard wrote: Suppose that you launch a second fred on another cpu. http://www.archive.org/download/GOSUB10-002/GOSUB10-002-02-ClaudiusMaximus--Drain_Hops_Crawling_On_My_Fred.ogg http://gosub10.org/GOSUB10-002.html Claude -- http://claudiusmaximus.goto10.org

Re: [PD] 3 new gui-plugins

2011-04-03 Thread Claude Heiland-Allen
On 03/04/11 22:38, Hans-Christoph Steiner wrote: traverse the whole search path to see the objects that could be loaded. Its doable. I don't think so, consider for example: EXTERN void orly_setup(void) { if (rand() % 666 == 42) { yarly_setup(); } else { exit(7); } }

Re: [PD] [Pdmtl] [PD-announce] four more fractal videos, and reposting the two previous ones

2011-02-17 Thread Claude Heiland-Allen
empty 0 -8 0 10 -262144 -1 -1 3; #X obj 60 224 sel 0; #X text 361 523 recursified by Claude Heiland-Allen 2011; #X connect 0 0 1 0; #X connect 2 0 1 0; #X connect 3 0 23 0; #X connect 4 0 5 0; #X connect 6 0 7 0; #X connect 6 0 8 0; #X connect 6 0 9 0; #X connect 7 0 5 1; #X connect 8 0 5 2; #X co

Re: [PD] Scheduling events, libpd, and sequencing

2011-02-15 Thread Claude Heiland-Allen
On 15/02/11 13:30, Peter Kirn wrote: But what would be the most efficient way to send events to those objects for future scheduling? I have some code that allows you to cache incoming events (eg: from [netreceive]) and dispatch them all at once in 0 logical time. I called it [bundle] because

Re: [PD] algorithms for drawing filter response curves

2011-02-07 Thread Claude Heiland-Allen
On 06/02/11 23:12, Hans-Christoph Steiner wrote: now I'm looking for the algorithms for generating a plot of the frequency response of a given set of biquad coefficents? See perhaps: http://www-users.cs.york.ac.uk/~fisher/mkfilter/ In particular: http://www-users.cs.york.ac.uk/~fisher/softw

Re: [PD] Picture to Audio to Array

2011-01-26 Thread Claude Heiland-Allen
On 26/01/11 19:32, Moritz Schell wrote: Everytime I repeat the whole action (with the same picture -> same grey values) a new wave appears in the array. 1. [tabwrite~] is *not* clock-aware, so it starts on block boundaries 2. [vline~] *is* clock-aware, so it might start sub-sample accurate 3. [

[PD] [cos~] broken for moderately large inputs

2011-01-10 Thread Claude Heiland-Allen
Hi, Seems [cos~] only gives expected results between -1024 and 1024. Above 1024 the frequency halves, halving again at 5120, etc. Below -1024 the frequency doubles, until chaos at -3072. http://claudiusmaximus.goto10.org/g/tech/cos~-test.pd.png http://claudiusmaximus.goto10.org/g/tech/cos~

Re: [PD] Capture video+audio from PD using XvidCap.

2011-01-08 Thread Claude Heiland-Allen
On 08/01/11 10:11, Dima Bak wrote: Hi! I want to record video of my session in pd. I try to use XvidCap, but there is no sound. What audio driver i need to use in pd? Thanks. I haven't found the perfect solution yet. Using JACK in Pd, you might try recordmydesktop or istanbul. I found record

Re: [PD] Javascript in PD?

2010-12-20 Thread Claude Heiland-Allen
On 17/12/10 01:16, Mathieu Bouchard wrote: On Thu, 16 Dec 2010, Bernardo Barros wrote: 2010/12/16 Dima Bak : Is there a way to use js in PD like in Max (js object)? Thanks I think just python and lua (much better btw :-) python, lua, http://gitorious.org/pdlua tcl, haskell, http://git

Re: [PD] Osc phase and number of periods for subsonic touch-music

2010-12-08 Thread Claude Heiland-Allen
On 08/12/10 07:32, Daniel K. wrote: generating sine waves with finite numbers of periods that always started with the same phase. 10 periods of 20Hz sine wave, subsample accurate timing without needing [block~]: "0, 10 500" | [vline~] | [- 0.25] | [cos~] | [dac~] For N periods of F Hz

Re: [PD] OpenMP and Pd

2010-12-06 Thread Claude Heiland-Allen
Hi Pedro, Somehow I thought this was a new message, but the date tells me it's from quite some time ago. Replying anyway as it may be interesting to you and all: On Thu, May 20, 2010 at 4:46 PM, Pedro Lopes wrote something roughly along the lines of: > I was trying to include pragma commen

Re: [PD] Simple Subtractive Synth filter envelope

2010-11-22 Thread Claude Heiland-Allen
On 22/11/10 21:48, samuel rowe wrote: an envelope generator with ADSR vline~ is your friend here: "1 10, 0.5 100 10, 0 1000 2000" | [vline~] | [*~]\[osc~ 666] | [dac~] the output will not feed into the argument for a filter cutoff value. right. you can't connect signal outlets to messag

Re: [PD] 3d tube with control of the position of the extremities

2010-11-19 Thread Claude Heiland-Allen
Hi Luiz, On 17/11/10 22:10, Luiz Naveda wrote: I was trying to build 3d cylinders using GEM. But I the actual solutions (cylinder and tube) cannot be easily manipulated. I would like to control the x y z of the extremities of the tube, like a [polygon 2] but with control of diameter and faces of

Re: [PD] ubuntu ppa's

2010-11-05 Thread Claude Heiland-Allen
On 05/11/10 05:22, august wrote: I'd like to contribute to the puredyne ppa's at launchpad. Great! I was wondering if someone could help me get up to speed on how to make a ppa, maybe with a simple example I can just copy and paste. 1. create a Launchpad account 2. sign the code of conduct

Re: [PD] opencv

2010-10-28 Thread Claude Heiland-Allen
On 28/10/10 17:39, Philip Cunningham wrote: Hello list, I wonder if there are any tutorials available on how to use OpenCV with Pd? I'm trying to download necessary components using the following site: http://www.hangar.org/wikis/lab/doku.php?id=start:puredata_opencv but having very little luck.

Re: [PD] Pd 20% idle CPU usage on MBP

2010-10-28 Thread Claude Heiland-Allen
Hi, On 28/10/10 16:41, Jamie Bullock wrote: Pd's idle CPU usage is 15-20%. Does anyone know why this is? probably a bug.. you could try using gdb and interrupting Pd to see where it is being busy, or some profiling tool (gprof or strace or shark (?) or something else). Is there anything

[PD] [PD-announce] z→z²+c released on GOSUB10 netlabel

2010-10-26 Thread Claude Heiland-Allen
Hi everyone, My latest work made with Pure-data is available, including the source code so you can make your own generative fractal music: http://gosub10.org/GOSUB10-003.html The Mandelbrot set is possibly the world’s most famous fractal. z→z²+c is a series of sonifications, focussing on the

Re: [PD] OSC messages without /

2010-10-21 Thread Claude Heiland-Allen
On 21/10/10 18:26, Leandro da Mota Damasceno wrote: So, the question is... Is there any workaround I could try in PD? | [list split 1] | | "/$1" | | | [list append ] | [list trim] | ___ Pd-list@iem.at mailing list UNSUBSC

Re: [PD] reverb in pd

2010-10-20 Thread Claude Heiland-Allen
On 20/10/10 16:20, Mathieu Bouchard wrote: On Wed, 20 Oct 2010, ronni montoya wrote: Hello, i was trying freeverb in pd and i dont like how it sounds. I was wondering if there are any other reverb objects or externals that sound better. Any idea? I'm still pretty much just using [delread~] an

Re: [PD] noob asking : is there a way to script pd?

2010-10-14 Thread Claude Heiland-Allen
On 14/10/10 22:07, Achim Bloch wrote: Hello listees I'd like to know if there is a way to act on pd objects via a script language, I mean, coding behaviors and feedbacks? Sorry if this sounds noob, my knowledge about pd is very basic. Thanks, C I'm not sure what you mean - do you want to write

Re: [PD] Vline~ subsample accuracy clarification

2010-10-10 Thread Claude Heiland-Allen
On 10/10/10 23:20, Oliver Larkin wrote: Hi, Can someone explain to me how vline~ can "align the endpoints of the envelope, accurate to a fraction of a sample" You need to know some background about pd's scheduler for the following to make sense, here are some reasonable places to start readin

Re: [PD] Shuffling arrays

2010-10-05 Thread Claude Heiland-Allen
On 04/10/10 16:06, martin.pe...@sympatico.ca wrote: That's a bad way to shuffle, The same way that it's a really bad way to sort - maybe it could be classed as a bogobubblesort. I chose to do it that way for aesthetic purposes (a jumbled sequence gradually returns to order) rather than eff

Re: [PD] Shuffling arrays

2010-10-04 Thread Claude Heiland-Allen
On 03/10/10 23:21, Andrew Faraday wrote: Hey Guys I've recently come across the .shuffle method in Ruby which randomly re-orders the content of an array. Does anyone know of a way to do this in Pd, that is, either change the order of notes within an array or output them in a random order (wit

Re: [PD] more dimensions for boids ?

2010-10-01 Thread Claude Heiland-Allen
Hi, On 01/10/10 09:58, ronni montoya wrote: Hello everybody , i was reading a paper that describe the software swarm music(Blackwell and Bentley 2002). This software uses 7 dimensional boids instead of 2 or 3 . I was wondering how can i implement this in pd? Is it possible to add more dimension

Re: [PD] markov chains?

2010-09-30 Thread Claude Heiland-Allen
On 30/09/10 19:45, L.J. wrote: looking for implementations of markov chains i found http://footils.org/cms/weblog/2009/may/23/markov-chains-pure-data/ but the page seems to be gone? can anybody point me to some simple markov patches? There's one in the documentation but that method would becom

Re: [PD] Fw: Latency

2010-09-18 Thread Claude Heiland-Allen
On 18/09/10 00:44, Dan Wilcox wrote: On Sep 17, 2010, at 5:39 PM, Ed Kelly wrote: I will sell my FA-101 and get a UA! ... the UA-25 only has 2 ins and outs at 16bit, you can do 2 in at 24bit or 2 out at 24 bit, but not full duplex. I think it's slightly more complicated than that! With m

Re: [PD] Any Live Coders?

2010-09-12 Thread Claude Heiland-Allen
On 12/09/10 23:35, Andrew Faraday wrote: Either way, I was wondering if anyone feels like sharing some of their mental templates for a live code approach. Just to get the ball rolling, here's one of my favorites: [mostly-incomprehensible ascii art snipped] Thanks for the tip/reminder that [s~

Re: [PD] Guitar distortion (Chebyshev?)

2010-09-12 Thread Claude Heiland-Allen
On 12/09/10 15:31, Pierre Massat wrote: I m not sure whether this is the right way of dealing with guitar distortion. I don't think there's a right way - judge by your ears, if you like it then that way is good for you at that particular moment in time. Personally when I want distortion I use

Re: [PD] Introduction to elementary filter components in Pd

2010-09-11 Thread Claude Heiland-Allen
On 11/09/10 21:03, brandon zeeb wrote: So, for an intermediate to advanced Pd user who would like know more about this real, what would you recommend? https://ccrma.stanford.edu/~jos/filters/Graphical_Amplitude_Response.html http://www-users.cs.york.ac.uk/~fisher/mkfilter/ Claude ___

Re: [PD] prime numbers

2010-09-11 Thread Claude Heiland-Allen
Hi, On 12/09/10 04:33, ydego...@gmail.com wrote: Mathieu Bouchard wrote: On Sat, 11 Sep 2010, Kim Cascone wrote: is there a Pd object for generating prime numbers? currently I'm: [1 2 3 5 7 9...97] 1 is not a prime number. (9 is not a prime number either) i just read '1 is not a prime num

Re: [PD] prime numbers

2010-09-11 Thread Claude Heiland-Allen
On 11/09/10 21:33, Kim Cascone wrote: is there a Pd object for generating prime numbers? A prime number has exactly two factors (1 and itself). I attached an abstraction to generate a list of all factors of a number, which could be used to see if a number is prime (inefficiently). Claude

Re: [PD] return a list of externals

2010-09-10 Thread Claude Heiland-Allen
On 10/09/10 18:55, Kim Cascone wrote: is there a way to get a list of all the externals used in a patch? Yes, probably in several ways. One I used is to patch Pd to print out the list of all classes registered when they get registered (and the library names when they are loaded), so the firs

Re: [PD] sonyfing chaotic functions

2010-09-01 Thread Claude Heiland-Allen
On 01/09/10 05:28, ronni montoya wrote: Hello everybody , i was wondering if somebody have worked sonyfing chaotic functions in pd. I've been working lately with the periodic attractors within the chaos of z→z²+c , an early audio recording is at http://claudiusmaximus.goto10.org/feed/media/C

  1   2   3   4   5   >