Guitar Tuner app probs with using /dev/dsp on 2.6.28

Andy Green andy at openmoko.com
Tue Jan 27 17:20:51 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

| HSP. Also, I think I need a low pass filter. Can someone point me in the
| right direction?

Biquad filters are cheap and simple to do as integer and they're
flexible.  There's a generic float implementation here:

http://www.dspguru.com/sw/lib/biquad.c

but you can see the funky stuff is done on filter init and is constant
for a given samplerate and filter cutoff, so that also becomes easy to
do in integer if they are constant.

|   The FFT should be fine since I'm using FFTW. But, can that be made
better
| (in performance if nothing else)?
|
|   Any other suggestions for the UI/anything else are also welcome.
|
|   The code is available
| http://www.opkg.org/guitartune.projects.openmoko.org here  and at

Link seems broken.

- -Andy

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkl/NGMACgkQOjLpvpq7dMrIMgCfUBVLmX7hfkImmvjSLS1k8oMV
t4MAoIRVpmaXe4d7Tw5oUcozi4cv1pCN
=WePQ
-----END PGP SIGNATURE-----



More information about the devel mailing list