Sorry if this is a newbie question (or dumb) but i'm just starting to use pd, so... :)
In my search for a sensor to detect the heart rate, and after talking to a teacher of mine, he suggested that a very sensitive mic would something to consider as a source for the heart beats.
No comes que question. I have a small mic that i connected to my laptop. I can get the signal in PD. But how can i detect the bpm of a signal that is coming from adc~ object? I'm just touching on the mic to simulate the heart beat, but would be possible to detect some kind of bpm of the signal? If so, what do i have to do? Can you give some links where i can get some more info on what i should do?
Thanks.
Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
Hi.
You could try [bonk~] to get beats (as messages) out of your audio signal. [bonk~] is quite sofisticated for your task, but I love it because its smart. You may need to tweak its parameters and/or filter its output ([speedlim] or similar) before you really get what you want.
In maxlib you may find several objects that cab be useful for these purposes, including tempo estimation IIRC.
HTH,
Maurizio Umberto Puxeddu.
On Fri, 2002-11-29 at 01:55, arm pdlist wrote:
Sorry if this is a newbie question (or dumb) but i'm just starting to use pd, so... :)
In my search for a sensor to detect the heart rate, and after talking to a teacher of mine, he suggested that a very sensitive mic would something to consider as a source for the heart beats.
No comes que question. I have a small mic that i connected to my laptop. I can get the signal in PD. But how can i detect the bpm of a signal that is coming from adc~ object? I'm just touching on the mic to simulate the heart beat, but would be possible to detect some kind of bpm of the signal? If so, what do i have to do? Can you give some links where i can get some more info on what i should do?
Thanks.
Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
On Fri, 29 Nov 2002, arm pdlist wrote:
No comes que question. I have a small mic that i connected to my laptop. I can get the signal in PD. But how can i detect the bpm of a signal that is coming from adc~ object? I'm just touching on the mic to simulate the heart beat, but would be possible to detect some kind of bpm of the signal? If so, what do i have to do? Can you give some links where i can get some more info on what i should do?
My first idea would be to try a Fourier transform but with very low frequencies. When trying this on music you may have some preprocessing to do to ensure that you actually get a spectrum for the beat instead of just for the hearable tones, but for a heartbeat you have true low frequencies that could appear directly in an "ordinary" frequency spectrum as long as that spectrum is done in the proper range of frequency (say 0.1-10 Hz instead of the normal 20-20000 Hz).
I haven't tried it myself though.
Mathieu Bouchard http://artengine.ca/matju
check this out, it seems to work really well judging by the samples on their site... when i get home from vacaction i plan on tinkering around with this
http://www.cs.tut.fi/sgn/arg/music/jams/
-joschi _____________________________________________________ you need more drum'n'bass -- http://mp3.com/vitriolix
On Fri, 29 Nov 2002, arm pdlist wrote:
Sorry if this is a newbie question (or dumb) but i'm just starting to use pd, so... :)
In my search for a sensor to detect the heart rate, and after talking to a teacher of mine, he suggested that a very sensitive mic would something to consider as a source for the heart beats.
No comes que question. I have a small mic that i connected to my laptop. I can get the signal in PD. But how can i detect the bpm of a signal that is coming from adc~ object? I'm just touching on the mic to simulate the heart beat, but would be possible to detect some kind of bpm of the signal? If so, what do i have to do? Can you give some links where i can get some more info on what i should do?
Thanks.
Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list