Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Score carry with exxpression

Date2023-12-12 10:39
FromOeyvind Brandtsegg
Subject[Csnd-dev] Score carry with exxpression
Attachmentssine_orc.csd  
Hello

It seems something has changed regarding score carry with expression.
If I try to use a score like this
i1 1 0.5 0
i1 ^+[3/2] 0.5 0
... it creates a problem, as the expression in p2 somehow gets interpreted as p3, and then the score line statement gets an extra p-field. Here is the console print:
new alloc for instr 1:
instr 1:  p1 = 1.000  p2 = 1.000  p3 = 0.500  p4 = 0.000
new alloc for instr 1:
WARNING: instr 1 uses 4 p-fields but is given 5
instr 1:  p1 = 1.000  p2 = 1.000  p3 = 1.500  p4 = 0.500

I found out when refurbishing a piece from 2012, so I'm not sure when it happened.
Running 6.18 downloaded from csound.com today, console says:
-Csound version 6.18 (double samples) Nov 23 2022

Csd for testing attached
Is it a bug or am I doing something odd?

all best
Øyvind