Csound Csound-dev Csound-tekno Search About

plltrack

Date2016-05-03 16:16
FromOliver Larkin <000000992b40b7cd-dmarc-request@LISTSERV.HEANET.IE>
Subjectplltrack
being very poor at csound, i wondered if a kind soul could show me how to use plltrack on a realtime input? I would like to try out the algorithm, perhaps in a cabbage effect plugin

I want to track the pitch of an incoming sawtooth wave and generate a new wave at the tracked frequency

thanks very much

oli
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-05-03 17:22
FromVictor Lazzarini
SubjectRe: plltrack
What about the manual example? Does it not help? You can replace the file for a vco2 input (saw)

 instr 1

kd = p4
k1 line 220, p3, 440
a1 vco2 0dbfs/2, k1
apitch, aloc plltrack a1, kd
krms rms a1
krms port krms, 0.01
asig buzz krms, apitch, 10, 1
     outs asig, asig		

endin 
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 3 May 2016, at 16:16, Oliver Larkin <000000992b40b7cd-dmarc-request@LISTSERV.HEANET.IE> wrote:
> 
> being very poor at csound, i wondered if a kind soul could show me how to use plltrack on a realtime input? I would like to try out the algorithm, perhaps in a cabbage effect plugin
> 
> I want to track the pitch of an incoming sawtooth wave and generate a new wave at the tracked frequency
> 
> thanks very much
> 
> oli
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-05-03 17:49
FromOliver Larkin <000000992b40b7cd-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: plltrack
thanks victor

should this make sound…?




-odac



sr = 44100
ksmps = 32
nchnls = 2
0dbfs  = 1

instr 1

kd = p4
a1 inch 1
apitch, aloc plltrack a1, kd
krms rms a1
krms port krms, 0.01
asig buzz krms, apitch, 10, 1
outs asig, asig

endin


f1 0 65536 10 1;
f0 z
i1 0 [60*60*24*7] 






> On 3 May 2016, at 17:22, Victor Lazzarini  wrote:
> 
> What about the manual example? Does it not help? You can replace the file for a vco2 input (saw)
> 
> instr 1
> 
> kd = p4
> k1 line 220, p3, 440
> a1 vco2 0dbfs/2, k1
> apitch, aloc plltrack a1, kd
> krms rms a1
> krms port krms, 0.01
> asig buzz krms, apitch, 10, 1
>     outs asig, asig		
> 
> endin 
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 3 May 2016, at 16:16, Oliver Larkin <000000992b40b7cd-dmarc-request@LISTSERV.HEANET.IE> wrote:
>> 
>> being very poor at csound, i wondered if a kind soul could show me how to use plltrack on a realtime input? I would like to try out the algorithm, perhaps in a cabbage effect plugin
>> 
>> I want to track the pitch of an incoming sawtooth wave and generate a new wave at the tracked frequency
>> 
>> thanks very much
>> 
>> oli
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-05-03 18:18
FromVictor Lazzarini
SubjectRe: plltrack
You need -iadc in the options to get the input from the soundcard.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 3 May 2016, at 17:49, Oliver Larkin <000000992b40b7cd-dmarc-request@LISTSERV.HEANET.IE> wrote:
> 
> thanks victor
> 
> should this make sound…?
> 
> 
> 
> 
> -odac
> 
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs  = 1
> 
> instr 1
> 
> kd = p4
> a1 inch 1
> apitch, aloc plltrack a1, kd
> krms rms a1
> krms port krms, 0.01
> asig buzz krms, apitch, 10, 1
> outs asig, asig
> 
> endin
> 
> 
> f1 0 65536 10 1;
> f0 z
> i1 0 [60*60*24*7] 
> 
> 
> 
> 
> 
> 
>> On 3 May 2016, at 17:22, Victor Lazzarini  wrote:
>> 
>> What about the manual example? Does it not help? You can replace the file for a vco2 input (saw)
>> 
>> instr 1
>> 
>> kd = p4
>> k1 line 220, p3, 440
>> a1 vco2 0dbfs/2, k1
>> apitch, aloc plltrack a1, kd
>> krms rms a1
>> krms port krms, 0.01
>> asig buzz krms, apitch, 10, 1
>>    outs asig, asig		
>> 
>> endin 
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 3 May 2016, at 16:16, Oliver Larkin <000000992b40b7cd-dmarc-request@LISTSERV.HEANET.IE> wrote:
>>> 
>>> being very poor at csound, i wondered if a kind soul could show me how to use plltrack on a realtime input? I would like to try out the algorithm, perhaps in a cabbage effect plugin
>>> 
>>> I want to track the pitch of an incoming sawtooth wave and generate a new wave at the tracked frequency
>>> 
>>> thanks very much
>>> 
>>> oli
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-05-04 12:56
FromOliver Larkin <000000992b40b7cd-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: plltrack
whoops, thanks again victor

> On 3 May 2016, at 18:18, Victor Lazzarini  wrote:
> 
> You need -iadc in the options to get the input from the soundcard.
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 3 May 2016, at 17:49, Oliver Larkin <000000992b40b7cd-dmarc-request@LISTSERV.HEANET.IE> wrote:
>> 
>> thanks victor
>> 
>> should this make sound…?
>> 
>> 
>> 
>> 
>> -odac
>> 
>> 
>> 
>> sr = 44100
>> ksmps = 32
>> nchnls = 2
>> 0dbfs  = 1
>> 
>> instr 1
>> 
>> kd = p4
>> a1 inch 1
>> apitch, aloc plltrack a1, kd
>> krms rms a1
>> krms port krms, 0.01
>> asig buzz krms, apitch, 10, 1
>> outs asig, asig
>> 
>> endin
>> 
>> 
>> f1 0 65536 10 1;
>> f0 z
>> i1 0 [60*60*24*7] 
>> 
>> 
>> 
>> 
>> 
>> 
>>> On 3 May 2016, at 17:22, Victor Lazzarini  wrote:
>>> 
>>> What about the manual example? Does it not help? You can replace the file for a vco2 input (saw)
>>> 
>>> instr 1
>>> 
>>> kd = p4
>>> k1 line 220, p3, 440
>>> a1 vco2 0dbfs/2, k1
>>> apitch, aloc plltrack a1, kd
>>> krms rms a1
>>> krms port krms, 0.01
>>> asig buzz krms, apitch, 10, 1
>>>   outs asig, asig		
>>> 
>>> endin 
>>> ========================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 3 May 2016, at 16:16, Oliver Larkin <000000992b40b7cd-dmarc-request@LISTSERV.HEANET.IE> wrote:
>>>> 
>>>> being very poor at csound, i wondered if a kind soul could show me how to use plltrack on a realtime input? I would like to try out the algorithm, perhaps in a cabbage effect plugin
>>>> 
>>>> I want to track the pitch of an incoming sawtooth wave and generate a new wave at the tracked frequency
>>>> 
>>>> thanks very much
>>>> 
>>>> oli
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> Send bugs reports to
>>>>     https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here