Csound Csound-dev Csound-tekno Search About

[Cs-dev] ramp problems

Date2012-11-03 18:34
Fromjohn ffitch
Subject[Cs-dev] ramp problems
Staring at the code I am at a loss to work out how it ever worked.  It
seems that the structure is
scsort() {
  while () {
    sread()
    sort()
    swritestr()
  }
}
and the ramp opcodes are expanded in swritestr.  The error I am
getting from the example is in sread.  All I can think of at present
is that better checking in sread has removed the > character from
being passed on

So ramp cannot be used in p2 as this is used in sorting.  Surely ramp
should be expanded in sread, but that introduces other problems wrt
lookahead.

So a little confusing.  I find reference to ! in a score in the code
but not in the manual.  Anyone know what it is supposed to do?  Do not
follow the code at present


==John ffitch

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-11-03 22:23
Fromjoachim heintz
SubjectRe: [Cs-dev] ramp problems
'!' at the end of a score line means: do not apply the carry feature. it 
is mentioned here:
http://www.csounds.com/manual/html/ScoreTop.html#ScoreCarry

	joachim


Am 03.11.2012 19:34, schrieb john ffitch:
> Staring at the code I am at a loss to work out how it ever worked.  It
> seems that the structure is
> scsort() {
>    while () {
>      sread()
>      sort()
>      swritestr()
>    }
> }
> and the ramp opcodes are expanded in swritestr.  The error I am
> getting from the example is in sread.  All I can think of at present
> is that better checking in sread has removed the > character from
> being passed on
>
> So ramp cannot be used in p2 as this is used in sorting.  Surely ramp
> should be expanded in sread, but that introduces other problems wrt
> lookahead.
>
> So a little confusing.  I find reference to ! in a score in the code
> but not in the manual.  Anyone know what it is supposed to do?  Do not
> follow the code at present
>
>
> ==John ffitch
>
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net