<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Patrick,<div><br></div><div>Kalimba should have an example project set up- which sends various bangs and floats to PD from within Unity. Maybe it's not there anymore? Anyways, here's a simple patcher and a unity project that sends bangs to the patch!</div><div><br></div><div><br></div><div><a href="https://server.fbpsound.com/pydio/data/public/ee6799.php">https://server.fbpsound.com/pydio/data/public/ee6799.php</a></div><div><br></div><div><br></div><div>If you need a quick way of firing of sound effects, maybe the <a href="https://github.com/fbpsound/pip_abstractions">Pip Abstraction</a> can be of help, too.</div><div><br></div><div><br></div><div>Let us know how it goes and if you have any other questions!</div><div><br></div><div><br></div><div>Best,</div><div><br></div><div>Filippo</div><div><br></div><div><br><div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><b>Filippo Beck Peccoz<br></b>Game Audio<br><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><a href="http://www.fbpsound.com">www.fbpsound.com</a></div><div>Twitter: <a href="http://twitter.com/fbpsound">@fbpsound</a></div><div>Skype: fbpsound</div><div>Mobile: +49-(0)1520-4004143</div><div>Studio: +49-(0)89-80033204</div><div>Fax: +49-(0)89-99752164</div><div><br></div><div><br></div></div></div><br class="Apple-interchange-newline">
</div>
<br><div><div>On Aug 13, 2014, at 7:31 PM, "Pagano, Patrick" <<a href="mailto:pat@digitalworlds.ufl.edu">pat@digitalworlds.ufl.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">

<div dir="auto">
<div>I looked at that one as well but it just provides an example with a slider and two frequencies attached to a GUI slider. If I can get an example of how to fire off samples from Unity3D I will be good to go. btw the libpdcsharp.dll included with that example
 did not work so I used the one from Sebastiens example and it worked. I hope someone on list is willing to share a simple sample play example. Or a receive a bang example ideally, yes we want it included in the game and not pd running as a separate sound server <br>
<br>
Sent from my iPhone</div>
<div><br>
On Aug 13, 2014, at 1:23 PM, "Scott R. Looney" <<a href="mailto:scottrlooney@gmail.com">scottrlooney@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">hi Patrick, i can let others chime in, but as i recall there's a number of methods here. Patrick Sebastien's method uses libpd running directly in Unity, and i must admit it's a little confusing for me to understand as well. 
<div><br>
</div>
<div>another method uses Unity and PD separately during development but pairs it with libpd at build time. however, if you're running a Kinect off of it, then it sounds like it's more of an installation thing than an enclosed app, so this could also work.</div>
<div><br>
</div>
<div>i would have a look at the Kalimba framework. it might be clearer as to what's happening, with PD communicating to/from Unity separately via OSC. here's the github for Kalimba:</div>
<div><br>
</div>
<div><a href="https://github.com/hagish/kalimba">https://github.com/hagish/kalimba</a><br>
</div>
<div><br>
</div>
<div>good luck!</div>
<div><br>
</div>
<div><br>
</div>
<div>best,</div>
<div>scott</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Aug 13, 2014 at 9:32 AM, Pagano, Patrick <span dir="ltr">
<<a href="mailto:pat@digitalworlds.ufl.edu" target="_blank">pat@digitalworlds.ufl.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction: ltr; font-family: Tahoma; font-size: 10pt; ">Hello
<div><br>
</div>
<div>I am working on a simple game project for a child's museum that has a delivery date of October 30, so i have a little time to play around a bit and i was considering using libpd with Unity3D for the audio portion of the game.</div>
<div>The game is a Egyptian game so i need a sample to run as soon as the game starts with some Egyptian music playing.</div>
<div>The game players will be tracked with Kinect and at one point Kick Snakes for points [Kicking Asps] and i need there to be a sample fired off each time a snake is successfully kicked. So really two samples need to be fired off from Unity to libpd. </div>
<div><br>
</div>
<div>The pd portion i have no problem creating but i am wondering if anyone on list has a Unity example they would be willing to share that Pd receives a bang from Unity3D? The online example from Patrick Sebastien seems to be this hard-coded midi note patch
 that randomizes an osc and it's very confusing as i cannot figure out where the data is being exchanged.</div>
<div><br>
</div>
<div>Any help would be greatly appreciated and i will of course credit you in the game credits </div>
<div><br>
</div>
<div>thank you</div>
<div><br>
</div>
<div>Patrick<br>
<div><br>
<div style="font-family:Tahoma;font-size:13px">
<div><font size="3"><i>Patrick Pagano B.S, M.F.A</i></font></div>
<div>Audio and Projection Design Faculty</div>
<div>Digital Worlds Institute</div>
<div>University of Florida, USA</div>
<div><a href="tel:%28352%29294-2020" value="+13522942020" target="_blank">(352)294-2020</a></div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">
http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>

_______________________________________________<br><a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br></div></body></html>