Lines Matching defs:pitch

24     private float pitch;
109 // Get the pitch of the stream.
112 return pitch;
115 // Set the pitch of the stream.
117 float pitch)
119 this.pitch = pitch;
128 // Set the playback rate of the stream. This scales pitch and speed at the same time.
137 // Get the vocal chord pitch setting.
143 // Set the vocal chord mode for pitch computation. Default is off.
205 pitch = 1.0f;
460 float s = speed/pitch;
461 float r = rate*pitch;
464 // Add enough silence to flush both input and pitch buffers.
475 // Empty input and pitch buffers.
511 // For now, just find the pitch of the first channel. Note that retMinDiff and
549 // At abrupt ends of voiced words, we can have pitch periods that are better
550 // approximated by the previous pitch period estimate. Try to detect this case.
577 // Find the pitch period. This is a critical step, and we may have to try
687 // Just move the new samples in the output buffer to the pitch buffer
702 // Remove processed samples from the pitch buffer.
713 // Change the pitch. The latency this introduces could be reduced by looking at
714 // past samples to determine pitch, rather than future.
727 newPeriod = (int)(period/pitch);
729 if(pitch >= 1.0f) {
779 // Leave at least one pitch sample in the buffer
804 // Skip over a pitch period, and copy period/speed samples to the output
826 // Insert a pitch period, and determine how much input to copy directly.
849 // Resample as many pitch periods as we have buffered on the input. Return 0 if
878 // Resample as many pitch periods as we have buffered on the input. Scale the output by the volume.
882 float s = speed/pitch;
886 r *= pitch;
895 if(pitch != 1.0f) {
950 float pitch,
960 stream.setPitch(pitch);
976 float pitch,
986 stream.setPitch(pitch);