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


DelayScore(sco, t {,kflag })
adds t/seconds(1) to p2 for all lines in sco, and returns the resulting score if t<0, then all lines with a p2<0 are deleted. if kflag is 1, the operation is destructive for sco (default is 0) Warning: t is expressed in clicks ! Related topics: csound


DesactiveCanal(ch)
desactivates all events in GeoMaestro channel ch
See: ActiveCanal
Related topics: event


DesactiveRegion(reg)
desactivates all events in region reg
See: ActiveRegion
Related topics: event region


DesactiveTout()
deactivates all events in the Ev array
See: ActiveTout
Related topics: event


DisplayedCircles(regexp)
... see DisplayedObjects Related topics: GUI object


DisplayedObjects(obtype {, regexp {, selflag}})
returns an array containing all objects displayed in the GUI whose names contain regexp (a regular expression) and whose selection flag is selflag obtype must be either "points", "circles", "segments" or "pistes" if regexp is not given, all objects are returned if selflag is not given, the selection flag is not considered (this is the same as setting selflag = -1) this function is not intended to be used directly, since it is more convenient to call one of the following ones: DisplayedPoints({regexp}) SelectedPoints({regexp}) DisplayedCircles({regexp}) SelectedCircles({regexp}) DisplayedSegments({regexp}) SelectedSegments({regexp}) DisplayedPistes({regexp}) SelectedPistes({regexp}) in the returned array, the field 0 always contains the number of objects (so that DisplayedPoints() and SelectedPoints() actually return a piste) the objects are ordered according to the time of their creation in the GUI
See: OrderNames
Related topics: GUI object


DisplayedPistes(regexp)
... see DisplayedObjects Related topics: GUI object


DisplayedPoints(regexp)
... see DisplayedObjects Related topics: GUI object


DisplayedSegments(regexp)
... see DisplayedObjects Related topics: GUI object


Dist(a {,b})
returns the distance between points a and b if only one argument is given, it should be a segment, whose length will be returned Related topics: math point


Droite(t, A, B)
... to be used with ParaPiste ... defines a straight line, such that point A is reached a t=0 and point B is reached at t=1: -> x = (B["x"]-A["x"])*t+A["x"] -> y = (B["y"]-A["y"])*t+A["y"]
See: ParaPiste
Related topics: piste math


DroiteAB(wid, a, b)
draw an infinite line passing through point a and b (a and b coordinates are expressed in GeoMaestro units) !! --> wid must be a window inheriting wGMw methods
See: Droitew
Related topics: graphics GUI


Droitew(wid,sz)
draw in windows wid an infinite line passing through sz
See: xy xyd DroiteAB
Related topics: graphics


ELisp(str)
have its argument (a string) evaluated as Emacs Lisp code this require a TCP/IP connection between KeyKit and Emacs
See: launch_daemon_tcpip
Related topics: emacs system


EditWave(wav {,keep})
Opens the sound editor on wave file wav (uses the parameters WAVEEDITpath and WAVEEDIT2) if keep is 1, takes wav as is, otherwise gives it extension ".wav" Related topics: audio system


Ellipse(wid,sz)
performs wid.ellipse(sz) except under Linux, where it actually draws the ellipse with Cerclew (this is a workaround useful because of a bug in the Linux port of KeyKit)
See: Cerclew
Related topics: graphics


EmacsProcessScore(sco, func)
have Emacs process the score sco through the ELisp function func and return the processed score (func is a string) this is a wrapper used to hide all details of the implementation of the KeyKit/Emacs interface for exchanging scores (this should work out of the box for Windows and Linux systems) Related topics: system custom csound


EnvironEgal(x,y)
returns 1 if abs(x-y) < 0.001 Related topics: math programming


EvLabeled(label)
returns the first event labelled label, with extra fields "ch" and "n" allowing to find it in the Ev array Related topics: programming event


Eval(codestring {, str1, val1 {, str2, val2 {,..}}})
A enhanced version of eval() supporting multithreading: eval("T_a_b_f__[n=uniqnum()] = "+codestring) is performed and T_a_b_f__[n] is returned. The T_a_b_f__ array is then the only global variable used by Eval, and the uniqnum() calls make it possible to call several Eval at the same time without conflicts. Examples: coms = "1+1" a = Eval(coms) eval("T_ ="+coms) b = T_ ... we get a==b, but no use of T_ was necessary to calculate a Use FlushEvalSpace() to empty the T_a_b_f__ array (this is automatically performed by GeoMaestro GUIs as often as possible) Other arguments are couples strn/valn, for which each occurrence of strn (a string) in codestring will be replaced by valn (any value) before evaluation Example: a = Eval("cos(Q)+P", "P", 1, "Q", 3.14159) a is 0; note that no specific global variable was necessary: "P" and "Q" are only strings, not variables.
See: MEval FlushEvalSpace
Related topics: programming



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