Lines Matching refs:pitch
43 * <p> <strong>pitch:</strong> increases or decreases the tonal frequency of the audio content.
44 * It is expressed as a multiplicative factor, where normal pitch is 1.0f.
48 * <p> Different combinations of speed and pitch may be used for audio playback;
51 * <li> <em>Pitch equals 1.0f.</em> Speed change will be done with pitch preserved,
174 * Sets the pitch factor.
175 * @param pitch
177 * @throws InvalidArgumentException if the pitch is negative
179 public PlaybackParams setPitch(float pitch) {
180 if (pitch < 0.f) {
181 throw new IllegalArgumentException("pitch must not be negative");
183 mPitch = pitch;
189 * Retrieves the pitch factor.
190 * @return pitch
191 * @throws IllegalStateException if pitch is not set.
195 throw new IllegalStateException("pitch not set");