Re: [PD] recursive controls problem

2014-05-09 Thread Jonathan Wilkes
I took a stab at it. The main item here is the [set $1( message.  That allows you to update the display/state of the slider without outputting a value. The [trigger a a] isn't needed for the patch to run correctly, but it makes it easier to see the connection that feeds back up the chain.

[PD] more sprites!

2014-05-08 Thread Jonathan Wilkes
Hi list,     Here's another data structure sprite example: http://www.jonathanwilkes.net/sprite.webm I changed the object name and interface a little bit-- now sprites can have affine transformations.  It's neat to use the transform method to see how few objects it takes to animate the sprite

Re: [PD] Music notation in pure data

2014-04-30 Thread Jonathan Wilkes
and printed for someone else to play… I see. In that case I suppose you want to try to provide as much score-related data as you can for the converter to minimize your editing work. -Jonathan best, J On Apr 29, 2014, at 6:54 PM, Jonathan Wilkes jancs...@yahoo.com wrote: On 04/29/2014

Re: [PD] Music notation in pure data

2014-04-29 Thread Jonathan Wilkes
On 04/28/2014 11:21 PM, Max wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2014? 04? 29? 09:07, Jonathan Wilkes wrote: I think somebody had one using Gem and dynamic patching. that someone is Ed Kelly http://www.uni-weimar.de/medien/wiki/PDCON:Conference/Gemnotes

Re: [PD] Music notation in pure data

2014-04-29 Thread Jonathan Wilkes
a straightforward way to load canvases with [struct] definitions as libraries. At that point people will be able to build GUI objects directly in Pd. -Jonathan best, J On Apr 29, 2014, at 1:20 PM, Jonathan Wilkes jancs...@yahoo.com wrote: On 04/28/2014 11:21 PM, Max wrote: -BEGIN PGP SIGNED

Re: [PD] Music notation in pure data

2014-04-28 Thread Jonathan Wilkes
I think somebody had one using Gem and dynamic patching. I've got a demo using svg-style drawing instructions in Pd-l2ork.  I'm almost finished working on nested svg groups-- at that point one should be able to output a page of Lilypond notation to svg and write an importer to convert to a Pd

[PD] make first inlet a proxy inlet

2014-04-21 Thread Jonathan Wilkes
Let's say I have foo_class that creates object [foo] and bar_class which creates object [bar]. I want the inlet of both to forward incoming messages to an object of type blah_class which serves as a proxy inlet.  (The struct of foo and bar would store a pointer to it and control creation and

Re: [PD] make first inlet a proxy inlet

2014-04-21 Thread Jonathan Wilkes
I think I answered my own question.  It looks like I can use CLASS_NOINLET, then create an inlet explicitly inside the *_new function for my classes. On Monday, April 21, 2014 4:49 PM, Jonathan Wilkes jancs...@yahoo.com wrote: Let's say I have foo_class that creates object [foo] and bar_class

Re: [PD] Error: Stack stack

2014-04-17 Thread Jonathan Wilkes
On 04/17/2014 03:49 AM, IOhannes m zmölnig wrote: On 04/16/2014 06:39 PM, Jonathan Wilkes wrote: you can locate many errors (though not all), for he tech savy: you can locate all error messages that use pd_error() or the not-so-new-but-still-newish logpost() to emit a message. by ctrl

Re: [PD] Error: Stack stack

2014-04-16 Thread Jonathan Wilkes
On 04/16/2014 11:16 AM, IOhannes m zmölnig wrote: On 04/16/2014 02:33 PM, Cyrille Henry wrote: the 1st thing to do in order to correct the problem is to locate it. +1. you can locate many errors (though not all), by ctrl-clicking on the error-message in the Pd-console, When was that added,

Re: [PD] Keeping Number box's

2014-04-14 Thread Jonathan Wilkes
On 04/14/2014 02:03 PM, Phil Stone wrote: Or use the Number2 number box, and set its init attribute in properties. It will then init itself with the last value that was in the box at the time the parent patch was saved. I try to avoid the iemgui init method because it isn't represented in

Re: [PD] keeping Pd DSP alive

2014-04-12 Thread Jonathan Wilkes
On 04/12/2014 04:27 PM, Chris Clepper wrote: Hi list I'm wondering if there are any recommended ways to ensure DSP keeps running for long periods like permanent installations. I get 'audio I/O stuck' popping up every few days, which is not bad, but ideally audio should stay running

Re: [PD] keeping Pd DSP alive

2014-04-12 Thread Jonathan Wilkes
There isn't a way to poll the DSP state in Pd Vanilla. -Jonathan On Saturday, April 12, 2014 8:47 PM, Chris Clepper cgclep...@gmail.com wrote: [pdinfo] is not part of vanilla.  I can't (nor want to) use extended for this project. On Saturday, April 12, 2014, Jonathan Wilkes jancs

[PD] Pd-l2ork release

2014-04-09 Thread Jonathan Wilkes
There's a new Pd-l2ork release: http://l2ork.music.vt.edu/main/?page_id=56 Here's my vague recollection of what's changed: * New preferences dialog that includes GUI settings, audio, and MIDI settings * GUI presets (canvas bg, xlets, Pd window, search window, etc.) * New Put menu array dialog

Re: [PD] Using GEM

2014-04-08 Thread Jonathan Wilkes
Do you mean something like the attached abstraction?  It turns your patches in a particular directory into a slideshow. It uses an object called [canvasinfo] which is only available in Pd-l2ork.  If you don't use Pd-l2ork you can replace it with [iemguts/canvasname] (and remove the message box

Re: [PD] [qlist] and locality

2014-04-03 Thread Jonathan Wilkes
On 04/03/2014 04:00 AM, IOhannes m zmoelnig wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-04-03 03:05, Alexandre Torres Porres wrote: [...] btw: i would probably even recommend to use explicit *connections* (rather than send/receive pairs) for anything local. then you

Re: [PD] [qlist] and locality

2014-04-03 Thread Jonathan Wilkes
into nameclashes, you know your project  has outgrown Pd and it's time to choose another language what's a nameclash? (maybe I haven't  outgrown Pd yet) 2014-04-03 13:00 GMT-03:00 Jonathan Wilkes jancs...@yahoo.com: On 04/03/2014 04:00 AM, IOhannes m zmoelnig wrote: -BEGIN PGP SIGNED

Re: [PD] [qlist] and locality

2014-04-03 Thread Jonathan Wilkes
On 04/03/2014 04:14 PM, Roman Haefeli wrote: On Don, 2014-04-03 at 12:00 -0400, Jonathan Wilkes wrote: * when you run into nameclashes, you know your project has outgrown Pd and it's time to choose another language That is a pretty bold statement. It's meant as a shortcut to avoid wasting

Re: [PD] [qlist] and locality

2014-04-03 Thread Jonathan Wilkes
On 04/03/2014 03:13 PM, Alexandre Torres Porres wrote: thanks for explaining it all imagine trying to design something like that which is also backwards compatible with the crude namespacing tools that already exist in Pd. It's not possible ok, here's where I'm a bit confuse. You're not

Re: [PD] [qlist] and locality

2014-04-03 Thread Jonathan Wilkes
On 04/03/2014 05:42 PM, Roman Haefeli wrote: On Don, 2014-04-03 at 17:33 -0400, Jonathan Wilkes wrote: So yes, it's rather extreme of me to advise users to just use global symbols and switch languages when they run into problems. But I think there's an assumption on this list that most users

Re: [PD] [qlist] and locality

2014-04-03 Thread Jonathan Wilkes
anyway, right? No, it was abandoned. I believe Tim develops something for Supercollider called Supernova which allows users to take advantage of parallelism when doing DSP. [preset_hub] is in Pd-l2ork. -Jonathan thanks 2014-04-03 19:03 GMT-03:00 Jonathan Wilkes jancs...@yahoo.com

Re: [PD] [qlist] and locality

2014-04-03 Thread Jonathan Wilkes
On 04/03/2014 07:13 PM, Roman Haefeli wrote: [...] Thanks for your remarks. You probably caught me in the act of feeling comfortable in an actually not so comfortable situation. It's true that people get accustomed to the environment they grow up in. I've never challenged myself into thinking

Re: [PD] [qlist] and locality

2014-04-02 Thread Jonathan Wilkes
On 04/02/2014 03:08 AM, Roman Haefeli wrote: On Tue, 2014-04-01 at 17:20 -0300, Alexandre Torres Porres wrote: you might want to see the messages sent by [qlist] the same as messages in msgboxes, where you don't have $0-expansion either Bummer. anyway, this brings me to a different topic

Re: [PD] Alternatives to arraycopy

2014-03-31 Thread Jonathan Wilkes
I used some simple data mining techniques to infer the following: you didn't actually test those objects in a patch before writing your response. [ads based on this inference go here] -Jonathan On Monday, March 31, 2014 9:05 AM, Miller Puckette m...@ucsd.edu wrote: Just play it (tabplay~)

Re: [PD] Pd-L2Ork [ii]

2014-03-31 Thread Jonathan Wilkes
On 03/31/2014 12:25 PM, IOhannes m zmölnig wrote: On 03/31/2014 05:09 PM, Jonathan Wilkes wrote: a) click [loadbang] with the mouse to output a bang. (This is how Max/MSP solves this problem, too.) b) select all the objects to which you'd like to connect, then draw a connection from [bng

[PD] comments as one long symbol

2014-03-29 Thread Jonathan Wilkes
That way we could implement a simple translation system. When Pd loads a patch it looks for a translation file in the local language that share the same base file name as the patch.  If there isn't a translation file then a comment would load as is.  If there is a translation file for the

[PD] pd source code style

2014-03-22 Thread Jonathan Wilkes
In the changes.txt it says that indentation is four spaces?  Does that mean that a click of the tab key is supposed to generate four consecutive spaces?   I don't see any tab characters in the source (unless I'm searching them wrong.) Thanks,

Re: [PD] pd source code style

2014-03-22 Thread Jonathan Wilkes
Miller On Sat, Mar 22, 2014 at 11:08:50AM -0700, Jonathan Wilkes wrote: In the changes.txt it says that indentation is four spaces?  Does that mean that a click of the tab key is supposed to generate four consecutive spaces?  I don't see any tab characters in the source (unless I'm searching

Re: [PD] log function in slider

2014-03-18 Thread Jonathan Wilkes
No, the code I ported is from vslider_set and vslider_draw_update (might be different in Vanilla). In vslider_bang, math is done to output the proper value.  Without looking at the code I would have guessed vslider_bang simply outputs a stored value like [float] does.  Then just do math to set

Re: [PD] log function in slider

2014-03-17 Thread Jonathan Wilkes
AFAICT vslider is saving something like a slider position, and your expression above (along with the code I posted) is for getting back the original value from it.  If you send it something between 0.01 and 1 you'll get a curve that's inverted from the one you're after.  If you send it a slider

Re: [PD] log function in slider

2014-03-17 Thread Jonathan Wilkes
On 03/17/2014 04:34 PM, Roman Haefeli wrote: On Mon, 2014-03-17 at 02:21 -0300, Alexandre Torres Porres wrote: Hi Roman. This is turning out trickier than I thought. I think I understand now what you are trying to achieve (sorry, took me a long time). But I don't really have a clue how to do

Re: [PD] udoo board sound issues

2014-03-16 Thread Jonathan Wilkes
On 03/16/2014 05:33 AM, Simon Iten wrote: [...] Any digital instrument also has latencies. Basically it is a matter of playing the instrument you are using. How are you measuring the latency? -Jonathan Simon ___ Pd-list@iem.at mailing list

Re: [PD] using pd live (sans computer/laptop/raspberry pi)

2014-03-14 Thread Jonathan Wilkes
On 03/14/2014 03:44 PM, Dan Wilcox wrote: Without a computer, no. Without a desktop or laptop computer, yes. Well, maybe we could design and manufacture an enormous ASIC that runs libpd. -Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and

Re: [PD] Data structures and click event

2014-03-12 Thread Jonathan Wilkes
On 03/07/2014 06:55 PM, Miller Puckette wrote: I'll have to have a look and see what the ideas are... I don't know anything yet. Well there's the important stuff: https://jwilkes.nfshost.com/mm.webm And then the less important stuff, like being able to patch 15 out of the 28 demos shown

Re: [PD] Tcl invalid command with [TuioClient] and Pd-extended 0.43.4

2014-03-11 Thread Jonathan Wilkes
On 03/11/2014 12:29 PM, Jack wrote: Hello, I need help to understand this problem (see below) and solve it. It seems to work fine with Pd-Ext 0.42.5 (but not with Pd-Ext 0.43.4). That leads me to believe it has something to do with the GUI rewrite, which happened between 0.42 and 0.43.

Re: [PD] log function in slider

2014-03-11 Thread Jonathan Wilkes
extensive documentation about Pd, so I'd like to write about it. I find it worth noting. In the patch I'm sending, which was my attempt to get this right before reaching the list, I was able to emulate a bit reasonably with [expr pow($f1, 0.25)]. Cheers 2014-03-06 21:56 GMT-03:00 Jonathan

Re: [PD] 100k lines of code (was libpd separating gui from core)

2014-03-10 Thread Jonathan Wilkes
In Pd-l2ork: [dir( | [canvasinfo] And for dir of Pd binary: [dir( | [pdinfo] And don't take IOhannes' bait.  He's implying that Pd Vanilla is a community project-- that if  _we_ coded up a currency converter, or some much more pressing functionality, Miller would accept that code.  That is

Re: [PD] 100k lines of code (was libpd separating gui from core)

2014-03-10 Thread Jonathan Wilkes
On 03/10/2014 12:56 PM, IOhannes m zmölnig wrote: On 03/10/2014 05:38 PM, Jonathan Wilkes wrote: Additionally, IOhannes also knows that Miller wants the [initbang] functionality in the form of a backwards-compatible [loadbang] which takes arguments. [...] thanks for the insights. i didn't

Re: [PD] change array graph size

2014-03-09 Thread Jonathan Wilkes
On 03/09/2014 08:15 PM, João Pais wrote: Hello, I wanted to change the graph canvas of an array, but I can't find the way of doing it. If I have an array called array1, to where should I send a coords message? Does it work like a normal GOP? The graph is named graph$n, where $n is incremented

Re: [PD] Data structures and click event

2014-03-08 Thread Jonathan Wilkes
On 03/08/2014 12:46 PM, Dan Wilcox wrote: On Mar 8, 2014, at 5:59 AM, pd-list-requ...@iem.at mailto:pd-list-requ...@iem.at wrote: No. It requires a toolkit that has modern 2d features like affine transformations and opacity, etc. Pd-l2ork leverages Tkpath, a tcl/tk library. Other

Re: [PD] Data structures and click event

2014-03-07 Thread Jonathan Wilkes
On 03/07/2014 06:45 PM, João Pais wrote: On 03/05/2014 05:24 AM, Pierre Massat wrote: Dear list, First of all i'd like to say that i'm very impressed by the potential of data structures in Pd. I've always kind of ignored this feature and it's a pity because it's really

Re: [PD] arrays in GOP abstraction, show up in parent patch

2014-03-06 Thread Jonathan Wilkes
Shows up in Pd Vanilla. Doesn't show up in Pd-l2ork (latest build from git). -Jonathan On Thursday, March 6, 2014 10:32 AM, Jaime E Oliver jaime.oliv...@gmail.com wrote: Hi all, The title says it all, I have some arrays in abstractions and any new value input into the array is also

Re: [PD] log function in slider

2014-03-06 Thread Jonathan Wilkes
From g_vslider.c:     if(x-x_lin0_log1)     out = x-x_min*exp(x-x_k*(double)(x-x_val)*0.01); Where x-x_k is:     log(x-x_max/x-x_min)/(double)(x-x_gui.x_h - 1); And x-x_gui.x_h is the height of the slider -Jonathan On Thursday, March 6, 2014 7:37 PM, Alexandre Torres Porres

Re: [PD] Data structures and click event

2014-03-05 Thread Jonathan Wilkes
On 03/05/2014 05:24 AM, Pierre Massat wrote: Dear list, First of all i'd like to say that i'm very impressed by the potential of data structures in Pd. I've always kind of ignored this feature and it's a pity because it's really worth diving into it. That being said I think that help and

Re: [PD] Pd as sound editor (issue with scrolling a table) ??

2014-03-05 Thread Jonathan Wilkes
gui. it is c++ but has the logic to even only update lines as in blit an arbitrary line. On Tue, Mar 4, 2014 at 1:33 PM, Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com wrote: On 03/04/2014 01:20 PM, Jonathan Wilkes wrote: On 03/04/2014 10:11 AM, i go

Re: [PD] Get name of patch from within the patch

2014-03-04 Thread Jonathan Wilkes
On 03/04/2014 03:00 AM, Kaj Ailomaa wrote: On Tue, Mar 4, 2014, at 02:54 AM, Chris McCormick wrote: Hello, On 03/03/14 21:55, Kaj Ailomaa wrote: Hi. I've been googling a bit and looking through the library of objects that comes with pd-extended, but can't seem to find a way to get the name

Re: [PD] Pd as sound editor (issue with scrolling a table) ??

2014-03-04 Thread Jonathan Wilkes
On 03/04/2014 10:11 AM, i go bananas wrote: [...] 2014-03-04 12:12 GMT+01:00 i go bananas hard@gmail.com mailto:hard@gmail.com: just for interest perhaps, here's the sound editor i made years ago: http://puredata.hurleur.com/sujet-1295-sound-editor

Re: [PD] Pd as sound editor (issue with scrolling a table) ??

2014-03-04 Thread Jonathan Wilkes
On 03/04/2014 01:20 PM, Jonathan Wilkes wrote: On 03/04/2014 10:11 AM, i go bananas wrote: [...] 2014-03-04 12:12 GMT+01:00 i go bananas hard@gmail.com mailto:hard@gmail.com: just for interest perhaps, here's the sound editor i made years ago: http

Re: [PD] Get name of patch from within the patch

2014-03-04 Thread Jonathan Wilkes
4, 2014 12:47 PM, Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com wrote: On 03/04/2014 03:00 AM, Kaj Ailomaa wrote: On Tue, Mar 4, 2014, at 02:54 AM, Chris McCormick wrote: Hello, On 03/03/14 21:55, Kaj Ailomaa wrote: Hi. I've

Re: [PD] Get name of patch from within the patch

2014-03-04 Thread Jonathan Wilkes
But it also precedes the search-plugin. -Jonathan On Tuesday, March 4, 2014 3:59 PM, Ivica Bukvic i...@vt.edu wrote: Except that in this case patch_name precedes  canvasinfo... On Mar 4, 2014 3:01 PM, Jonathan Wilkes jancs...@yahoo.com wrote: On 03/04/2014 01:15 PM, Ivica Bukvic wrote

Re: [PD] Get name of patch from within the patch

2014-03-03 Thread Jonathan Wilkes
In Pd-l2ork, you can do [filename(---[canvasinfo]. But I'm still working on that interface.  For example, itgives you the name without the extension .pd.  But maybe it should include that extention, too. In Pd-extended, I'm not sure how to do that.  There's [iemguts/canvasname], but it doesn't

Re: [PD] Pd as sound editor (issue with scrolling a table) ??

2014-03-03 Thread Jonathan Wilkes
Bummer, I thought somebody would come up with a secret table manipulation technique that would make this statement true... Cheers, Pierre. 2014-03-02 19:33 GMT+01:00 Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com: From that help patch: #X

Re: [PD] Pd as sound editor (issue with scrolling a table) ??

2014-03-03 Thread Jonathan Wilkes
-02 19:33 GMT+01:00 Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com: From that help patch: #X text 12 115 HELP_PATCH_AUTHORS Updated for Pd 0.38-2. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd

Re: [PD] jack and callbacks

2014-03-03 Thread Jonathan Wilkes
On 03/03/2014 07:44 PM, Peter P. wrote: Hi, just learned that my Pd vanilla Pd-0.45.0 from Miller's Git sources works much better (less drop outs, etc) under jack when enabling use callbacks. Is there a way to enable this worthy parameter from the command line? Perhaps a way of setting it

Re: [PD] Pd as sound editor (issue with scrolling a table) ??

2014-03-02 Thread Jonathan Wilkes
From that help patch: #X text 12 115 HELP_PATCH_AUTHORS Updated for Pd 0.38-2. Jonathan Wilkes revised the patch to conform to the PDDP template for Pd version 0.42. I did the refactoring of that patch, but I'm not sure who wrote what you're quoting. I'd say that statement is false and should

Re: [PD] libpd separating gui from core

2014-02-26 Thread Jonathan Wilkes
do dig into the programming part of pd . I read a lot of the code and it's kinda starting to sink in how to write an external, it's not quite like on the tip of my toungue yet though. On Mon, Feb 24, 2014 at 7:08 PM, Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com

Re: [PD] easing in pd

2014-02-26 Thread Jonathan Wilkes
I refactored a bunch of the easing styles from Raphael.js to use with data structures (attached).  Look in [pd movers] and then [pd animate]. The patch itself only works in Pd-l2ork, but you can break out all of the animation logic.  You'll just need to replace any instance of [pi(--[pdinfo],

Re: [PD] Bugs in Pd-Extended in Ubuntu LTS

2014-02-25 Thread Jonathan Wilkes
1) Are you starting JACK before firing up Pd-extended? 2) Are you typing any non-ascii characters?  If so what are they? -Jonathan On Tuesday, February 25, 2014 1:54 PM, Pierre Massat pimas...@gmail.com wrote: Dear list, I've been using Pd-extended in Ubuntu LTS (12.04) a lot lately, and

Re: [PD] libpd separating gui from core

2014-02-24 Thread Jonathan Wilkes
it works, and if it's maintainable I'll help you implement it. -Jonathan On Monday, February 24, 2014 1:56 PM, Ivica Ico Bukvic i...@vt.edu wrote:     From:Dan Wilcox [mailto:danomat...@gmail.com] Sent: Monday, February 24, 2014 11:34 AM To: Ivica Bukvic Cc: Jonathan Wilkes; pd-list@iem.at List

Re: [PD] libpd separating gui from core

2014-02-24 Thread Jonathan Wilkes
Oops-- by arguments of the parent I mean arguments of the parent abstraction. -Jonathan On Monday, February 24, 2014 2:44 PM, Jonathan Wilkes jancs...@yahoo.com wrote: So let's just take a concrete example: $@ syntax.  It is a dollarsign variable in Pd-l2ork (and maybe in Pd-extended

Re: [PD] libpd separating gui from core

2014-02-23 Thread Jonathan Wilkes
On 02/23/2014 07:37 AM, Dan Wilcox wrote: On Feb 23, 2014, at 2:11 AM, Jonathan Wilkes jancs...@yahoo.com wrote: Do you have an example of a patch that suffers from Pd's current single-threaded implementation that would be measurably improved by using a multi-threaded approach? Ask any

Re: [PD] libpd separating gui from core

2014-02-23 Thread Jonathan Wilkes
On 02/23/2014 08:15 PM, Ivica Bukvic wrote: On Sun, Feb 23, 2014 at 4:40 PM, Dan Wilcox danomat...@gmail.com mailto:danomat...@gmail.com wrote: On Feb 23, 2014, at 3:29 PM, Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com wrote: Yeah, stuff like that we should

[PD] core - gui question

2014-02-22 Thread Jonathan Wilkes
Hi list, I've got a nice little method for an info class in Pd-l2ork that tells whether an x/y coordinate lies within an object on a particular canvas. For the new svg-style drawing commands I've added, this method makes it possible to do some fairly simple tests within a patch to make

Re: [PD] threads in pd, dataflow

2014-02-22 Thread Jonathan Wilkes
On 02/21/2014 10:04 PM, Simon Wise wrote: On 22/02/14 06:28, Jonathan Wilkes wrote: On 02/21/2014 06:41 AM, Simon Wise wrote: Something to really make pd parallel would involve treating fan-outs as opportunities for the interpreter to launch each branch in a new thread, implementing

Re: [PD] libpd separating gui from core

2014-02-22 Thread Jonathan Wilkes
that every g_* sourcefile has already been moved to the GUI side of both the single- and double- threaded designs that are being compared. -Jonathan On Sunday, February 23, 2014 12:30 AM, Rich E reakina...@gmail.com wrote: On Fri, Feb 21, 2014 at 3:54 AM, Jonathan Wilkes jancs...@yahoo.com

Re: [PD] libpd separating gui from core

2014-02-21 Thread Jonathan Wilkes
On 02/20/2014 09:50 PM, Rich E wrote: On Wed, Feb 19, 2014 at 12:07 AM, Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com wrote: On 02/18/2014 11:11 PM, Rich E wrote: On Mon, Jan 13, 2014 at 5:35 PM, Dan Wilcox danomat...@gmail.com mailto:danomat...@gmail.com

Re: [PD] t_scalar member sc_vec

2014-02-21 Thread Jonathan Wilkes
On 02/21/2014 09:00 AM, Ivica Bukvic wrote: Because this way you can reference data points with sc_vec+n as opposed to dealing with single or double linked lists (since sc_vec can be an array). If sc_vec is a pointer then you can access data points using the same technique, which is

Re: [PD] libpd separating gui from core

2014-02-21 Thread Jonathan Wilkes
On 02/21/2014 06:41 AM, Simon Wise wrote: On 21/02/14 20:41, Charles Goyard wrote: Hi, just to give some example of single vs multi-threaded, and some comparison points. - projects like haproxy and lighthttpd show that good state machine programming can be more efficient that multi-threaded

[PD] t_scalar member sc_vec

2014-02-20 Thread Jonathan Wilkes
Can anyone explain what's going on with this in m_pd.h: typedef struct _scalar  /* a graphical object holding data */ {     t_gobj sc_gobj; /* header for graphical object */     t_symbol *sc_template;  /* template name (LATER replace with pointer) */     t_word sc_vec[1];   /*

Re: [PD] libpd separating gui from core

2014-02-18 Thread Jonathan Wilkes
On 02/18/2014 04:00 AM, IOhannes m zmoelnig wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-02-17 22:42, Jonathan Wilkes wrote: No sane person is going to do incremental work without a plan on GUI software in 2014 that only has a single undo. luckily the work on the GUI

Re: [PD] libpd separating gui from core

2014-02-18 Thread Jonathan Wilkes
On 02/18/2014 11:11 PM, Rich E wrote: On Mon, Jan 13, 2014 at 5:35 PM, Dan Wilcox danomat...@gmail.com mailto:danomat...@gmail.com wrote: Ah wait, duh. Of course the graph needs to know positioning, that's how it determines execution order or independent blocks of objects

Re: [PD] libpd separating gui from core

2014-02-17 Thread Jonathan Wilkes
On 02/17/2014 10:48 AM, Hans-Christoph Steiner wrote: I think that the way forward with the pd/gui separation is to work on the low hanging fruit, things that are easy to fix. Let the hard parts for later, which will only be a couple areas. So that means looking at everywhere where sys_gui()

Re: [PD] Wich licence?

2014-02-15 Thread Jonathan Wilkes
; format=flowed On 14/02/14 15:45, Jonathan Wilkes wrote: How would that be any different than spyware? -Jonathan Haha! Good point! Thanks everybody for the answers. I took a look to Matt Davey's DIY2 effects and he put no license txt file on its folder. Maelstorm mmb libraries have no license

Re: [PD] Wich licence?

2014-02-14 Thread Jonathan Wilkes
On 02/14/2014 08:16 AM, Mario Mey wrote: I made a Multi-FX Looper called MEH-SYSTEM, posted in PD Forum: http://puredata.hurleur.com/viewtopic.php?pid=37430 I want to put a license to it. Where should I get information about types of licences? I don't think in any restriction... I only

Re: [PD] increasing zone of inlet / outlet

2014-02-13 Thread Jonathan Wilkes
You'd have to tweak the stuff in g_text.c and probably also g_rtext.c to lie about the rectangle size, and to enlarge the bbox for what gets counted as an xlet, then recompile. Meanwhile, there's a single tk canvas subcommand called -closeenough that does exactly what you want.  But Pd doesn't

Re: [PD] increasing zone of inlet / outlet

2014-02-13 Thread Jonathan Wilkes
and then grow the point to that size. -Jonathan On Feb 13, 2014 5:23 PM, Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com wrote: You'd have to tweak the stuff in g_text.c and probably also g_rtext.c to lie about the rectangle size, and to enlarge the bbox for what gets counted

Re: [PD] Is open source better?

2014-02-10 Thread Jonathan Wilkes
To answer your last question: have a look at webpd: https://github.com/sebpiq/WebPd There's a simple demo patch here: http://sebpiq.github.io/WebPd/sound-check/sound-check.html That's Pd's basic audio engine and message passing system running in javascript.  So in terms of open source, the

Re: [PD] Is open source better?

2014-02-10 Thread Jonathan Wilkes
On 02/10/2014 05:31 PM, Simon Wise wrote: On 11/02/14 04:40, Jonathan Wilkes wrote: Unfortunately the open source definition was designed to subtly hide the ethical reasons for doing open source development. The reasoning for this was quite straightforward-- share with your neighbor doesn't

Re: [PD] Infinite Permissions Loop

2014-02-10 Thread Jonathan Wilkes
On 02/10/2014 05:43 PM, Wesley Boynton wrote: No such luck, unfortunately. All pd-related programs have the necessary permissions, yet I am still stuck in the loop. Thanks a bundle, ~W On Mon, Feb 10, 2014 at 5:37 PM, Simon Wise simonzw...@gmail.com mailto:simonzw...@gmail.com wrote:

Re: [PD] How to get a list of midi devices without GUI

2014-02-09 Thread Jonathan Wilkes
In Pd-l2ork you can also do this: [print( | [pdinfo] Which prints all the info for the running Pd instance to the console, including devices.  Or you can send it a message to get a specific attribute like [audio-outdev, midi-outdevlist( | [pdinfo] I tried it with [loadbang] and -nogui, and all

Re: [PD] check mail with pd ?

2014-02-08 Thread Jonathan Wilkes
manipulation within Pd, meaning using boxes connected with wires. The reason for wanting to do string manipulation within Pd is just as obvious as the question that I didn't have to ask and which you addressed after your semicolon. -Jonathan Martin On 2014-02-08 01:10, Jonathan Wilkes wrote: On 02

Re: [PD] cryptocurrency and pd

2014-02-08 Thread Jonathan Wilkes
I would be a little cautious about this.  If you ended up implementing something that garnered wider interest, you'd raise the reward for attacks on normal Pd users and on Pd community infrastructure.  That'd be a major burden for Pd users-- keeping an eye out for me.grimm@blah vs me.grim@blah,

Re: [PD] check mail with pd ?

2014-02-08 Thread Jonathan Wilkes
one line every second. If a line contains the word terrorism make a sound. User takes a drink. Totally useful. :) What is it about boxes connected with lines that you think makes this difficult? -Jonathan Martin On 2014-02-08 03:14, Jonathan Wilkes wrote: On 02/08/2014 01:26 AM, Martin

Re: [PD] check mail with pd ?

2014-02-08 Thread Jonathan Wilkes
On 02/08/2014 11:44 PM, Simon Wise wrote: On 09/02/14 07:59, Jonathan Wilkes wrote: On 02/08/2014 01:40 PM, Martin Peach wrote: A few years ago I implemented a patch for strings in Pd that adds a string or blob type that allows (I think) for what you are describing. I believe it's still part

Re: [PD] check mail with pd ?

2014-02-07 Thread Jonathan Wilkes
On 02/06/2014 01:53 AM, Chris McCormick wrote: On 06/02/14 06:29, pured...@11h11.com wrote: but pd is not really good with strings afaik Maybe soon: https://sourceforge.net/p/pure-data/pure-data/ci/8a02332a5fb68edc2899e2f13513c77f0796d21b/

Re: [PD] Legal restrictions for apps

2014-02-06 Thread Jonathan Wilkes
On 02/05/2014 08:56 PM, Simon Wise wrote: On 06/02/14 00:36, Dan Wilcox wrote: Short answer: yes, it's sufficient to provide the object files and static libs As far as my understanding of GPL LGPL goes, you do not need to publish your app sources when using LGPL libraries as the Lesser part

Re: [PD] cryptocurrency and pd

2014-02-06 Thread Jonathan Wilkes
In what way? You should theoretically be able to visualize a proof-of-work block-chain as a dataflow diagram, for example.  But generally speaking, Pd doesn't seem like it can offer much since it would be quite slow to do hashes or cryptographic functions. -Jonathan On Thursday, February

Re: [PD] cryptocurrency and pd

2014-02-06 Thread Jonathan Wilkes
On 02/06/2014 11:03 AM, i go bananas wrote: In what way? that's what i want to know! I don't know the specifics, but I think both cryptography and finance are areas where the feature of everything is a float actually gets in the way. In either case you cannot afford to lose precision.

Re: [PD] cryptocurrency and pd

2014-02-06 Thread Jonathan Wilkes
On 02/06/2014 02:08 PM, Charles Goyard wrote: Hi, i go bananas wrote: In what way? that's what i want to know! If that's a general question, then the answer is yes, as you can get and send bytes over a network and do math with pd. It's also the answer for all general questions like can I do

Re: [PD] cryptocurrency and pd

2014-02-06 Thread Jonathan Wilkes
Pd or otherwise, I'd be very careful about sending any messages back and forth with the actual Bitcoin network.  By doing so you are essentially telling the internet that fungible, irreversible tokens might exist on your machine, the value of which could far exceed anything that you have ever

Re: [PD] check mail with pd ?

2014-02-05 Thread Jonathan Wilkes
On 02/05/2014 05:29 PM, pured...@11h11.com wrote: yes possible, for example using py/ext with a script like this one: http://libgmail.sourceforge.net/ but pd is not really good with strings afaik If you use Pd and have a use case where you're controling both the sending and receiving of the

Re: [PD] console font size really big

2014-01-31 Thread Jonathan Wilkes
a beer. -Jonathan cheers Miller On Fri, Jan 24, 2014 at 06:25:23PM -0500, Jonathan Wilkes wrote: On 01/24/2014 05:31 PM, Peter P. wrote: Johnathan WIlkins wrote: I'd be curious to know what window manager you are using. Try going into pd-gui.tcl and find the line: # tk scaling 1 Remove

Re: [PD] comments with trailing | ?

2014-01-31 Thread Jonathan Wilkes
On 01/24/2014 05:36 PM, Miller Puckette wrote: Delete these lines in g_text.c: /* for comments, just draw a bar on RHS if unlocked; when a visible canvas is unlocked we have to call this anew on all comments, and when locked we erase them all via the annoying

Re: [PD] Software Defined Radio in Pd

2014-01-30 Thread Jonathan Wilkes
On 01/30/2014 06:41 AM, Julian Brooks wrote: Hey all, I've come across something I'd like to share with everyone. Video demo http://newblankets.org/video/Software%20Defined%20Radio%20in%20Pd.webm (bit fuzzy but you'll get the drift) The patches are here: github: https://github.com/tkzic/pdsdr

Re: [PD] Pd GUI freeze with error message(Tcl)

2014-01-29 Thread Jonathan Wilkes
On 01/29/2014 01:08 PM, Ivica Ico Bukvic wrote: I've seen these also happen when something tries to address a non-existent widget (e.g. when it is being closed or something similar). There are a few things: 1) Weird treatment of the tk error window in OSX. It looks like sometimes it causes

Re: [PD] Data structures and their clickable area

2014-01-29 Thread Jonathan Wilkes
On 01/29/2014 05:40 PM, Roman Haefeli wrote: On Mon, 2014-01-27 at 21:34 -0500, Jonathan Wilkes wrote: On 01/27/2014 05:35 PM, Roman Haefeli wrote: Hi I'm using a template consisting of a rectangle done with [filledpolygon] and a number [drawnumber] in it. While mouse clicks anywhere

Re: [PD] Data structures and their clickable area

2014-01-27 Thread Jonathan Wilkes
On 01/27/2014 05:35 PM, Roman Haefeli wrote: Hi I'm using a template consisting of a rectangle done with [filledpolygon] and a number [drawnumber] in it. While mouse clicks anywhere in the area of the rectangle are detected, it's only possible to change the number with the keyboard when I

Re: [PD] console font size really big

2014-01-24 Thread Jonathan Wilkes
On 01/24/2014 05:31 PM, Peter P. wrote: Johnathan WIlkins wrote: I'd be curious to know what window manager you are using. Try going into pd-gui.tcl and find the line: # tk scaling 1 Remove the #, save the file, and then restart Pd. See if that solves the problem. (Depending on how you are

Re: [PD] was confused about $1 in messages; finding last error

2014-01-23 Thread Jonathan Wilkes
Here are some hints: 1) If the thing that caused the error isn't a gobj (i.e., if it's not a comment, object, iemgui, etc.), then Pd probably doesn't know how to select it.  For example: [namecanvas c] [abc( | [s c] Or: [abc( | [s pd] 2) There are two error interfaces in Pd that I know of:

Re: [PD] access to archives

2014-01-23 Thread Jonathan Wilkes
You can also download the entire archive linked in the top-left corner. http://lists.puredata.info/pipermail/pd-list/ It's in a format called mbox that predates various forces attempting to remake the internet in the style of cable-tv (who btw are succeeding, at least in the U.S.). The archive

  1   2   3   4   5   6   7   8   9   10   >