Related topics: csound
PrintScore(var)
if var is a score, displays var at the console
otherwise displays var["score"] at the console
(so var can be a ligne, for example)
Related topics: csound
PrintTextAtPoint(p, text, col)
print text (a string) at point p (a GeoMaestro point) in the GUI, with color col
Related topics: GUI
ProjAgain(lig {, df})
recalculate phrase and score from the "proj" field of ligne lig, using
the df set of distortion functions if provided
returns an array with two fields: "ph" and "sco"
PseudoLegato(phrase, overlap {, range})
Extends the duration of each note to the start of the next note plus
overlap +/- range (in clicks)
Doesn't modify the duration of the last note.
Does this for every channel in the phase
See:
Legato
RBPiste(pA, pB, pO, dir, len {, dth})
returns a piste describing the trajectory of a ball in a billard table
(if dth is not 0, the trajectory is not realistic)
pA and pB are two points defining the table area
pO is the starting point
dir the initial direction (an angle from 0 to 2*Pi, alternatively a point)
len the minimal length of the piste
dth is an optional offset applied to the hitting angle before bouncing back
See:
CBPiste
Related topics: piste
RCoupeStr(str, arg2 {, keepf})
CoupeStr working backward, that is: from the end of the string
See:
CoupeStr
Related topics: string
RIS(str, str1, rep1 {, str2 {, rep2 {...]]])
replaces all occurences of strn in str with repn
(all arguments are strings)
ex:
RIS("abcdefgh","a","AA","e","aa")
returns
"AAbcdaafg"
Related topics: string
ReVAR({listvar})
restores for all variables in the string listvar their values as registered in GVARS
if no argument, restores values for all registered variables
See:
UpdateVAR
Related topics: GVARS
ReadNumScore(fname)
reads a Csound score in file fname
similar to ReadScore, only returns score in numeric format
See:
ReadScore
ReadSortedScore
Related topics: csound system
ReadScore(fname {, quickflag})
reads a Csound score in file fname
if quickflag is 1, the end-of-line characters "\r" and "\n" are NOT removed
(only use this if the score is intented to be immediately written back)
See:
WriteScore
ExScore
ReadSortedScore
ReadNumScore
Related topics: csound
ReadScoreHeader(fname {, quickflag})
reads the header part of a Csound score in file fname
(that is, the part preceding the first i-statement in the score)
if quickflag is 1, the end-of-line characters "\r" and "\n" are NOT removed
Related topics: csound
ReadSortedScore(fname)
reads a Csound score in file fname, after having Csound process
it (the score is read from "score.srt")
See:
ReadScore
ReadNumScore
Related topics: csound system
ReadSrtNumScore({fname})
read the sorted score file fname (default "score.srt") as a
numeric score
See:
ReadSrtScore
Related topics: csound
ReadSrtScore({fname})
read the sorted score file fname (default "score.srt") as a score
See:
ReadSrtNumScore
Related topics: csound
ReconLigne(liglis)
takes as argument an array such as produced by DeconLigne(), and returns
the corresponding ligne
See:
DeconLigne
Related topics: ligne
RegArraysOfType(type)
returns a arraylist of the global array parameters registered in RegArrParaFields
(that is, from the wParam tool) and whose "TYPE" is type
See:
DefParam
DefArrayParameter
RemoveArrayParameter
Related topics: custom
RegAudioFilters()
returns an array of parameterable Csound routines used by function
ApplyAudioFilters() to form a DSP chain processing a wave input.
this allows a (&) box to handle arbitrary processing of its
"audio" field, with the help of function AudioF
(format is not documented yet)
See:
ApplyAudioFilters
AudioF
Related topics: audio
RegGMFX()
return an array defining all csound effects to be available within the
Compositor as (x) boxes
each effect is actually an instrument coded in a specific csound
orchestra; the "orc" index contains the orchestra name (with no path)
all other indexes are the instrument numbers for registered effects.
an array is associated to each of those index, with the following
fields:
"x" a string appearing at the console, describing the effect
"ishct" a keyword providing a shortcut to replace the plain effect
number when importing a (x) box. this will also be the box
name by default.
"p4",
"p5",
... (optional) labels for the corresponding settable parameters.
"defp4",
"defp5",
... (optional, but if a "pi" is present then "defpi" is required)
default values for the settable parameters.
"scoh" score (in GeoMaestro format) calling the instrument/effect
usually there's only one line, but this is not required
the p2 field(s) must be replaced by $Start.
the p3 field(s) must be replaced with $Dur.
all settable pi parameters must be replaced with $pi.
"scot" (optional) score (in GeoMaestro format) defining all required
tables. each effect should use different table numbers !
"dec" (optional) the effect decay time (in seconds)
this may be either a float or a string. if a string, it will
be evaluated as KeyKit code after replacement of all "$pi."
with the parameters values: this make it possible to have the
decay time be a function of the parameters.
... see the default RegGMFX() and the corresponding GMFX.orc file if you
intend to add your own effects...
Related topics: csound custom