From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #313 Reply-To: sc-users Sender: owner-sc-users-digest@lists.io.com Errors-To: owner-sc-users-digest@lists.io.com Precedence: bulk sc-users-digest Friday, June 29 2001 Volume 01 : Number 313 ---------------------------------------------------------------------- Date: Thu, 28 Jun 2001 20:02:05 +0000 From: Jem Finer <---@---.---> Subject: Re: big time and changing colors > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. - --MS_Mac_OE_3076603326_539381_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Why not try it in SC3 - I did a similar thing to conduct an orchestra of guitars - don't know if the patch still works - it was for an earlier vsn than the current one but a bit of fiddling around should do the trick and then maybe you can modify it for your purposes. I think mine flashes at random times. Jem > Hi! > > i'll try that, thanks newton! > > i'm trying to build a patch that will show coloured cards every 30 > seconds or so . it will "conduct" an orchestra of > 12 turntables with matching LP colour labels. > i was wondering if GUI window with 4 large buttons can change the > colour of that buttons while being shown all the time. > question: what are the arguments for "ButtonView"? i can't find it > in help file ? > > thank you > > newton armstrong wrote: > >> t. krakowiak wrote: >> >>> Also, can GUI window cahnge it's color at random while being on? >> >> is this what you mean? >> >> ( >> var w; >> >> w = GUIWindow.new("panel", Rect.newBy(208, 130, 400, 400)); >> >> { arg synth; >> >> synth.repeat(1, 0.2, >> { w.backColor_(Color(255.rand,255.rand,255.rand)) }; >> ); >> >> Plug.kr(0) >> >> }.play; >> >> w.close >> ) > > - --MS_Mac_OE_3076603326_539381_MIME_Part Content-type: multipart/appledouble; boundary="MS_Mac_OE_3076603322_555942_MIME_Part" - --MS_Mac_OE_3076603322_555942_MIME_Part Content-type: application/applefile; name="flasher SC3" Content-transfer-encoding: base64 Content-disposition: attachment AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAJAAAAPgAAACAAAAADAAAAXgAAAAsAAAAC AAAAaQAADURURVhUU0NqbQEM/////wAAAAAAAAAA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AAwAAA AAPNAAsACQAEAAAACQAAAAAAAAAAA9oACwAJAAQAAAAJAAAAAMAAAAAD3gALAAkABAAAAAkA AAAAAAAAAAPjAAsACQAEAAAACQAAAADAAAAAA+YACwAJAAQAAAAJAAAAAAAAAAAD8gALAAkA BAAAAAkAAAAAwAAAAAP3AAsACQAEAAAACQAAAAAAAAAABAkACwAJAAQAAAAJAAAAAMAAAAAE DQALAAkABAAAAAkAAAAAAAAAAARjAAsACQAEAAAACQAAAADAAAAABGcACwAJAAQAAAAJAAAA AAAAAAAEbAALAAkABAAAAAkAAAAAwAAAAARvAAsACQAEAAAACQAAAAAAAAAABHgACwAJAAQA AAAJAABwAAAAAAAEfQALAAkABAAAAAkAAAAAAAAAAASKAAsACQAEAAAACQAAAADAAAAABI8A CwAJAAQAAAAJAAAAAAAAAAAEngALAAkABAAAAAkAAAAAwAAAAASiAAsACQAEAAAACQAAAAAA AAAABKcACwAJAAQAAAAJAAAAAMAAAAAEqgALAAkABAAAAAkAAAAAAAAAAAS2AAsACQAEAAAA CQAAAADAAAAABLsACwAJAAQAAAAJAAAAAAAAAAAE0QALAAkABAAAAAkAAAAAwAAAAATVAAsA CQAEAAAACQAAAAAAAAAABREACwAJAAQAAAAJAAAAAMAAAAAFFAALAAkABAAAAAkAAAAAAAAA AAVCAAsACQAEAAAACcAAAAAAAAAABXkACwAJAAQAAAAJAAAAAAAAAAAFfQALAAkABAAAAAkA AAAAwAAAAAWGAAsACQAEAAAACQAAAAAAAAAABYsACwAJAAQAAAAJYABgAGAAAAAFlwALAAkA BAAAAAkAAAAAAAAAAAWZAAsACQAEAAAACQAAAADAAAAABZ0ACwAJAAQAAAAJAAAAAAAAAAAF 7AALAAkABAAAAAkAAAAAwAAAAAXwAAsACQAEAAAACQAAAAAAAAAABfUACwAJAAQAAAAJAAAA AMAAAAAF+AALAAkABAAAAAkAAAAAAAAAAAYBAAsACQAEAAAACQAAcAAAAAAABgYACwAJAAQA AAAJAAAAAAAAAAAGEwALAAkABA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AAAAAAIBQALAAkABAAAAAkA AAAAwAAAAAgIAAsACQAEAAAACQAAAAAAAAAAAAAAAAEAAAAM/gAAC/4AAABGEcvM+AA6AAAA HABGAAFzdHlsAAAAElNPVVAAAAAeAID//wAAAAAAAAAAAID//wAAC/oAAAAA - --MS_Mac_OE_3076603322_555942_MIME_Part Content-type: text/plain; name="flasher SC3"; x-mac-creator="53436A6D"; x-mac-type="54455854" Content-disposition: attachment Content-transfer-encoding: base64 KA0vLyBmYXN0IGZ1bGwgc2NyZWVuIGZsYXNoZXMNeCA9IEdVSVNjcmVlbi5uZXcoIkdVSSB0 ZXN0IDIiLCBSZWN0Lm5ld0J5KDgwLDgwLDQwMCwyMDApKTsNDXgucmVmcmVzaDsNeC5mdWxs U2NyZWVuKDY0MCw0ODApOw1mID0ge3gudmlldyA9IFZpZXcubmV3KFBlbihhY3Rpb246IFxm aWxsLCBmb3JlQ29sb3I6IENvbG9yLmJsdWUpLCANICAgICBWaWV3Lm5ldyhQZW4oZm9yZUNv bG9yOiBDb2xvci5uZXcoMjU1LnJhbmQsMjU1LnJhbmQsMjU1LnJhbmQpKSwgWyBSZWN0Lm5l d0J5KDAsMCw2NDAsNDgwKSBdKSk7DSAgICAgeC5yZWZyZXNoDSAgICB9Ow0JDXguc2NoZWQo MCxpbmYse2YudmFsdWU7IDAuMX0pDSkNDQ0NDSgNLy9mdWxsIHNjcmVlbiBmbGFzaGVzIC0g cmFuZG9tIGludGVydmFsDXggPSBHVUlTY3JlZW4ubmV3KCJHVUkgdGVzdCAyIiwgUmVjdC5u ZXdCeSg4MCw4MCw0MDAsMjAwKSk7DXIgPSAxOw14LnJlZnJlc2g7DXguZnVsbFNjcmVlbig2 NDAsNDgwKTsNZiA9IHt4LnZpZXcgPSBWaWV3Lm5ldyhQZW4oYWN0aW9uOiBcZmlsbCwgZm9y ZUNvbG9yOiBDb2xvci5ibHVlKSwgDSAgICAgVmlldy5uZXcoUGVuKGZvcmVDb2xvcjogQ29s b3IubmV3KDI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MIME_Part-- ------------------------------ Date: Thu, 28 Jun 2001 21:07:40 +0100 From: "fabrice mogini" <---@---.---> Subject: Re: using .scope with color(s) - ---------- >From: julisn <---@---.---> >To: sc-users@lists.io.com >Subject: Re: using .scope with color(s) >Date: Thu, Jun 28, 2001, 3:02 pm > > you could constantly poll the frequency using a thisSynth.repeat(...) or > a Sequencer > and then under the condition of your choice, set the backcolor to > whatever tone. > > > fabrice mogini wrote: > >> Is it possible to use .scope with color(s)? >> Is it possible to write a funtion that links >> colortone to some argument like freq? >> eg: if(freq.cpsmidi > 60, {color = blue}, {color = red}); >> >> It could be useful in a live situation... >> Any idea? >> >> Fabrice >> end > Thanks a lot for your answer! I managed to link midinotes to colors on a GUIWindow, even though my way of adapting midinote values to fit into the range for colour values (from o to 255) is innapropriate. Mapping a rage of values to another one is always a problem to me maybe I should do more maths? Anyway this example works fine (even if it is crude). ( Synth.play({ var sound; w = GUIWindow.new("panel", Rect.newBy(7,40, 785, 555)); sound = Spawn.ar({arg spawn, i, synth; var freq, amp, duration, colvalue; w.backColor_(Color(255.rand,255.rand,255.rand)); freq = 25.rand+61; amp = 0.6.rand+0.4; spawn.nextTime = [0.9,0.9,1.6,1.2].choose; duration = spawn.nextTime; // attempt to map midinotes to color values: 255/25 = 10.2 // colvalue = ((freq-60)*10.2)-10.2; w.backColor_(Color(colvalue-10.2,freq*25.rand,freq*25.rand)); // we could use amp and duration in the same manner: w.backColor_(Color(amp,freq,duration))// Pan2.ar( SinOsc.ar( freq.midicps,0,EnvGen.kr(Env.linen(0.1,duration-0.2,0.2,0.1),amp) ), 1.0.rand2) },2); 7.do({ sound = AllpassL.ar(sound, 0.04, [0.04.rand,0.04.rand], 5) }); sound; });GUIWindow.closeAll ) From this example come two questions: _my first idea was to colour the actual soundwave that is displayed when using the Synth.scope message. I have tried but i don't know if it is synth that should receive .backcolor or some other part of the code. Is it possible to do so or is it totally unrealistic? _How could we get gradual colour changes as the frequency goes up white/yellow/orange/red/etc...? I don't want to decide beforehand on a particular colour combination for each frequency as I might use a large range of frequencies (from 24 to 127 in midinotes) so I need to know the relationship between colour value, and actual colour changes... Cheers Fabrice. ------------------------------ Date: Fri, 29 Jun 2001 08:52:33 +1000 From: newton armstrong <---@---.---> Subject: Re: big time and changing colors tk wrote: > i'm trying to build a patch that will show coloured cards every 30 > seconds or so . it will "conduct" an orchestra of > 12 turntables with matching LP colour labels. > i was wondering if GUI window with 4 large buttons can change the > colour of that buttons while being shown all the time. > question: what are the arguments for "ButtonView"? i can't find it > in help file ? ButtonView inherits the backColor_ method from its superclass View. It can be set in the same way as it was for GUIWindow in that previous example: ( var w, numButtons, interval; numButtons = 4; interval = 1; // update views at this interval (seconds) w = GUIWindow("", Rect.newBy(100, 90, 10+(numButtons*100), 120)); numButtons.do({ arg i; ButtonView( w, Rect.newBy(10+(i*100), 20, 90, 80), (i+1).asString) }); { arg synth; synth.repeat(0, interval, { numButtons.do({ arg i; w.at(i).backColor_(Color(256.rand,256.rand,256.rand)) }) }; ); Plug.kr(0) }.play; w.close ) ------------------------------ Date: Thu, 28 Jun 2001 16:58:20 -0700 (PDT) From: Chad Kirby <---@---.---> Subject: Switch I don't like big long nested if statements, and it occurred to me this afternoon that something like the following "Switch" class might be useful. It isn't exactly a Switch statement like in C and other languages, but it does avoid nested ifs, which was my primary goal. What you think? // Begin Switch.sc Switch { // by Chad Kirby *new { arg test ... cases; var x; // cases looks like: [[{},{}],[{},{}]...] x = cases.detect({ arg case, i; var r; // if case@0 is a function, r will be the result // of evaluating the fn, otherwise r gets case@0 r = case.at(0).valueArray( test ); // r will either be a value we can compare with // test, or it will be the Boolean result of // evaluating a function (r == test) or: {r.isKindOf(Boolean).if({r},{false})} }); // if detect found a match, evaluate the fn and return // true ^x.notNil.if({x.at(1).valueArray( test ); true},{false}) } } Case { *new { arg ... args; ^args } } // End Switch.sc // Examples x = 3; Switch( x, Case( 1, {"Case 1".postcln} ), Case( 2, {"Case 2".postcln} ), Case( 3, {"Case 3".postcln} ), Case( true, {"no match".postcln} ) ) // Case 3 x = 3.7; Switch( x, Case( 1, {"Case 1".postcln} ), Case( 2, {"Case 2".postcln} ), Case( {arg x; (x>=3) && (x<=4)}, {"Case 3".postcln} ), Case( true, {"no match".postcln} ) ) // Case 3 // Case objects are just arrays: x = 1; Switch( x, [1,{"Case 1".postcln}], [2,{"Case 2".postcln}], [3,{"Case 3".postcln}], [true,{"no match".postcln}] ) // Case 1 Switch( [ 1, 2, 3 ], Case( {arg x, y, z; (x + z) == y}, {"Case 1".postcln} ), Case( {arg x, y, z; (x + y) == z}, {"Case 2".postcln} ), Case( {arg x, y, z; (x - z) == y}, {"Case 3".postcln} ) ) // Case 2 // Example useage from the keyDownAction function from SFPlay Switch( nil, [Switch( asciiChar.toLower, Case( $ , {c.at( \play ).doAction}), // Case( $w, {c.at( \write ).doAction}), // Case( $n, {c.at( \new ).doAction}), // Case( $f, {c.at( \find_peak ).doAction}), // Case( $m, {c.at( \vu ).toggle; c.at( \vu ).doAction}), // Case( $v, {c.at( \reverb ).toggle; c.at( \reverb).doAction}), Case( $c, {c.at( \compressor ).toggle; c.at( \compressor).doAction}) // c toggles Compressor ),nil], // if the first switch matches a case, it will return true, so the // following Switches won't run, if it doesn't match, fall thru to the // next one [Switch( keyCode, Case( 124, {c.at(\secs).value_(c.at(\secs).value + 1); c.at(\secs).doAction}), // Right arrow == forward 1 second Case( 125, {c.at(\ampdb).value_(c.at(\ampdb).value - 1); c.at(\ampdb).doAction}), // Down arrow == softer Case( 126, {c.at(\ampdb).value_(c.at(\ampdb).value + 1); c.at(\ampdb).doAction}) // Up arrow == Louder ),nil], [Switch( [keyCode, modifiers], Case( [14,16], {c.at( \range ).range_(c.at(\slider).value - c.at(\range).value ); }), // ctrl + e : set end Case( [1,16], {x = c.at( \range ); y = x.highValue; z = c.at(\slider).value; x.value_(z); x.range_( y - z ) }), // ctrl + s : set Case( [0,16], {c.at( \range ).value_(0); c.at( \range ) .range_(sf.numFrames/sf.sampleRate); }), // ctrl + a select all Case( [123,8], {c.at(\rewind).doAction} ), // Case({arg k, m; (k == 123)}, {c.at(\secs).value_(c.at(\secs).value - 1); c.at(\secs).doAction}) // ),nil] ) Chad Kirby // Technical Coordinator for Digital Arts // CARTAH ckirby@u.washington.edu // 206.295.3592 ________ *Boffin:* A Puffin, a bird with a mournful cry, got crossed with a Baffin, a mercifully obsolete Fleet Air Arm aircraft. Their offspring was a Boffin, a bird of astonishingly queer appearance, bursting with weird and sometimes inopportune ideas, but possessed of staggering inventiveness, analytical powers and persistence. Its ideas, like its eggs, were conical and unbreakable. You push the unwanted ones away, and they just roll back. George Philip Chamberlain ------------------------------ Date: Thu, 28 Jun 2001 20:12:51 -0700 From: "tomonori yamasaki" <---@---.---> Subject: overriding mouseDown Question about GUI. According to the "what's new": //mouseDown - respond to a mouse click and return a mouse tracker or nil. //mouseOver - do something if the mouse is over the object. //The class Object defines the above methods for all objects. //By default an object draws itself as a string, and does nothing in response to the mouse. //By overriding this behaviour it is possible to make any object a graphical object. So, how exactly can I add new behavior for mouseDown, say a Button, or Rect? ------------------------------ Date: Fri, 29 Jun 2001 09:37:54 +0200 From: Julian Rohrhuber <---@---.---> Subject: Re: using .scope with color(s) > >on a GUIWindow, even though my way of adapting midinote values to fit into >the range for colour values (from o to 255) is innapropriate. >Mapping a rage of values to another one is always a problem to me >maybe I should do more maths? it is quite easy. x = (a - oldmin) * ((newmax - newmin)/(oldmax/oldmin)) + newmin > >From this example come two questions: > >_my first idea was to colour the actual soundwave that is displayed >when using the Synth.scope message. >I have tried but i don't know if it is synth that should receive .backcolor >or some other part of the code. >Is it possible to do so or is it totally unrealistic? I have the strong feeling you should start to get into SC3... > >_How could we get gradual colour changes as the frequency goes up >white/yellow/orange/red/etc...? http://swiki.hfbk.uni-hamburg.de:8080/MusicTechnology/129 >I don't want to decide beforehand on a particular colour combination for >each frequency as I might use a large range >of frequencies (from 24 to 127 in midinotes) so I need >to know the relationship between colour value, and actual colour changes... in my Ant/Turtle classes there is also a hsv color scheme by Klaus Kessner, you could use that, too. ------------------------------ Date: Fri, 29 Jun 2001 09:45:19 +0200 From: Julian Rohrhuber <---@---.---> Subject: Re: Switch >I don't like big long nested if statements, and it occurred to me this >afternoon that something like the following "Switch" class might be >useful. It isn't exactly a Switch statement like in C and other languages, >but it does avoid nested ifs, which was my primary goal. What you think? nice. an alternative was: (..reposted) So, here's a simple Switch class. Note, unlike switch in other languages, this class does not fall through by default. You have to call fallThrough to get that behavior. On the other hand, you don't have to call "break" to stop fall through. ------ Switch.sc ---------- /* Emulates a switch statement */ Switch { var Subject: Re: overriding mouseDown >Question about GUI. According to the "what's new": >//mouseDown - respond to a mouse click and return a mouse tracker or nil. >//mouseOver - do something if the mouse is over the object. >//The class Object defines the above methods for all objects. >//By default an object draws itself as a string, and does nothing in >response to the mouse. >//By overriding this behaviour it is possible to make any object a graphical >object. > >So, how exactly can I add new behavior for mouseDown, say a Button, or Rect? you just subclass the desired class and override , say mouseDown. what is being passed in as argument is 'where' (a Point) and 'event' some kind of GUIEvent (which allows to use things like cmd-click, or if one wants to design tools). you could check out http://swiki.hfbk.uni-hamburg.de:8080/MusicTechnology/276, there are some simple examples of what you want. ------------------------------ Date: Fri, 29 Jun 2001 01:20:38 -0700 From: "tomonori yamasaki" <---@---.---> Subject: Re: overriding mouseDown hmm, can I do it not as a class? At this point I just need to "drag" objects like rect, oval or lines. So, like Mouse's .action of SC2 or position from top left corner, NOT as MouseX stuff, which gives 0.0->1.0 relative to monitor. I know the "where" guy has it but I couldn't find a way to get it raw from GUI classes. Are there some stuff that I can't do without creating a class? I thought I can do anything on the "ground level" not underground, especially in version 3. Writing class is fine easy but if I think of distributing class, or patch that uses the class it'll be mess like "hey i can't compile." (maybe making compressed lib is the right way for destribution, to hide the source hehe, but the size gets too big compare to Max's Collection/standalone destribution way...) I'm making/would like to make things like a complete sound editor/recorder in SC3, Envelope editor, LPC analyzer, etc tools so I don't need to start Peak, Cecilia, or calcurating on paper. - ---------- >From: Julian Rohrhuber <---@---.---> >To: sc-users@lists.io.com >Subject: Re: overriding mouseDown >Date: Fri, Jun 29, 2001, 12:49 AM > >>Question about GUI. According to the "what's new": >>//mouseDown - respond to a mouse click and return a mouse tracker or nil. >>//mouseOver - do something if the mouse is over the object. >>//The class Object defines the above methods for all objects. >>//By default an object draws itself as a string, and does nothing in >>response to the mouse. >>//By overriding this behaviour it is possible to make any object a graphical >>object. >> >>So, how exactly can I add new behavior for mouseDown, say a Button, or Rect? > > you just subclass the desired class and override , say mouseDown. > what is being passed in as argument is 'where' (a Point) and 'event' > some kind of GUIEvent (which allows to use things like cmd-click, or > if one wants to design tools). > you could check out > http://swiki.hfbk.uni-hamburg.de:8080/MusicTechnology/276, there are > some simple examples of what you want. ------------------------------ Date: Fri, 29 Jun 2001 10:04:05 -0400 From: tk <---@---.---> Subject: Re: big time and changing colors is sc3 a demo (free?). Jem Finer wrote: > Why not try it in SC3 - I did a similar thing to conduct an orchestra of > guitars - don't know if the patch still works - it was for an earlier vsn > than the current one but a bit of fiddling around should do the trick and > then maybe you can modify it for your purposes. I think mine flashes at > random times. > > Jem > > Hi! > > > > i'll try that, thanks newton! > > > > i'm trying to build a patch that will show coloured cards every 30 > > seconds or so . it will "conduct" an orchestra of > > 12 turntables with matching LP colour labels. > > i was wondering if GUI window with 4 large buttons can change the > > colour of that buttons while being shown all the time. > > question: what are the arguments for "ButtonView"? i can't find it > > in help file ? > > > > thank you > > > > newton armstrong wrote: > > > >> t. krakowiak wrote: > >> > >>> Also, can GUI window cahnge it's color at random while being on? > >> > >> is this what you mean? > >> > >> ( > >> var w; > >> > >> w = GUIWindow.new("panel", Rect.newBy(208, 130, 400, 400)); > >> > >> { arg synth; > >> > >> synth.repeat(1, 0.2, > >> { w.backColor_(Color(255.rand,255.rand,255.rand)) }; > >> ); > >> > >> Plug.kr(0) > >> > >> }.play; > >> > >> w.close > >> ) > > > > > > Name: flasher SC3 > flasher SC3 Type: Plain Text (text/plain) > Encoding: base64 ------------------------------ Date: Fri, 29 Jun 2001 09:21:42 -0500 From: James McCartney <---@---.---> Subject: Re: big time and changing colors on 6/29/01 9:04 AM, tk at krakowiak@sympatico.ca wrote: > is sc3 a demo (free?). Have a look at the last question in the FAQ. It has a link to download it. http://www.audiosynth.com/scfaq.html - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Fri, 29 Jun 2001 08:16:11 -0700 (PDT) From: Chad Kirby <---@---.---> Subject: Re: Switch Oh yeah, that's pretty slick. I might even like the syntax better than what I dreamed up: creating a whole named Case which served no purpose other than to be named Case seemed not-that-elegant. Think I'll adopt (steal, borrow?) some of sekhar's .case goodness. Nothing like re-re-re-inventing the wheel. Chad Kirby // Technical Coordinator for Digital Arts // CARTAH ckirby@u.washington.edu // 206.295.3592 On Fri, 29 Jun 2001 at 09:45, Julian Rohrhuber wrote: > You can then write your example as: > > var a, b; > a = MouseX.new(-2, 3); > b = MouseY.new(1, 8); > > Switch.on(b.poll). > case({(a.isNil)}, {nil}). > case({(a.poll 2)}, {arg g; g.poll.squared;}). > case({(a.poll == 0)}, {arg g; g.poll.sqrt;}). > case({(a.poll < -1)}, {arg g; g.poll.post;}); > > (P.S. there's no equivelant of the Smalltalk "cascade" in SC, is there?) > > - sekhar > > -- > C. Ramakrishnan cramakrishnan@acm.org > ------------------------------ Date: Fri, 29 Jun 2001 19:17:18 +0200 From: Scott Wilson <---@---.---> Subject: Scope Sorry if this has been asked before, but is there any way of getting around this problem in 2.2.10 that a Scope only updates properly when the mouse is clicked on it? Scott ------------------------------ Date: Fri, 29 Jun 2001 12:36:17 -0500 From: James McCartney <---@---.---> Subject: Re: Scope on 6/29/01 12:17 PM, Scott Wilson at sdwilson@mail.wesleyan.edu wrote: > Sorry if this has been asked before, but is there any way of getting around > this problem in 2.2.10 that a Scope only updates properly when the mouse is > clicked on it? > > Scott > I'm not sure I understand the situation. Normally a scope will update as long as it is running. All of the examples do. (see Scope.help) If you are using a .collect into a buffer and displaying that, then you will need to call .refresh whenever you change the contents. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Fri, 29 Jun 2001 13:38:27 -0400 From: christian adam hresko <---@---.---> Subject: Re: Scope Scott Wilson wrote: > Sorry if this has been asked before, but is there any way of getting around > this problem in 2.2.10 that a Scope only updates properly when the mouse is > clicked on it? > > Scott what OS and what type of machine do you have? cheers, christian ------------------------------ Date: Fri, 29 Jun 2001 19:53:24 +0200 From: Scott Wilson <---@---.---> Subject: Re: Scope > I'm not sure I understand the situation. Normally a scope will update as > long as it is running. All of the examples do. (see Scope.help) > > If you are using a .collect into a buffer and displaying that, then you will > need to call .refresh whenever you change the contents. I mean that when I click on the Scope it flows smoothly, otherwise it does so in a jerky fashion, seemingly in chunks. > what OS and what type of machine do you have? > > > cheers, > > christian > > OS Z1-9.0 G4 400MHz Tower Scott ------------------------------ Date: Fri, 29 Jun 2001 13:59:20 -0400 From: christian adam hresko <---@---.---> Subject: Re: Scope Scott Wilson wrote: > > I'm not sure I understand the situation. Normally a scope will update as > > long as it is running. All of the examples do. (see Scope.help) > > > > If you are using a .collect into a buffer and displaying that, then you will > > need to call .refresh whenever you change the contents. > > I mean that when I click on the Scope it flows smoothly, otherwise it does > so in a jerky fashion, seemingly in chunks. > > > what OS and what type of machine do you have? > > > > > > cheers, > > > > christian > > > > > > OS Z1-9.0 > > G4 400MHz Tower > > Scott i had the same problem when i went from OS 8.6 to OS 9.1. same thing goes with time elapsed and CPU usage in the SC 'menu.' (both would act rather glitchy unless i constantly clicked my mouse button...) i don't experience this on my G4 powerbook though. just my G3 tower. what version of SC are you using? cheers, christian ------------------------------ Date: Fri, 29 Jun 2001 11:16:17 -0800 From: "anthony burr" <---@---.---> Subject: Re: Scope energy saver control panel--advanced settings, turn off "allow processor cycling" ??? - ---------- >From: Scott Wilson <---@---.---> >To: >Subject: Re: Scope >Date: Fri, Jun 29, 2001, 9:53 AM > >> I'm not sure I understand the situation. Normally a scope will update as >> long as it is running. All of the examples do. (see Scope.help) >> >> If you are using a .collect into a buffer and displaying that, then you will >> need to call .refresh whenever you change the contents. > > I mean that when I click on the Scope it flows smoothly, otherwise it does > so in a jerky fashion, seemingly in chunks. > >> what OS and what type of machine do you have? >> >> >> cheers, >> >> christian >> >> > > OS Z1-9.0 > > G4 400MHz Tower > > Scott > ------------------------------ Date: Fri, 29 Jun 2001 14:00:56 -0400 From: christian adam hresko <---@---.---> Subject: Re: Scope oops... you already said 2.2.10. i have no idea. this went away on my G4. kinda weird. would appletalk have anything to do with this? is appletalk turned off? cheers, christian ------------------------------ Date: Fri, 29 Jun 2001 13:08:51 -0500 From: James McCartney <---@---.---> Subject: Re: Scope on 6/29/01 12:53 PM, Scott Wilson at sdwilson@mail.wesleyan.edu wrote: >> I'm not sure I understand the situation. Normally a scope will update as >> long as it is running. All of the examples do. (see Scope.help) >> >> If you are using a .collect into a buffer and displaying that, then you will >> need to call .refresh whenever you change the contents. > > I mean that when I click on the Scope it flows smoothly, otherwise it does > so in a jerky fashion, seemingly in chunks. Thank Apple for cooperative multitasking. MacOS gives all the cycles to you if you are holding the mouse down. Otherwise it puts you on a round robin CPU diet. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Fri, 29 Jun 2001 13:18:32 -0500 From: James McCartney <---@---.---> Subject: Re: Scope on 6/29/01 2:16 PM, anthony burr at aburr@ucsd.edu wrote: > energy saver control panel--advanced settings, turn off "allow processor > cycling" ??? > Right, this is a culprit. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Fri, 29 Jun 2001 14:19:53 -0500 From: "t. krakowiak" <---@---.---> Subject: Re: Scope i have the same problem. os 9.1 , pbook g3.266 - ----- Original Message ----- From: "Scott Wilson" <---@---.---> To: Sent: Friday, June 29, 2001 12:17 PM Subject: Scope > Sorry if this has been asked before, but is there any way of getting around > this problem in 2.2.10 that a Scope only updates properly when the mouse is > clicked on it? > > Scott > > ------------------------------ Date: Fri, 29 Jun 2001 19:44:57 +0100 From: LUThER_SKIZZO <---@---.---> Subject: Re: Scope on 29/6/01 8:16 pm GMT, anthony burr at aburr@ucsd.edu apparently typed: > energy saver control panel--advanced settings, turn off "allow processor > cycling" ??? I've had the same problem forever [2.2.10/9.0.4/iMac G3/500 SE]. I remember turning everything off in the energy saver CP, restarting the computer, trashing the energy saver preferences, restarting again. Didn't work for me though. - -- LUThER ------------------------------ Date: Fri, 29 Jun 2001 13:49:50 -0600 From: John Ciolek <---@---.---> Subject: Re: transforms Any introductory differential equations textbook should contain a section on Laplace transforms. Boyce and DiPrima's "Elementary Differential Equations" has a section about 40 pages long that is moderately understandable. Can't recommend buying it unless you're planning much more obscure math. You may want to hit a college library and copy that section. Also, check out the site http://www.a-ten.com/art/laplace.htm for a list of books on the Laplace transform. I believe there may be some computer code references there. John christian adam hresko wrote: > does anyone have a good website (or book) recommendation that goes over > the laplace (sp?) transform? > > my level of mathematics is calc I, calc II, linear algebra, and stats. > > so... something that i could actually understand, and better yet, put > into (C++) code. > > cheers, > > christian ------------------------------ Date: Fri, 29 Jun 2001 13:32:41 -0700 (PDT) From: "David B. Gunn" <---@---.---> Subject: Re: transforms Murray R. Spiegel, Applied Differential Equations, 3d ed. (Endlewood Cliffs, N.J.:Prentice-Hall, 1981), pp. 168-169 and 204-211. You may also find interest in the man who made operational methods even more amazing, Oliver Heaviside (1850-1925). Heaviside solved numerous applied problems, particularly differential equations arising in electric theory, in an elegant and efficient way,. Heaviside had no formal mathematical education, and his carefree virtuosity in manipulating the differential was frowned upon by professional mathematicians. Heavisde's ideas did find their proper formal justification in the more advanced method known as teh Laplace transform. the question is more important than the answer. On Fri, 29 Jun 2001, John Ciolek wrote: > Any introductory differential equations textbook should contain a section > on Laplace transforms. Boyce and DiPrima's "Elementary Differential > Equations" has a section about 40 pages long that is moderately > understandable. Can't recommend buying it unless you're planning much > more obscure math. You may want to hit a college library and copy that > section. > > Also, check out the site http://www.a-ten.com/art/laplace.htm for a list > of books on the Laplace transform. I believe there may be some computer > code references there. > > John > > > > christian adam hresko wrote: > > > does anyone have a good website (or book) recommendation that goes over > > the laplace (sp?) transform? > > > > my level of mathematics is calc I, calc II, linear algebra, and stats. > > > > so... something that i could actually understand, and better yet, put > > into (C++) code. > > > > cheers, > > > > christian > > > > ------------------------------ Date: Fri, 29 Jun 2001 13:40:17 -0700 From: "tomonori yamasaki" <---@---.---> Subject: etude4: simplePlayer > THIS MESSAGE IS IN MIME FORMAT. Since your mail reader does not understand this format, some or all of this message may not be legible. - --MS_Mac_OE_3076666817_912442_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit simple file player in SC3. use to check what you got by command-6. - --MS_Mac_OE_3076666817_912442_MIME_Part Content-type: multipart/appledouble; boundary="MS_Mac_OE_912892_3076666817_MIME_Part" - --MS_Mac_OE_912892_3076666817_MIME_Part Content-type: application/applefile; name="etude4 simplePlayer" Content-transfer-encoding: base64 AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAJAAAAPgAAACAAAAADAAAAXgAAABMAAAAC AAAAcQAABjxURVhUU0NqbQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGV0dWRlNCBzaW1wbGVQ bGF5ZXIAAAEAAAAF9gAABPYAAABGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE7gA/AAAA AAALAAkABAAJAAkAAAAAAAAAAABpAAsACQA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AAAAAAATPAAsA CQAEAP4ACQAAAADAAAAABNQACwAJAAQA/gAJAAAAAAAAAAAE5AALAAkABAD+AAkAAHAAAAAA AATpAAsACQAEAAAACQAAAAAAAAAABP8ACwAJAAQA/gAJAAAAAMAAAAAFAgALAAkABAD+AAkA AAAAAAAAAAVIAAsACQAEAP4ACQAAAADAAAAABU8ACwAJAAQAAAAJAAAAAAAAAAAFUwALAAkA BAD+AAkAAHAAAAAAAAVYAAsACQAEAP4ACQAAAAAAAAAABWoACwAJAAQA/gAJAAAAAMAAAAAF cQALAAkABAAAAAkAAAAAAAAAAAV1AAsACQAEAP4ACQAAcAAAAAAABXoACwAJAAQA/gAJAAAA AAAAAAAFlwALAAkABAD+AAlgAGAAYAAAAAWrAAsACQAEAAAACQAAAAAAAAAABbYACwAJAAQA 9AAJAAAAAMAAAAAFvQALAAkABAD0AAkAAAAAAAAAAAXdAAsACQAEAPQACQAAAADAAAAABeMA CwAJAAQAAAAJAAAAAAAAAAAAAAAAAQAAAAX2AAAE9gAAAEYP8fCIAxoAAAAcAEYAAXN0eWwA AAASU09VUAAAAB4AgP//AAAAAAAAAAAAgP//AAAE8gAAAAA= - --MS_Mac_OE_912892_3076666817_MIME_Part Content-type: text/plain; name="etude4 simplePlayer"; x-mac-creator="53436A6D"; x-mac-type="54455854" Content-disposition: attachment Content-transfer-encoding: base64 KA0vLyJldHVkZTQ6IHNpbXBsZVBsYXllciIgYnkgdG9tb25vcmkgeWFtYXNha2kgDS8vdHlh bWFzYUBoYXl3aXJlLmNzdWhheXdhcmQuZWR1DS8vdGhpcyBqdXN0IHBsYXlzIGZpbGUuDXZh ciBhLCBiLCBjLCBkLCBmLCB4Ow12YXIgc3Y7DXZhciBmaWxlbmFtZSwgd2JhbmssIHNiYW5r LG9wZW5GdW5jLCBwbGF5RnVuYzsNDSN7IGIgPSBMaWJyYXJ5LmF0KFxiYW5rLCAwKTsgfS5z ZW5kOw1iID0gTGlicmFyeS5hdChcYmFuaywgMCk7DWMgPS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CksWw0JCVsiUGxheSIsIENvbG9yLmJsYWNrLCBDb2xvci5ibHVlLCB7 cGxheUZ1bmMudmFsdWU7MX1dLA0JCVsiU3RvcCIsIENvbG9yLmJsYWNrLCBDb2xvci5yZWQs IHtTeW50aC5zZW5kRmFkZUVuZCgxLCBcZGVtbywgMC4xKTswfV0NCV0pOw1dLCB0cnVlKSk7 DWYgPSB7eC5yZWZyZXNofTsNeC5yZWZyZXNoOw14Lm9uQ2xvc2UgPSB7IFN5bnRoLnNlbmRG YWRlRW5kKDEsIFxkZW1vLCAwLjEpOyB9Ow14LnNjaGVkKDAsIGluZiwgeyBmLnZhbHVlOyAx LzYwIH0pOw0pDQ0NLy8qKioqKioqKioNKC8vbWVtbzogcGxheWluZyBmaWxlLi4uDSN7IGIg PSBMaWJyYXJ5LmF0KFxiYW5rLCAwKTsgfS5zZW5kOw1iID0gTGlicmFyeS5hdChcYmFuaywg MCk7DWIubm9Mb29wKDApOw1iLnJlYWQoMCwgIjpTb3VuZHM6ZmxvYXRpbmdfMSIpOyAgDSAN I3t7IFBsYXlCdWYuYXIoYiwgMCkgfS5wbGF5OyB9LnNlbmQ7DSkNI3t7IERpc2tJbi5hcihi LCAwKSB9LnBsYXk7IH0uc2VuZDsN - --MS_Mac_OE_912892_3076666817_MIME_Part-- - --MS_Mac_OE_3076666817_912442_MIME_Part-- ------------------------------ End of sc-users-digest V1 #313 ******************************