< previous page ][ next page > [ back] [ back to #library listing] |
rcpostboot
readkey(filename)
This function reads a phrase from the specified file, which is is expected to contain a phrase in KeyKit format, i.e. the same as a phrase constant in the KeyKit language.
readmf(filename)
Reads the specified Standard MIDI File and returns its contents as a single phrase (with all tracks merged).
readraw(filename)
repeat(phrase,num_times)
Repeat a phrase as many times as specified. The length attribute of the phrase determines the offset of the repetitions.
repfade(p,ntimes,inout)
Repeat the phrase the specified number of times, gradually fading it in or out (by including or excluding more notes on each repeat). If inout>0, it starts out including only a couple of notes, and ends by including the entire phrase - ie. a fade in. If inout is less than 0, it's a fade out.
repleng(phrase,length)
Repeat the specified phrase as many times as it takes to fill the specified length of time. The resultant phrase is truncated to the exact length, if it doesn't come out evenly.
resetall()
Returns a phrase containing controller messages that reset pitch bend, modulation, breath control, sustain, and channel pressure on all 16 channels to nominal values (i.e. 0, or in the case of pitch bend, 0x40).
reverse(ph)
Reverse the phrase in time, so the first notes come last, and the last notes come first.
revpitch(phrase)
Reverse the pitches of a phrase (e.g. the pitch of the first note will become the pitch of the last note). The timing is left intact.
round(f)
Returns the rounded integer value of f.
sc8850patch(channel,patchnum,variation)
Return the message that will set an sc8850/sc8820/scd-70 patch channel and patchnum are 1-based, variation is 0-based (to match
scadjust(melody,scale)
Adjust the notes in the melody phrase so that each note falls on the closest note in the scale phrase.
scadur(phrase,factor)
Scale the durations of a phrase by multiplying the duration of each note by a specified factor.
scaleng(phrase,length)
Scale the phrase to the specified length by expanding it length-wise, adjusting both the time and duration of the notes.
scalevertical
scatimes(phrase,factor)
Scale a phrase by multiplying the time and duration of each note by a specified factor.
scavol(phrase,factor)
Scale the volume of a phrase by multiplying the volume of each note by a specified factor.
seconds(secs)
Returns the number of clicks in a given number of seconds.
setdefaults()
This function sets various global default values.
< previous page ][ next page > [ back] [ back to #library listing] |