Skip to content

Commit

Permalink
remove debug posting
Browse files Browse the repository at this point in the history
  • Loading branch information
adcxyz committed Jun 10, 2024
1 parent fe60bc6 commit 833d0ba
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions SCClassLibrary/Common/Control/Volume.sc
Original file line number Diff line number Diff line change
Expand Up @@ -56,29 +56,22 @@ Volume {
var invol, inlag, ingate, inbus;
#invol, inlag, ingate, inbus = msg.drop(3);

// server.post; msg.round(0.001).postcs;

invol = invol.ampdb;
if (invol.equalWithPrecision(volume).not) {
"sync vol: ".postln;
volume = invol;
this.changed(\amp, volume);
};
if (inlag.equalWithPrecision(lag).not) {
"sync lag:".postln;
lag = inlag;
};
if (ingate <= 0.0) {
"ampSynth ended".postln;
ampSynthRunning = false;
msg.round(0.001).postcs;
volume = invol;
this.changed(\amp, volume);
} {
ampSynthRunning = true;
};
if (inbus != startBus) {
"*** startBus changed!".postln;
startBus = inbus;
};

Expand Down Expand Up @@ -126,8 +119,6 @@ Volume {
var amp = if(isMuted.not) { volume.dbamp } { 0.0 };
var active = amp != 1.0;

thisMethod.postln;

if(active) {
if(server.hasBooted) {
if(ampSynthRunning.not) {
Expand Down

0 comments on commit 833d0ba

Please sign in to comment.