retitle 523925 fmit: no sound seems to be captured thanks
On Sun, 26 Jul 2009 18:57:58 +0200 John Wright wrote: [...] > Sorry again for not getting on this months ago... OK, I am trying again to get fmit working on my box. As I previously stated (see the bug log) I was in the course of switching to jackd. During last summer I managed to get a working jackd configuration (with ALSA backend). It works for audio "output" (with audacious, mplayer, and also with ALSA clients, since I redirect their ALSA output to jackd, thanks to libasound2-plugins and a simple ~/.asoundrc). After being busy in various other things, I am now trying to make audio "input" work correctly. Hence, now I am testing fmit with jackd transport (rather than ALSA transport). When I start fmit, it now auto-detects JACK transport: $ fmit Free Music Instrument Tuner version 0.97.7 built at Dec 21 2009 08:42:18 Install directory '/usr' CaptureThread: INFO: Built in transports SSE2 detected CaptureThread: INFO: available JACK Jack Audio Connection Kit CaptureThread: INFO: OK ALSA Advanced Linux Sound Architecture (lib:1.0.21a) CaptureThread: INFO: N/A (No such file or directory) OSS Open Sound System (lib:30802) CaptureThread: INFO: Auto detecting a working transport ... SSE2 detected using JACK CaptureThread: INFO: using JACK transport SSE2 detected CombedFT: INFO: window size=3207 FFT size=4096 window size factor=4 zero padding factor=1 CaptureThread: INFO: format is signed float 32bits with 1 channel(s) Please note that jackd was already running, since there's audacious running (but not playing!). When I pick guitar strings, I can hear their clean sound coming out of my speakers, but no sound seems to be captured by fmit (flat captured sound graph, and everything else shows no sign of activity). :-( After thinking "Ah, OK, I must connect ports for jackd!", I start qjackctl and connect system:capture_1 and system:capture_2 to fmit:input. Then I press the play-like button on qjackctl GUI ("Start transport rolling": is it really needed?). Nothing seems to change: again, I hear the clean sound, but fmit does nothing. :-( Let's try another application, then. I install rakarrack and test it. I can hear the clean sound, but no effect seems to be applied by rakarrack, whatever preset I may select. I also tried to mess things around with qjackctl, with no result. Another test with fmit. I start fmit while audacious is playing metal music from an Internet radio. After connecting audacious-jack_11033_001:out_0 and audacious-jack_11033_001:out_1 to fmit:input (by using qjackctl), I can see that fmit is capturing sound and detecting notes (with errors and all the rest). I don't know how trustworthy fmit can be, when used in this manner (I mean, is it able to really recognize the main melody of a song? despite all the other notes played at the same time, despite distortion and other effects that are typically present in the music I usually listen to?), but anyway, it is doing something! This seems to imply that my problem is in capturing sounds from the sound card mic-in line and in routing them to the correct destination. [...] > When you get an opportunity, try to run > > arecord -f cd /tmp/capture.wav > > with the above mixer settings. If the resulting .wav has no data in it, > then it's an alsa problem. But if it records fine, yet FMIT still > doesn't work, then it's probably an FMIT issue. I can't reproduce the > problem here, but I'll try to think of some other things to try. :-/ I shut jackd down, moved ~/.asoundrc and ~/.jackdrc away and performed the above-described test. I created some 38 s of nice silence. So, it seems that I am not smart enough to properly configure a GNU/Linux box for audio processing. Only audio playing works for me! :-( I am beginning to think that there's something wrong with me (not even with my box, with me!). Do you have any idea on how I can figure out what's wrong (with me)? Any help will be appreciated. -- http://www.inventati.org/frx/progs/scripts/pdebuild-hooks.html Need some pdebuild hook scripts? ..................................................... Francesco Poli . GnuPG key fpr == C979 F34B 27CE 5CD8 DC12 31B5 78F4 279B DD6D FCF4
pgpxPtUJBCYSC.pgp
Description: PGP signature