Csound Csound-dev Csound-tekno Search About

[Csnd] manual pluck opcode

Date2012-04-11 12:39
Fromfrancesco
Subject[Csnd] manual pluck opcode
Hello All,
in manual there is

ares pluck kamp, kcps, icps, ifn, imeth [, iparm1] [, iparm2]

icps -- intended pitch value in Hz, ...
kcps -- the resampling frequency in cycles-per-second.

I guess these are inverted, i.e. kcps is intended pitch value while icps is
the resampling frequency. Am i right or i don't have understood correctly?

thanks,
ciao,
francesco.


--
View this message in context: http://csound.1045644.n5.nabble.com/manual-pluck-opcode-tp5632552p5632552.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-04-11 13:05
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] manual pluck opcode
That wording is original Vercoe text.

\fIicps\fR - intended pitch value in cps, used to set up a buffer of
1 cycle of audio samples
which will be smoothed over time by a chosen decay method.
\fIicps\fR normally anticipates the value of \fIkcps\fR, but may be set
artificially high or low to influence the size of the sample buffer.

....
An internal audio buffer, filled at I-time according to \fIifn\fR,
is continually resampled with periodicity \fIkcps\fR and the resulting
output is multiplied by \fIkamp\fR.  Parallel with the sampling, the
buffer is smoothed to simulate the effect of natural decay.



> Hello All,
> in manual there is
>
> ares pluck kamp, kcps, icps, ifn, imeth [, iparm1] [, iparm2]
>
> icps -- intended pitch value in Hz, ...
> kcps -- the resampling frequency in cycles-per-second.
>
> I guess these are inverted, i.e. kcps is intended pitch value while icps
> is
> the resampling frequency. Am i right or i don't have understood correctly?
>
> thanks,
> ciao,
> francesco.
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/manual-pluck-opcode-tp5632552p5632552.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>



Date2012-04-11 16:56
FromLouis Cohen
SubjectRe: [Csnd] manual pluck opcode
I just finished a composition using "pluck" exclusively. I found no  
problem with the documentation. kcps determines the intended pitch of  
the sound.

You can hear the piece at:

http://www.jolc.net/musicsite/recordings.php
click on "Shape08"

-Lou

On Apr 11, 2012, at 7:39 AM, francesco wrote:

> Hello All,
> in manual there is
>
> ares pluck kamp, kcps, icps, ifn, imeth [, iparm1] [, iparm2]
>
> icps -- intended pitch value in Hz, ...
> kcps -- the resampling frequency in cycles-per-second.
>
> I guess these are inverted, i.e. kcps is intended pitch value while  
> icps is
> the resampling frequency. Am i right or i don't have understood  
> correctly?
>
> thanks,
> ciao,
> francesco.
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/manual-pluck-opcode-tp5632552p5632552.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>


Date2012-04-11 17:29
FromDavid Banks
Subject[Csnd] Re: manual pluck opcode
On 11/04/12 16:56, Louis Cohen wrote:
> You can hear the piece at:
> 
> http://www.jolc.net/musicsite/recordings.php
> click on "Shape08"

Love it!

Cheers,
David


Date2012-04-11 18:18
Fromfrancesco
Subject[Csnd] Re: manual pluck opcode
Dear Mr. Louis,
yes You are right, but manual say that icps is intended pitch, not kcps.
But using pluck seems kcps that give You the "real" pitch.
I found this not so clear, but i'm not sure if i correctly have understand
the pluck opcode.

Thanks,
ciao,
francesco.


--
View this message in context: http://csound.1045644.n5.nabble.com/manual-pluck-opcode-tp5632552p5633512.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-04-11 18:34
FromLouis Cohen
SubjectRe: [Csnd] Re: manual pluck opcode
I understand the confusion.

The manual says "icps normally anticipates the value of kcps, but may  
be set artificially high or low to influence the size of the sample  
buffer."

I have no idea what the word "anticipates" means in this description.  
However, when I read that icps can be set artificially high or low, I  
interpreted that to mean that icps has something to do with the  
internal coding of the opcode, and that I probably had no chance to  
understand it. When I experimented with the opcode I found that kcps  
determined the actual pitch, NOT icps, so just decided to always set  
icps and kcps to the same value.

-Lou

On Apr 11, 2012, at 1:18 PM, francesco wrote:

> Dear Mr. Louis,
> yes You are right, but manual say that icps is intended pitch, not  
> kcps.
> But using pluck seems kcps that give You the "real" pitch.
> I found this not so clear, but i'm not sure if i correctly have  
> understand
> the pluck opcode.
>
> Thanks,
> ciao,
> francesco.
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/manual-pluck-opcode-tp5632552p5633512.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>


Date2012-04-11 19:15
FromMichael Gogins
SubjectRe: [Csnd] Re: manual pluck opcode
icps refers to the internal buffer and to the filter that is used to
correct the pitch resulting from resampling the buffer. It is like the
frequency of the open string. I think.

Regards,
Mike

On Wed, Apr 11, 2012 at 1:34 PM, Louis Cohen  wrote:
> I understand the confusion.
>
> The manual says "icps normally anticipates the value of kcps, but may be set
> artificially high or low to influence the size of the sample buffer."
>
> I have no idea what the word "anticipates" means in this description.
> However, when I read that icps can be set artificially high or low, I
> interpreted that to mean that icps has something to do with the internal
> coding of the opcode, and that I probably had no chance to understand it.
> When I experimented with the opcode I found that kcps determined the actual
> pitch, NOT icps, so just decided to always set icps and kcps to the same
> value.
>
> -Lou
>
>
> On Apr 11, 2012, at 1:18 PM, francesco wrote:
>
>> Dear Mr. Louis,
>> yes You are right, but manual say that icps is intended pitch, not kcps.
>> But using pluck seems kcps that give You the "real" pitch.
>> I found this not so clear, but i'm not sure if i correctly have understand
>> the pluck opcode.
>>
>> Thanks,
>> ciao,
>> francesco.
>>
>>
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/manual-pluck-opcode-tp5632552p5633512.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


Date2012-04-11 19:25
FromVictor Lazzarini
SubjectRe: [Csnd] Re: manual pluck opcode
Basically, it is your lower frequency limit. It needs to be used to allocate the memory for the opcode.

Victor

On 11 Apr 2012, at 18:34, Louis Cohen wrote:

> I understand the confusion.
> 
> The manual says "icps normally anticipates the value of kcps, but may be set artificially high or low to influence the size of the sample buffer."
> 
> I have no idea what the word "anticipates" means in this description. However, when I read that icps can be set artificially high or low, I interpreted that to mean that icps has something to do with the internal coding of the opcode, and that I probably had no chance to understand it. When I experimented with the opcode I found that kcps determined the actual pitch, NOT icps, so just decided to always set icps and kcps to the same value.
> 
> -Lou
> 
> On Apr 11, 2012, at 1:18 PM, francesco wrote:
> 
>> Dear Mr. Louis,
>> yes You are right, but manual say that icps is intended pitch, not kcps.
>> But using pluck seems kcps that give You the "real" pitch.
>> I found this not so clear, but i'm not sure if i correctly have understand
>> the pluck opcode.
>> 
>> Thanks,
>> ciao,
>> francesco.
>> 
>> 
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/manual-pluck-opcode-tp5632552p5633512.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2012-04-11 19:26
FromVictor Lazzarini
SubjectRe: [Csnd] Re: manual pluck opcode
Actually it's not the lower frequency limit, but it will probably sound better if you set it to your lowest frequency.

On 11 Apr 2012, at 19:25, Victor Lazzarini wrote:

> Basically, it is your lower frequency limit. It needs to be used to allocate the memory for the opcode.
> 
> Victor
> 
> On 11 Apr 2012, at 18:34, Louis Cohen wrote:
> 
>> I understand the confusion.
>> 
>> The manual says "icps normally anticipates the value of kcps, but may be set artificially high or low to influence the size of the sample buffer."
>> 
>> I have no idea what the word "anticipates" means in this description. However, when I read that icps can be set artificially high or low, I interpreted that to mean that icps has something to do with the internal coding of the opcode, and that I probably had no chance to understand it. When I experimented with the opcode I found that kcps determined the actual pitch, NOT icps, so just decided to always set icps and kcps to the same value.
>> 
>> -Lou
>> 
>> On Apr 11, 2012, at 1:18 PM, francesco wrote:
>> 
>>> Dear Mr. Louis,
>>> yes You are right, but manual say that icps is intended pitch, not kcps.
>>> But using pluck seems kcps that give You the "real" pitch.
>>> I found this not so clear, but i'm not sure if i correctly have understand
>>> the pluck opcode.
>>> 
>>> Thanks,
>>> ciao,
>>> francesco.
>>> 
>>> 
>>> --
>>> View this message in context: http://csound.1045644.n5.nabble.com/manual-pluck-opcode-tp5632552p5633512.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>> 
>>> 
>>> Send bugs reports to the Sourceforge bug tracker
>>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie