[linux-audio-user] first release for fmit

Wolfgang Woehl tito at rumford.de
Thu Nov 11 09:06:28 EST 2004


Gilles Degottex <gilles.degottex at net2000.ch>:

> JACK support is done !
> http://download.gna.org/fmit/

Great, best tuner there is. Very good note recognition, two "interfaces" 
to look at and tune to. Turned out I pretty soon started to use the 
"Error history", with strings it's enlightening. Thank you.

* On startup fmit says "JACK: format = 16 bits Mono". The alsa backend 
in jackd is initialized with "creating alsa driver [...] 32bit". Does 
that mean the 32-bit frame that gets data from a 24-bit-device is 
truncated somewhere? In fmit?

* Threshold for note recognition seems to be at about -40dbFS. E1 has 
energy above that much longer than E3 of course. So I get x seconds for 
E1 and about 1/6th of x seconds for E3. Setting "Volume threshold" in 
the configure dialog from 1% (default) to 0% renders quirky results. I 
don't understand "Components threshold". Would have tried but ... see 
below. Can there be something done about this?

* Changing things in "Configure", saving and ok'ing crashes fmit. This 
is with a 'make features="enable-gui enable-debug" configure', is 
"enable-debug" the right argument here? INSTALL is a bit unclear about 
that.

(gdb) r
Starting program: /usr/local/bin/fmit
[New Thread 16384 (LWP 24733)]
Free Music Instrument Tuner version 0.8.2 built at Nov 11 2004 13:44:41
ressources install path: /usr/local/share/fmit
JACK: no CaptureThread::setSamplingRate available with jack support ! 
change the jack server sampling rate instead
Tuning Frequency: 440
[New Thread 32769 (LWP 24735)]
[New Thread 16386 (LWP 24736)]
JACK: capture thread entered
JACK: capture thread running
[New Thread 32771 (LWP 24737)]
JACK: start recording with params:
JACK: sampling rate = 48000
JACK: format = 16 bits Mono

----> changes in the configure dialog, save and ok

JACK: no CaptureThread::setSamplingRate available with jack support ! 
change the jack server sampling rate instead
Tuning Frequency: 440

----> 2nd time around changes in the configure dialog, save and ok

JACK: no CaptureThread::setSamplingRate available with jack support ! 
change the jack server sampling rate instead
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 24733)]
0x40c4ce36 in main_arena () from /lib/i686/libc.so.6
(gdb) thread apply all bt

Thread 3 (Thread 16386 (LWP 24736)):
#0  0x40ad72e6 in nanosleep () from /lib/i686/libpthread.so.0

Thread 2 (Thread 32769 (LWP 24735)):
#0  0x40befb66 in poll () from /lib/i686/libc.so.6
#1  0x40ad0a8e in __pthread_manager () from /lib/i686/libpthread.so.0
#2  0x40ad0d63 in __pthread_manager_event () 
from /lib/i686/libpthread.so.0
#3  0x40bf8327 in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 16384 (LWP 24733)):
#0  0x40c4ce36 in main_arena () from /lib/i686/libc.so.6
#1  0x40104ed3 in jack_client_deliver_request () 
from /usr/local/lib/libjack.so.0
#2  0x40c4ce34 in main_arena () from /lib/i686/libc.so.6
#3  0xbfffe510 in ?? ()
#4  0xbfffe528 in ?? ()
#5  0x40105d5a in jack_deactivate () from /usr/local/lib/libjack.so.0
#6  0xbfffe510 in ?? ()
#7  0x00000001 in ?? ()
#8  0x40ad4f61 in __pthread_unlock () from /lib/i686/libpthread.so.0
#9  0x0806c00e in CaptureThread::setSamplingRate(int) ()
#10 0x08062e1d in CustomInstrumentTunerForm::configure_ok() ()
#11 0x0805fa52 in InstrumentTunerForm::qt_invoke(int, QUObject*) ()
#12 0x4052e009 in QObject::activate_signal(QConnectionList*, QUObject*) 
() from /usr/lib/libqt-mt.so.3
#13 0x4052dd6f in QObject::activate_signal(int) () 
from /usr/lib/libqt-mt.so.3
#14 0x408988db in QButton::clicked() () from /usr/lib/libqt-mt.so.3
#15 0x405c24ab in QButton::mouseReleaseEvent(QMouseEvent*) () 
from /usr/lib/libqt-mt.so.3
#16 0x40565cc8 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#17 0x404cacab in QApplication::internalNotify(QObject*, QEvent*) () 
from /usr/lib/libqt-mt.so.3
#18 0x404ca2c1 in QApplication::notify(QObject*, QEvent*) () 
from /usr/lib/libqt-mt.so.3
#19 0x4045fc8e in QApplication::sendSpontaneousEvent(QObject*, QEvent*) 
() from /usr/lib/libqt-mt.so.3
#20 0x40458685 in QETWidget::translateMouseEvent(_XEvent const*) () 
from /usr/lib/libqt-mt.so.3
#21 0x404564b4 in QApplication::x11ProcessEvent(_XEvent*) () 
from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
#22 0x4047145b in QEventLoop::processEvents(unsigned) () 
from /usr/lib/libqt-mt.so.3
#23 0x404df141 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#24 0x404df05a in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#25 0x404cae17 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
#26 0x0806b741 in main ()

> On Tuesday 09 November 2004 15:55, Wolfgang Woehl wrote:
> > Gilles Degottex <gilles.degottex at net2000.ch>:
> > > Hi all,
> > >
> > > a little anounce for my Music Instrument Tuner
> > > built in qt/OpenGL, I hope it could be usefull.
> > > I'm always open to remarks, comments, features requests, etc.
> >
> > It looks like exactly what I would need. But without jack support
> > it's almost completely useless to me. Guess that's a humble feature
> > request.
> >
> > Be good, Wolfgang

Wolfgang



More information about the linux-audio-user mailing list