From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #21 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 Sunday, December 20 1998 Volume 01 : Number 021 ---------------------------------------------------------------------- Date: Sun, 13 Dec 1998 13:03:01 -0600 From: James McCartney <---@---.---> Subject: Re: spawning from sched >Date: Sun, 13 Dec 1998 13:51:03 -0500 (EST) >From: "Ronald J. Kuivila" <---@---.---> >Subject: spawning from sched > >Hi James, > >1. I am running into situations where I want to spawn sounds from a synth >task (i.e., routine calling sched), but I want the sounds to be added to >the input of running unitgenerators. I assume this is where the synth >abstraction shines, but I cannot figure out how to do it... See TSpawn.help and its 'trigger' method. >2. The compiler now objects if you try to definefunctions that are not >part of a class in files that are are part of a library. Why? Stand alone functions are not allowed in version 2. All functions must be methods of a class. This is pure OO. >3. Would it be possible to allow interpretation of code (using >select/enter) while synthesis is occurring? It would be handy for certain >kinds of parameter diddling and debugging. This would require running the compiler in the synth loop which could cause glitching. >4. It would worth having a method to change a ControlIn's lag value on the >fly. (I tried drilling down into the class definition, but I couldn't >make it work.) You can use a ControlIn (or any other UGen) to control the lag value of another ControlIn. It is a continuously modulateable control like any other. >5. Similarly, it would be nice to be able to change an EnvGen's envelope >specification before triggering it. (I just made the env instance >variable modifiable and that seemed to work.) See the 'trigger' method of EnvGen. It lets you specify a different Env spec at each trigger. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Sun, 13 Dec 1998 16:11:43 -0400 From: kbabb@escape.com (Kenneth N Babb) Subject: Re: SC2 with Newer G3 cards? Maurizio Giri wrote: >Anybody using a PPC 8100/110 with a Newertech G3 upgrade out there? >How it works? It's Supercollider II compatible? > >TIA > Maurizio, I use a Newertech G3 upgrade card in 7600/(formerly)132. Best value in a hardware upgrade I've had in quite some time. No problems with Supercollider, ProTools d24/tdm or any audio dsp apps/sequencers I have installed. I tried a Sonnet 604e upgrade board before the Newertech and had nothing but trouble. I tried reinstalling it a number of times but it would eventually freeze or crash my Mac. I returned the Sonnet for the Newertech and haven't looked back. Perfect choice for my 7600. Regards, Kenneth Babb ------------------------------ Date: Mon, 14 Dec 1998 09:45:10 +0100 From: staffan@medialab.ericsson.se (Staffan Liljegren) Subject: Re: SC2 with Newer G3 cards? Hello Maurizio No, but I just upgraded q 7600/132 to a NewerTech G3 333/1/166 (a 333 Mhz G3 CPU card with 1 Mb Layer 2 cache and 166 Mhz backside cache speed). I would say that it is SC2d29 compatible. The NewerTech cards are stable and sofar I haven't had more "dying" SC2 sessions than I had before. (I had an intial CPU freeze problem but that was due to the fact that I forgot to install LibMoto - a math lib, which NewerTech uses in OS prior to 8.1). After installing that I have been running many SC2 programs. And what a difference ! 1100 on MacBench CPU (with a G3/300 having 1000 for ref) and 1400 on fp. I have a short "diary" of the installation if You're interested. The 71/81... can be upgraded with CPOU cards from NewerTech and they take sYou upto 210 and 240 Mhz, with either 512 or 1024 kb l2 cache. a lot of people claim that You should aim for a 1 mb cache (which I bought for testing purposes), but I doubt that it will give You more than 10 % gain and for a price that is around 40-50 % higher than the same card with a 512 k l2 cache. But this is more science than religion and You can read all about it on www.mactimes.com/lowend/ppc/g3card.shtml or www.xlr8yourmac.com Best Regards, Staffan Liljegren Ericsson Research .that goes into the PDS slot and I think they have | From: Maurizio Giri <---@---.---> | Subject: SC2 with Newer G3 cards? | | Anybody using a PPC 8100/110 with a Newertech G3 upgrade out there? | How it works? It's Supercollider II compatible? | | TIA ------------------------------ Date: Mon, 14 Dec 1998 11:29:20 +0100 From: "Iannis Zannos" <---@---.---> Subject: Altering values in parameter window (Re: audio hardware params, a GUIUtils question) >From: "Ronald J. Kuivila" <---@---.---> >Date: Fri, 11 Dec 1998 7:06 PM > Is there any easy way of having SoundManager tasks (i.e., blocks of code >running as tasks in the top-level synth) alter values in a >parameterwindow? In the latest version posted to you, James and others, yes. - - The top synth is accessible via: SoundManager.topsynth. - - ParameterView items stored in a ParameterWindow are accessed by index in the List stored in aParameterWindow.controls. - - aParameterWindow is stored in aGUIItem as aGUIItem.model - - The check-box for starting and stopping sound is stored in aParameterWindow as aParameterWindow.soundbox. This is all you need to link synth tasks to ParameterViews in a ParameterWindow. Example: ParameterWindow.play( 'PanningSine', [ ['sliderb', "frequency", 440, 20, 20000, 0, 'exponential'], ['sliderb', "amplitude", 0.1, 0.0, 0.5, 0.01], ['slider', "pan", 0, -1, 1], ['addsmallbutton', "TASK TEST", { arg self; var pitch = 15, target, inc = 5; target = self.model.controls@0; self.model.soundbox.value_(1); self.model.soundbox.doAction; SoundManager.topsynth.sched(0.2, { arg synth, now, task; pitch = (pitch + inc).fold(40, 100); if (0.1.coin, { inc = inc.neg }); target.value_(pitch.midicps); synth.sched(0.1, task); }); }, 400, 0] ], { arg freq, amp, pan; Pan2.ar(SinOsc.ar(freq, 0, amp), pan) } ) Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 ------------------------------ Date: Mon, 14 Dec 1998 11:02:39 +0000 From: finer@easynet.co.uk Subject: clicks James, Sorry to harp on - have you had any luck figuring out from where come the clicks. The file I sent you does NOT click in comparable SC1 program. Jem ------------------------------ Date: Mon, 14 Dec 1998 08:19:36 -0500 From: Landon Rose <---@---.---> Subject: Re: TSpawn triggers, PulseDivider James- thanks for clarity on rrand, Tspawn , if statements, Impulse plots. > >Any nonpositive to positive transition of the trigger signal is interpreted >as a trigger.. What are you asking? Didn't know exactly! but I think you answered it with- >The greater than sign is a valid unit generator creating operator which will >create an instance of BinaryOpUGen. So it is not a signal it is a UGen graph >which will generate a control rate signal when executed. in other words, the '.kr' message creates the signal, at control rate, given valid a 'valid unit generator creating operator'. >> >>What is tricky is using sustained tones rather than >>short percussive sounds, as in this snippet - >> >>SinOsc.ar(Trig.ar(AudioIn.ar(1) > 0.1, 0.2),0,0.1) > >Why don't you use Amplitude to take the amplitude of the input signal? I have, but not in my post. By using Trig I could slow the number of triggers, the basic problem is that with a sustained tone, Amplitude keeps generating triggers which cause the Klanks to overlap too much, Trig acts as a kind of limiter. I was trying to use PulseDivider to further limit the triggers by counting the triggers from Trig. At least,that was my intention. What I want is for a singer to be able to sing a sustained note which triggers one Klank, then their next note( with a momentary drop in amp between, I guess) triggers the next Klank and so on, ad nauseum until people start throwing tomatoes! Whateveh > >> >> on to PulseDivider: >> >> inserted at TriggerIn arg in the TSpawn example above this works - >> Impulse.ar(0.3) >> but this doesn't- >> PulseDivider.ar(Impulse.ar(8),8) > >This may be a bug. >however: > >>( >>Synth.plot({ >> a = Impulse.ar(300); >> b = PulseDivider.ar(Impulse.ar(800),4); >> [a,b] >> }) >> ) >> >> look like the same pulse. What's happening? > >They look different to me. This looks correct. > > --- james mccartney james@audiosynth.com http://www.audiosynth.com >If you have a PowerMac check out SuperCollider2, a real time synth program: > ------------------------------ Date: Mon, 14 Dec 1998 10:01:00 -0500 From: johndu@world.std.com (John Duesenberry) Subject: new SuperCollider book Does anyone know an email address for Alberto de Campo at UCSB/CREATE? He is apparently writing a book or tutorial of some sort on SC2. I have been unable to reach him thru the CREATE website. Any info appreciated... John D ------------------------------ Date: Mon, 14 Dec 1998 16:32:37 -0500 From: "Chris Sattinger" <---@---.---> Subject: Re: TSpawn triggers, PulseDivider >> >>Any nonpositive to positive transition of the trigger signal is interpreted >>as a trigger.. What are you asking? > >Didn't know exactly! but I think you answered it with- > > >>The greater than sign is a valid unit generator creating operator which will >>create an instance of BinaryOpUGen. So it is not a signal it is a UGen graph >>which will generate a control rate signal when executed. > >in other words, the '.kr' message creates the signal, at control rate, given >valid a 'valid unit generator creating operator'. I had understood it as the comparison operation of a > b becomes true at a certain point and thus evaluates to 1 (non-zero) and that's the transition in question. ------------------------------ Date: Mon, 14 Dec 1998 16:35:01 -0500 From: "Chris Sattinger" <---@---.---> Subject: Re: simple little app... This one still didn't work for me, remained resolutely at 60. I kept expecting to hear the BBC announcer come in with the news at 9. >// metroGnome! >// a goofy little SuperCollider program >// colby leider > Spawn.ar({ // I added this : Spawn.ar({ arg synth; synth.nextTime=(60/a.value); // without using SetTempo.kr, this addition made it work for me > if(s1.value == 1, > {EnvGen.ar(e, SinOsc.ar(440, 0, c.value * amp))}, > if(s2.value == 1, > {EnvGen.ar(e, Blip.ar(440, 7, c.value * amp))}, > if(s3.value == 1, > {EnvGen.ar(e, SyncSaw.ar(440, 440, c.value * amp))}, > {EnvGen.ar(e, LFNoise1.ar(20000, c.value * amp))} > ); > ); > ); > }, 1, 1); >}.play; >) But what is SetTempo.kr and how does it work ? I can't figure it out at all. Sounds useful ! ___________________________________________________ http://crucial-systems.com ------------------------------ Date: Mon, 14 Dec 1998 19:35:21 EST From: BT011010@aol.com Subject: Re: Re: SC 2.0d28 and S. Pope examples Hi I am also a newbie and how do you load a SOUNDFILE!!!! aargh>>> thanks>>> B T ------------------------------ Date: Mon, 14 Dec 1998 19:40:35 EST From: BT011010@aol.com Subject: Re: Re: SC2 with Newer G3 cards? Do you have any patches that you would be willing to share? I would be greatly appreciative, I'm just getting started and cannot even figure out how to run a program....is there a manual? Thanks for your time. Brian Transeau ------------------------------ Date: Tue, 15 Dec 1998 09:32:00 +0100 From: staffan@medialab.ericsson.se (Staffan Liljegren) Subject: Re: Re: SC 2.0d28 and S. Pope examples General Tip: Command-H and Example files will take You pretty far! I learned a lot by reading and trying files from the Examples folder in the SC2 distribution and then as soon as I hit an unknown UGen I select it and type command-H, which gives me help for that UGen plus a couple of new examples for that particular UGen. After that I sat with the full UGen ref sheet (type cmd-H, without anything selected and select UGen_Ref_Sheet and type cmd-H again) in front of me while trying to do my own programs (or patches as some of You prefer to call it. I call them programs as SC2 is a full fledged programming env). In the Example folder therer is one file called "sound file examples" (by JMc) which will show You how to load a soundfile and what You can do with it. In general You read a file with sf = SoundFile.new; sf.read("filepath") now You can do lots of stuff with it, plot it sf.plot find out data about it: sf.path sf.headerFormat sf.sampleRate and use it in other UGens like PlayBuf - -Staffan Liljegren Ericsson Research | Subject: Re: Re: SC 2.0d28 and S. Pope examples | | Hi I am also a newbie and how do you load a SOUNDFILE!!!! aargh>>> | thanks>>> B T | ------------------------------ Date: Tue, 15 Dec 1998 14:04:44 +0100 From: "Iannis Zannos" <---@---.---> Subject: Bug in synth.repeat (repeatN etc) It seems that the count argument is not passed correctly to the task function in Synth :: repeat, trepeat, repeatN etc. The help file says: ====== quote The task function is passed the following arguments: synth - the Synth instance calling the task. now - the current logical time in beats. count - the number of times the task has been called. ====== unquote The following example shows count to be a function whose sense is unclear to me. It is not a number. The source code gives no clue as to why the count variable gets lost. ( play( { arg synth; synth.trepeat(0.1, 1.0, // synth.repeat has same effect. { arg sy, no, count; sy.postln; no.postln; count.postln; count.value.postln; '=============='.postln; }); FSinOsc.ar(MouseX.kr(200, 2000), 0.1); }) ) /* Output: instance of Synth (07147BFC, size=0, gcset=06) 0.1 instance of Function (07149664, size=0, gcset=01) nil nil nil nil ============== instance of Synth (07147BFC, size=0, gcset=06) ============== instance of Synth (07147BFC, size=0, gcset=06) 1.1 instance of Function (07149664, size=0, gcset=01) nil nil nil nil ============== instance of Synth (07147BFC, size=0, gcset=06) ============== instance of Synth (07147BFC, size=0, gcset=06) 2.1 instance of Function (07149664, size=0, gcset=01) nil nil nil nil ============== instance of Synth (07147BFC, size=0, gcset=06) ============== */ Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 ------------------------------ Date: Tue, 15 Dec 1998 11:57:02 -0800 From: Mark Polishook <---@---.---> Subject: waveshaping Is there a waveshaping example in the demo files? if not, i'm hoping someone could post a simple example(s) thanks - -mark ------------------------------ Date: Tue, 15 Dec 1998 18:46:04 -0600 From: James McCartney <---@---.---> Subject: Re: simple little app... At 3:35 PM -0600 12/14/98, Chris Sattinger wrote: >This one still didn't work for me, remained resolutely at 60. >I kept expecting to hear the BBC announcer come in with the news at 9. Are you using SC2d29? It will not work under SC2d28. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Tue, 15 Dec 1998 19:57:14 -0500 (EST) From: David Crandall <---@---.---> Subject: SC2d29 authorization There is probably a real simple solution for this, but my copy of SC2d29 has started asking for the serial # each time it starts up. I trashed all other copies of v2, and it still asks. Any insight? tia, dc ------------------------------ Date: Tue, 15 Dec 1998 20:27:39 -0600 From: James McCartney <---@---.---> Subject: Re: SC2d29 authorization At 6:57 PM -0600 12/15/98, David Crandall wrote: >There is probably a real simple solution for this, but my copy of SC2d29 >has started asking for the serial # each time it starts up. I trashed all >other copies of v2, and it still asks. Any insight? I just sent out new serial numbers to everyone who my records shows expiring in january. That should fix you up. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Wed, 16 Dec 1998 00:12:50 -0500 From: "Chris Sattinger" <---@---.---> Subject: Re: simple little app... >At 3:35 PM -0600 12/14/98, Chris Sattinger wrote: >>This one still didn't work for me, remained resolutely at 60. >>I kept expecting to hear the BBC announcer come in with the news at 9. > >Are you using SC2d29? It will not work under SC2d28. > No, I suppose that explains the rrand too. thanks. ___________________________________________________ http://crucial-systems.com ------------------------------ Date: Wed, 16 Dec 1998 21:01:41 +1100 From: garth@creativeaccess.com.au (Garth Paine) Subject: Re: newbie >I am newbie. Just got SC2 today. >Where can I access an archive of emails for this group, to kinda orient >myself. > > through me, and I'm back today Cheers, Garth See information about my new immersive interactive sound installation at http://creativeaccess.com.au/~garth/Map1/MaP1_Sound_Installation.html << >< >> . Composer, Sound Designer .. Interactives Designer ... Interactive Installation Artist .... Exhibition Consultant http://www.creativeaccess.com.au/~garth << >< >> ------------------------------ Date: Wed, 16 Dec 1998 09:13:22 -0500 From: Landon Rose <---@---.---> Subject: Re: SC2d29 authorization James- Don't seem to have received new serial number, am I on that list? If not I need to be as I am getting authorization window upon startup. Thanks Landon >I just sent out new serial numbers to everyone who my records shows expiring >in january. That should fix you up. > > ------------------------------ Date: Wed, 16 Dec 1998 08:41:45 -0600 From: James McCartney <---@---.---> Subject: Re: SC2d29 authorization At 8:13 AM -0600 12/16/98, Landon Rose wrote: >James- > Don't seem to have received new serial number, am I on that list? >If not I need to be as I am getting authorization window upon startup. There was a group whose expiration date was mistyped as 199 instead of 1999, so you will be getting it shortly. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Wed, 16 Dec 1998 10:47:01 -0500 From: Landon Rose <---@---.---> Subject: Re:PulseDivider sleuthing James- If I create this example upon opening SC2d29f it works: ( var e; e = Env.new(#[0,1,0.5,0],#[0.01, 0.5, 0.25], -4); Synth.play({ arg synth; TSpawn.ar( { EnvGen.ar(e, PMOsc.ar(3000.0.rand, 3000.0.rand, 3.0.rand), 0, 0.04) }, 1, // one channel nil, PulseDivider.ar(Impulse.ar(Amplitude.kr(AudioIn.ar(1))),2) // trigger ) })) This example of course is taken from TSpawn help file and PulseDivider.ar(Impulse.ar(Amplitude.kr(AudioIn.ar(1))),2) substituted for MouseX trigger. if I then open up this example: ( var e, specList, tring, trig; tring = 3; //ring decay in seconds for Klank spec specList = [ ` [ [32,43,54,89].midicps,nil,Array.fill(4,tring)], ` [ [10,34,80,120].midicps,nil,Array.fill(4,tring)], ` [ [67,88,90,100].midicps,nil,Array.fill(4,tring)], `[ [14,23,34,45].midicps,nil,Array.fill(4,tring)], ` [ [76,88,99,124].midicps,nil,Array.fill(4,tring)]] ; e = Env.sine(3,1); Synth.scope({ TSpawn.ar({ arg tspawn, index, synth; EnvGen.ar( e, Klank.ar( specList.wrapAt(index), AudioIn.ar([1,2],1.2) )) }, 2, // two channels nil, PulseDivider.ar(Impulse.ar(Amplitude.kr(AudioIn.ar(1)),2)) )} )) it works too. But, if I start and stop it, or stop it and switch back to the first app, and do this a couple of times, at some point neither example works. And, if I quit and reopen SC, the examples sometimes still won't work. The only sure way the above examples will work again is to restart my computer (PB 2400/180) and create a new example. Any thoughts about this? Anyone else on the list worked with PulseDivider? Any thoughts, Iannis? Landon PS- The reason I'm preoccupied with this at the moment is that PulseDivider when it works sets up an interesting interpretation of triggering TSpawn from AudioIn, the above example being one manifestation. ------------------------------ Date: Wed, 16 Dec 1998 23:44:51 +0200 From: laurson@amadeus.siba.fi (Mikael Laurson) Subject: Bits, audio cards and converters I have some questions concerning bits, audio cards and converters. How does SC2 handle various converters that are found in the market? If I have (say using the Sonorus card) 24 bit converters will I get out 24 bit sound automatically? In which format should I save audio files so that I will get full resolution when playing them later with DiskIn? Currently I generate audio files with the following format: 'AIFF', '16 big endian signed' Should I use instead the format: 'Sun','32 big endian float' if I want to preserve better resolution than 16 bits? How about latency when comparing the Korg and Sonorus cards. (I heard some rumours that Korg has latency problems.) In a previous message James wrote: >I find I get better performance from the Korg card. >The Sonorus card's sound input takes more CPU than I think it should. >I will try and resolve this with Sonorus if possible, but that's how >it is now. How bad is it with Sonorus (in CPU %)? I have a 266MHz G3. Finally, what is the best way to reach you personally James? Is it james@audiosynth.com? I am asking this as I would like to send you quite long SC2 code examples of mine which cause problems. Mikael ================================ Mikael Laurson Hollantilaisentie 1 A 2 00300 Helsinki 33 Finland E-mail: laurson@siba.fi ================================ ------------------------------ Date: Sat, 19 Dec 1998 04:19:14 -0500 From: "Chris Sattinger" <---@---.---> Subject: Strange obscure GUI bugs ? or ...? > 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_2996885954_40150_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit James - This is not completed, but its doing some very irregular things, so it might be a key to something else that could be of use to you in debugging. Or, it might be just me not realizing the full and subtle significance of the array assignments I am attempting. - ----------------------------------------------- Currently with sc2.0d9, loading it and playing it initially creates the GUI window, but complains of ERROR: Message 'delta_pluss_' not understood. and then goes on at great length to explain the consequences of that misunderstanding. so delta_pluss is an instance variable which I am mistakenly trying to assign to ? This stuff I am confused about. Subsequent attempts to play it do not create errors ! and do not create a GUI window ! (if i close the gui window after receiving the errors) Only quitting the application and restarting can start the cycle over again. then, same thing. So it thinks w is still open ! I am trying to create a GUI bunch of range views and have an array with which to reference them. without the array : w = GUIWindow.new("panel", Rect.newBy( 128, 64, 728, 484 )) .backColor_(rgb(240,240,240)); 17.do({ arg i; RangeView.new(w, Rect.newBy (30 + (i*20), 86, 16, 153 ), "", 90.rand + 10, 90.rand + 10, 10, 100,1, 'linear') .rangeColor_(rgb(176,176,176)); }); this works ok but when I try to put the array in : w = GUIWindow.new("panel", Rect.newBy( 128, 64, 728, 484 )) .backColor_(rgb(240,240,240)); 17.do({ arg i; pitch(i) = RangeView.new(w, Rect.newBy (30 + (i*20), 86, 16, 153 ), "", 90.rand + 10, 90.rand + 10, 10, 100,1, 'linear') .rangeColor_(rgb(176,176,176)); }); the pitch is not understood, its seen as an assignment of an array variable ('pitch_ not understood'). So I'm not getting something.... Or is there an easier way to get at this data ? I hope to finish this little sequencer later tonight, but it would be much better to access the GUI window from individual arrays, not as one big array (w.views). (and i can't figure out how to access the range data from w.views) how ? the pitches and velocities are stochastic ranges. I think especially with the velocity, that should be pretty sexy in a repeating pattern. With the pitch it should be nice and angular. I also want to use wavetables as a visual interface to map data onto a sequencer. Also I wish to use envelopes and especially envelope blending to map a continuous curve onto a repetitive type looping sequencer. I haven't figured quite exactly how to do it yet, but I've got to take baby steps to get there. Any tips are highly appreciated. \ - - - - - - - - - \ \ \ \ \ - - - - - - - / / / / \ \ \ \ \ \ \ - - - - - / / / / / / | | | | | \ \ \ \ - - - / / / / | | | | | | | | | | | | | | \ - / | | | | | | | | | http://crucial-systems.com | | | | | | / / / / - - - \ \ \ \ | | | | | | / / / / / / / - - - - - \ \ \ \ \ \ \ / / / / / / - - - - - - - \ \ \ \ \ / / / / - - - - - - - - - \ \ \ - - - - - - - - - - - --MS_Mac_OE_2996885954_40150_MIME_Part Content-type: text/plain; name="GUIerrors"; x-mac-creator="53436A6D"; x-mac-type="54455854" Content-disposition: attachment Content-transfer-encoding: x-uuencode begin 644 GUIerrors M*`TO+R!A;B!OR!A2@@:2HR,"LS,"P@,C0S+"`Q-BP@,34S("DL(")286YG959I M97PT)=RYT;T9R;VYT.PU]*3L-#0UO6YT:"P@9&5L=&%4:6UE+"!I;G-T2!D=7)A=&EO;B!O9B!E=F5N="P@ Subject: SC 2.0d29 freeze hello. SC 2.0d29 freezes on startup, getting as far as "compiling classes...". then nothing. cannot drop into macsbug, either. g3/250 powerbook, 192MB RAM, 8.5.1 any response appreciated. andrew mckenzie ------------------------------ Date: Sat, 19 Dec 1998 20:44:13 -0600 From: James McCartney <---@---.---> Subject: Re: Strange obscure GUI bugs ? or ...? At 3:19 AM -0600 12/19/98, Chris Sattinger wrote: > 17.do({ arg i; > pitch(i) = RangeView.new(w, Rect.newBy (30 + (i*20), 86, 16, 153 ), "", >90.rand + 10, 90.rand + 10, 10, 100,1, 'linear') > .rangeColor_(rgb(176,176,176)); > }); You don't declare pitch anywhere. Elements of arrays are assigned by sending the 'put' message to the array. myArray.put(index, value); To access the elements of the array you send the 'at' message. myArray.at(index); --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Sat, 19 Dec 1998 20:59:00 -0600 From: James McCartney <---@---.---> Subject: Re: Bits, audio cards and converters At 3:44 PM -0600 12/16/98, Mikael Laurson wrote: >I have some questions concerning bits, audio cards and converters. > >How does SC2 handle various converters that are found in the market? >If I have (say using the Sonorus card) 24 bit converters will I get out 24 >bit sound >automatically? Good question. I pass floating point data to the Sonorus card, so one hopes they are not clipping it on thier end. The Korg passes 16 bits down the light pipe and 24 bits on SPDIF. >In which format should I save audio files so that I will get >full resolution when playing them later with DiskIn? > >Currently I generate audio files with the following format: >'AIFF', '16 big endian signed' > >Should I use instead the format: >'Sun','32 big endian float' >if I want to preserve better resolution than 16 bits? Yes. >How about latency when comparing the Korg and Sonorus cards. >(I heard some rumours that Korg has latency problems.) I can't say. They both have the same buffer size so theoretically they should be able to get the same. In practice I have not measured. On the Korg one can use up to eight of those buffers, so some other programs' implementations may have a lot worse latency than others. The rumors may be based on programs that use many buffers. >In a previous message James wrote: >>I find I get better performance from the Korg card. >>The Sonorus card's sound input takes more CPU than I think it should. >>I will try and resolve this with Sonorus if possible, but that's how >>it is now. >How bad is it with Sonorus (in CPU %)? I have a 266MHz G3. I can't give a specific answer to your question, it is difficult to characterize. I have spoken with Sonorus and may have some fixes for this in the future. The problem is that the Sonorus card gets each audio input channel with a separate PCI read instead of DMAing all channels like the Korg card does. SC reads all 16 input channels which causes a lot of unecessary reads if you only need stereo in. I will give an option to read only select channels. The new Sonorus drivers just released will give 96KHz output for those of you who want to cut your CPU resources in half... >Finally, what is the best way to reach you personally James? Is it >james@audiosynth.com? That will work. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Sat, 19 Dec 1998 21:00:18 -0600 From: James McCartney <---@---.---> Subject: Re: waveshaping At 1:57 PM -0600 12/15/98, Mark Polishook wrote: >Is there a waveshaping example in the demo files? if not, i'm hoping >someone could post a simple example(s) I am adding some UGens to support better waveshaping and will make some examples for the next version. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Sat, 19 Dec 1998 21:05:43 -0600 From: James McCartney <---@---.---> Subject: Re: SC 2.0d29 freeze - --============_-1297999350==_============ Content-Type: text/plain; charset="us-ascii" At 9:00 AM -0600 12/19/98, the hafler trio wrote: >hello. > >SC 2.0d29 freezes on startup, getting as far as "compiling classes...". >then nothing. cannot drop into macsbug, either. > >g3/250 powerbook, 192MB RAM, 8.5.1 > >any response appreciated. > >andrew mckenzie Try the attached prefs file. Put it in the Preferences folder in your System Folder. Then start SC. This prefs file has sound input turned off. Tell me if this works. - --============_-1297999350==_============ Content-Type: text/plain; name="SuperCollider_Prefs"; charset="us-ascii" Content-Disposition: attachment; filename="SuperCollider_Prefs" ; SuperCollider Preferences hardware = apple sampleRate = 44100 clockSource = 0 bufMultiple = 1 useSoundInput = 0 defaultBlockSize = 64 - --============_-1297999350==_============ Content-Type: text/plain; charset="us-ascii" --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: - --============_-1297999350==_============-- ------------------------------ Date: Sat, 19 Dec 1998 23:54:14 -0500 From: "Chris Sattinger" <---@---.---> Subject: Sample array : SC2.0d28 works d29 doesn't Still hacking : this is an array of samples, all loaded and ready to go. this works in d28 ! but as shown by the errors at the bottom, doesn't in d29 var filenames, sound, signal, playME; var onesound, onesignal; filenames =[ ":Sounds:cecil wandr", ":Sounds:classicbreaks.24", ":Sounds:classicbreaks.56", ":Sounds:classicbreaks.57", ":Sounds:classicbreaks.66" ]; sound = Array.fill(filenames.size, {SoundFile.new}); signal = sound.collect({ arg item, i ; item.read(filenames.at(i)); item.data.at(0); }); playME = 3 ; // this is who gets played Synth.play({ onesound = sound.at(playME); onesignal = signal.at(playME); PlayBuf.ar( onesignal, onesound.sampleRate, 1, 0, onesignal.size-(onesignal.size*0.1), onesignal.size-2,1 ); }); alloc failed 1 17 1048608 0 bgwfr t sz: 0 0 4 0 0 4 32 1 bgwfr t sz: 0 0 14 0 0 14 224 2 bgwfr t sz: 0 0 4 0 0 4 128 3 bgwfr t sz: 1 0 13 1 0 15 960 4 bgwfr t sz: 0 0 4 0 0 4 512 5 bgwfr t sz: 0 0 6 0 0 6 1536 6 bgwfr t sz: 0 0 0 2 0 2 1024 7 bgwfr t sz: 0 0 1 0 0 1 1024 10 bgwfr t sz: 0 0 1 0 0 1 8192 13 bgwfr t sz: 1 0 0 0 0 1 65536 17 bgwfr t sz: 0 0 1 0 0 1 1048576 18 bgwfr t sz: 0 0 2 0 0 2 4194304 tot bgwfr t sz: 2 0 50 3 0 55 5322048 €DANGER: OUT of MEMORY. Operation failed. ------------------------------ Date: Sat, 19 Dec 1998 23:35:36 -0600 From: James McCartney <---@---.---> Subject: Re: Sample array : SC2.0d28 works d29 doesn't At 10:54 PM -0600 12/19/98, Chris Sattinger wrote: >Still hacking : >this is an array of samples, all loaded and ready to go. > >this works in d28 ! > but as shown by the errors at the bottom, doesn't in d29 Have you tried increasing the Get Info memory size? --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Sun, 20 Dec 1998 17:42:00 +0000 From: the hafler trio <---@---.---> Subject: Re: SC 2.0d29 freeze > >Try the attached prefs file. Put it in the Preferences folder in your >System Folder. Then start SC. This prefs file has sound input turned off. >Tell me if this works. > > er...now I get SuperCollider 2.0d29, copyright (c) 1998 James McCartney for more info, see http://www.audiosynth.com Worldscript Aware Styled Text Engine copyright (c) 1993-1996 Marco Piovanelli MacZoop framework copyright (c) 1996 Graham Cox Prefs : hardware = apple sampleRate = 44100 clockSource = 0 bufMultiple = 1 useSoundInput = 1 defaultBlockSize = 64 * ERROR: OMS init failedcompiling class library.. NumPrimitives = 359 pass 1 done Method Table Size 573896 bytes Number of Method Selectors 1032 Number of Classes 638 Number of Symbols 2781 Byte Code Size 29365 compiled 82 files in 1.48 seconds compile done then it freezes. any further ideas? andrew mckenzie ------------------------------ End of sc-users-digest V1 #21 *****************************