Description:
Shifts the frequency of each note of <chord> by a frequency <dfreq> (positive or negative, but always in hertz).
The optional argument <unit> determines whether <chord> is entered in midicents, ('midic'), or in hertz ('freq'). If 'midic' is selected the values will be converted to frequencies inside the function and then the output is reconverted to midicents. If 'freq' is selected the entry, calculations and output are all in hertz.
If <chord> is a list of chords the optional argument <type> is used to determine whether the output will be a list of chords ('seq'), each one shifted by <dfreq> or a single chord combining the notes of all the shifted chords ('chord'). If <dfreq> is a list the same argument is used to choose between a list of chords shifted by each successive <dfreq> or a single chord combining the different distortions. If both <chord> and <dfreq> are lists the position 'seq' will return a list of chords containing each chord shifted by each frequency; the position 'chord' will return a list of chords containing each chord shifted by all the listed frequencies.
The optional argument <output> determines whether the original <chord> is included or excluded from the output list.
|