reset oscillator phase at start of each test cycle so that the onsets sound the same
This commit is contained in:
parent
3cc8ec291c
commit
a5c6383fb7
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ int main(void)
|
||||||
|
|
||||||
for( i=0; i<NUM_LOOPS; i++ )
|
for( i=0; i<NUM_LOOPS; i++ )
|
||||||
{
|
{
|
||||||
|
data.left_phase = data.right_phase = 0;
|
||||||
|
|
||||||
err = Pa_StartStream( stream );
|
err = Pa_StartStream( stream );
|
||||||
if( err != paNoError ) goto error;
|
if( err != paNoError ) goto error;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue