Hello, Thanks very much for your replies.
But my problem is not so much the tempo detection itself but the generation of a signal that compensates for the difference in speed, so there is feedback loop built into the system in order to ensure that two simultaneously playing tracks are kept in phase. I can detect the tempo by taking a moving average, but the rest I haven't figured out. I've attached a diagram of the desired algorithm. Note that inputs A and B must remain in phase, which is the hard bit. How to generate a speed variable that also ensure the two tracks remain more or less in phase and don't drift? Thanks Peiman [image: Inline images 2] *www.peimankhosravi.co.uk <http://www.peimankhosravi.co.uk> || RSS Feed <http://peimankhosravi.co.uk/miscposts.rss> || Concert News <http://spectralkimia.wordpress.com/>* On 22 May 2014 16:51, Rama Gottfried <[email protected]> wrote: > Oh cool! Hi David! > > that sounds interesting, will check it out. > > Looks like his lab has some recent papers on pulse detection as well: > > http://www.ccs.fau.edu/~large/Music_Dynamics_Lab/Publications/Publications.html > > with cheers, > Rama > > > > On May 22, 2014, at 12:17 AM, David Medine <[email protected]> wrote: > > Hey, Rama! > > I just saw a very impressive thing by Ed Large (a neuro-science guy from > UCONN). He models neuron oscillations with coupled nonlinear equations and > with this he gets really nice spikes at the pulse tempo even with signals > that don't have any onsets on the beat. > > He said the model will be available in a month or so and the paper is > still under review. The other thing is that there is a training layer (also > neuro-model motivated) that you have to warm the thing up with, but my > impression is that you only have to do this once and then it is ready to > go. It's worth keeping an eye on for beat tracking solutions. > > > On 05/20/2014 07:32 PM, Rama Gottfried wrote: > > Hi Peiman, > > maybe check out antescofo~, there’s a pd version here: > http://forumnet.ircam.fr/shop/en/forumnet/44-antescofo.html > > I’m sure there are ways to patch this as well, but antescofo~ makes use > of some nice HMM tricks to anticipate when you’re going to play next. > > best, > Rama > > > > On May 20, 2014, at 12:36 PM, peiman khosravi <[email protected]> > wrote: > > Hello everyone, > > I am in serious need of advice! Here is what I need: > > I need to compare a click-track with the input from a live midi sequence > (played on a midi drum pad) and slow down or speed up the click track to > match the tempo of the live midi input. So I need to generate a speed > factor that will change dynamically to keep the click track in sync with > the live sequence. The problem is that the two need to stay in phase so a > simple tempo follower won't work. > > It's more complex that I'd initially though it would be. Any > suggestions? > > Many thanks in advance > Peiman > > > > *www.peimankhosravi.co.uk <http://www.peimankhosravi.co.uk/> || RSS Feed > <http://peimankhosravi.co.uk/miscposts.rss> || Concert News > <http://spectralkimia.wordpress.com/>* > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > > _______________________________________________pd-l...@lists.iem.at mailing > list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > >
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
