NewLigne({id {, t0{, t1{, ph {,sco}}}}})
defaults: id is "", t0 and t1 are 0, ph is '', sco is [0=0]
and there is no other field
Related topics: ligne
NewMarks()
defines and returns a new markset
Related topics: marks
Nil(...)
does nothing and returns nothing
Related topics: programming
NoDoubleQuotes(str)
Attempt to return a version of str (a piece of KeyKit code) with no
double quotes. This is done by looking for aliases in the StringAlias
array: for example, "lig[\"ph\"]" becomes "lig[PHs]"
if the full replacement do not succeed, return ""
Related topics: string programming
NoPlusInScore(sco)
returns sco with all "+", "^+...", "^-..." replaced by their numeric values
Important: if you want to process a fully valid csound score,
use SortScore() as it is much more powerful than this !
See:
SortScore
NoSymbolsInScore
NoPointInScore
NoRampsInScore
NoTempoInScore
Related topics: csound
NoPointInScore(sco)
returns sco with all "." replaced by their numeric values
Important: if you want to process a fully valid csound score,
use SortScore() as it is much more powerful than this !
See:
SortScore
NoSymbolsInScore
NoPlusInScore
NoRampsInScore
Related topics: csound
NoRampsInScore(sco)
returns sco with all ">", "<", "(" and ")" replaced by their numeric values
(the symbol "~" for random distribution is not supported)
Important: if you want to process a fully valid csound score,
use SortScore() as it is much more powerful than this !
See:
NoSymbolsInScore
NoPointInScore
NoPlusInScore
NoTempoInScore
Related topics: SortScore csound
NoSymbolsInScore(sco)
returns sco with all special symbols replaced by their numeric values
supported symbols are: . + ^+ ^- < > ( )
Note: when tempo ("t" statement) is implemented, it will also be taken into
account so that we always have seconds in p2
this is not done yet (check NoTempoInScore)
Important: if you want to process a fully valid csound score,
use SortScore() as it is much more powerful than this !
See:
SortScore
NoPointInScore
NoPlusInScore
NoRampsInScore
NoTempoInScore
Related topics: csound
NoTempoInScore(sco)
Returns a equivalent score with an implicit "t 0 60" tempo statement,
so that p2 and p3 fields are expressed in seconds.
WARNING: this version is seriously limited:
* it only handles 1-section scores
* it only handles 1-segment tempo statement: "t 0 x"
... feel free to complete it and contribute to GeoMaestro development !
Important: if you want to process a fully valid csound score,
use SortScore() as it is much more powerful than this !
See:
SortScore
NoSymbolsInScore
NoPointInScore
NoPlusInScore
NoRampsInScore
Related topics: csound
NonNon(s)
returns 1 if s is "no", "n", "non" and the like
useful to query the user through a pop-up window with getastr():
NonNon(getastr("Do you agree ?","n"))
See:
OuiOui
Related topics: programming
NormV(a {,b})
returns the unitary vector normal to segment ab
if b is not present, it is set to xy(0,0)
See:
UnV
Related topics: math vector angle
Null(...)
does nothing and returns 0
Related topics: programming
NumScore(sco)
changes sco format from "string" (standard) to "array" (numeric)
WARNING: the "array" format is only supported by specific functions. Scores should
not be left in this format; it is only to be used as an intermediary state
within complex calculations (because it is easier and faster to handle;
it also uses the system memory more cleanly)
Also note that a numeric score is striped from all comments and only contains
i-statements
See:
GetScoreFormat
WasNumScore
IsNumScore
Related topics: csound
OProj(a,b,v,p)
returns the projection of point p on (ab) along vector v
(a, b, v are points)
See:
TProj
SPiste
Related topics: point math
Odd(n)
tests weither n is an odd integer
See:
Even
Related topics: math
OnlyAutoM(markset)
return only the marks that where automatically created in markset
(their comment feature "(auto)" or "@")
Related topics: marks
OpenGUI(xypos)
opens a GeoMaestro main GUI at position xypos
Related topics: GUI programming
OrderNames(arr)
order the objects in array arr (as returned by DisplayedObjects() or PointsInXY())
according to their names.
See:
DisplayedObjects
Related topics: GUI object
OrderScore(sco)
arranges the lines of sco in chronological order
removes comments and empty lines; symbols "+",".",">" and "<" are handled
(before ordering) by an internal call to NoSymbolsInScore()
Important: if you want to process a fully valid csound score,
use SortScore() as it is much more powerful than this !
See:
SortScore
Related topics: csound