[Csnd] ...pchcps?
Date | 2011-03-05 17:30 |
From | Enrico Francioni |
Subject | [Csnd] ...pchcps? |
...excuse my ignorance (I do not know if I'm wrong ...), but there is an opcode that converts the "cps"in "pch"? may be called "pchcps "...? thanks e -- View this message in context: http://csound.1045644.n5.nabble.com/pchcps-tp3410823p3410823.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" |
Date | 2011-03-05 18:04 |
From | Justin Glenn Smith |
Subject | Re: [Csnd] ...pchcps? |
you could round the output of octcps() kpch = int(octcps(kcps)) you could also use floor() ceil() or round() if you know which rounding rule you want (I am not sure which rounding rule int() uses off the top of my head) Enrico Francioni wrote: > ...excuse my ignorance (I do not know if I'm wrong ...), > but there is an opcode that converts the "cps"in "pch"? > may be called "pchcps "...? > > thanks > e > > -- > View this message in context: http://csound.1045644.n5.nabble.com/pchcps-tp3410823p3410823.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" |
Date | 2011-03-05 21:59 |
From | Enrico Francioni |
Subject | [Csnd] Re: ...pchcps? |
...but kpch = int(octcps(kcps) converts a pitch-class value to octave-point-decimal; no pch... e p.s. (alternately): koct = octcps(kcps) kpch = pchoct(koct) but it is not the same as "pchcps" -- View this message in context: http://csound.1045644.n5.nabble.com/pchcps-tp3410823p3411003.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" |
Date | 2011-03-06 07:00 |
From | Justin Glenn Smith |
Subject | Re: [Csnd] Re: ...pchcps? |
Good point. you can do it more concisely since they are functions and not opcodes: kpch = pchoct(octcps(koct)) Enrico Francioni wrote: > ...but kpch = int(octcps(kcps) > converts a pitch-class value to octave-point-decimal; > no pch... > > e > > p.s. > > (alternately): > koct = octcps(kcps) > kpch = pchoct(koct) > > but it is not the same as "pchcps" > > -- > View this message in context: http://csound.1045644.n5.nabble.com/pchcps-tp3410823p3411003.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" |
Date | 2011-03-06 09:58 |
From | Enrico Francioni |
Subject | [Csnd] Re: ...pchcps? |
Ok Justin, but "pchcps" ... it is not among the opcode ... ;-) e -- View this message in context: http://csound.1045644.n5.nabble.com/pchcps-tp3410823p3411295.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" |
Date | 2011-03-11 11:07 |
From | Enrico Francioni |
Subject | [Csnd] Re: ...pchcps? |
Victor, you can have pchcps in the next version of Csound? e -- View this message in context: http://csound.1045644.n5.nabble.com/pchcps-tp3410823p3424871.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" |
Date | 2011-03-11 11:35 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Re: ...pchcps? |
yes, no problem. On 11 Mar 2011, at 11:07, Enrico Francioni wrote: > > Victor, > > you can have pchcps in the next version of Csound? > > e > > -- > View this message in context: http://csound.1045644.n5.nabble.com/pchcps-tp3410823p3424871.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" |