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


RotPiste(pst, c, dth)
return a piste obtained by rotating pst (piste) around c (point) by an angle dth (float)
See: RotP
Related topics: piste math


SAFEfileexists(fname, ...)
See: SAFEname
Related topics: string


SAFEfileisreadable(fname, ...)
See: SAFEname
Related topics: string


SAFEname(filename)
returns filename explicited in such a way that it is safe to handle it to the operating system (especially if it's Windows...) ex: on Windows, SAFEname("c:\test") is "c:\\test" the function also calls FName to expand the "registered portable paths" from SAFEname are built the following functions: SAFEopen(fname,...) SAFEfileexists(fname, ...) SAFEfileisreadable(fname, ...)
See: FName RegisterPortablePath
Related topics: string


SAFEopen(fname,...)
See: SAFEname
Related topics: string


SCgetallp(lsco)
returns all parameters in the line of score lsco as a single array ex: SCgetallp("i1 0 10 5000") returns [1=1,2=0,3=10,4=5000] WARNING: requires that all parameters are numeric; if comments are present, you will get dummy parameters with value 0 after the real ones
See: SCsetallp SCgetpn SCpn
Related topics: csound


SCgetpn(lsco, pn)
returns the value of the parameter number pn in the line of score lsco (type may be float or string, depending on the parameter value) ex: SCgetpn("i1 0 10 5000", 2) returns 0 SCgetpn("i1 + 10 5000", 2) returns "+" SCgetpn("; this is not a valid line") returns ";" SCgetpn("i1 0 10 5000", 8) returns "nope"
See: SCpn SCsetallp SCgetallp
Related topics: csound


SCi(lsco)
returns the instrument number of lsco, like SCgetpn(lsco, 1) and returns -1 if the line is not an instrument score line (empty line, comment line, table declaration, etc...) Related topics: csound


SCnump(lsco)
returns the number of parameters in the score line lsco and returns 0 if the line is not an instrument score line (empty line, comment line, table declaration, etc...) ex: SCnump("i1 0 10 5000 ; example") returns 4 Related topics: csound


SCp2Clicks(sco, t {, kflag})
add t, translated into seconds, to all p2 in sco (t is expressed in clicks) if p2 is not a number (e.g. "+"), it is not changed
See: SCpnAdd
Related topics: csound


SCpn(lsco, pn, val {, d})
gives the value val to the parameter number pn in the line of score lsco d may give the number of digits for a numeric value, otherwise CS_DIGITS is used ex: SCpn("i1 0 10 5000", 2, 10.756, 2) returns "i1 10.76 10 5000" SCpn("i1 0 10 5000", 2, "+") returns "i1 + 10 5000" note: requires that a parameter number pn or pn_1 already exists in lsco
See: SCpnAdd SCgetpn SCsetallp SCgetallp
Related topics: csound


SCpnAdd(lsco, pn, add {, d})
adds add to parameter pn in score line lsco, if such a parameter exists and is a number if d is present, it sets the precision (overriding CS_DIGITS)
See: SCpn
Related topics: csound


SCsetallp(p)
returns a line of score from the parameters value in p, with precision set by CS_DIGITS ex: SCsetallp([1=1,2=0,3=10,4=5000]) returns "i 1 0 10 5000" WARNING: requires that all parameters are numeric
See: SCgetallp SCgetpn SCpn NumScore
Related topics: csound


SFPiste(a, b, v, f, pst)
returns a piste pst2 such that each point M' in pst2 correspond to a point M in pst with the relationship M'-H = f*(M-H) where H is a the projection of M on (ab) along vector v (f is a float, a, b and v are points) if f is 1, pst2 is pst if f is -1, pst2 is SPiste(a, b, v, pst)
See: SPiste
Related topics: piste math


SOPiste(a, b, pst)
returns a piste pst2, symmetric of pst with respect to (ab) (a, b are points)
See: SPiste
Related topics: piste math


SPiste(a, b, v, pst)
returns a piste pst2 such that each point M' in pst2 correspond to a point M in pst with the relationship M'-H = H-M where H is a the projection of M on (ab) along vector v (a, b and v are points) if v is perpendicular to (ab), pst2 is SOPiste(a, b, pst)
See: SOPiste SFPiste
Related topics: piste math


SameArrays(arr, brr)
tests if arr is the same as brr (while arr==brr would test if arr IS brr) Related topics: array


SaveVAR(fname)
writes GVARS in file fname (extension is ".var")
See: LoadVAR MergeVAR
Related topics: GVARS


ScaLegato(ph, d)
scale phrase ph to length d and have it play legato (no silence between notes, neither overlapping of notes) the last note in ph keeps its initial duration
See: scalength


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



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