You are not logged in.
Please excuse me if this post is in the wrong section.
I have been searching for about a week and cant seem to find an application that counts sounds from a microphone. I have found one that will count beats per minute of a mp3, but I would like to avoid the recording step if possible. Perhaps I am just looking in the wrong place and if someone can point me in the right direction that would be great.
Here is some background
I am a watchmaker, I specialize in refurbishing antique pocket watches. After servicing the watch needs to be adjusted to be in beat to keep accurate time. I did have a $300 timing machine, but it died after many years of service. I was hoping that it would be possible to use my computer and not have to purchase another timing machine as they are now over $500 and all they do is count the ticks.
I have a contact microphone that works when plugged in, all I need is an application that would tell me how many "ticks" per minute. Most of the watches I work on are about 300 ticks per minute.
Thanks in advance.
I trust Microsoft about as far as I can comfortably spit a dead rat.
Cinnamon is a wonderful desktop
"Faith is the substance of things hoped for, the evidence of things not seen."
Offline
You could try a combination of arecord (alsa-utils) and soundstretch (http://www.surina.net/soundtouch/soundstretch.html). However, if you need high accuracy, you might want to creating your own signal processing application.
Offline
Here's a VST called BeatCounter. I don't know if it will work in GNU/Linux or not though. It's worth trying. You'll need a VST host for that. I think Ardour should work.
I think most real-time solutions to this problem will come in VST plugin format, if that helps narrow your search.
Another option that would require a lot more work would be to implement something yourself in PureData ![]()
Edit: the BeatCounter VST includes a Linux Makefile, which is promising.
Last edited by jakobcreutzfeldt (2013-04-08 15:24:26)
Offline
Thank you both very much, you have given me a few options I had not thought of.
I trust Microsoft about as far as I can comfortably spit a dead rat.
Cinnamon is a wonderful desktop
"Faith is the substance of things hoped for, the evidence of things not seen."
Offline
Out of curiosity, how are the measurements made? Do they measure the period from tick to tick and average a several intervals, or do they open a sample window and count how many events occur during the window. In other words, does the test take a minute with counts on the order of 300, or does it determine there are 33.3 mS between clicks and average a couple dozen samples to eliminate jitter and uncertainty?
If the systems have a fixed sample window and are counting the number of clicks, you might look at a program that does Fourier transforms.
In any event, really cool hobby
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Im not sure ewaller, I only used it to get the number of beats per second. But the replacement I was looking at is the Microset. It looks like it does both.
I am not a programmer so I went looking again for beat counting applications and came across Drum Count, its written in python. It looks like it will do ok for now.
I trust Microsoft about as far as I can comfortably spit a dead rat.
Cinnamon is a wonderful desktop
"Faith is the substance of things hoped for, the evidence of things not seen."
Offline
I have been searching for about a week and cant seem to find an application that counts sounds from a microphone. I have found one that will count beats per minute of a mp3, but I would like to avoid the recording step if possible
If that app could read from a fifo or from stdin, you can use something like:
Pipes:
Mic -> arecord | lame | your counting app.
fifo:
mkfifo /tmp/fifo.mp3
mic -> arecord | lame > /tmp/fifo.mp3
your counting app /tmp/fifo.mp3
Changed code tags to quote -- Inxsible
Last edited by Inxsible (2013-04-10 15:05:05)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline