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

Re: [Sc-devel] [commit?] many patterns storeArgs



other classes in common have actual bugs that i found.



Index: Pdef.sc
===================================================================
--- Pdef.sc (revision 7335)
+++ Pdef.sc (working copy)
@@ -792,7 +792,7 @@
  *new { arg dict, which, repeats=inf, default;
  ^super.newCopyArgs(dict, which, repeats, default);
  }
-
+ storeArgs { ^[dict,which,repeats,default ] }
  embedInStream { arg inval;
  var keyStream, key;
  keyStream = which.asStream;
Index: Pxfade.sc
===================================================================
--- Pxfade.sc (revision 7335)
+++ Pxfade.sc (working copy)
@@ -28,6 +28,7 @@
  }
  }
  }
+ storeArgs { ^[ pattern, fadeTime, holdTime, tolerance ] }
 }
 
 PfadeOut : PfadeIn {
Index: Psym.sc
===================================================================
--- Psym.sc (revision 7335)
+++ Psym.sc (working copy)
@@ -4,6 +4,7 @@
  *new { arg pattern, dict;
  ^super.new(pattern).dict_(dict)
  }
+ storeArgs { ^[pattern,dict] }
 
  lookupClass { ^Pdef }
  lookUp { arg key;
@@ -53,7 +54,7 @@
  *new { arg pattern, dict, quant, dur, tolerance = 0.001;
  ^super.newCopyArgs(pattern, dict, quant, dur, tolerance)
  }
-
+ storeArgs { ^[ pattern, dict, quant, dur, tolerance ] }
  embedInStream { arg inval;
  var str, outval, pat, quantVal, quantStr, durVal, durStr;
  str = pattern.asStream;