hi all,
i solved the key issue, SegmentSMSTimeStretch now seems to work, but
SegmentSMSHarmonizer and SegmentSMSMorph seems to have other problems.
Maybe I'll check them later.
You can download and compile the last svn version or if you already
have a source tree, apply the patch i'm sending as attachment (and
recompile)
On 3/5/08, David García Garzón <[EMAIL PROTECTED]> wrote:
> Hi, Zhijia
>
> Just to give you a fast but non-resolutive answer, Hernan Ordiales told me at
> #clam IRC channel that he found the problem and he is on fixing it. :-)
>
> By the way, could you take an screenshot on how does NetworkEditor look in a
> chinese desktop? :-)
>
> David.
>
>
> On Wednesday 05 Març 2008, 吴志佳 wrote:
> > Hi all,
> >
> > I was trying to play with the CLAM framework and I had a problem when I was
> > using the SMSTools. The application crashed when I try to run
> > SegmentSMSHarmonizer, SegmentSMSMorph and SegmentSMSTimeStretch under SMS
> > Transformation. Other transformations were working fine. The error messages
> > were something like the following: "
> > ##########################################################
> > ################### ASSERTION FAILED #####################
> > ##########################################################
> > At file /usr/include/CLAM/Factory.hxx line 225
> > GetCreator invoked with a non existent key: SegmentSMSMorph
> > Registered keys are:
> > ... ...
> > terminate called after throwing an instance of 'CLAM::ErrAssertionFailed'
> > what(): GetCreator invoked with a non existent key: SegmentSMSMorph
> > "
> > I'm wondering how can I fix this problem? My system is Ubuntu gutsy and I'm
> > using CLAM 1.2.0, and the SMSTools version is 0.4.9~svn11102-1.
> >
> > Thanks.
> >
> > Regards,
> > Zhijia
> > _________________________________________________________________
> > 手机也能上 MSN 聊天了,快来试试吧!
> > http://mobile.msn.com.cn/
> >
> > _______________________________________________
> > CLAM mailing list
> > [email protected]
> > http://clam.iua.upf.edu
>
>
>
>
> --
> David García Garzón
> (Work) dgarcia at iua dot upf anotherdot es
> http://www.iua.upf.edu/~dgarcia
>
> _______________________________________________
> CLAM mailing list
> [email protected]
> http://clam.iua.upf.edu
>
>
--
Hernán
http://h.ordia.com.ar
GnuPG: 0xEE8A3FE9
Index: CLAM/src/Processing/Transformations/SMS/SegmentSMSHarmonizer.cxx
===================================================================
--- CLAM/src/Processing/Transformations/SMS/SegmentSMSHarmonizer.cxx (revisión: 11231)
+++ CLAM/src/Processing/Transformations/SMS/SegmentSMSHarmonizer.cxx (revisión: 11232)
@@ -25,6 +25,18 @@
namespace CLAM
{
+namespace Hidden
+{
+ static const char * metadata[] = {
+ "key", "SegmentSMSHarmonizer",
+// "category", "SMS Transformations",
+ "description", "SegmentSMSHarmonizer",
+ 0
+ };
+ //static FactoryRegistrator<ProcessingFactory, SegmentSMSHarmonizer> regSegmentSMSHarmonizer("SegmentSMSHarmonizer");
+ static FactoryRegistrator<ProcessingFactory, SegmentSMSHarmonizer> reg = metadata;
+}
+
bool SegmentSMSHarmonizer::Do(const Frame& in, Frame& out)
{
BPF& voices=mConfig.GetBPF();
Index: CLAM/src/Processing/Transformations/SMS/SegmentSMSMorph.cxx
===================================================================
--- CLAM/src/Processing/Transformations/SMS/SegmentSMSMorph.cxx (revisión: 11231)
+++ CLAM/src/Processing/Transformations/SMS/SegmentSMSMorph.cxx (revisión: 11232)
@@ -25,6 +25,18 @@
namespace CLAM
{
+namespace Hidden
+{
+ static const char * metadata[] = {
+ "key", "SegmentSMSMorph",
+// "category", "SMS Transformations",
+ "description", "SegmentSMSMorph",
+ 0
+ };
+ //static FactoryRegistrator<ProcessingFactory, SegmentSMSMorph> regSegmentSMSMorph("SegmentSMSMorph");
+ static FactoryRegistrator<ProcessingFactory, SegmentSMSMorph> reg = metadata;
+}
+
SegmentSMSMorph::SegmentSMSMorph():
mHybBPF("MorphFactor",this),
mSynchronizeTime("Time", this),
Index: CLAM/src/Processing/Transformations/SMS/SegmentSMSTimeStretch.cxx
===================================================================
--- CLAM/src/Processing/Transformations/SMS/SegmentSMSTimeStretch.cxx (revisión: 11231)
+++ CLAM/src/Processing/Transformations/SMS/SegmentSMSTimeStretch.cxx (revisión: 11232)
@@ -27,6 +27,18 @@
namespace CLAM
{
+namespace Hidden
+{
+ static const char * metadata[] = {
+ "key", "SegmentSMSTimeStretch",
+// "category", "SMS Transformations",
+ "description", "SegmentSMSTimeStretch",
+ 0
+ };
+ //static FactoryRegistrator<ProcessingFactory, SegmentSMSTimeStretch> regSegmentSMSTimeStretch("SegmentSMSTimeStretch");
+ static FactoryRegistrator<ProcessingFactory, SegmentSMSTimeStretch> reg = metadata;
+}
+
SegmentSMSTimeStretch::SegmentSMSTimeStretch():mAmount("Amount",this)
{
mSynthesisTime=0;
_______________________________________________
CLAM mailing list
[email protected]
http://clam.iua.upf.edu