[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] SF.net SVN: supercollider:[8283] trunk/build/SCClassLibrary/Common/Control/ Volume.sc



Revision: 8283
          http://supercollider.svn.sourceforge.net/supercollider/?rev=8283&view=rev
Author:   redFrik
Date:     2008-12-25 12:31:50 +0000 (Thu, 25 Dec 2008)

Log Message:
-----------
typo fix: clip should use min and max variables

Modified Paths:
--------------
    trunk/build/SCClassLibrary/Common/Control/Volume.sc

Modified: trunk/build/SCClassLibrary/Common/Control/Volume.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/Control/Volume.sc	2008-12-25 11:35:46 UTC (rev 8282)
+++ trunk/build/SCClassLibrary/Common/Control/Volume.sc	2008-12-25 12:31:50 UTC (rev 8283)
@@ -160,7 +160,7 @@
 				this.playVolume(isMuted);
 			})
 		});
-		volume = volume.clip(-90, 6);	
+		volume = volume.clip(min, max);
 		if(isMuted) { muteamp = volume };
 		if(isPlaying && isMuted.not) { ampSynth.set(\volumeAmp, volume.dbamp) };
 		this.changed(\amp, volume);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/