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