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


shuffle(ph)
This function takes a phrase, splits in in 2 halves (along time) and shuffles the result (ie. first a note from the first half, then a note from the second half, etc.). The timing of the original phrase is applied to the result.


spread(ph,num,rtime,rfactor)
Return phrase ph "spread" num times, with rtime delay between each iteration, and with the volume of each iteration decreased by rfactor. A "spread" is like an echo, except that notes are repeated in BOTH directions, forward and back.


status([str])
When called with no arguments, this function prints a list of all currently-running tasks. If a string argument is given, the list will only contain those tasks whose stacktrace (the output of taskinfo(tid,"trace")) contains that string.


strip(ph)
Strip off any leading and trailing rests from a phrase


sussect(time,channel)
Generate a phrase with controller messages that press the sustain pedal on the specified channel and let it up after the specified amount of time.


swapnote(ph)
Swap every two notes in the phrase ph.


syncphr(phrase)
This function returns a copy of the specified phrase, shifting the starting time so that it is as close as possible to 0 (but not less than 0). The amount by which the time is shifted must be a multiple of lng (which, if not specified, is the length of the Met. This is typically used when you want to play a phrase that has been taken from the middle of some other phrase. The goal is that the playback should still be synchronized to the current Met.


tonerow(p)
Better version of tonerow, works on all types of notes. Return a tone row of the notes in phrase p. Each note in the original phrase appears exactly once in the result, but in a random position. The original time/duration of the notes is retained.


tonerow_old(p)
Return a tone row of the notes in phrase p. Each note in the original phrase appears exactly once in the result, but in a random position. The original time/duration of the notes is retained.


transpose(phrase,amount)
Transposes the phrase by the specified amount.


ungrabmouse(w)
This is the complement to grabmouse(), releasing the mouse so that mouse events are distributed normally. The w (window) argument should be the same as that passed to grabmouse().


ungrabmousefifo(fifo)
This is the complement to grabmouse(), releasing the mouse so that mouse events are distributed normally. The fifo argument should be the fifo that was created and returned by grabmouse().


warrange(args)
This is used to let you interactively rearrange windows.


wconsole(window)
This tool is a console window, allowing interaction with the interactive command interpreter.


wdelete()
This utility lets you point to and delete an object.


wgroup()
Create a phrase group for multi-track editing.


wpack(args)
This is used to let you interactively pack windows.


wsmmgroup()
Create a phrase group for multi-track editing.


xystr(xyarray)
This function is used when you want to print(the value of an xyarray. It returns a string version of the specified xyarray. For example, xystr(xy(0,0,4,4)) would equal "0,0,4,4". It works for 2-element xyarrays (i.e. with subscripts "x" and "y") as well as 4-element xyarrays ("x0", "y0", "x1", "y1").



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