Csound Csound-dev Csound-tekno Search About

[Csnd] Tempo after pp and np

Date2014-03-28 01:51
FromMichael Saunders
Subject[Csnd] Tempo after pp and np
The manual says:  "At the close of any of the operations CarryTempo, and Sort, three additional score features are interpreted during file writeout: next-p, previous-p, and ramping."  and "... the operation that interprets these symbols [ppx, npx] is acting on a time-warped and fully sorted version of the score."  which is as it should be.  But look:

instr 11

print p2, p3

print p4, p5

endin

 t0 100

i11 1 2 np2 np3

i11 2 3 pp2 pp3


results in the output:

instr 11: p2 = 0.600 p3 = 1.200

instr 11: p4 = 2.000 p5 = 3.000

instr 11: p2 = 1.200 p3 = 1.800

instr 11: p4 = 1.000 p5 = 2.000

Apparently Previous-p and Next-p are being evaluated before the Tempo pass.  The output should be:


instr 11: p2 = 0.600 p3 = 1.200

instr 11: p4 = 1.200 p5 = 1.800

instr 11: p2 = 1.200 p3 = 1.800

instr 11: p4 = 0.600 p5 = 1.200

Right?


Date2014-04-03 04:16
FromSteven Yi
SubjectRe: [Csnd] Tempo after pp and np
Hi Michael,

I'm catchup up with older emails and saw that no one had responded to
this.  Could you post an issue at Github:

https://github.com/csound/csound/issues

with the contents of the email?  I don't know those score commands so
don't have anything to say about them, but it seems like we shouldn't
lose track of this item.

Thanks!
steven

On Thu, Mar 27, 2014 at 9:51 PM, Michael Saunders  wrote:
> The manual says:  "At the close of any of the operations Carry, Tempo, and
> Sort, three additional score features are interpreted during file writeout:
> next-p, previous-p, and ramping."  and "... the operation that interprets
> these symbols [ppx, npx] is acting on a time-warped and fully sorted version
> of the score."  which is as it should be.  But look:
>
> instr 11
>
> print p2, p3
>
> print p4, p5
>
> endin
>
>  t0 100
>
> i11 1 2 np2 np3
>
> i11 2 3 pp2 pp3
>
>
> results in the output:
>
> instr 11: p2 = 0.600 p3 = 1.200
>
> instr 11: p4 = 2.000 p5 = 3.000
>
> instr 11: p2 = 1.200 p3 = 1.800
>
> instr 11: p4 = 1.000 p5 = 2.000
>
> Apparently Previous-p and Next-p are being evaluated before the Tempo pass.
> The output should be:
>
>
> instr 11: p2 = 0.600 p3 = 1.200
>
> instr 11: p4 = 1.200 p5 = 1.800
>
> instr 11: p2 = 1.200 p3 = 1.800
>
> instr 11: p4 = 0.600 p5 = 1.200
>
> Right?
>