[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] SF.net SVN: supercollider:[8232] trunk/build/SCClassLibrary/Common
Revision: 8232
http://supercollider.svn.sourceforge.net/supercollider/?rev=8232&view=rev
Author: jrhb
Date: 2008-12-21 19:38:54 +0000 (Sun, 21 Dec 2008)
Log Message:
-----------
remove weird blank chars
Modified Paths:
--------------
trunk/build/SCClassLibrary/Common/Audio/Env.sc
trunk/build/SCClassLibrary/Common/Collections/Collection.sc
trunk/build/SCClassLibrary/Common/Collections/Event.sc
trunk/build/SCClassLibrary/Common/Control/Volume.sc
Modified: trunk/build/SCClassLibrary/Common/Audio/Env.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/Audio/Env.sc 2008-12-21 19:37:09 UTC (rev 8231)
+++ trunk/build/SCClassLibrary/Common/Audio/Env.sc 2008-12-21 19:38:54 UTC (rev 8232)
@@ -177,13 +177,13 @@
circle { arg timeFromLastToFirst = 0.0, curve = 'lin';
var first0Then1 = Latch.kr(1.0, Impulse.kr(0.0));
if(releaseNode.isNil) {
- levels = [0.0]\xCA++ levels ++ 0.0;
- curves = [curve]\xCA++ curves.asArray.wrapExtend(times.size) ++ 'lin';
+ levels = [0.0]++ levels ++ 0.0;
+ curves = [curve]++ curves.asArray.wrapExtend(times.size) ++ 'lin';
times = [first0Then1 * timeFromLastToFirst] ++ times ++ inf;
releaseNode = levels.size - 2;
} {
- levels = [0.0]\xCA++ levels;
- curves = [curve]\xCA++ curves.asArray.wrapExtend(times.size);
+ levels = [0.0]++ levels;
+ curves = [curve]++ curves.asArray.wrapExtend(times.size);
times = [first0Then1 * timeFromLastToFirst] ++ times;
releaseNode = releaseNode + 1;
};
Modified: trunk/build/SCClassLibrary/Common/Collections/Collection.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/Collections/Collection.sc 2008-12-21 19:37:09 UTC (rev 8231)
+++ trunk/build/SCClassLibrary/Common/Collections/Collection.sc 2008-12-21 19:38:54 UTC (rev 8232)
@@ -395,9 +395,9 @@
invert {arg axis;
var index;
// can be used to invert a pitch list about a given axis
- // \xCA[3, 2, 9, 7].invert(11) \xCAbecomes \xCA[ 19, 20, 13, 15 ]
- // \xCAif axis is nil, invert uses the registral center
- // \xCA[3, 2, 9, 7].invert \xCAbecomes \xCA[ 8, 9, 2, 4 ]
+ // [3, 2, 9, 7].invert(11) becomes [ 19, 20, 13, 15 ]
+ // if axis is nil, invert uses the registral center
+ // [3, 2, 9, 7].invert becomes [ 8, 9, 2, 4 ]
axis.notNil.if({index = axis * 2}, {index = this.minItem + this.maxItem});
^index - this;
}
Modified: trunk/build/SCClassLibrary/Common/Collections/Event.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/Collections/Event.sc 2008-12-21 19:37:09 UTC (rev 8231)
+++ trunk/build/SCClassLibrary/Common/Collections/Event.sc 2008-12-21 19:38:54 UTC (rev 8232)
@@ -246,9 +246,9 @@
// },
//
schedBundle: #{ |lag, offset, server ...bundle |
- thisThread.clock.sched ( offset, {\xCA
+ thisThread.clock.sched ( offset, {
if (lag !=0 ) {
- SystemClock.sched( lag, { server.sendBundle(server.latency, *bundle)\xCA })
+ SystemClock.sched( lag, { server.sendBundle(server.latency, *bundle) })
} {
server.sendBundle(server.latency, *bundle)
}
Modified: trunk/build/SCClassLibrary/Common/Control/Volume.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/Control/Volume.sc 2008-12-21 19:37:09 UTC (rev 8231)
+++ trunk/build/SCClassLibrary/Common/Control/Volume.sc 2008-12-21 19:38:54 UTC (rev 8232)
@@ -23,11 +23,11 @@
Volume {
- var startBus, numChans, <min, <max, server, persist, <ampSynth, <>window,\xCA<volume, spec;\xCA
+ var startBus, numChans, <min, <max, server, persist, <ampSynth, <>window,<volume, spec;
var <lag, sdname, gui, <isPlaying, <muteamp, cpFun, <isMuted=false, <isPrepping;
var <synthNumChans; // the actual number of channels, which might be set automatically
- *new {\xCA arg server, startBus = 0, numChans, min = -90, max = 6, persist = false;
+ *new { arg server, startBus = 0, numChans, min = -90, max = 6, persist = false;
^super.newCopyArgs(startBus, numChans, min, max, server, persist).initVolume;
}
@@ -206,7 +206,7 @@
.value_(model.volume) ;
slider = GUI.slider.new(window, Rect(10, 40, 60, 280))
.value_(spec.unmap(model.volume)) ;
- slider.action_({ arg item ;\xCA
+ slider.action_({ arg item ;
model.volume_(spec.map(item.value));
}) ;
box.action_({ arg item ;
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/