I see... That would be pretty convenient and nice for people who are intimidated by c++.  Also, the idea of having clam scripting inside of clam is pretty cool!<br><br>I guess what I was thinking about with festival is not really related to scripting CLAM, but to have a processing where you can type in what you want festival to say, then have that test-to-speech audio be the processing's output.    So the processing would be a textbox/console used as a sound source.  Since festival can be scripted with scheme, I was thinking you could have that inside a console widget in networkEditor.  Does that make any sense?  I'm not sure how feasible that would be but that was the first thing that came to mind when I heard talk of the console widget.<br>
<br>-Abe<br><br><br><br><br><br><div class="gmail_quote">On Tue, Mar 4, 2008 at 10:58 AM, David García Garzón <<a href="mailto:dgarcia@iua.upf.edu">dgarcia@iua.upf.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
There are several development ways regarding python-CLAM integration. Most of<br>
them are discussed as CLAM GSoC proposals.<br>
<br>
One way is using SIP [1], SWIG[2] or similar to wrap CLAM API and just<br>
programming CLAM using python. SIP is a C++ to Python API wrapper. The<br>
problem is that CLAM has a too extensive API that we would like to reduce. We<br>
could pick the key bits.<br>
[1] <a href="http://www.riverbankcomputing.co.uk/sip/" target="_blank">http://www.riverbankcomputing.co.uk/sip/</a><br>
[2] <a href="http://www.swig.org/" target="_blank">http://www.swig.org/</a><br>
<br>
Other, that does not imply forcedly Python, would be wrapping just the network<br>
construction API (create, connect, delete, move, configure, select...) and<br>
offer it to an interactive console with completition on the NetworkEditor<br>
alla AutoCAD. Macros (non-interactive) could be are also usefull in this<br>
context. This one could use the QConsole widget.<br>
<br>
We hadn't any festival related idea and i am not able to get it on what you<br>
say. If you could develop it further?<br>
<font color="#888888"><br>
David.<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
On Tuesday 04 Març 2008, abe kazemzadeh wrote:<br>
> Hi All,<br>
> The console idea sounds interesting.... what are you planning? (in a<br>
> previous email you mentioned sip, but I wasn't sure what that stands for).<br>
>  Maybe you already have this in mind, but the console could be used for<br>
> issuing commands to the festival speech synthesizer (it uses scheme for<br>
> scripting) and piping the output to other processings.  Well, just curious<br>
> about the console idea...<br>
> Abe<br>
><br>
> On 3/4/08, David García Garzón <<a href="mailto:dgarcia@iua.upf.edu">dgarcia@iua.upf.edu</a>> wrote:<br>
> > Having already a full qt4 version are great news!<br>
> ><br>
> > So, let me volunteer myself to build the library. I am used to that kind<br>
> > of<br>
> > task because my involving in CLAM. So as soon as you upload the qt4 code<br>
> > to<br>
> > the svn i'll take it a look. :-)<br>
> ><br>
> > David.<br>
> ><br>
> > On Tuesday 04 Març 2008, Mondrian Nuessle wrote:<br>
> > > Hello,<br>
> > > I think that would be great. Houssem, it'd be very interested in the<br>
> > > qt4 version of course :-)<br>
> > > And I totally agree on the library issue. Volunteers?<br>
> > ><br>
> > > Regards,<br>
> > > Mondrian<br>
> > ><br>
> > > Houssem BDIOUI wrote:<br>
> > > > Hi David,<br>
> > > ><br>
> > > >   I recently have ported QConsole completely into Qt4<br>
> > > > (no usage fot Qt3Support) but I did'nt yet managed to release<br>
> > > > it!<br>
> > > >   I'll send you this version as soon as possible.<br>
> > > >   As for the library issue, you're right. It should be the best way.<br>
> > > ><br>
> > > > Regards,<br>
> > > > Houssem<br>
> > > ><br>
> > > > On Mon, Mar 3, 2008 at 6:24 PM, David García Garzón <<br>
> ><br>
> > <a href="mailto:dgarcia@iua.upf.edu">dgarcia@iua.upf.edu</a>><br>
> ><br>
> > > > wrote:<br>
> > > >> Hi, Houssem and Mondrian.<br>
> > > >><br>
> > > >> I didn't found a QConsole mailing list or similar, so that's why i<br>
> > > >> am mailing<br>
> > > >> you directly to the sf address.<br>
> > > >><br>
> > > >> I am part of the comunity developing the CLAM audio framework[1]. We<br>
> > > >> would like to add live scripting capabilities to our framework<br>
> ><br>
> > graphical<br>
> ><br>
> > > >> tool[2] and I gladly found QConsole project via the Qt-Interest<br>
> > > >> mailinglist. It is a<br>
> > > >> very smart implementation and it even integrates python that it is<br>
> > > >> something<br>
> > > >> we thought we needed to do ourselves. So I am pretty happy with it.<br>
> > > >><br>
> > > >> Being about to integrate it, i have two main questions.<br>
> > > >><br>
> > > >> First of all, it is a class, not a library, so i am suposing that<br>
> > > >> the preferred way to integrate it is moving files to our project. I<br>
> ><br>
> > dislike<br>
> ><br>
> > > >> that<br>
> > > >> because i'd rather prefer avoiding any duplication of external code<br>
> ><br>
> > in<br>
> ><br>
> > > >> our svn. Maybe i am missing something, maybe you wellcome converting<br>
> ><br>
> > it<br>
> ><br>
> > > >> into a library. In any case, we will forward you as patches any<br>
> > > >> modifications we do<br>
> > > >> to the code to avoid divergence as much as we can.<br>
> > > >><br>
> > > >> The other issue is the usage of Qt3Support classes. Our project is<br>
> ><br>
> > Qt4<br>
> ><br>
> > > >> and we<br>
> > > >> removed any dependency on Qt3 migration classes. I would like to<br>
> > > >> keep<br>
> ><br>
> > it<br>
> ><br>
> > > >> like<br>
> > > >> that. So my inertia will go toward making QConsole a pure Qt4<br>
> > > >> widget. Taking<br>
> > > >> a look at the code i saw that using Qt3Support enables sharing a lot<br>
> ><br>
> > of<br>
> ><br>
> > > >> qt3<br>
> > > >> and qt4 code, but i dont know whether you would like a pleanty qt4<br>
> > > >> migration.<br>
> > > >><br>
> > > >> Feel free to join our #clam irc channel at freenode and share your<br>
> > > >> thoughts.<br>
> > > >><br>
> > > >> Regards.<br>
> > > >> David.<br>
> > > >><br>
> > > >> [1] <a href="http://clam.iua.upf.edu" target="_blank">http://clam.iua.upf.edu</a><br>
> > > >> [2]<br>
> ><br>
> > <a href="http://clam.iua.upf.edu/wikis/clam/index.php/Network_Editor_tutorial" target="_blank">http://clam.iua.upf.edu/wikis/clam/index.php/Network_Editor_tutorial</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > David García Garzón<br>
> > (Work) dgarcia at iua dot upf anotherdot es<br>
> > <a href="http://www.iua.upf.edu/%7Edgarcia" target="_blank">http://www.iua.upf.edu/~dgarcia</a><br>
> ><br>
> > _______________________________________________<br>
> > Clam-devel mailing list<br>
> > <a href="mailto:Clam-devel@llistes.projectes.lafarga.org">Clam-devel@llistes.projectes.lafarga.org</a><br>
> > <a href="https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel" target="_blank">https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel</a><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="Wj3C7c">David García Garzón<br>
(Work) dgarcia at iua dot upf anotherdot es<br>
<a href="http://www.iua.upf.edu/%7Edgarcia" target="_blank">http://www.iua.upf.edu/~dgarcia</a><br>
</div></div></blockquote></div><br>