[CLAM] trouble getting started

Iain Mott mott at reverberant.com
Sat Jun 4 12:56:01 PDT 2011


Hello,

I would like to try out CLAM (i'm especially interested in the spatial
audio processing) but I am having trouble getting it to run properly. 

I am trying the first NetworkEditor demo, loading
SMSTransposition.clamnetwork. The program crashes each time i run it. My
hardware only supports 48000Hz sampling, so I have done my best to
change all values from 44100 to 48000 in the example, yet still it
crashes. I have attached my edited version of the example with the
changed values (i also changed the input to a file input).

The following is the terminal printout on a crash (after first loading
the modified example and pressing the play button):

Loading /home/iain/CLAM/mySMSTransposition.clamnetwork...
Start
Start
First do
First do
##########################################################
################### ASSERTION FAILED #####################
##########################################################
At file scons/libs/processing/src/SpectrumAdder2.cxx line 174
SpectrumAdder2::SetPrototypes: Spectral range mismatch in spectrum sum

 Backtrace:

[0] /usr/local/lib/libclam_core.so.1.4(CLAM::DumpBacktrace(std::ostream&)+0x2d) [0x1d2a59]
[1] /usr/local/lib/libclam_core.so.1.4(+0xc2d62) [0x1d2d62]
[2] /usr/local/lib/libclam_core.so.1.4(CLAM::ExecuteAssertFailedHandler(char const*, char const*, int)+0x2e) [0x1d2dbe]
[3] /usr/local/lib/libclam_processing.so.1.4(CLAM::SpectrumAdder2::SetPrototypes(CLAM::Spectrum const&, CLAM::Spectrum const&, CLAM::Spectrum const&)+0x97d) [0x109d435]
[4] /usr/local/lib/libclam_processing.so.1.4(CLAM::SpectrumAdder2::Add(CLAM::Spectrum&, CLAM::Spectrum&, CLAM::Spectrum&)+0x4a) [0x109e2c4]
[5] /usr/local/lib/libclam_processing.so.1.4(CLAM::SpectrumAdder2::Do(CLAM::Spectrum&, CLAM::Spectrum&, CLAM::Spectrum&)+0x277) [0x109c959]
[6] /usr/local/lib/libclam_processing.so.1.4(CLAM::SMSSynthesis::Do(CLAM::SpectralPeakArray&, CLAM::Spectrum&, CLAM::Spectrum&, CLAM::Spectrum&, CLAM::Audio&)+0x173) [0x10d7aaf]
[7] /usr/local/lib/libclam_processing.so.1.4(CLAM::SMSSynthesis::Do()+0x1ca) [0x10d75da]
[8] /usr/local/lib/libclam_core.so.1.4(CLAM::NaiveFlowControl::Do()+0x130) [0x1e0c00]
[9] /usr/local/lib/libclam_core.so.1.4(CLAM::Network::Do()+0x1e)
[0x1e7d4c]
[10] /usr/local/lib/libclam_audioio.so.1.4(CLAM::JACKNetworkPlayer::Do(unsigned int)+0x7b) [0xbd3f9b]
[11] /usr/local/lib/libclam_audioio.so.1.4(CLAM::JackProcessingCallback(unsigned int, void*)+0x2a) [0xbd49e7]
[12] /usr/lib/libjack.so.0(+0x6d4e) [0x1bb3d4e]
[13] /usr/lib/libjack.so.0(+0xba61) [0x1bb8a61]
[14] /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0x39a96e]
[15] /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x1f46a4e]
Trace/breakpoint trap
iain at nonix:~$ 


Does this suggest any particular problem? 

Hope you can help - CLAM looks very interesting. I am able to patch some
very simple networks together - eg. playing a file through AudioSink and
via jack to the system outs - but i'm not having any luck with the
example networks.

Cheers,

Iain


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mySMSTransposition.clamnetwork
Type: application/xml
Size: 10004 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20110604/f48637e5/attachment-0002.xml>


More information about the clam-users mailing list