<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
Hi Xavier, <BR>
 <BR>
Thank you again for the speedy response.  I am digging in quite heartily to this little project.  I hope to, at the end of it, have a very flexible and capable tachometer that can be assembled for less than $10US.  Complete with nice little CLAM app for readouts and printouts.  It has been fun so far!<BR>
 <BR>
Thanks for the link to the wiki article.  You are absolutely correct, I want to simply measure peaks over the time-domain.  I will likely add an additional 'tachometer' control sink (?) with all the friendly little conversions/tools that are helpful to those that are using it for that application.  That way i can feed it with the peak detector or the fundamental2control depending on which approach is most appropriate for the application.<BR>
 <BR>
Now i just need to get a development environment put together! :)<BR>
 <BR>
Thanks again.<BR>
<BR>Bob<BR><BR>> Subject: Re: [Clam-devel] Developing a peak detection monitor<BR>> From: xavier@create.ucsb.edu<BR>> To: clam-devel@llistes.projectes.lafarga.org<BR>> Date: Wed, 18 Apr 2007 11:57:36 -0700<BR>> <BR>> Hi JCIMS, I see you are speeding up ;)<BR>> <BR>> What I would recommend is to look at the "Creating a minimal Processing<BR>> Object Tutorial" at the wiki:<BR>> <BR>> http://clam.iua.upf.edu/wikis/clam/index.php/Creating_a_minimal_processing_object<BR>> <BR>> Once you get that rolling and you have your Processing object in Network<BR>> Editor, implementing what you want will be very easy. If I understand<BR>> right you just need to measure peaks over the time-domain waveform,<BR>> right? If so, having a simple implementation will be just a matter of<BR>> adding 4-5 lines to your Do method.<BR>> <BR>> On Wed, 2007-04-18 at 18:40 +0000, JCIMS wrote:<BR>> > Hi Folks!<BR>> > <BR>> > I am brand new to CLAM and have found it to be very adaptable. I am<BR>> > currently using it as the analysis tool for a software-based<BR>> > tachometer that i'm developing. The basic approach is to pass the<BR>> > input audio (live or from a file) through the Fundamental analyis and<BR>> > let the ControlPrinter spit the fundamental frequency out to standard<BR>> > output. This fundamental frequency is very close to the actual RPM of<BR>> > the device (in Hz) and has been very useful for rough (+/- 5%)<BR>> > estimates.<BR>> > <BR>> > However, i'm moving into areas where i'm measuring velocity and<BR>> > acceleration, and have found that this approach is not adequate. I<BR>> > have found, through converting WAV files to ASCII and perl scripts,<BR>> > that measuring peak to peak times is much more accurate and precise.<BR>> > I would like to try to implement this in CLAM, but don't know where to<BR>> > start.<BR>> > <BR>> > First of all, i guess i would like to know if there is existing code<BR>> > that can identify peak values over a given threshold, and whether that<BR>> > code can pass the values in the form of a timestamp or sample #. If<BR>> > not, i'm going to have to roll my own.<BR>> > <BR>> > I just wonder if any of you have advice for how i should tackle this.<BR>> > It will be my first C++ project in about 5 years, and my first Qt<BR>> > project ever. I did look through some of the existing code in SVN and<BR>> > feel like i have a reasonable shot at making something useful...but<BR>> > would love some input!<BR>> > <BR>> > Thanks!<BR>> > <BR>> > <BR>> > _______________________________________________<BR>> > Clam-devel mailing list<BR>> > Clam-devel@llistes.projectes.lafarga.org<BR>> > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel<BR>> -- <BR>> /*********************************<BR>> * Xavier Amatriain *<BR>> * Associate Director - MATi *<BR>> * Research Director - CREATE *<BR>> * UCSB, Santa Barbara CA *<BR>> * 1-(805)- 893 83 52 *<BR>> ********************************/<BR>> <BR>> <BR>> _______________________________________________<BR>> Clam-devel mailing list<BR>> Clam-devel@llistes.projectes.lafarga.org<BR>> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel<BR><BR></body>
</html>