SF.net SVN: supercollider: [7644] trunk/build/SCClassLibrary/crucial/Instr/ instrSupport.sc

View: New views
1 Messages — Rating Filter:   Alert me  

SF.net SVN: supercollider: [7644] trunk/build/SCClassLibrary/crucial/Instr/ instrSupport.sc

by cruxxial :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Revision: 7644
          http://svn.sourceforge.net/supercollider/?rev=7644&view=rev
Author:   cruxxial
Date:     2008-06-30 03:46:16 -0700 (Mon, 30 Jun 2008)

Log Message:
-----------
relaxing spec determination so that it only prints a warning if it can't figure the spec.  list patterns are unable to determine spec right now since number doesn't return a spec

Modified Paths:
--------------
    trunk/build/SCClassLibrary/crucial/Instr/instrSupport.sc

Modified: trunk/build/SCClassLibrary/crucial/Instr/instrSupport.sc
===================================================================
--- trunk/build/SCClassLibrary/crucial/Instr/instrSupport.sc 2008-06-30 08:16:32 UTC (rev 7643)
+++ trunk/build/SCClassLibrary/crucial/Instr/instrSupport.sc 2008-06-30 10:46:16 UTC (rev 7644)
@@ -156,9 +156,11 @@
  ^StreamSpec(StaticSpec(list.minItem,list.maxItem))
  });
  });
- ("unable to determine spec" + this.asCompileString).die;
+ ("unable to determine spec of" + this.asCompileString).warn;
+ ^nil
  }
 }
+
 + Pfsm {
  spec {
  ^thisMethod.notYetImplemented
@@ -201,18 +203,18 @@
 }
 + KrNumberEditor {
  addToDefName { arg stream;
- ^1
+ ^\kr
  }
 }
 + IrNumberEditor {
  addToDefName { arg stream;
- ^0
+ ^\ir
  }
 }
 + SimpleNumber {
  addToDefName { arg stream;
  stream << this.asFileSafeString;
- ^2
+ ^\obj
  }
 }
 + BufferProxy {
@@ -227,10 +229,10 @@
 + Sample {
  addToDefName { arg stream;
  // beatsizek
- var sum;
- sum = numChannels - 1; // assumes no quad samples
- if(beatsizek.notNil,{ sum = sum + 2 });
- stream << sum;
+ //var sum;
+ //sum = numChannels - 1; // assumes no quad samples
+ //if(beatsizek.notNil,{ sum = sum + 2 });
+ //stream << sum;
  ^2
  }
  spec {
@@ -247,7 +249,7 @@
 // the big one, espec. Env
 + Object {
  addToDefName { arg stream;
- stream << this.asCompileString.hash.asFileSafeString;
+ stream << this.asCompileString;//.hash.asFileSafeString;
  ^2
  }
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
_______________________________________________
sc-dev mailing list
sc-dev@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-dev