Lines Matching refs:pitch
44 * <p> <strong>pitch:</strong> increases or decreases the tonal frequency of the audio content.
45 * It is expressed as a multiplicative factor, where normal pitch is 1.0f.
49 * <p> Different combinations of speed and pitch may be used for audio playback;
52 * <li> <em>Pitch equals 1.0f.</em> Speed change will be done with pitch preserved,
177 * Sets the pitch factor.
178 * @param pitch
180 * @throws IllegalArgumentException if the pitch is negative.
182 public PlaybackParams setPitch(float pitch) {
183 if (pitch < 0.f) {
184 throw new IllegalArgumentException("pitch must not be negative");
186 mPitch = pitch;
192 * Retrieves the pitch factor.
193 * @return pitch
194 * @throws IllegalStateException if pitch is not set.
198 throw new IllegalStateException("pitch not set");