That's great to hear, and thanks, Yann.

I'm eager to try Faust but it won't be for at least a few days. BTW, if I write 
a foreign function it will be in Ada but using C calling conventions.

Does anyone have any comments about regarding my question about using Jack 
installation different from the one package with Faust on the .dmg on OS X? I 
notice that Faust itself is available at MacPorts so one would expect that an 
all-MacPorts installation would work OK.

Jerry


On Jul 12, 2014, at 6:05 AM, Orlarey Yann <[email protected]> wrote:

> Hi Jerry,
> 
> Welcome to the mailing list !
> 
> I think that there is a small confusion (if I understand you correctly). In 
> the FaustLive documentation "Foreign functions cannot be used" means that it 
> is not possible (this restriction only apply to FaustLive not to the regular 
> Faust compiler) to compile/run Faust programs that *use* "foreign functions" 
> (a mechanism allowing to call C code *from* Faust code). This is because 
> FaustLive doesn't embed a full C compiler. But it is obviously possible to 
> use Faust and FaustLive to write "foreign functions", in the sens of plugins 
> and external objects, for languages like Max, PD, Csound, SuperCollider etc.. 
> That is one of the purposes of Faust.
> 
> In other words, if you write a pure Faust program, you can use FaustLive and 
> you will be able to export your Faust program to Max, PD, etc. If you write a 
> faust program that needs, for some reason, to call C functions, then you will 
> have to use the regular Faust compiler to create your plugin. Currently there 
> are some programs in examples/faust-stk and examples/faust-tubes that use C 
> foreign functions to load external data tables. Therefore you will not be 
> able to run these programs from FaustLive. But note that these examples can 
> be easily converted to pure Faust programs using the recently added 'waveform 
> {...}' expression to embed these data tables in the Faust code.
> 
> Cheers
> 
> Yann
> 
> 
> 
> 
> 
> 
> 
> Le 12/07/2014 00:18, Jerry a écrit :
>> Hi List,
>> 
>> Noob alert.
>> 
>> I recently discovered Faust and was as excited as I was impressed. What a 
>> wonderful tool.
>> 
>> One of the projects that I envision is using Faust to make a Pd and Max 
>> plug-in using Faust to construct external functions, thus bypassing the 
>> difficult (for me--I don't much like C) process of writing directly to 
>> Pd/Max and instead using the very friendly foreign function capability of 
>> Faust.
>> 
>> So my excitement was considerably dulled when I read in the Faust readme 
>> that a known bug is "Foreign functions cannot be used."
>> 
>> I believe that I have a recent build--the FaustLive program was built on 
>> April 8, 2014 and I work on OS X 10.9.4.
>> 
>> Is this bug with respect to foreign functions real or is perhaps the readme 
>> out of date? Is it specific to OS X?
>> 
>> Also, can I use the MacPorts version of Jack or does Faust expect the 
>> included version to be used?
>> 
>> And--I'm a little puzzled that the readme directs that the .lib extension 
>> should be assigned to a text editor; that's a pretty common file extension 
>> for lots of different situations.
>> 
>> Thanks for any help,
>> Jerry
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Faudiostream-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>> 
> 


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck&#174;
Code Sight&#153; - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to