Re: [PD] libpd separating gui from core

2014-02-26 Thread Peter Brinkmann
On Wed, Feb 26, 2014 at 5:03 PM, Ivica Bukvic wrote: > The reason why I believe combining all of these will not be feasible is > because in one of my recent conversations with Miller (and Miller please > correct me if I somehow misremember here) he expressed his belief any > project that exceeds

Re: [PD] libpd separating gui from core

2014-02-25 Thread Peter Brinkmann
Late to the party, but here are a few thoughts on the topics that have come up: 1. Pd and concurrency: Audio processing must be separate from user interaction. If you want decent latency, you need to do your audio processing on a real-time thread. On the other hand, the GUI cannot be on a real-tim

Re: [PD] New PdDroidParty version

2013-05-31 Thread Peter Brinkmann
Hello everybody, If you're using the new version of PdDroidParty that Chris just published, it would be great if you would let me know how it's working for you. (In particular, how's the latency? Are input and output working without glitches?) I'm pretty confident that the new latency tweaks are so

Re: [PD] libpd netreceive

2013-01-20 Thread Peter Brinkmann
Hi Billy, Use the latest version. I don't think we've had any regressions. Peter On Sun, Jan 20, 2013 at 9:52 PM, Billy Stiltner wrote: > Peter while you are in here, i'm wondering about using the latest > libpd on linux, would it be better to use the old code or the latest? > is there an

Re: [PD] libpd netreceive

2013-01-20 Thread Peter Brinkmann
Hi Thomas, I have to admit that I didn't realize that netreceive requires an extra polling step. So, I'm afraid that netreceive is currently broken. The question is what to do about this. I took a quick look at sys_domicrosleep and didn't immediately see how it works. I wouldn't mind integrating i

Re: [PD] ... and the battle with IT begins

2012-09-13 Thread Peter Brinkmann
I see you have met Mordac, Preventer of Information Services (http://search.dilbert.com/comic/Mordac%20The%20Preventer). The message you received is clearly meant to demoralize and intimidate, what with the condescension ("obvious reasons" --- this is not obvious at all), bogus jargon ("production

Re: [PD] PD on Playstation 3?

2012-08-19 Thread Peter Brinkmann
Hi Filippo, You may want to reach out to Kent Jolly. He gave a talk on the use of Pd at Electronic Arts last year. He's also interested in libpd. I'm not familiar with PS3 development, but the basic setup of libpd in a new environment is always the same. Since libpd doesn't have any dependencies,

Re: [PD] Open midi files in PD Vanilla?

2012-08-13 Thread Peter Brinkmann
On Mon, Aug 13, 2012 at 10:51 PM, patrick wrote: >> (Or does libpd not load externals?) > > > libpd is able to load an external, i have successfully used Gem.pd_linux > with libpd as a standalone pd / Gem application. That's great! Did you document your experiences anywhere? I get lots of questio

Re: [PD] libPD and Unity status?

2012-08-13 Thread Peter Brinkmann
bPD in a Unity > project, then we'd either be forced to create the GUI in Unity or have > separate communication with the GUI outside of Unity. i suppose that's > possible but i'd have to consider whether it's more efficient or not. > > scott > > On Sat, Aug

Re: [PD] libPD and Unity status?

2012-08-13 Thread Peter Brinkmann
Hi everybody, This is exciting stuff! It would be great if we could document all Unity-related efforts in one place. I created a wiki page for this purpose: https://github.com/libpd/libpd/wiki/Unity Feel free to update this page if you have any insights to share. Thanks, Peter On Mon, Aug 13

Re: [PD] libPD and Unity status?

2012-08-11 Thread Peter Brinkmann
I hope that it won't be necessary to do this in two steps, prototyping with Pd and deployment with libpd; that would mean discarding one of the strengths of libpd (here's an old blog post on the matter: http://nettoyeur.noisepages.com/2011/02/libpd-workflow-prototyping-and-production/). It would be

Re: [PD] [PD-announce] pd 0.43-3 released

2012-07-05 Thread Peter Brinkmann
Hi Miller, Thanks for including two libpd-related patches in Pd 0.43-3! I merged your changes into the (still experimental) opensl branch of libpd and everything seems to be working nicely. In particular, building and deploying externals for Android is perfectly straightforward now. Cheers,

Re: [PD] for ivo - and others - re:mu integration of PD with Unity 3.5?

2012-05-03 Thread Peter Brinkmann
Hi Scott, The latest version of libpd includes basic C# bindings, and it looks like we'll have full C# support soon. I'm not familiar with Unity, but I gather that C# bindings are a prerequisite for using libpd with Unity. Cheers, Peter On Thu, May 3, 2012 at 8:46 PM, Scott R. Looney wrote

Re: [PD] [PD-dev] Filter design for iPhone

2012-03-24 Thread Peter Brinkmann
On Sat, Mar 24, 2012 at 5:20 AM, Ed Kelly wrote: > My mistake > >> Ah. >> As often happens, as soon as I have pressed "send" and posted the >> question, the answer pops out. >> xb4 = xb4 - xb4 * xb4 * xb4 * 0.17f; >> >> is replaced by... >> >> xb4 = xb4 - xb4 * xb4 * xb4 * 0.01f; >> >> ...and

Re: [PD] [PD-dev] Filter design for iPhone

2012-03-22 Thread Peter Brinkmann
Hi Ed, The attached files are just the Pd patch and abstractions. We'll probably need the entire app to get a sense of what's going wrong here. Cheers, Peter On Thu, Mar 22, 2012 at 11:52 AM, Ed Kelly wrote: >>> [...] >>> I will look at the RJDJ filters mentioned also. I would like not to

Re: [PD] [PD-dev] Filter design for iPhone

2012-03-22 Thread Peter Brinkmann
On Wed, Mar 21, 2012 at 8:39 PM, Ed Kelly wrote: > [...] > I will look at the RJDJ filters mentioned also. I would like not to have to > worry about filters when programming libpd audio engines. Absolutely. If a patch works with Pd Vanilla, then it ought to work with libpd. Would you mind filin

Re: [PD] Making Musical Apps: a book about libpd

2012-03-08 Thread Peter Brinkmann
I appreciate your reply, Mathieu. I'm feeling better now. On Thu, Mar 8, 2012 at 7:40 PM, Mathieu Bouchard wrote: > Le 2012-03-08 à 18:36:00, Peter Brinkmann a écrit : > > >> Shawn and I accidentally crossed wires here --- Shawn didn't know that I >> had alread

Re: [PD] Making Musical Apps: a book about libpd

2012-03-08 Thread Peter Brinkmann
gt;>> >>> Fuck off. >>> >>> Spam merchant. >>> >>> There, said/done it. >>> >>> Julian >>> >>> >>> >>> >>> On 8 March 2012 20:17, Shawn Wallace wrote: >>>> >>>> Hi a

[PD] netsend~ for libpd

2012-03-05 Thread Peter Brinkmann
On Sun, Mar 4, 2012 at 9:04 AM, Jeppi Jeppi wrote: > Hi people! > well this is a feature request...I see the netsend~/netreceive~ objects > from http://www.nullmedium.de/dev/netsend~/ are not included in the > pd-extended release. They are *super* useful and I would like to know if > there is any

Re: [PD] [PD-announce] libpd, the book!

2012-02-26 Thread Peter Brinkmann
Thanks for the kind words, everybody! About prerequisites, you will need to know the basics of Java or Objective-C, e.g., basic syntax as well as terms like class, object, method, and inheritance. I'm also assuming that readers have some basic knowledge of Android or iOS development, as well as a

[PD] [PD-announce] libpd, the book!

2012-02-23 Thread Peter Brinkmann
Hi, I'm happy to announce the release of my book on mobile audio development with libpd: http://shop.oreilly.com/product/0636920022503.do The ebook version is available now; printed copies will be available from amazon.com next week. Cheers, Peter

Re: [PD] Thoughts in conclusion of the 4th Pure Data Convention

2012-02-09 Thread Peter Brinkmann
Some random thoughts on various topics that have come up so far: * Being afraid of Pd: Usability experts like to talk about things like discoverability and constraints, and most users have been taught to expect user interfaces that tell them what to do. Pd doesn't do any of that. It greets you w

Re: [PD] audio to arduino to PD, back to audio

2011-11-28 Thread Peter Brinkmann
Hi Onyx, If low-fi ness and texture is what you're after, then you may want to try bit-banging, i.e., sampling audio with digital pins, for a resolution of one bit per sample. That sounds crazy, but with a little bit of low-pass filtering the output is surprisingly recognizable. It also improves

Re: [PD] Libpd on Android

2011-09-19 Thread Peter Brinkmann
The wiki is a collaborative effort, but I'm the one who wrote the most recent update on Eclipse, and it's working for me in Eclipse 3.7, exactly as stated. You really shouldn't have to create any new projects because all components of pd-for-android come with working Eclipse project configurations

Re: [PD] Pd on Android

2011-09-05 Thread Peter Brinkmann
On Mon, Sep 5, 2011 at 7:46 PM, Chris McCormick wrote: > On Mon, Sep 05, 2011 at 06:20:26PM -0400, Hans-Christoph Steiner wrote: > > [shell] is in ggee and [system] is in motex, both of those use the > > Makefile Template, so they should be really easy to compile for Android. > > How are you inst

Re: [PD] sending image from of / libpd

2011-08-31 Thread Peter Brinkmann
On Wed, Aug 31, 2011 at 9:01 AM, Dan Wilcox wrote: > > On Aug 31, 2011, at 8:45 AM, Peter Brinkmann wrote: > > > On Wed, Aug 31, 2011 at 6:25 AM, Dan Wilcox wrote: > >> I think it's much simpler to just add a call to get/set the message limit, >> say:

Re: [PD] sending image from of / libpd

2011-08-31 Thread Peter Brinkmann
On Wed, Aug 31, 2011 at 11:27 AM, Peter Brinkmann < peter.brinkm...@googlemail.com> wrote: > On Wed, Aug 31, 2011 at 9:01 AM, Dan Wilcox wrote: > >> >> On Aug 31, 2011, at 8:45 AM, Peter Brinkmann wrote: >> >> >> On Wed, Aug 31, 2011 at 6:25 AM, D

Re: [PD] sending image from of / libpd

2011-08-31 Thread Peter Brinkmann
ly. With a separate call for setting the message limit, people will forget that the limit is a consideration. With the current solution, people will briefly contemplate the length of each message they start, which is a good thing. Cheers, Peter > > On Aug 30, 2011, at 5:47 PM, Peter

Re: [PD] sending image from of / libpd

2011-08-30 Thread Peter Brinkmann
, Peter Brinkmann < peter.brinkm...@googlemail.com> wrote: > > > On Tue, Aug 30, 2011 at 12:51 PM, Mathieu Bouchard wrote: > >> On Tue, 30 Aug 2011, IOhannes m zmoelnig wrote: >> >> why not simply resize the internal array as needed, starting with 32 >>>

Re: [PD] sending image from of / libpd

2011-08-30 Thread Peter Brinkmann
On Tue, Aug 30, 2011 at 3:44 PM, Mathieu Bouchard wrote: > On Tue, 30 Aug 2011, Peter Brinkmann wrote: > > For the time being, I have something much simpler in mind: Just take the >> current call "int libpd_start_message(void)", which returns the current >>

Re: [PD] sending image from of / libpd

2011-08-30 Thread Peter Brinkmann
On Tue, Aug 30, 2011 at 12:51 PM, Mathieu Bouchard wrote: > On Tue, 30 Aug 2011, IOhannes m zmoelnig wrote: > > why not simply resize the internal array as needed, starting with 32 >> elements and doubling whenever the limit is reached? >> > > binbuf could be used for that, if the libc's realloc

Re: [PD] sending image from of / libpd

2011-08-29 Thread Peter Brinkmann
On Mon, Aug 29, 2011 at 1:15 AM, Mathieu Bouchard wrote: > [...] and also, I just read your libpd_read_array and libpd_write_array functions. > They don't work in 64-bit mode, in which sizeof(t_word) != sizeof(t_float). Okay, should be fixed now. I just pushed the latest revision to Gitorious.

Re: [PD] sending image from of / libpd

2011-08-29 Thread Peter Brinkmann
> > Here's the problem that it is supposed to solve: You want to translate a >> heterogeneous list of objects in Java into an array of type t_atom in C. >> That's all. >> > > Btw, did you look at Pascal Gauthier's library ? > Yes, but I think it solves a different problem. In particular, I don'

Re: [PD] Pd on Android

2011-08-29 Thread Peter Brinkmann
On Mon, Aug 29, 2011 at 2:09 PM, athos bacchiocchi < athos.bacchioc...@gmail.com> wrote: > 2011/8/29 Pierre Massat > >> I plan on buying my very first smartphone in the next few days. I want a >> phone running Android since it appears to be the best platform to run Pd. I >> m just not quite sure

Re: [PD] sending image from of / libpd

2011-08-29 Thread Peter Brinkmann
On Mon, Aug 29, 2011 at 1:23 AM, Dan Wilcox wrote: > No, I'm talking about sending a list or typed message with libpd as in: > > [list 1 2 3 4 ... 32 < > | > [s toC++] > > The print messaging isn't limited as far as I know. > That's right. The only part that imposes a limit on the message size

Re: [PD] sending image from of / libpd

2011-08-28 Thread Peter Brinkmann
On Sun, Aug 28, 2011 at 5:04 PM, Mathieu Bouchard wrote: > On Sun, 28 Aug 2011, Peter Brinkmann wrote: > > One major simplification is the use of built-in data types vs custom >> structs and unions. >> > > You mean you simplify by making things more low-level ? >

Re: [PD] sending image from of / libpd

2011-08-28 Thread Peter Brinkmann
On Sun, Aug 28, 2011 at 1:26 PM, Mathieu Bouchard wrote: > On Sun, 28 Aug 2011, Peter Brinkmann wrote: > > Can you bypass many of the functions in libpd and use m_pd.h directly? >> Sure, but then again maybe m_pd.h is pointless because you can just hack >> your binaries wit

Re: [PD] sending image from of / libpd

2011-08-28 Thread Peter Brinkmann
On Sat, Aug 27, 2011 at 11:16 PM, Mathieu Bouchard wrote: > On Sun, 21 Aug 2011, Hans-Christoph Steiner wrote: > > I think with the libpd API, you can write to Pd arrays. That's probably >> you're best bet. >> > > You must be meaning the pd API (m_pd.h). > > There's nothing libpd-specific (z_lib

Re: [PD] PPA for libpd?

2011-06-23 Thread Peter Brinkmann
I suggest you stick to the central repository of libpd because you can expect it to be actively maintained and documented. If other repositories contain material that you'd like to see in the main branch, you can create a merge request at Gitorious. Cheers, Peter On Wed, Jun 22, 2011 at 6:3

Re: [PD] PPA for libpd?

2011-06-22 Thread Peter Brinkmann
I agree that we should provide a libpd.pc. Let's aim to fold this into the main branch of the libpd repository. If the PPA ends up using code from aalex, let's merge that into the main branch as well. A related question is whether this is the time to declare the libpd API finished, but that's a

Re: [PD] RJDJ,sceneplayer & Xoom

2011-06-08 Thread Peter Brinkmann
Hi Joe, * The app faithfully implements all features of the iPhone app that were >> publicly documented last summer, including rj_image, rj_text, sensor input, >> etc. There have been a few additions since (scaling and rotating text, I >> think); those will be easy enough to add when I see the ne

Re: [PD] RJDJ,sceneplayer & Xoom

2011-06-08 Thread Peter Brinkmann
Hi, A few clarifications regarding the ScenePlayer app for Android: * The app faithfully implements all features of the iPhone app that were publicly documented last summer, including rj_image, rj_text, sensor input, etc. There have been a few additions since (scaling and rotating text, I think);

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

2011-04-09 Thread Peter Brinkmann
On Sat, Apr 9, 2011 at 7:32 PM, Mathieu Bouchard wrote: > On Sat, 9 Apr 2011, Peter Brinkmann wrote: > > By the way, there's a way to draw a circle using nothing but addition: >> http://en.wikipedia.org/wiki/Midpoint_circle_algorithm >> Implementing this in Pd is c

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

2011-04-09 Thread Peter Brinkmann
By the way, there's a way to draw a circle using nothing but addition: http://en.wikipedia.org/wiki/Midpoint_circle_algorithm Implementing this in Pd is completely impractical, but it's fun to think about. Cheers, Peter On Sat, Apr 9, 2011 at 2:12 AM, Mathieu Bouchard wrote: > On Fri, 8 A

Re: [PD] [PD-announce] workshop: Pd as your embeddable audio engine

2011-04-08 Thread Peter Brinkmann
On Fri, Apr 8, 2011 at 6:59 AM, patrick wrote: > > Also, is pdlib just with pd-vanilla, or is it possible to use externals >> with it? >> > > yes, i use Gem with libpd. Two comments: (a) Awesome! Would you mind telling us more about your project? (b) Every once in a while I find myself tem

Re: [PD] [PD-announce] workshop: Pd as your embeddable audio engine

2011-04-08 Thread Peter Brinkmann
On Fri, Apr 8, 2011 at 6:51 AM, João Pais wrote: > NY is a couple thousand Km away from Berlin, so I'm for that as well. > > Also, is pdlib just with pd-vanilla, or is it possible to use externals > with it? > The short answer is that yes, externals work with libpd. A slightly longer answer is

Re: [PD] Am I a phone?

2011-03-25 Thread Peter Brinkmann
On Fri, Mar 25, 2011 at 1:31 PM, ALAN BROOKER wrote: > Wow that's a good result! I haven't got an iAnything at the moment but > would love to hear the audio for this... > > This may have been asked before but is there a possibility to run Pd on > Andriod? > Yes, there is: http://gitorious.org/pdl

Re: [PD] PD'ers in NYC

2009-10-16 Thread Peter Brinkmann
n make it will show up. Otherwise we'll be scheduling forever >> ;) Then someone else can choose a time that suits their schedule and venue. >> >> .hc >> >> On Oct 7, 2009, at 12:40 AM, Peter Brinkmann wrote: >> >> >> Do you really mean 7am-1

Re: [PD] PD'ers in NYC

2009-10-08 Thread Peter Brinkmann
a time that suits their schedule and venue. > > .hc > > On Oct 7, 2009, at 12:40 AM, Peter Brinkmann wrote: > > > Do you really mean 7am-10am? That would be hardcore. But seriously, > weeknights would not work so well because we may have conflicts with regular > teachin

Re: [PD] PD'ers in NYC

2009-10-06 Thread Peter Brinkmann
wrote: > > The Debian-NYC meetings use these doodle time polls quite well, let's try > here. Basically, just type in a unique ID and the times you can make it, > maybe make it, cannot make it (no login necessary): > > http://doodle.com/96mwth5zekq2xx5y > > .hc > >

Re: [PD] PD'ers in NYC

2009-10-04 Thread Peter Brinkmann
Okay, now I'm thoroughly confused. I have no idea who will be attending and what their constraints are. If you want to attend, I suggest you send me a quick email and let me know what dates and times would work for you, and then I'll see whether I can find a good time for everybody. Peter

Re: [PD] PD'ers in NYC

2009-10-01 Thread Peter Brinkmann
I'd say some time after breakfast on October 10th. How about 11am? Peter On Thu, Oct 1, 2009 at 5:46 PM, Hans-Christoph Steiner wrote: > > Ok, so set a time and date, and we have an event! Oct 10th? > > .hc > > On Oct 1, 2009, at 5:45 PM, Peter Brinkmann wrote:

Re: [PD] PD'ers in NYC

2009-10-01 Thread Peter Brinkmann
In addition to my lab, we can use the graduate lounge as well as a classroom across the hall. I've got a wireless router in my lab that should reach the lounge at least. Peter On Sun, Sep 27, 2009 at 5:52 PM, Peter Brinkmann < peter.brinkm...@googlemail.com> wrote: > >

Re: [PD] PD'ers in NYC

2009-09-27 Thread Peter Brinkmann
for people to sit around and work? > > .hc > > On Sep 23, 2009, at 11:45 AM, Peter Brinkmann wrote: > > > How about my audiovisual lab at City College ( > http://math.sci.ccny.cuny.edu/pages?name=VisorLab)? I've got room for up > to 24 people or so. > P

Re: [PD] PD'ers in NYC

2009-09-23 Thread Peter Brinkmann
How about my audiovisual lab at City College ( http://math.sci.ccny.cuny.edu/pages?name=VisorLab)? I've got room for up to 24 people or so. Peter On Wed, Sep 23, 2009 at 10:15 AM, Hans-Christoph Steiner wrote: > > Anyone have a place to have it? I asked at Eyebeam to see if we can do it

Re: [PD] Is anyone using csoundapi~?

2008-08-18 Thread Peter Brinkmann
me know when the examples are in the CVS, that would be great. While I > am currently not using MIDI with CSound, I am pretty much leaving that to > Pd, it might be interesting to work with. > > Thanks, > > Mike > > > On Wed, Aug 13, 2008 at 5:35 PM, Peter Brinkmann <

Re: [PD] Is anyone using csoundapi~?

2008-08-13 Thread Peter Brinkmann
Hi Mike, I use csoundapi~ a bit and it works fine for me. And yes, there is a more recent version; the current version in CVS takes MIDI commands, much like the corresponding object for MAX/MSP. I've prepared a few sample patches for the new MIDI functionality. They aren't in CVS yet, but I can

Re: [PD] pyext and canvas_getcurrentdir()

2008-03-11 Thread Peter Brinkmann
Hi Thomas, Thanks for your reply! > Does pyext offer Python bindings for functions like > > canvas_getcurrentdir() from m_pd.h? > > > > currently it doesn't, but i'll see if i can add it That would be great. Not to seem greedy, but there are a few more functions in there that would be good to h

[PD] pyext and canvas_getcurrentdir()

2008-03-11 Thread Peter Brinkmann
Hi all, Does pyext offer Python bindings for functions like canvas_getcurrentdir() from m_pd.h? I looked at the source code and noticed that pyext appends the current directory to the Python search path, so that I get the current directory via sys.path[-1]. I'm a little worried, though, that this