Csound Csound-dev Csound-tekno Search About

Re: Carry problems in PPC

Date1999-01-08 15:41
FromRichard Dobson
SubjectRe: Carry problems in PPC
The format is misleading.
In the second line:
i  .  + .   < < < <

the first dot applies to the first pfield, which is the instr number
so your input score really is:
i2 0  1 100 5 4 0 1
i. +  .   < < < <
i. +  .   7 6 1 0
e

and the sorted output is exactly as specified.


Richard Dobson


Grant Covell wrote:
> 
> I've been trying to use the carry features in the Mills PPC (MIT Csound:
> 3.493 (Nov 23 1998)
> (Mills/PPC: 4.9.3)).
> 
> A score with:
> 
> i2 0  1 100 5 4 0 1
> i  .  + .   < < < <
> i  .  + .   7 6 1 0
> e
> 
> sorts as:
> 
> w 0 60
> i 2 0 0 1 1 100 5 4 0 1
> i 2 1 1 1 1 53.499999 5.5 2.5 0 1
> i 2 2 2 1 1 7 6 1 0 1
> e
> 
> while I expected:
> 
> i2 0  1 100 5 4 0 1
> i  1  1 100 6 5 .5 .5
> i  2  1 100 7 6 1 0