----- Original Message ----- From: nullpointer nullpointer@odessadesign.co.uk To: MLN Kazem, Aerospace Engineering M.Kazem@bristol.ac.uk Sent: Sunday, September 29, 2002 12:16 PM Subject: Re: [PD] using other s/w with pd
Hi..
I have tried many methods to use pd with other software.. mostly unsuccessful.. here are some ideas..
- You can use a vst plugin object within pd therefore you can use almost
any prexisting vst fx/instrument or write your own (which is not difficult) 2. For sequencing aspects (i.e. not audio processing) you can use either internal midiloopback devices (such as midiox or hubi's midi loopback) or use some sort of udp messaging system.. (like the pdauto external).. unfortuanately neither work very well due to discrepancies in the midi timing and audio latency (you have to buildin delay functions e.t.c.) 3. You can use virtual audio cabling within windows... (like jack) I have only ever done this using a creamware audio card that allows the creation
of
multiple virtual asio channels and therefore allows you to patch outputs and inputs from one app to another.. this actually seems to work quite
well,
although demmands more of yr cpu.. 4. other methods would involve recoding some of pd..you could rewrite so that pd behaves as a vst style plugin/instrument which would allow you to use it in most win-audio apps. However, unless rewritten cleverly you may find it hard to keep yr version up to date with the current releases..with this method pd would probably have to adopt the buffersize/samplerate settings that are part of the vst spec also, so some features may be
tricky
to implement? See pluggo, a similar system for using max patches in logic/cubase e.t.c.
hope this helps.. and if you find a solid solution please let me know!!!
Tom http://www.nullpointer.co.uk
----- Original Message ----- From: MLN Kazem, Aerospace Engineering M.Kazem@bristol.ac.uk To: Akira Abe akiraa181@yahoo.co.jp Cc: pd-list pd-list@iem.kug.ac.at Sent: Saturday, September 28, 2002 6:10 PM Subject: [PD] using other s/w with pd
thanks again for the reply but I'm not quite sure why this is not possible. Please correct me if I am wrong but as I understand it Pd uses portaudio in order to communicate with the windows drivers - which either support ASIO or DirectSound. Having looked at the code for the DirectSound release of portaudio, I recognise the directsound interface code for creating the primary and secondary buffer objects etc. - could I not intercept the code at this point implementing other C/C++ interfaces to further process the secondary buffers before they are sent to the primary? I am presuming that I can use the C source code distributed with pd to implement pd in its entirety - ie. I can have a C or C++ app that uses this code to implement pd's functionality - or is this what you were referring too when you said the answer was 'No'? I think I cannot use ReWire as I am from a university and therefore presumably am not allowed a license (according to the website). Also which part of the source refers to making the connection to the tcl/tk application? ...or am I just getting this whole thing horribly wrong?!
thanks again
Mandy
On Sat, 28 Sep 2002 23:22:25 +0900 Akira Abe akiraa181@yahoo.co.jp wrote:
Hi list,
Hi again Mandy,
thanks Olaf and Akira - your help is greatly appreciated, just pursuing the issue, am I right in saying that it is possible
for
me to write an application, preferably in VC++6.0, that will be able to implement pd but also to access the secondary DirectSound
buffers,
presumably created by pd, before they are mixed in the primary buffer for output? - so that I can then take those buffers and apply other software to them?
I see. The answer is No. If you want to connect PD to other software, you should be using something like ReWire technology.
also is it possible to separate the tcl/tk part so that I can drive pd audio with other networked data - or should I be using something like STK for this?
PD has the tcl/tk part and pd.exe in different processes. The tcl/tk part already has been separated since start of program.
again VC++6.0 applications are what I'm looking at. thanks again,
Mandy
MLN Kazem, Aerospace Engineering M.Kazem@bristol.ac.uk Tel. 0117 9288219 Fax. 0117 9272771
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
Akira Abe akiraa181@yahoo.co.jp
Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
MLN Kazem, Aerospace Engineering M.Kazem@bristol.ac.uk Tel. 0117 9288219 Fax. 0117 9272771
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list