Quantcast

[Csnd] Key/Pitch Track formula for panning

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Csnd] Key/Pitch Track formula for panning

Samuel Smalley
Hi Csounders,

I was wondering the best formula to create pitch-based panning modulation. Ideally I would like to have a formula that is focused on using cpspch as the number to cycle converter.

Right now, my formula looks like this:


icps = cpspch(p5)

...

outs aMix2 * (p5/8), aMix2 * (8/p5)


My goal in this case is two fold:

1. To have all numbers in p5 of the score section (controlling the pitch of all instruments) >8.00 panned R, and <8.00 panned L. However, this formula seems to pan the notes pretty far L.

2. To simulate key tracking, as well as to give a 'natural' spread to this instrument, a 80's style string synth.

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Key/Pitch Track formula for panning

Victor Lazzarini
Why don’t you use pan2

http://www.csounds.com/manual/html/pan2.html

a1,a2  pan2 aMix2, 8/p5

========================
Prof. 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 1 Mar 2017, at 16:49, Sam Smalley <[hidden email]> wrote:
>
> Hi Csounders,
>
> I was wondering the best formula to create pitch-based panning modulation. Ideally I would like to have a formula that is focused on using cpspch as the number to cycle converter.
>
> Right now, my formula looks like this:
>
>
> icps = cpspch(p5)
>
> ...
>
> outs aMix2 * (p5/8), aMix2 * (8/p5)
>
>
> My goal in this case is two fold:
>
> 1. To have all numbers in p5 of the score section (controlling the pitch of all instruments) >8.00 panned R, and <8.00 panned L. However, this formula seems to pan the notes pretty far L.
>
> 2. To simulate key tracking, as well as to give a 'natural' spread to this instrument, a 80's style string synth.
>
> Csound mailing list
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Key/Pitch Track formula for panning

Samuel Smalley
That works great! 

Thanks,
Sam
On Wed, Mar 1, 2017 at 11:52 AM Victor Lazzarini <[hidden email]> wrote:
Why don’t you use pan2

http://www.csounds.com/manual/html/pan2.html

a1,a2  pan2 aMix2, 8/p5

========================
Prof. 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 1 Mar 2017, at 16:49, Sam Smalley <[hidden email]> wrote:
>
> Hi Csounders,
>
> I was wondering the best formula to create pitch-based panning modulation. Ideally I would like to have a formula that is focused on using cpspch as the number to cycle converter.
>
> Right now, my formula looks like this:
>
>
> icps = cpspch(p5)
>
> ...
>
> outs aMix2 * (p5/8), aMix2 * (8/p5)
>
>
> My goal in this case is two fold:
>
> 1. To have all numbers in p5 of the score section (controlling the pitch of all instruments) >8.00 panned R, and <8.00 panned L. However, this formula seems to pan the notes pretty far L.
>
> 2. To simulate key tracking, as well as to give a 'natural' spread to this instrument, a 80's style string synth.
>
> Csound mailing list
> [hidden email]
> 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
[hidden email]
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 [hidden email] 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
Loading...