< previous page ][ next page > [back] [back to #library listing]


ScaleScoreBy(sco, lf {, kflag})
multiplies all p2 and p3 by lf if kflag is 1, performs on sco itself, otherwise on arraycopy(sco)
See: ScaleScoreP2
Related topics: csound


ScaleScoreP2(sco, d {, kflag})
scale score sco to length d (in clicks), by calling ScaleScoreP2By()
See: ScaleScoreP2By ScaleScore
Related topics: csound


ScaleScoreP2By(sco, lf {, kflag})
multiplies all p2 by lf if kflag is 1, performs on sco itself, otherwise on arraycopy(sco)
See: ScaleScore
Related topics: csound


ScaleToTempo(ph)
return a phrase musically identical to ph and based on the current tempo (all tempo notes from ph are removed, the notes being shifted and scaled for compensation) Note: after processing, ScaleToTempo() calls ShiftLSB() Note, again: ScaleToTempo() is called by several GeoMaestro inner I/O procedures; you can set the parameter DoNotScaleToTempo to 1 to kill it (it will then simply return ph)
See: ShiftLSB


ScoDFunction(fstr)
interprets its argument as a distortion function for CScore if it is a name, like "KeepScore", it returns the corresponding function KeepScore(), by simply calling efunction(fstr) if it is the body of a function declaration, like "{return(score_)}" it returns a function build from this body with the same arguments as a regular distortion function, plus extra slots: function ? (sco,ph,s,d,ch,tht,t,cloid,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10) { return(score_) } you can for example set: CScore[1] = "{return(ScoAmp(sco,d,4))}" for MIDI distortion functions, use DFunction
See: DFunction
Related topics: programming csound DF


Score(...)
return a score by assembling all of its arguments (strings) example: Score("i1 0 1 10","i5 0 2 15") --> [0=2,1="i1 0 1 10",2="i5 0 2 15"] Related topics: csound


ScoreF0(sco)
returns the maximum value for f0 statements in sco, expressed in seconds
See: ScoreLengthClicks ScoreLength ScoreF0Clicks SetScoreF0
Related topics: csound


ScoreF0Clicks(sco)
returns the maximum value for f0 statements in sco, expressed in clicks
See: ScoreLength ScoreLengthClicks ScoreF0 SetScoreF0
Related topics: csound


ScoreIn(var)
returns the score var["score"] if it exists, otherwise returns [0=0] (an empty score) Related topics: csound


ScoreIsSilent(sco)
Tests weither i-statements appears is score: returns 0 if there are notes (i-statements) returns 1 if there are no notes and no f0 statements else returns the longuest f0 statement
See: ScoreF0 SilentScore
Related topics: csound


ScoreLastI(sco, inum)
return the index of the last ligne in sco that is a i-statement for instrument inum returns 0 if no such i-statement appears in sco Related topics: csound


ScoreLatest(sco)
returns the maximum value for p2+abs(p3) in sco
See: ScoreLength
Related topics: csound


ScoreLength(score)
return the duration of score, similar to the .length attribute of a phrase, only expressed in seconds this is calculated according to the following rules: - if a "ls" field is present, length is its value - else if a "lc" field, length is its value converted from clicks - else if a f0 statement appear in sco, length is its length (if several f0, length is the maximum one) - else length is the maximum value for p2+abs(p3) in score a length may be negative, exactly as a phrase length can be.
See: ScoreLengthClicks ScoreF0 ScoreF0Clicks ScoreLatest
Related topics: csound


ScoreLengthClicks(sco)
returns ScoreLength(sco)*seconds(1)
See: ScoreLength ScoreF0 ScoreF0Clicks
Related topics: csound


ScoreMaxP(sco, pn {,inum})
returns the maximum value for parameter pn in sco if inum is not 0 (the default), only instrument inum is checked if there is no instance of pn in the score, "nope" is returned Related topics: csound


ScorePAdd(score, np, amount {,inum {, kflag}})
For each i-statement in score, add amount to p-field np. if inum is not 0 (the default), this only applies to instrument inum if kflg is present and 0, the operation is destructive. Otherwise score is preserved Related topics: csound


ScorePMul(score, np, amount {,inum {, kflag}})
For each i-statement in score, multiply p-field np by amount if inum is not 0 (the default), this only applies to instrument inum if kflg is present and 0, the operation is destructive. Otherwise score is preserved Related topics: csound


Seg(a,b) or Seg(x0,y0,x1,y1)
defines a segment from two points a,b or from 4 numbers, it which case it is an alias for xyd(x0,y0,x1,y1)
See: SegA SegB xyd
Related topics: segment


SegA(seg)
returns the first point of segment seg
See: SegB Seg
Related topics: segment


SegB(seg)
returns the last point of segment seg
See: SegA Seg
Related topics: segment



< previous page ][ next page > [back] [back to #library listing]