[Clam-devel] Re: QConsole at CLAM

David García Garzón dgarcia at iua.upf.edu
Tue Mar 4 10:58:12 PST 2008


There are several development ways regarding python-CLAM integration. Most of 
them are discussed as CLAM GSoC proposals.

One way is using SIP [1], SWIG[2] or similar to wrap CLAM API and just 
programming CLAM using python. SIP is a C++ to Python API wrapper. The 
problem is that CLAM has a too extensive API that we would like to reduce. We 
could pick the key bits.
[1] http://www.riverbankcomputing.co.uk/sip/
[2] http://www.swig.org/

Other, that does not imply forcedly Python, would be wrapping just the network 
construction API (create, connect, delete, move, configure, select...) and 
offer it to an interactive console with completition on the NetworkEditor 
alla AutoCAD. Macros (non-interactive) could be are also usefull in this 
context. This one could use the QConsole widget.

We hadn't any festival related idea and i am not able to get it on what you 
say. If you could develop it further?

David.


On Tuesday 04 Març 2008, abe kazemzadeh wrote:
> Hi All,
> The console idea sounds interesting.... what are you planning? (in a
> previous email you mentioned sip, but I wasn't sure what that stands for).
>  Maybe you already have this in mind, but the console could be used for
> issuing commands to the festival speech synthesizer (it uses scheme for
> scripting) and piping the output to other processings.  Well, just curious
> about the console idea...
> Abe
>
> On 3/4/08, David García Garzón <dgarcia at iua.upf.edu> wrote:
> > Having already a full qt4 version are great news!
> >
> > So, let me volunteer myself to build the library. I am used to that kind
> > of
> > task because my involving in CLAM. So as soon as you upload the qt4 code
> > to
> > the svn i'll take it a look. :-)
> >
> > David.
> >
> > On Tuesday 04 Març 2008, Mondrian Nuessle wrote:
> > > Hello,
> > > I think that would be great. Houssem, it'd be very interested in the
> > > qt4 version of course :-)
> > > And I totally agree on the library issue. Volunteers?
> > >
> > > Regards,
> > > Mondrian
> > >
> > > Houssem BDIOUI wrote:
> > > > Hi David,
> > > >
> > > >   I recently have ported QConsole completely into Qt4
> > > > (no usage fot Qt3Support) but I did'nt yet managed to release
> > > > it!
> > > >   I'll send you this version as soon as possible.
> > > >   As for the library issue, you're right. It should be the best way.
> > > >
> > > > Regards,
> > > > Houssem
> > > >
> > > > On Mon, Mar 3, 2008 at 6:24 PM, David García Garzón <
> >
> > dgarcia at iua.upf.edu>
> >
> > > > wrote:
> > > >> Hi, Houssem and Mondrian.
> > > >>
> > > >> I didn't found a QConsole mailing list or similar, so that's why i
> > > >> am mailing
> > > >> you directly to the sf address.
> > > >>
> > > >> I am part of the comunity developing the CLAM audio framework[1]. We
> > > >> would like to add live scripting capabilities to our framework
> >
> > graphical
> >
> > > >> tool[2] and I gladly found QConsole project via the Qt-Interest
> > > >> mailinglist. It is a
> > > >> very smart implementation and it even integrates python that it is
> > > >> something
> > > >> we thought we needed to do ourselves. So I am pretty happy with it.
> > > >>
> > > >> Being about to integrate it, i have two main questions.
> > > >>
> > > >> First of all, it is a class, not a library, so i am suposing that
> > > >> the preferred way to integrate it is moving files to our project. I
> >
> > dislike
> >
> > > >> that
> > > >> because i'd rather prefer avoiding any duplication of external code
> >
> > in
> >
> > > >> our svn. Maybe i am missing something, maybe you wellcome converting
> >
> > it
> >
> > > >> into a library. In any case, we will forward you as patches any
> > > >> modifications we do
> > > >> to the code to avoid divergence as much as we can.
> > > >>
> > > >> The other issue is the usage of Qt3Support classes. Our project is
> >
> > Qt4
> >
> > > >> and we
> > > >> removed any dependency on Qt3 migration classes. I would like to
> > > >> keep
> >
> > it
> >
> > > >> like
> > > >> that. So my inertia will go toward making QConsole a pure Qt4
> > > >> widget. Taking
> > > >> a look at the code i saw that using Qt3Support enables sharing a lot
> >
> > of
> >
> > > >> qt3
> > > >> and qt4 code, but i dont know whether you would like a pleanty qt4
> > > >> migration.
> > > >>
> > > >> Feel free to join our #clam irc channel at freenode and share your
> > > >> thoughts.
> > > >>
> > > >> Regards.
> > > >> David.
> > > >>
> > > >> [1] http://clam.iua.upf.edu
> > > >> [2]
> >
> > http://clam.iua.upf.edu/wikis/clam/index.php/Network_Editor_tutorial
> >
> >
> >
> >
> > --
> > David García Garzón
> > (Work) dgarcia at iua dot upf anotherdot es
> > http://www.iua.upf.edu/~dgarcia
> >
> > _______________________________________________
> > Clam-devel mailing list
> > Clam-devel at llistes.projectes.lafarga.org
> > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080304/cc676070/attachment-0001.sig>


More information about the clam-devel mailing list