Re: [LAU] Custom UI development in Pure Data

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Marc Lavallée <marc@...>, <linux-audio-user@...>
Date: Sunday, September 1, 2013 - 6:17 pm

On Sun, 1 Sep 2013 14:01:45 -0400, Marc Lavallée wrote

Just keep in mind: libpd can only _run_ pd patches, you cannot
create/modify patches. Iff this is all you need than libpd might
be a valid replacement for Pd proper. Another obstacle to consider:
libpd doesn't provide any build-in way to handle audio data. You need
to write code to send/receive audio/midi data to your framework-of-choice.
On Linux that means writing quite some jack code (and, since libpd's
model of operation is push/pull, that code isn't really trivial).
That's where the example code is astonishing terse :-) :

----[file: cppTest$/src/main.cpp]------------------------------------

// fill inbuf here
pd.processFloat(1, inbuf, outbuf);
// use outbuf here

---------------------------------------------------------------------

Frankly, I'd rather write my GUI in Qt (or whatever) and communicate whith
a headless pd process by means of OSC or even "raw" pd messages.

Cheers, Ralf Mattes

--
R. Mattes -
Hochschule fuer Musik Freiburg
rm@inm.mh-freiburg.de

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Custom UI development in Pure Data, Heikki Ketoharju, (Sat Aug 31, 7:26 pm)
Re: [LAU] Custom UI development in Pure Data, Simon Wise, (Sun Sep 1, 10:07 am)
Re: [LAU] Custom UI development in Pure Data, Simon Wise, (Sun Sep 1, 4:15 am)
Re: [LAU] Custom UI development in Pure Data, Federico Lopez, (Sun Sep 1, 4:30 pm)
Re: [LAU] Custom UI development in Pure Data, R. Mattes, (Sun Sep 1, 6:17 pm)
Re: [LAU] Custom UI development in Pure Data, Harry van Haaren, (Sun Sep 1, 7:00 pm)
Re: [LAU] Custom UI development in Pure Data, Gene Heskett, (Sun Sep 1, 7:22 pm)
Re: [LAU] Custom UI development in Pure Data, Heikki Ketoharju, (Sun Sep 1, 9:57 pm)