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


nsimul(ph)
Return the maximum number of simultaneously-sounding notes in a phrase.


numquant(number,quantize)
This function quantizes the specified number using the specified quantize value, and returns the result. The result may be less than the original number. If you want to guarantee that the result is not less than the original (which is typical when you are quantizing a time value and want to guarantee that the result is some time in the future), use nextquant().
See: nextquant


onlynotes(ph)
Return only the regular notes (non-controller, non-sysex, etc) of ph.


ornament(ph,orn,doscaleng)
Apply phrase orn to each note of phrase ph - i.e. each note of phrase ph will be turned into a copy of phrase orn. If doscaleng is non-zero, then the copy will be scaled to the duration of the notes in phrase orn. If doscaleng is zero, the copy will have the original timing.


outport(port)
Opena a MIDI output port


pathescape(s)
Takes a file pathname, and returns a version of the string that can be safely printed to a file and re-read.


picknote(phrase, n)
Returns n random notes from the specified phrase. If n is omitted, a single random note is returned.


pickphr(phrase1,phrase2,phrase3...)
Randomly chooses and returns one of its argument phrases.


pitchlimit(p,p1,p2)
Adjust the pitches of notes in phrase p so that they fall between p1 and p2, by shifting the notes in octave increments.


preecho(ph,num,rtime,factor)
Return phrase ph with each note preceeded by 'pre' echoes. num is the number of echoes, rtime is the time between them, and rfactor is the volume factor (between 0.0 and 1.0) If not provided, rtime and rfactor default to 1b and 0.9


prevquant(number,quantize)
This function quantizes the specified number using the specified quantize value, and returns a result that is equal to or less than the original number.


progchange(patchnum,ch)
Return a program change message, where patchnum is the patch number (1-based), and ch is the channel (1-based).


quantize(phrase,quant [,limit] )
Quantize a phrase. Each note's starting time will be quantized by the specified quant value. If a limit is specified, notes that would need to be moved by an amount larger than this limit will not be adjusted at all.


quantizedur(ph,qnt)
Quantize the duration of all notes in ph.


quantizefirst(ph,qnt)
Quantize the first note of ph, and shift the rest of the phrase by the same amount.


randdur(phrase,range)
Returns the phrase with the duration of its notes randomly varied within the specified range. For example, if the range value is 2, the note durations will be adjusted by values ranging from +2 to -2.


randpitch(phrase,range)
Returns the phrase with the pitch of its notes randomly varied within the specified range. For example, if the range value is 2, the note pitches will be adjusted by values ranging from +2 to -2.


randvol(phrase,range)
Returns the phrase with the velocity of its notes randomly varied within the specified range. For example, if the range value is 2, the note velocities will be adjusted by values ranging from +2 to -2.


rcdefaults()
This sets any default values for which it is intended that they can be overridden by postrc().


rcdefaults_mdep
Machine-dependent rcdefault things



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