Lines Matching defs:pitch
28 float pitch;
102 /* Get the pitch of the stream. */
106 return stream->pitch;
109 /* Set the pitch of the stream. */
112 float pitch)
114 stream->pitch = pitch;
124 /* Set the playback rate of the stream. This scales pitch and speed at the same time. */
135 /* Get the vocal chord pitch setting. */
142 /* Set the vocal chord mode for pitch computation. Default is off. */
265 stream->pitch = 1.0f;
551 float speed = stream->speed/stream->pitch;
552 float rate = stream->rate*stream->pitch;
556 /* Add enough silence to flush both input and pitch buffers. */
570 /* Empty input and pitch buffers */
609 For now, just find the pitch of the first channel. */
649 /* At abrupt ends of voiced words, we can have pitch periods that are better
650 approximated by the previous pitch period estimate. Try to detect this case. */
678 /* Find the pitch period. This is a critical step, and we may have to try
797 /* Just move the new samples in the output buffer to the pitch buffer */
821 /* Remove processed samples from the pitch buffer. */
839 /* Change the pitch. The latency this introduces could be reduced by looking at
840 past samples to determine pitch, rather than future. */
845 float pitch = stream->pitch;
859 newPeriod = period/pitch;
864 if(pitch >= 1.0f) {
923 /* Leave at least one pitch sample in the buffer */
955 /* Skip over a pitch period, and copy period/speed samples to the output */
980 /* Insert a pitch period, and determine how much input to copy directly. */
1008 /* Resample as many pitch periods as we have buffered on the input. Return 0 if
1045 /* Resample as many pitch periods as we have buffered on the input. Return 0 if
1051 float speed = stream->speed/stream->pitch;
1055 rate *= stream->pitch;
1066 if(stream->pitch != 1.0f) {
1128 float pitch,
1138 sonicSetPitch(stream, pitch);
1155 float pitch,
1165 sonicSetPitch(stream, pitch);