[Cs-dev] ptrack opcode
| Date | 2007-03-05 10:35 |
| From | Victor Lazzarini |
| Subject | [Cs-dev] ptrack opcode |
I have committed the ptrack code. It seems to work well,
or at least it does "what it says on the tin".
Here's a little example of its use:
instr 1
a1 inch 1 ; take an input signal
kf,ka ptrack a1, 512 ; pitch track with winsize=1024
kcps port kf, 0.01 ; smooth freq
kamp port ka, 0.01 ; smooth amp
; drive an oscillator
aout oscili ampdb(kamp)*0dbfs, kcps, 1
out aout
endin
I would like to call it "the really simple pitch tracker". It has only one
parameter
(plus one optional), so you can't go much wrong. It also does not need a
pitch range, it will track a fundamental wherever it might be. In fact what
motivated me to do this is that I got fed up with having to reset the ranges
in pitchamdf every time I changed instruments.
The pitch accuracy seems to be comparable or better than the existing trackers,
and the amplitude too. The only thing with the amplitude is that it needs to
be smoothed otherwise you get a noisy signal. The pitch does not need
much smoothing, but it might help.
Ah, amplitude comes out in dBs relative to full-scale (0dB), so you will need
ampdb to use it.
I have written the manual page and will commit once I compiled the manual
and checked it.
Victor
Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |
| Date | 2011-03-12 16:42 |
| From | Enrico Francioni |
| Subject | Re: [Cs-dev] ptrack opcode |
Hello Victor, a question about ptrack: I see that at the 'kCPS' always stood on the value of 100. Why? …thanks e -- View this message in context: http://csound.1045644.n5.nabble.com/ptrack-opcode-tp1129820p3494294.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https://lists.sourceforge.net/l |
| Date | 2011-03-12 20:15 |
| From | Victor Lazzarini |
| Subject | Re: [Cs-dev] ptrack opcode |
That's when no pitch is being picked up. Probably very low amplitudes? On 12 Mar 2011, at 16:42, Enrico Francioni wrote: > > Hello Victor, > > a question about ptrack: > > I see that at the 'kCPS' always stood on the value of 100. > > Why? > > …thanks > > e > > -- > View this message in context: http://csound.1045644.n5.nabble.com/ptrack-opcode-tp1129820p3494294.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
| Date | 2011-03-13 10:00 |
| From | Enrico Francioni |
| Subject | Re: [Cs-dev] ptrack opcode |
Yes, very low amplitudes, but, why not 0 ? e -- View this message in context: http://csound.1045644.n5.nabble.com/ptrack-opcode-tp1129820p3555324.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
| Date | 2011-03-13 12:25 |
| From | Victor Lazzarini |
| Subject | Re: [Cs-dev] ptrack opcode |
No reason, any value would do; 0 would also be meaningless. Victor On 13 Mar 2011, at 10:00, Enrico Francioni wrote: > > Yes, very low amplitudes, > but, why not 0 ? > > e > > -- > View this message in context: http://csound.1045644.n5.nabble.com/ptrack-opcode-tp1129820p3555324.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |