Are you using the libpd master branch? Can you use the pd_045-4 branch as that will become the new master soon. The change is that I added hook setter functions and updated all of the wrappers. I wasn't able to test the csharp wrapper, so if that's what you're using on Windows it would be nice to double check that it's working.
On Mar 5, 2014, at 10:35 PM, pd-list-request@iem.at wrote:
From: Varun Nair nothingtokeep@gmail.com Subject: [PD] libpd and Unity Date: March 5, 2014 at 6:16:05 PM EST To: pd-list@iem.at
Hi all,
I extended Patrick Sebastien's work in libpd-4-unity on Windows and now have it working on OSX and Android. iOS is pending but will happen soon. The whole API hasn't been tested, but basic functionality is in place and works.
More info here. Feedback and bug reports are welcome!
Best, Varun
Dan Wilcox @danomatika danomatika.com robotcowboy.com
Yes, it was built from the master branch. The C# wrappers are used across OSX, Android and Windows in Unity. Will test pd_045-4 next when I get the time.
Cheers Varun
Can you guys be clear about what is working? Pd audio in Unity? :-) crossing fingers
Sent from my iPhone
On Mar 7, 2014, at 1:45 PM, "Varun Nair" <nothingtokeep@gmail.commailto:nothingtokeep@gmail.com> wrote:
Yes, it was built from the master branch. The C# wrappers are used across OSX, Android and Windows in Unity. Will test pd_045-4 next when I get the time.
Cheers Varun
-- @ntkeephttp://twitter.com/ntkeep re-sounding.comhttp://re-sounding.com designingsound.orghttp://designingsound.org
Dan Wilcoxmailto:danomatika@gmail.com 7 March 2014 14:53 Are you using the libpd master branch? Can you use the pd_045-4 branch as that will become the new master soon. The change is that I added hook setter functions and updated all of the wrappers. I wasn't able to test the csharp wrapper, so if that's what you're using on Windows it would be nice to double check that it's working.
Dan Wilcox @danomatika danomatika.comhttp://danomatika.com robotcowboy.comhttp://robotcowboy.com
Pd-list@iem.atmailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Yes both adc / dac are working:
You can load a sample in a AudioSource, this will be the ADC signal You can make a patch with a DAC, this will be the AudioListener
Communication from Unity -> PD is working Communication from PD -> Unity is working
Loading externals are working too. But what I do is to compile the
external with libpd and call it in setup(). I have been using comport
for communication between a microcontroller and Unity:
https://www.youtube.com/watch?v=fVlGEmsO0Ps
Right now: Unity 3.5 / Unity 4 OSX (Unity PRO) Windows 32bit (can be run on 64bit)* Android
Coming eventually: iOS
*I have been able to use the indie/free version of Unity 3.5 on
Windows when placing the libpdcsharp.dll at the right place. Didn't
test with Unity 4. Since Unity4 you can build for Android even with
the indie version.
Not implemented, spatialisation when using a DAC. ADC / AudioSource is
handle by Unity (you need to toggle 3D sound).
à+
I am NOT getting both of them working the csharplib.dll throws a ton of errors on a windows7 install. Can someone link a different libpd & Unity Project that makes sound to show an example?
I would love to get it working but so far i am unsuccesful with windows so far
pp
Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
From: pd-list-bounces@iem.at [pd-list-bounces@iem.at] on behalf of puredata@11h11.com [puredata@11h11.com] Sent: Saturday, March 08, 2014 6:51 PM To: pd-list@iem.at Subject: Re: [PD] libpd and Unity
Yes both adc / dac are working:
You can load a sample in a AudioSource, this will be the ADC signal You can make a patch with a DAC, this will be the AudioListener
Communication from Unity -> PD is working Communication from PD -> Unity is working
Loading externals are working too. But what I do is to compile the external with libpd and call it in setup(). I have been using comport for communication between a microcontroller and Unity: https://www.youtube.com/watch?v=fVlGEmsO0Ps
Right now: Unity 3.5 / Unity 4 OSX (Unity PRO) Windows 32bit (can be run on 64bit)* Android
Coming eventually: iOS
*I have been able to use the indie/free version of Unity 3.5 on Windows when placing the libpdcsharp.dll at the right place. Didn't test with Unity 4. Since Unity4 you can build for Android even with the indie version.
Not implemented, spatialisation when using a DAC. ADC / AudioSource is handle by Unity (you need to toggle 3D sound).
à+
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Would be useful to see the errors. Also what version of Unity (free /
pro) (3.5 / 4)?
Did you compile your own pdcsharlib.dll?
Windows: install mingw and compile libpd
(https://github.com/libpd/libpd) "make csharplib". Copy
libs/libpdcsharl.dll to Assets/Plugins
à+
Hey
On Mit, 2014-03-12 at 19:23 -0400, puredata@11h11.com wrote: [...]
How is it there in the future? :-)
Roman
Hello, i switched to OSX and have an example of libpd and a sine tone on a slider inside Unity 4.3.1 working I did a make and got a libpd.dylib, which had to be renamed to libpd.bundle and i followed this blog post successfully http://kylehalladay.com/all/blog/2013/11/10/Libpd-and-Unity.html
Does anyone have any other examples of pd providing other sound for Unity? I would like to see if pd can be used to provide the full audio part for a game but i am also interested in perhaps making a synth emulation in Unity3D. I have the code for an ARP Odyssey that still works and it even has midi working. So it might be a nice starter project, especially if i can export it to a ipad/iphone.
I guess i am just looking for some more in-depth examples to digest before i get cracking
thanks!
pp
Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
From: puredata@11h11.com [puredata@11h11.com] Sent: Wednesday, March 12, 2014 7:23 PM To: Pagano, Patrick Cc: pd-list@iem.at Subject: Re: [PD] libpd and Unity
Would be useful to see the errors. Also what version of Unity (free / pro) (3.5 / 4)? Did you compile your own pdcsharlib.dll?
Windows: install mingw and compile libpd (https://github.com/libpd/libpd) "make csharplib". Copy libs/libpdcsharl.dll to Assets/Plugins
à+