Skip to content

Commit

Permalink
Merge pull request #3494 from patrickdupuis/3493
Browse files Browse the repository at this point in the history
Fix PSinGrain
  • Loading branch information
telephon committed Feb 6, 2018
2 parents 5df08ce + 4e91c2e commit f7018fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SCClassLibrary/Common/Audio/PSinGrain.sc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

PSinGrain : UGen {
*ar { arg freq = 440.0, dur = 0.2, amp = 1.0;
*ar { arg freq = 440.0, dur = 0.2, amp = 0.1;
^this.multiNew('audio', freq, dur, amp)
}
}
1 change: 1 addition & 0 deletions server/plugins/OscUGens.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1365,6 +1365,7 @@ void PSinGrain_next(PSinGrain *unit, int inNumSamples)
}
}
} while (remain>0);
unit->mCounter = counter;
unit->m_level = level;
unit->m_slope = slope;
unit->m_y1 = y1;
Expand Down

0 comments on commit f7018fa

Please sign in to comment.