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

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

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

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 billy.stilt...@gmail.comwrote: 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

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] 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

Re: [PD] libPD and Unity status?

2012-08-13 Thread Peter Brinkmann
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 11, 2012 at 4:56 PM, Peter Brinkmann peter.brinkm...@googlemail.com wrote: I hope that it won't be necessary

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

2012-08-13 Thread Peter Brinkmann
On Mon, Aug 13, 2012 at 10:51 PM, patrick pured...@11h11.com 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

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

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

2012-07-06 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

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 morph_2...@yahoo.co.uk 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
On Wed, Mar 21, 2012 at 8:39 PM, Ed Kelly morph_2...@yahoo.co.uk 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.

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 morph_2...@yahoo.co.uk wrote: [...] I will look at the RJDJ filters mentioned also. I

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

2012-03-08 Thread Peter Brinkmann
...@oreilly.com wrote: Hi all: Peter Kirn over at createdigitalmusic.com has a great review, interview and excerpt of the new O'Reilly book Making Musical Apps by Peter Brinkmann:  http://createdigitalmusic.com/2012/03/pd-everywhere-free-libpd-gets-a-new-site-new-book-on-making-mobile-music-apps

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 ma...@artengine.ca 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 already sent a message to Pd

[PD] netsend~ for libpd

2012-03-05 Thread Peter Brinkmann
On Sun, Mar 4, 2012 at 9:04 AM, Jeppi Jeppi jepp...@hotmail.com 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

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

[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

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

Re: [PD] Pd on Android

2011-09-05 Thread Peter Brinkmann
On Mon, Sep 5, 2011 at 7:46 PM, Chris McCormick ch...@mccormick.cx 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

Re: [PD] sending image from of / libpd

2011-08-31 Thread Peter Brinkmann
, 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 Brinkmann wrote: On Tue, Aug 30, 2011 at 3:44 PM, Mathieu

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 danomat...@gmail.com wrote: On Aug 31, 2011, at 8:45 AM, Peter Brinkmann wrote: On Wed, Aug 31, 2011 at 6:25 AM, Dan Wilcox danomat...@gmail.com wrote: I

Re: [PD] sending image from of / libpd

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

Re: [PD] sending image from of / libpd

2011-08-30 Thread Peter Brinkmann
On Tue, Aug 30, 2011 at 12:51 PM, Mathieu Bouchard ma...@artengine.cawrote: 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

Re: [PD] sending image from of / libpd

2011-08-30 Thread Peter Brinkmann
On Tue, Aug 30, 2011 at 3:44 PM, Mathieu Bouchard ma...@artengine.cawrote: 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 limit, and replace

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 ma...@artengine.cawrote: 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

Re: [PD] sending image from of / libpd

2011-08-29 Thread Peter Brinkmann
On Mon, Aug 29, 2011 at 1:23 AM, Dan Wilcox danomat...@gmail.com 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

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 pimas...@gmail.com 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

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't want to

Re: [PD] sending image from of / libpd

2011-08-29 Thread Peter Brinkmann
On Mon, Aug 29, 2011 at 1:15 AM, Mathieu Bouchard ma...@artengine.cawrote: [...] 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

Re: [PD] sending image from of / libpd

2011-08-28 Thread Peter Brinkmann
On Sat, Aug 27, 2011 at 11:16 PM, Mathieu Bouchard ma...@artengine.cawrote: 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

Re: [PD] sending image from of / libpd

2011-08-28 Thread Peter Brinkmann
On Sun, Aug 28, 2011 at 1:26 PM, Mathieu Bouchard ma...@artengine.cawrote: 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 with a hex

Re: [PD] sending image from of / libpd

2011-08-28 Thread Peter Brinkmann
On Sun, Aug 28, 2011 at 5:04 PM, Mathieu Bouchard ma...@artengine.cawrote: 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 ? const char * is rarely

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

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, 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

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 new

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 ma...@artengine.ca

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 ma...@artengine.ca 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 completely

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 jmmmp...@googlemail.com 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

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 pured...@11h11.com 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

Re: [PD] Am I a phone?

2011-03-25 Thread Peter Brinkmann
On Fri, Mar 25, 2011 at 1:31 PM, ALAN BROOKER alan.brooker2...@gmail.comwrote: 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:

Re: [PD] PD'ers in NYC

2009-10-16 Thread Peter Brinkmann
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 teaching at the College. How about the weekend after

Re: [PD] PD'ers in NYC

2009-10-08 Thread Peter Brinkmann
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 teaching at the College. How about the weekend after, October 17 or 18

Re: [PD] PD'ers in NYC

2009-10-06 Thread Peter Brinkmann
, Peter Brinkmann wrote: 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

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 h...@at.or.atwrote: 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: In addition

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. Peter On Wed, Sep 23, 2009 at 10:15 AM, Hans

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 h...@at.or.atwrote: Anyone have a place to have it? I asked at Eyebeam to see if

Re: [PD] Is anyone using csoundapi~?

2008-08-19 Thread Peter Brinkmann
, 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 [EMAIL PROTECTED] wrote: Hi Mike, I use csoundapi~ a bit and it works fine

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

[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

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 have,