Update:

So a missing dependency on windows was the file libwinpthread-1.dll
Once we showed it in to the same folder as the Faust plugin in unity, it worked.
We tried it with a simple Karplus-Strong BUT

The sound is completely different. An octave to high and kind of distorted and 
chunky…

Any ideas?


> On 15 Feb 2018, at 13:56, Lervik Olav <[email protected]> wrote:
> 
> Hey,
> 
> The unity plugin for windows compiles successfully without complains.
> The asset imports into unity without any problems as well.
> But when loaded and played an Error occurs:
> DllNotFoundException: libFaustPlugin_foo
> FaustUtilities_foo.Faust_Context..ctor (int32 buffer size) (at 
> Assets/Scripts/FaustUtilities_foo.cs:290)
> 
> The problem first seemed to be, that the Faust Plugin is called 
> “FaustPlugin_foo” instead of “libFaustPlugin_foo”, but even after renaming, 
> it didn’t work.
> Any ideas what could be the issue?
> 
> Tried w32 and w64
> 
> Olav
> 
> 
>> On 12 Feb 2018, at 19:37, Lervik Olav <[email protected]> wrote:
>> 
>> Ahaaaa!!! Thanks I will look into that
>> 
>> Sent from my iPhone
>> 
>>> On 12. Feb 2018, at 19:34, Stéphane Letz <[email protected]> wrote:
>>> 
>>> Are you compiling on OS X ? Assuming you have installed Mingw for cross 
>>> compilation on OS X (with macports for instance) then:
>>> 
>>> faust2unity -w32 (or -w64) foo.dsp should compile a ready to use plugin for 
>>> Windows.
>>> 
>>> Stéphane 
>>> 
>>> 
>>>> Le 12 févr. 2018 à 18:27, Lervik Olav <[email protected]> a écrit :
>>>> 
>>>> Yes have tried it, unfortunately the resulting plugin only works on Mac. 
>>>> That is actually why I asked specifically for windows...
>>>> 
>>>> Sent from my iPhone
>>>> 
>>>>> On 12. Feb 2018, at 16:16, Stéphane Letz <[email protected]> wrote:
>>>>> 
>>>>> Have you tried faust2unity? Look here: 
>>>>> 
>>>>> https://github.com/grame-cncm/faust/tree/master-dev/architecture/unity
>>>>> 
>>>>> Stéphane 
>>>>> 
>>>>>> Le 12 févr. 2018 à 15:56, Lervik Olav <[email protected]> a écrit :
>>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> Does anyone have experience working Faust-generated c++ into Visual 
>>>>>> Studio to compile it as a Unity Audio Plugin? Would it be very 
>>>>>> complicated?
>>>>>> 
>>>>>> Thank you
>>>>>> 
>>>>>> Olav
>>>>>> 
>>>>>> 
>>>>>> —
>>>>>> — 
>>>>>> Zürcher Hochschule der Künste
>>>>>> Zurich University of the Arts
>>>>>> — 
>>>>>> Olav Lervik
>>>>>> ICST - Institute for Computer Music and Sound Technology
>>>>>> 
>>>>>> Toni-Areal, Pfingstweidstr. 96, Postfach, CH-8031 Zürich
>>>>>> Mobil: +41 (0) 76 572 19 28
>>>>>> [email protected]
>>>>>> —
>>>>>> www.zhdk.ch / www.zhdk.ch/ftm
>>>>>> —
>>>>>> —
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>> engaging tech sites, Slashdot.org! 
>>>>>> http://sdm.link/slashdot_______________________________________________
>>>>>> Faudiostream-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>>>> 
>>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Faudiostream-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to