Change the pitch of a Sample object or a wav file.
a Sample object, or a string giving the name of a wav file.
a double giving the number of semitones to be pitched.
Pitching +12 semitones (+1 octave) means to double the frequencies. Negative values of
semitones are used to lower the frequencies.
Note that this transformation changes the actual data of the sample. Since pitching a sample is equivalent to playing it at a different speed, the length of the Sample object will also change.
a Sample object.
Future versions of this command may use a different algorithm to increase the quality of the returned sample.
1 2 3 4 5 6 7 8 9