[Csnd] Proper portamento with pch values in p4
Date | 2019-06-05 20:37 |
From | "Jeanette C." |
Subject | [Csnd] Proper portamento with pch values in p4 |
Hey hey, I'm trying to get proper portamento with tied notes working. My pitch is in the instrument's p4 in pch oct.pch format. But I can't get it to do a proper slide: ... istied tival kpitch = cpspch(p4) tigoto Tied ... Tied: if istied == 0 kgoto Play kpitch port kpitch, .2 Play: aout oscil 1, kpitch, isine I tried using different variables, i.e. kbasepitch = cpspch(p4) ... tigoto Tied kpitch = kbasepitch Tied: if istied == 0 kgoto play kpitch port kbasepitch, .2 ... I also tried performing the port on p4. The pitch always seems to rise from 0 not from the previous notes value. What's the proper method, please? Best wishes, Jeanette -- * Website: http://juliencoder.de - for summer is a state of sound * SoundCloud: https://soundcloud.com/jeanette_c * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * GitHub: https://github.com/jeanette-c * Twitter: https://twitter.com/jeanette_c_s All I need is time A moment that is mine While I'm in between <3 (Britney Spears) 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 |
Date | 2019-06-05 22:32 |
From | Oeyvind Brandtsegg |
Subject | Re: [Csnd] Proper portamento with pch values in p4 |
Hi, I think you can use an extra argument to the filter (port) to set how it is initialized. Using a negative value will skip initialization, and then it should start from the previous value. This should do what you want. Like this: kpitch port kpitch, .2, -1 Øyvind ons. 5. jun. 2019 kl. 21:37 skrev Jeanette C. <julien@mail.upb.de>: Hey hey, Oeyvind Brandtsegg Professor of Music Technology NTNU 7491 Trondheim Norway Cell: +47 92 203 205 http://www.partikkelaudio.com/ http://crossadaptive.hf.ntnu.no http://gdsp.hf.ntnu.no/ http://soundcloud.com/brandtsegg http://flyndresang.no/ http://soundcloud.com/t-emp |
Date | 2019-06-05 23:04 |
From | "Jeanette C." |
Subject | Re: [Csnd] Proper portamento with pch values in p4 |
Hi Øyvind, Jun 5 2019, Oeyvind Brandtsegg has written: ... > Like this: > kpitch port kpitch, .2, -1 ... Thanks, I think this is just what I needed. Best wishes, Jeanette -- * Website: http://juliencoder.de - for summer is a state of sound * SoundCloud: https://soundcloud.com/jeanette_c * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * GitHub: https://github.com/jeanette-c * Twitter: https://twitter.com/jeanette_c_s All I need is time A moment that is mine While I'm in between <3 (Britney Spears) 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 |