From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #43 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, June 6 1999 Volume 01 : Number 043 ---------------------------------------------------------------------- Date: Thu, 27 May 1999 19:58:00 +0200 From: julian rohrhuber <---@---.---> Subject: Plug 1) trying to use an Array as argument of Plug, that doesn´t work, even not like this: a = Plug.kr(1); a.source = `[1, 3]; why? 2) does sc work with oms only and not with apple midi manager? ------------------------------ Date: Thu, 27 May 1999 14:44:45 -0600 From: James McCartney <---@---.---> Subject: Re: Plug At 11:58 AM -0600 5/27/99, julian rohrhuber wrote: >1) trying to use an Array as argument of Plug, that doesn´t work, even not > like this: > a = Plug.kr(1); > a.source = `[1, 3]; > why? What do you expect it to do? You cannot multi channel expand after a patch has been built. It gets built once. You can change the sources to Plugs, but that does not cause a dynamic reallocation of new UGens. Once the UGens are allocated you're set. > >2) does sc work with oms only and not with apple midi manager? correct. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Thu, 27 May 1999 12:53:42 -0700 From: cyellow@earthlink.net Subject: Compatibility questions was having trouble accessing didgidesign hardware (888) on an 8500/120 running system7.5.1. Got DSIDAE 3.4.2 and got a message saying I needed system 7.6 or later. Upgraded to 8.5.1 and can't access any menu items with the mouse on programs associated with the DSIDAE (studiovision, Samplecell, SDII, SC2, etc.) although command keys seem to work fine. I'm about to get a G3 for use with a protools 24 system. Will SC2 run on a G3 (probably a blue&white) ? Any suggestions as to what system I should be running? Thanks, Scott Gilman ------------------------------ Date: Fri, 28 May 1999 11:51:40 +0200 From: "Iannis Zannos" <---@---.---> Subject: Re: Compatibility questions >I'm about to get a G3 for use with a protools 24 system. Will SC2 run >on a G3 (probably a blue&white) ? Any suggestions as to what system I >should be running? Thanks, Answer is easy: As quote from following post to this list some weeks ago shows, SC runs fine on G3, also blue and white (Yosemite). It is also reported to run well with 8.5.1. I do not know about 8.6, which is out now for download at Apple, and which Apple says has a kernel optimized for more speed. Best Iannis >From: Richard Karpen <---@---.---> >To: sc-users@lists.io.com >Subject: Re: Osc benchmark and Virtual Memory >Date: Mon, 17 May 1999 10:27 PM > > >I am getting around 10% more processor power on a 400Mhz G3 with VM on. > >Richard Karpen > > >On Mon, 17 May 1999, Landon Rose wrote: > >> James- >> On my PB2400c/180 with OS8.1 using the patch >> in the examples folder gave these results: >> VM off : Osc ... n = 100 >> VM on : Osc....n = 100 >> VM on : Klang ....n = 700 >> VM off : Klang ...n = 650 (I checked this twice!) >> This is with cpu percentage running around 90 percent >> >> I assume there are other more critical reasons to run with VM turned off? >> >> Thanks >> Landon >> >> >> Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 - ---------- >From: cyellow@earthlink.net >To: sc-users@lists.io.com >Subject: Compatibility questions >Date: Thu, 27 May 1999 9:53 PM > >was having trouble accessing didgidesign hardware (888) on an 8500/120 >running system7.5.1. Got DSIDAE 3.4.2 and got a message saying I needed >system 7.6 or later. Upgraded to 8.5.1 and can't access any menu items >with the mouse on programs associated with the DSIDAE (studiovision, >Samplecell, SDII, SC2, etc.) although command keys seem to work fine. >I'm about to get a G3 for use with a protools 24 system. Will SC2 run >on a G3 (probably a blue&white) ? Any suggestions as to what system I >should be running? Thanks, >Scott Gilman > > ------------------------------ Date: Fri, 28 May 1999 19:29:05 +0900 From: Martin <---@---.---> Subject: Re: Compatibility questions SC is running fine on OS8.6 as well. At least at the German OS troughout 3 days so far. Iannis Zannos wrote: > >I'm about to get a G3 for use with a protools 24 system. Will SC2 run > >on a G3 (probably a blue&white) ? Any suggestions as to what system I > >should be running? Thanks, > > Answer is easy: > > As quote from following post to this list some weeks ago shows, > SC runs fine on G3, also blue and white (Yosemite). It is > also reported to run well with 8.5.1. I do not know about > 8.6, which is out now for download at Apple, and which > Apple says has a kernel optimized for more speed. > > Best > Iannis > > >From: Richard Karpen <---@---.---> > >To: sc-users@lists.io.com > >Subject: Re: Osc benchmark and Virtual Memory > >Date: Mon, 17 May 1999 10:27 PM > > > > > > >I am getting around 10% more processor power on a 400Mhz G3 with VM on. > > > >Richard Karpen > > > > > >On Mon, 17 May 1999, Landon Rose wrote: > > > >> James- > >> On my PB2400c/180 with OS8.1 using the patch > >> in the examples folder gave these results: > >> VM off : Osc ... n = 100 > >> VM on : Osc....n = 100 > >> VM on : Klang ....n = 700 > >> VM off : Klang ...n = 650 (I checked this twice!) > >> This is with cpu percentage running around 90 percent > >> > >> I assume there are other more critical reasons to run with VM turned off? > >> > >> Thanks > >> Landon > >> > >> > >> > > Iannis Zannos > SIM > Tiergartenstr. 1, > D-10785 Berlin, Germany > Fax: +49 30 25481172 > > ---------- > >From: cyellow@earthlink.net > >To: sc-users@lists.io.com > >Subject: Compatibility questions > >Date: Thu, 27 May 1999 9:53 PM > > > > >was having trouble accessing didgidesign hardware (888) on an 8500/120 > >running system7.5.1. Got DSIDAE 3.4.2 and got a message saying I needed > >system 7.6 or later. Upgraded to 8.5.1 and can't access any menu items > >with the mouse on programs associated with the DSIDAE (studiovision, > >Samplecell, SDII, SC2, etc.) although command keys seem to work fine. > >I'm about to get a G3 for use with a protools 24 system. Will SC2 run > >on a G3 (probably a blue&white) ? Any suggestions as to what system I > >should be running? Thanks, > >Scott Gilman > > > > ------------------------------ Date: Fri, 28 May 1999 10:26:07 -0400 (EDT) From: "Ronald J. Kuivila" <---@---.---> Subject: Re: Compatibility questions HI folks, VM introduces a significant input latency. I am running SC on MacOS 8.6 on a popwerbook without any problems. RJK ------------------------------ Date: Fri, 28 May 1999 12:41:07 -0400 From: Landon Rose <---@---.---> Subject: Re: Compatibility questions >HI folks, > > VM introduces a significant input latency. > > I am running SC on MacOS 8.6 on a popwerbook without any problems. > >RJK Do you know how much latency? I have been wondering how to calculate it exactly. I believe on my powerbook(2400) it is somewhere in the range of .15 seconds, ( without VM) which I roughly calculated from a mono multitrack record patch I made. To get two tracks to "sync" I needed to start one file 6700 frames into the file, a value I calculated by ear. Of course this value is concerned with accessing a file etc. but it seems to reflect the input delay on other patches. Also- has anyone used SC in a real-time situation where precise timing with other instruments is needed? How did you work with the processing time delay? It occurs to me that with MIDI timing input one could delay an SC patch to at least be in time with the next note! Landon ------------------------------ Date: Fri, 28 May 1999 15:08:49 -0400 (EDT) From: "Ronald J. Kuivila" <---@---.---> Subject: input latency Hi Landon I would simply avoid using virtual memory - the SoundManager latency is pretty low at this point. I think James did a rundown of the performance with different cards - I believe the Korg 1212IO was and is the best (pending the arrival of ASIO support for the MOTU2408). RJK ------------------------------ Date: Fri, 28 May 1999 12:17:18 -0700 (PDT) From: Richard Karpen <---@---.---> Subject: Re: Compatibility questions I just had a performance of a piece for live violin processed in realtime with SC and had no noticable latency. I had quite a good effect of the violin and processed sound happening in unison. This was with VR on or off. BUT, did have a problem with one of the computers having .25 seconds of latency in the rehearsal. I rebooted with extensions off and that fix it entirely. I haven't had time to check which extension was the offending one, but I'll pass that along when/if I find out. Richard Karpen On Fri, 28 May 1999, Landon Rose wrote: > >HI folks, > > > > VM introduces a significant input latency. > > > > I am running SC on MacOS 8.6 on a popwerbook without any problems. > > > >RJK > > Do you know how much latency? I have been wondering how to calculate it > exactly. I believe on my powerbook(2400) it is somewhere in the range of > .15 seconds, ( without VM) which I roughly calculated from a mono > multitrack record patch I made. To get two tracks to "sync" I needed to > start one file 6700 frames into the file, a value I calculated by ear. Of > course this value is concerned with accessing a file etc. but it seems to > reflect the input delay on other patches. > > Also- has anyone used SC in a real-time situation where precise timing with > other instruments is needed? How did you work with the processing time > delay? It occurs to me that with MIDI timing input one could delay an SC > patch to at least be in time with the next note! > > Landon > > > ------------------------------ Date: Fri, 28 May 1999 12:21:43 -0700 (PDT) From: Richard Karpen <---@---.---> Subject: Re: input latency I should probably have added that I was using the on-board audio I/O on the Mac with regard to my no-latency experience. The new G3 system seems to have very high quality audio I/O, alas just stereo of course. Richard Karpen On Fri, 28 May 1999, Ronald J. Kuivila wrote: > Hi Landon > > I would simply avoid using virtual memory - the SoundManager latency is > pretty low at this point. I think James did a rundown of the performance > with different cards - I believe the Korg 1212IO was and is the best > (pending the arrival of ASIO support for the MOTU2408). > > RJK > > > > ------------------------------ Date: Fri, 28 May 1999 15:26:38 -0700 From: "Garry Kling" <---@---.---> Subject: Re: Input latency Hello all! I recently put together a piece with trumpet, guitar, and an EVI all going into SC. The problem I faced was not only input but also processing time. I suppose this is an obvious point, but I wanted to keep the effects. What I did was to add a little reverb to the patch, and this helped the performers deal with it better. It is, however not a solution that is always appropriate. But when it is, it is a very easy one that requires but a few Ugens and a little bit of memory. Another possible solution, also according to what is appropriate, is to mix some of the live sound through a mixer. I really haven't dealt with the MIDI question yet. I look forward to hearing everyone's ideas on this - it is a very important question. Thanks to all, Garry Kling Central Washington University <<< Landon Rose 5/28 9:51a >>> >HI folks, > > VM introduces a significant input latency. > > I am running SC on MacOS 8.6 on a popwerbook without any problems. > >RJK Do you know how much latency? I have been wondering how to calculate it exactly. I believe on my powerbook(2400) it is somewhere in the range of .15 seconds, ( without VM) which I roughly calculated from a mono multitrack record patch I made. To get two tracks to "sync" I needed to start one file 6700 frames into the file, a value I calculated by ear. Of course this value is concerned with accessing a file etc. but it seems to reflect the input delay on other patches. Also- has anyone used SC in a real-time situation where precise timing with other instruments is needed? How did you work with the processing time delay? It occurs to me that with MIDI timing input one could delay an SC patch to at least be in time with the next note! Landon ------------------------------ Date: Fri, 28 May 1999 18:57:12 -0400 From: Mark Ballora <---@---.---> Subject: sound file export problems To share what I'm doing with others elsewhere, who are not SC-endowed, I am using Synth.write to save patches as sound files. The intention is then to save the sound files as QuickTime movies, both so that the others can hear them with the QT player, and so I can take advantage of QT's nifty compression schemes which brings them down to transmittable sizes. After I've created the stereo sound file, however, I'm unable to import it into QuickTime. The QT error box just cites an error in the program. I can open the file up in SoundEdit 16 v. 2, but when I try to rename/save, SoundEdit crashes due to an unmapped memory exception. I am able to bring the file into Deck II 2.6.1, and then save it as an AIFF from there. The file created from SC is 41.1MB. When I save it from Deck, also 16-bit, 44.1 rate, it creates a 20.5 MB file. This file I can import into QT normally. This is QT4. Had the same problems with QT3. I also realize SoundEdit and Deck are old, now re-written and distributed by Peak. ------------------------------ Date: Fri, 28 May 1999 18:01:17 -0600 From: James McCartney <---@---.---> Subject: Re: sound file export problems At 4:57 PM -0600 5/28/99, Mark Ballora wrote: >To share what I'm doing with others elsewhere, who are not SC-endowed, I am >using Synth.write to save patches as sound files. The intention is then to >save the sound files as QuickTime movies, both so that the others can hear >them with the QT player, and so I can take advantage of QT's nifty >compression schemes which brings them down to transmittable sizes. > >After I've created the stereo sound file, however, I'm unable to import it >into QuickTime. The QT error box just cites an error in the program. > >I can open the file up in SoundEdit 16 v. 2, but when I try to rename/save, >SoundEdit crashes due to an unmapped memory exception. > >I am able to bring the file into Deck II 2.6.1, and then save it as an AIFF >from there. > >The file created from SC is 41.1MB. When I save it from Deck, also 16-bit, >44.1 rate, it creates a 20.5 MB file. This file I can import into QT >normally. > >This is QT4. Had the same problems with QT3. I also realize SoundEdit and >Deck are old, now re-written and distributed by Peak. I have fixed a couple of bugs in the AIFF writing code which will be in 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: Mon, 31 May 1999 10:37:29 +0200 From: "Iannis Zannos" <---@---.---> Subject: Useful runtime info for voicer et al Some questions which arose from kind of stress-testing SC in an installation with lots of MIDI-in triggers, lots of samples etc: 1. Can the sound function inside a Voicer find out how many voices are currently running? This would be very useful for example as a measure for adapting the new sound processes amplitude, so as to avoid clipping if many voices start to accumulate. (Let alone, tell the other voices to reduce their amplitude, that would be real good adaptive stuff, like advertised by Honing, Dannenberg et al. (In: Representations of Musical Signals). 2. In a similar vein: Since the run-bar at the top of the window displays CPU load peak and mean, why not make a method for example in Synth class to let the user ask the CPU load value - so that decisions whether to spawn another voice, or even the choice what bunch of processing algorithms to use may depend on the current situation - the CPU capacity of the mac used, the amount of processes already running etc. Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 ------------------------------ Date: Mon, 31 May 1999 13:35:44 +0200 From: "Iannis Zannos" <---@---.---> Subject: OMS internal communication (also OSC) Is internal communication of SC to other applications on the same computer now possible over OMS port configuration? Any advice on how to achieve communication MAX->SC on the same mac without having to go through an external MIDI hardware interface? Also: will SC also have OSC output, or only input? Is it foreseen in OSC to communicate with other applications on the same computer? Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 ------------------------------ Date: Mon, 31 May 1999 13:32:20 +0100 From: finer@easynet.co.uk Subject: Re: OMS internal communication (also OSC) Iannis, Can you not use the IAC bus in OMS ? I've done this I'm sure in the dim and distant past with SC1 and Max, and SC1 and Logic. Jem >Is internal communication of SC to >other applications on the same computer >now possible over OMS port configuration? >Any advice on how to achieve communication >MAX->SC on the same mac without having to >go through an external MIDI hardware interface? > >Also: will SC also have OSC output, or only input? >Is it foreseen in OSC to communicate with other >applications on the same computer? > > >Iannis Zannos >SIM >Tiergartenstr. 1, >D-10785 Berlin, Germany >Fax: +49 30 25481172 ------------------------------ Date: Mon, 31 May 1999 18:13:07 +0100 From: Martin Robinson <---@---.---> Subject: Re: OMS internal communication (also OSC) As Jem says, use the IAC bus, I've tried it in SC2, with Max sending MIDI notes. I can't remember how I set it up but I think if you make a new OMS setup and make sure it only finds the IAC bus it should work, assign Max's MIDI out objects to IAC and SC should pick them up. It seems to be a good way of hanging your machine, however. (It probably needed tweaking, I should imagine there was some pretty viscous ankle biting between Max and SC at interrupt level.) It wasn't something I really needed to do, but more of a "I wonder if....". >>>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_sonicArts.at(middlesexUniversity.london.uk); ______ <><><>__this.liveElectronics.interFaces.diffusion ____ || ------------------------------ Date: Mon, 31 May 1999 18:00:02 +0100 From: Martin Robinson <---@---.---> Subject: Re: Useful runtime info for voicer et al Iannis, I have thought a number of times that the latter of your suggestions would be useful (polling the cpu loading). Have you had any problems similar to the ones I mentioned in a post early last month (Subject:"Vocier problem", apologies again for its length). Where voices sometimes fail to trigger (usually when there's a lot of code to interpret)? That brings me to another (related) question: Does code run more efficiently if it is compiled within the library (in the Main.run method for example) rather than executing a selection from the interpreter. Or am I being dumb and these are equivalent? >>>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_sonicArts.at(middlesexUniversity.london.uk); ______ <><><>__this.liveElectronics.interFaces.diffusion ____ || ------------------------------ Date: Tue, 1 Jun 1999 10:42:05 +1000 From: Garth Paine <---@---.---> Subject: Re: OMS internal communication (also OSC) >As Jem says, use the IAC bus, I've tried it in SC2, with Max sending MIDI >notes. I can't remember how I set it up but I think if you make a new OMS >setup and make sure it only finds the IAC bus it should work, assign Max's >MIDI out objects to IAC and SC should pick them up. It seems to be a good >way of hanging your machine, however. (It probably needed tweaking, I should >imagine there was some pretty viscous ankle biting between Max and SC at >interrupt level.) From my explorationj of this issue, SC2 looks at all OMS nodes and will send and recieve from all of them at one on the channel specified in the argument in the object. The problem with this is that that channel is then unavailable for other devices. I would love to see the OMS port and channels as arguments within the MIDI objects in SC2. Cheers, Garth BTW: note that I have changed email and www addresses to activatedspace.com.au creativeaccess.com.au will not work after June 01, 1999 ,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,. Activated Space . Composer, Sound Designer, Installation Artist .. Interactives Designer, Exhibition Consultant ........ph. 61 3 95720133 garth@activatedspace.com.au http://www.activatedspace.com.au .,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,. ------------------------------ Date: Tue, 1 Jun 1999 11:08:08 -0600 From: James McCartney <---@---.---> Subject: Re: Useful runtime info for voicer et al At 11:00 AM -0600 5/31/99, Martin Robinson wrote: >Iannis, I have thought a number of times that the latter of your suggestions >would be useful (polling the cpu loading). Have you had any problems similar >to the ones I mentioned in a post early last month (Subject:"Vocier >problem", apologies again for its length). Where voices sometimes fail to >trigger (usually when there's a lot of code to interpret)? I didn't have time to delve into that example. It would be easier if you sent it to me as an attachment so that I would not have to undo all the line wrapping. >Does code run more efficiently if it is compiled within the library (in the >Main.run method for example) rather than executing a selection from the >interpreter. Or am I being dumb and these are equivalent? They are the same. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Thu, 3 Jun 1999 10:38:57 +0200 From: "Jacobs, A.G.A.M. - SPLXM" <---@---.---> Subject: IODriverInit Hello, I wonder why I get the message: IODriverInit: (-192) whenever I try to change the BlockSize from the AudioSetupo Menu. I am on sc2.1.3 pm 7200/90 56 mb using the SoundManager ------------------------------ Date: Thu, 03 Jun 1999 15:41:56 +0200 From: Martino Traversa <---@---.---> Subject: SuperCollider Workshop ************************************************ SUPERCOLLIDER WORKSHOP Dates: 18 and 19 of September Location: Prometeo, Parma (Italy) Candidates: max 20 Price: 200 USD Instructors: Alberto de Campo and Curtis Roads ************************************************ SuperCollider 2 is a sophisticated software environment for real-time audio synthesis on the Power Macintosh platform. It features: - - an object-oriented programming environment - - over 200 unit generators - - real-time user interaction (MIDI, OpenSound Control, graphic envelopes, sliders, etc.) - - high-level compositional processes With its power, flexibility, and efficiency, SuperCollider is well suited as a tool for both interactive and studio-based electronic music composition and research. For more information on SuperCollider 2 and how to obtain it, visit www.audiosynth.com. This intensive two-day tutorial features instruction in SuperCollider operations and programming by Alberto De Campo, the author of a forthcoming book on the language, and Curtis Roads. The course will cover the basics and then proceed to examples of advanced synthesis, composition, and interaction possibilities provided by SuperCollider 2. Please submit mail to: prometeo@symbolic.it Traiettorie 1999 International Meeting of Modern and Contemporary Music Parma, 15 September / 3 October http://www.symbolic.it/ensemble COOL-FIRE: la soluzione Firewall per Windows NT http://www.symbolic.it/Prodotti/cool-fire.html SYMBOLIC Tel: +39 0521 776180 / Fax: +39 0521 776190 ------------------------------ Date: Thu, 3 Jun 1999 11:14:50 -0400 From: Mark Ballora <---@---.---> Subject: asSortedList The sorted list example from the Collection.help: List[2, 1, 4, 3].asSortedList.postln; is producing an error: Message 'addLast' not understood. etc. etc. I tried going into the List.sc file, and adding an addLast method, a la the addFirst method, but it didn't do the trick (not that I'm 100% confident of my ability to modify classes or anything ...) Mark Ballora ------------------------------ Date: Thu, 3 Jun 1999 12:05:25 -0600 From: James McCartney <---@---.---> Subject: Re: asSortedList - --============_-1283689367==_============ Content-Type: text/plain; charset="us-ascii" At 9:14 AM -0600 6/3/99, Mark Ballora wrote: >The sorted list example from the Collection.help: > >List[2, 1, 4, 3].asSortedList.postln; > >is producing an error: > >Message 'addLast' not understood. >etc. etc. > >I tried going into the List.sc file, and adding an addLast method, a la the >addFirst method, but it didn't do the trick (not that I'm 100% confident of >my ability to modify classes or anything ...) There were a number of bugs in SortedList. Attached is a fixed version of the file. - --============_-1283689367==_============ Content-Type: text/plain; name="SortedList.sc"; charset="us-ascii" Content-Disposition: attachment; filename="SortedList.sc" SortedList : List { var <>function; *new { arg size = 8, function; function = function ? { arg a, b; a < b } ^super.new(size).function_(function) } add { arg newObject; var nextIndex; if ( this.isEmpty, { ^super.add(newObject); }); nextIndex = this.indexForInserting(newObject); this.insert(nextIndex, newObject); } addAll { arg aCollection; if ( aCollection.size > (this.size div: 3), { // Faster to add the new elements and resort aCollection.do({ arg each; super.add(each) }); this.sort },{ // Faster to add the elements individually in their proper places aCollection.do({ arg each; this.add(each) }); }); } // PRIVATE indexForInserting { arg newObject; var index, low, high; low = 0; high = this.size-1; while ({ index = high + low div: 2; low <= high; },{ if (function.value(array.at(index), newObject), { low = index + 1; },{ high = index - 1; }); }); ^low } sort { this.sortRange(0, array.size - 1) } sortRange { arg i, j; //Sort elements i through j of this to be nondescending according to // function. var di, dij, dj, tt, ij, k, l, n; // The prefix d means the data at that index. if ((n = j + 1 - i) <= 1, { ^this }); // Nothing to sort. //Sort di,dj. di = array.at(i); dj = array.at(j); if (function.value(di, dj).not, { // i.e., should di precede dj? array.swap(i,j); tt = di; di = dj; dj = tt; }); if ( n > 2, { // More than two elements. ij = (i + j) div: 2; // ij is the midpoint of i and j. dij = array.at(ij); // Sort di,dij,dj. Make dij be their median. if (function.value(di, dij), { // i.e. should di precede dij? if (function.value(dij, dj).not, { // i.e., should dij precede dj? array.swap(j, ij); dij = dj; }) },{ // i.e. di should come after dij" array.swap(i, ij); dij = di; }); if ( n > 3, { // More than three elements. // Find k>i and l - --============_-1283689367==_============-- ------------------------------ Date: Thu, 3 Jun 1999 13:21:24 -0400 From: Mark Ballora <---@---.---> Subject: Re: asSortedList >There were a number of bugs in SortedList. > >Attached is a fixed version of the file. > Thank you! I found my through the immediate problem when I did some investigating and found the .sort method. This allows me to find the median of the last n values in an array by putting them into a shorter array (length n), sorting it and then calling sortedarray.at((arraylength*0.5).asInt). But I'm glad to get the bug fixes. cheers -- MB ------------------------------ Date: Fri, 04 Jun 1999 08:53:52 +0200 From: "Iannis Zannos" <---@---.---> Subject: Music Technology Site The Music Technology (Swiki) web site is up again: http://141.20.150.214:88/MusicTechnology SC pages are at: http://141.20.150.214:88/MusicTechnology.14 Apologies for the delay of over 1 week - I have no easy access to the server which this site is on. Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 ------------------------------ Date: Fri, 04 Jun 1999 17:32:59 +0200 From: Staffan Liljegren <---@---.---> Subject: Re: Music Technology Site Iannis, I tried to access this site (from the inside of our corporate firewall) but I just get an error message. I thought WIKI weas supposed to work even from inside a firewall, but.... - -staffan Iannis Zannos wrote: > The Music Technology (Swiki) web site is up again: > > http://141.20.150.214:88/MusicTechnology > > SC pages are at: > > http://141.20.150.214:88/MusicTechnology.14 > > Apologies for the delay of over 1 week - > I have no easy access to the server which this site is on. > > Iannis Zannos > SIM > Tiergartenstr. 1, > D-10785 Berlin, Germany > Fax: +49 30 25481172 ------------------------------ Date: Fri, 04 Jun 1999 18:34:59 +0200 From: Martino Traversa <---@---.---> Subject: Re: Music Technology Site In 17.32 04/06/99 +0200, Staffan Liljegren ha scritto: >Iannis, > >I tried to access this site (from the inside of our corporate firewall) but >I just get an error message. I thought WIKI weas supposed to work even >from inside a firewall, but.... > It could be the 88 port number. Some firewall doesn't authorize connection to low ports. A solution could be to reconfigure the deamon with an high port... Martino COOL-FIRE: la soluzione Firewall per Windows NT http://www.symbolic.it/Prodotti/cool-fire.html SYMBOLIC Tel: +39 0521 776180 / Fax: +39 0521 776190 ------------------------------ Date: Fri, 04 Jun 1999 19:29:19 +0200 From: "Iannis Zannos" <---@---.---> Subject: Re: Music Technology Site >I tried to access this site (from the inside of our corporate firewall) but >I just get an error message. I thought WIKI weas supposed to work even >from inside a firewall, but.... Accessing from a firewall is no problem. I am operating from behind a firewall right now. I tried accessing ca 30 minutes ago (ca 19:00 GW+1 Hrs.) and there was a failure which was not limited to the Swiki but concerned also the commercial web server on the same computer. Right now both are working fine. I have experienced similar unexplainable delays in the past, and therefore must assume that there must be some periodic trouble with the University network where this computer is on. My plan is to move the site to our institute as soon as the permission has finally been given to operate such a Swiki server at the WAN to which our institute belongs. Then things should improve... :] Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 - ---------- >From: Staffan Liljegren <---@---.---> >To: sc-users@lists.io.com >Subject: Re: Music Technology Site >Date: Fri, 4 Jun 1999 5:32 PM > >Iannis, > >I tried to access this site (from the inside of our corporate firewall) but >I just get an error message. I thought WIKI weas supposed to work even >from inside a firewall, but.... > > >-staffan > > >Iannis Zannos wrote: > >> The Music Technology (Swiki) web site is up again: >> >> http://141.20.150.214:88/MusicTechnology >> >> SC pages are at: >> >> http://141.20.150.214:88/MusicTechnology.14 >> >> Apologies for the delay of over 1 week - >> I have no easy access to the server which this site is on. >> >> Iannis Zannos >> SIM >> Tiergartenstr. 1, >> D-10785 Berlin, Germany >> Fax: +49 30 25481172 > > ------------------------------ Date: Fri, 04 Jun 1999 20:30:09 +0200 From: "Iannis Zannos" <---@---.---> Subject: Re: Music Technology Site >It could be the 88 port number. Some firewall doesn't authorize connection >to low ports. A solution could be to reconfigure the deamon with an high >port... > >Martino Thanks Martino, I will reconfigure the Swiki to something like 8080 only if Staffan confirms being unable to reach it from within the firewall now. Best, Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 ------------------------------ Date: Sat, 05 Jun 1999 14:21:14 +0200 From: Staffan Liljegren <---@---.---> Subject: Re: Music Technology Site Yes I still get error, when one of our proxy caching servers (running ICP): "ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://141.20.150.214:88/MusicTechnology The following error was encountered: Access Denied. Access control configuration prevents your request from being allowed ...." But I also tried another proxy/firewall, where it works OK . So don't bother to change the port! number in Swiki. I can - -Staffan Iannis Zannos wrote: > >It could be the 88 port number. Some firewall doesn't authorize connection > >to low ports. A solution could be to reconfigure the deamon with an high > >port... > > > >Martino > > Thanks Martino, > > I will reconfigure the Swiki to something like 8080 > only if Staffan confirms being unable to reach it > from within the firewall now. > > Best, > > Iannis Zannos > SIM > Tiergartenstr. 1, > D-10785 Berlin, Germany > Fax: +49 30 25481172 ------------------------------ Date: Sun, 6 Jun 1999 01:04:04 -0700 (PDT) From: Garrett James <---@---.---> Subject: using gui to index array Hello folks, I know this is probably trivial, ive been digging through classes trying to find a way to convert the number i type into a gui to index an array (ie: use for an arguement of "as(..)" can someone tell me in a few lines how to do this simple task. thanks so much! - -Garrett _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Sun, 06 Jun 1999 11:26:06 +0100 From: Martin Robinson <---@---.---> Subject: Re: using gui to index array Say your GUI item (a NumericalView, I presume) is stored i the variable 'num' and the array you wish to access is stored in 'array'. num.value // returns a float: Views return floats we need an integer to use as an index argument for array.at(i) num.value.asInteger // returns an integer so array.at(num.value.asInteger) does the job >>>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_sonicArts.at(middlesexUniversity.london.uk); ______ <><><>__this.liveElectronics.interFaces.diffusion ____ || > Hello folks, > > I know this is probably trivial, ive been digging > through classes trying to find a way to convert the > number i type into a gui to index an array (ie: use > for an arguement of "as(..)" ------------------------------ Date: Sun, 06 Jun 1999 16:02:58 +0200 From: andreas pieper <---@---.---> Subject: sound file read at interrupt? hi, is it possible to read in another soundfile for PlayBuf usage while running? I tried (with GetFileDialog), and all I got was ERROR: Primitive '_ReadSoundFileHeader' failed. Operation cannot be performed at interrupt level. I remember that supercollider 1 did let me do that, although not without heavy coughing on the audio outputs (i could sort of live with that..). Another thing: are there any methods for reading a directory? other than that, after climbing up the initially steep learning curve, the last weeks were a very smooth experience. best, a andreas pieper mego@url.de ------------------------------ Date: Sun, 6 Jun 1999 10:33:10 -0600 From: James McCartney <---@---.---> Subject: Re: sound file read at interrupt? At 8:02 AM -0600 6/6/99, andreas pieper wrote: >hi, > >is it possible to read in another soundfile for PlayBuf usage while >running? I tried (with GetFileDialog), and all I got was > >ERROR: >Primitive '_ReadSoundFileHeader' failed. >Operation cannot be performed at interrupt level. No this cannot be done while playing. Once I add threads that can block then this will be implemented. >I remember that supercollider 1 did let me do that, although not without >heavy coughing on the audio outputs (i could sort of live with that..). SC1 could not do that. SC1 could stream audio from disk as can SC2 by using DiskIn. >Another thing: are there any methods for reading a directory? no. This is waiting for threads too. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Sun, 6 Jun 1999 17:14:16 -0700 (PDT) From: Garrett James <---@---.---> Subject: Re: using gui to index array thanks, but, For some reason I do not completely understand how to constantly poll the value in the NumericalView to index the array to do something different. num.value.asInteger seems to grab the initial value, how do i rig this to continuously ask "what is in that NumericalView box" (and have it return an Integer for indexing array) I know you can use num.kr to control Ugens for example, but cannot figure out how to consistantly look at what is in NumericalView and at the same time convert to "Integer" type. thanks if anyone can help me (ive been hitting my head quite hard with this for a while, do not understand) - -Garrett - --- Martin Robinson wrote: > Say your GUI item (a NumericalView, I presume) is > stored i the variable > 'num' and the array you wish to access is stored in > 'array'. > > num.value // returns a float: Views return floats > > we need an integer to use as an index argument for > array.at(i) > > num.value.asInteger // returns an integer > > so > > array.at(num.value.asInteger) > > does the job > > > >>>>>>Martin Robinson :: (Ex)tractor :: && > ________ > >>><<<_sonicArts.at(middlesexUniversity.london.uk); > ______ > <><><>__this.liveElectronics.interFaces.diffusion > ____ > > || > > > > Hello folks, > > > > I know this is probably trivial, ive been digging > > through classes trying to find a way to convert > the > > number i type into a gui to index an array (ie: > use > > for an arguement of "as(..)" > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ End of sc-users-digest V1 #43 *****************************