[Csnd] pitch tracker question
Date | 2014-03-14 10:09 |
From | peiman khosravi |
Subject | [Csnd] pitch tracker question |
I'm wondering if anyone has any opinions about what is the best opcode for fundamental frequency analysis in Csound? Many Thanks Peiman
|
Date | 2014-03-14 10:18 |
From | Oeyvind Brandtsegg |
Subject | Re: [Csnd] pitch tracker question |
I keep changing the approach every time I come back to it. The latest I did was using ptrack, and some post processing like this: ihopsizeA = 512 kcps1a, kamp1 ptrack aIn1, ihopsizeA kcps1b init 100 kcps1b = (kcps1a > 700 ? kcps1b : kcps1a) ; avoid high freq intermittencies kcps1 init 100 kcps1 = (krms1 < 0.04 ? kcps1 : kcps1b) ; don't track (keep last value) at low amplitude imedianSize = 512 kcps1 mediank kcps1, imedianSize, imedianSize 2014-03-14 11:09 GMT+01:00 peiman khosravi |
Date | 2014-03-14 11:34 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: pitch tracking |
Attachments | None |
Date | 2014-03-14 12:34 |
From | Tarmo Johannes |
Subject | Re: [Csnd] pitch tracker question |
Hi, I don't have som much experience as Oeyvind but jsut recently in my intonation app I tried at first with plltrack but that did not detect higher pitches (like piccolo flute) well, I replaced it with ptrack with maximum hopsize 4096 and it worked reasonably well with instruments and voice. greetings, tarmo On Friday 14 March 2014 11:18:47 Oeyvind Brandtsegg wrote: > I keep changing the approach every time I come back to it. > The latest I did was using ptrack, and some post processing like this: > > ihopsizeA = 512 > kcps1a, kamp1 ptrack aIn1, ihopsizeA > > kcps1b init 100 > kcps1b = (kcps1a > 700 ? kcps1b : kcps1a) ; avoid high freq > intermittencies > kcps1 init 100 > kcps1 = (krms1 < 0.04 ? kcps1 : kcps1b) ; don't track > (keep last value) at low amplitude > > imedianSize = 512 > kcps1 mediank kcps1, imedianSize, imedianSize > > 2014-03-14 11:09 GMT+01:00 peiman khosravi |
Date | 2014-03-14 13:43 |
From | Victor Lazzarini |
Subject | Re: [Csnd] pitch tracker question |
plltrack is good but requires some playing around with the parameters. pitchamdf is probably the best, but also the most costly. ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 14 Mar 2014, at 12:34, Tarmo Johannes |
Date | 2014-03-16 09:15 |
From | peiman khosravi |
Subject | Re: [Csnd] pitch tracker question |
Thank you very much for all the replies. I am goin to systematically try all your suggestions and get back. All the best, Peiman On 14 March 2014 13:43, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: plltrack is good but requires some playing around with the parameters. |