From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #375 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 Wednesday, November 7 2001 Volume 01 : Number 375 ---------------------------------------------------------------------- Date: Thu, 25 Oct 2001 16:59:39 -0700 From: "Thomas Miley" <---@---.---> Subject: Re: OSC question - followup > > normally when you're inside a lan you have the 192.168. ip space > which is per definition the ip when you have a gateway between you > and the internet. (But might be different in your special case, of course) > We used to have the following setup: > ip: 192.168.172.x > router 192.168.127.254 (has to be the same subnet in all cases!) > netmask has to be same on all machines, as far as I know. > > when doing stuff over the net, like the elevator client/server, > the ip starts with the same two numbers as the name server. > Some firewalls don't allow udp, but can (of course) be selectively > opened. > > > I don't know if this applies to your situation, but maybe it helps. > Thanks for the info - I'll keep this in mind when we begin our "live" tests. ------------------------------ Date: Fri, 26 Oct 2001 11:20:05 +0200 From: Roland Pfrengle <---@---.---> Subject: RadioButton doubles? This is a multi-part message in MIME format. - --------------CFFB49E57B7B76FADC6DCD58 Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit Hi, SC 2.11: first question: a = RadioButtonView.new(w,Rect.new.....); b = RadioButtonView.new(w,Rect.new.....); a.action = {MIDIOut(3).program(16,1)}; b.action = {MIDIOut(3).program(16,2)}; If I press a radiobutton the MIDIOut command of the previous pressed button is always repeated before executing the right MIDIOut command. This works ok: a = CheckBoxView.new(w,Rect.new.....); b = CheckBoxView.new(w,Rect.new.....); a.action = {b.value = 0; MIDIOut(3).program(16,1)}; b.action = {a.value = 0; MIDIOut(3).program(16,2)}; any idea? second question: if I run, stop, run again... a large code, the first 3 times of runnig/stopping the processor power grows up tp additional 15%. Than it remains at the high level. The original low percentage is only reached again by recompiling the library - that's time consuming. Did anyone have similar experiences? Thanks for help Roland - --------------CFFB49E57B7B76FADC6DCD58 Content-Type: text/x-vcard; charset=us-ascii; name="roland.p.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Roland Pfrengle Content-Disposition: attachment; filename="roland.p.vcf" begin:vcard n:Pfrengle;Roland x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:roland.p@snafu.de x-mozilla-cpt:;1 fn:Roland Pfrengle end:vcard - --------------CFFB49E57B7B76FADC6DCD58-- ------------------------------ Date: Fri, 26 Oct 2001 11:34:18 -0400 From: felix <---@---.---> Subject: Re: SC Server on 10/25/01 2:19 PM, Ian Pojman at ipojman@jmlafferty.com said: >> >> I agree in that. >> What I meant was the language concept of sc which is very neat, >> independant >> of whether you are doing GUI or sound. Of course it is better to be >> able to >> cross-interface as well. but things like your ant or image-sound stuff can still be sc language. there can still be a use for sc language to create some gui stuff. but often / usually, why waste energy doing the sliders and number views all that ? perhaps best for experimentation, prototyping, quick research/edutainment. i'm sure we could get a system whereby IB or GLADE could generate a gui that we liked and connect it to a sound server process in seconds. under os x these things can usually be turned into a single line command. >> >> A question about aesthetics: >> I can't imagine the cocoa api to be limited to the aqua look and feel - no its an interface to the os and also supplies many things such as undo manager, spell check, internet, strings ( CFString ), and garbage collection (you manually .retain and .release objects, but it works very nicely). also supports multi-lingualism. go to developer.apple.com and read. > > Whats wrong with the Aqua l&f? :D it looks horrible ! am i the only one who doesn't like looking at a pdf file ? its like someone took a photograph of a computer. > >> Are there Interface builders that are independent of this appearance? > > InterfaceBuilder is an application distributed with OS X devtools. You > could use any interface builder, though, if you mean WYSIWYG GUI app > IDE's. Take a WYSIWYG Java IDE for example...... squeak is pretty cool and tries out lots of new experimental gui approaches. i think the main thing to keep in mind is that if you are developing alongside other people who are doing similar things, its helpful to have company.... and sc is mostly sound people. and we don't have that large a force of experienced people who care to spend their lives perfecting gui code etc. other languages do. sc should excel at sound or sound<->image etc., but not wastes its (our) energy doing file browsers, menus, tab interfaces, scrolling zoom selections, sound file editors, pretty buttons etc. the future is definitely about smaller applications talking to each other. its much smarter. ------------------------------ Date: Fri, 26 Oct 2001 11:25:00 -0500 From: Ian Pojman <---@---.---> Subject: Re: SC Server On Friday, October 26, 2001, at 10:34 AM, felix wrote: > on 10/25/01 2:19 PM, Ian Pojman at ipojman@jmlafferty.com said: > >>> >>> I agree in that. >>> What I meant was the language concept of sc which is very neat, >>> independant >>> of whether you are doing GUI or sound. Of course it is better to be >>> able to >>> cross-interface as well. > > but things like your ant or image-sound stuff can still be sc language. > there can still be a use for sc language to create some gui stuff. Agreed - I really love the GUI elements of SC2. Very practical. And the GUI design thing, copy to clipboard as code, that's just magnificent James :) > but often / usually, why waste energy doing the sliders and number > views all > that ? > perhaps best for experimentation, prototyping, quick > research/edutainment. > > i'm sure we could get a system whereby IB or GLADE could generate a gui > that > we liked and connect it to a sound server process in seconds. under os x > these things can usually be turned into a single line command. > > >>> >>> A question about aesthetics: >>> I can't imagine the cocoa api to be limited to the aqua look and >>> feel - > > no its an interface to the os and also supplies many things such as undo > manager, spell check, internet, strings ( CFString ), and garbage > collection > (you manually .retain and .release objects, but it works very nicely). > also supports multi-lingualism. go to developer.apple.com and read. > >> >> Whats wrong with the Aqua l&f? :D > > it looks horrible ! am i the only one who doesn't like looking at a pdf > file ? its like someone took a photograph of a computer. > After using OS X for a few months, try going back and using X windows or even MS Windows. It's quite painful.. I'm now effectively spoiled to lush anti-aliased text .. the widgets themselves, I guess can see people having issues with... . . > > squeak is pretty cool and tries out lots of new experimental gui > approaches. > i think the main thing to keep in mind is that if you are developing > alongside other people who are doing similar things, its helpful to have > company.... and sc is mostly sound people. and we don't have that > large a > force of experienced people who care to spend their lives perfecting gui > code etc. other languages do. > sc should excel at sound or sound<->image etc., but not wastes its (our) > energy doing file browsers, menus, tab interfaces, scrolling zoom > selections, sound file editors, pretty buttons etc. Do you have any info for newbies to squeak - where to start, what SDK/DE's to d/l, etc? I've always wanted to check it out. And while I'm typing, I should ask the same of smalltalk. > the future is definitely about smaller applications talking to each > other. > its much smarter. > Amen. modularity is the gift that keeps on giving. ------------------------------ Date: Fri, 26 Oct 2001 10:05:34 -0700 From: Ioannis Zannos <---@---.---> Subject: Re: SC Server > > Do you have any info for newbies to squeak - where to start, what > SDK/DE's to d/l, etc? I've always wanted to check it out. And while I'm > typing, I should ask the same of smalltalk. > www.squeak.org IZ ------------------------------ Date: Fri, 26 Oct 2001 13:24:46 -0400 From: felix <---@---.---> Subject: Re: SC Server on 10/26/01 12:25 PM, Ian Pojman at ipojman@jmlafferty.com said: > > On Friday, October 26, 2001, at 10:34 AM, felix wrote: > >> on 10/25/01 2:19 PM, Ian Pojman at ipojman@jmlafferty.com said: >> >> but things like your ant or image-sound stuff can still be sc language. >> there can still be a use for sc language to create some gui stuff. > > Agreed - I really love the GUI elements of SC2. Very practical. And the > GUI design thing, copy to clipboard as code, that's just magnificent > James :) well i was referring to the more sophisticated sc3 gui... ;) personally i use my FlowLayout and I get by just fine. check out IB sometime, where you can do the same kind of dragging stuff around, save it as a file. and still go back and edit it later once the program is coded (though that part needs work). >>> Whats wrong with the Aqua l&f? :D >> >> it looks horrible ! am i the only one who doesn't like looking at a pdf >> file ? its like someone took a photograph of a computer. >> > After using OS X for a few months, try going back and using X windows or > even MS Windows. yeah, but try os 9.... i just hope we can eventually customise the feel a lot more. > Do you have any info for newbies to squeak - where to start, what > SDK/DE's to d/l, etc? I've always wanted to check it out. And while I'm > typing, I should ask the same of smalltalk. just go download squeak and start playing. no sdk. ------------------------------ Date: Fri, 26 Oct 2001 20:12:49 +0200 From: Julian Rohrhuber <---@---.---> Subject: Re: SC Server > >>> >>> A question about aesthetics: >>> I can't imagine the cocoa api to be limited to the aqua look and feel - > >no its an interface to the os and also supplies many things such as undo >manager, spell check, internet, strings ( CFString ), and garbage collection >(you manually .retain and .release objects, but it works very nicely). >also supports multi-lingualism. go to developer.apple.com and read. you are right. so far I have only seen very much about how to get this cool aqua look ... > > >> Whats wrong with the Aqua l&f? :D > >it looks horrible ! am i the only one who doesn't like looking at a pdf >file ? its like someone took a photograph of a computer. I can take it with humour. In my opinion it is made to make people jolly and seasick, so they are not afraid that they are now on a unix system. > >the future is definitely about smaller applications talking to each other. >its much smarter. agreed. I'd extend that even to applications within one application. ------------------------------ Date: Fri, 26 Oct 2001 20:12:49 +0200 From: Julian Rohrhuber <---@---.---> Subject: Re: SC Server > >>> >>> A question about aesthetics: >>> I can't imagine the cocoa api to be limited to the aqua look and feel - > >no its an interface to the os and also supplies many things such as undo >manager, spell check, internet, strings ( CFString ), and garbage collection >(you manually .retain and .release objects, but it works very nicely). >also supports multi-lingualism. go to developer.apple.com and read. you are right. so far I have only seen very much about how to get this cool aqua look ... > > >> Whats wrong with the Aqua l&f? :D > >it looks horrible ! am i the only one who doesn't like looking at a pdf >file ? its like someone took a photograph of a computer. I can take it with humour. In my opinion it is made to make people jolly and seasick, so they are not afraid that they are now on a unix system. > >the future is definitely about smaller applications talking to each other. >its much smarter. agreed. I'd extend that even to applications within one application. ------------------------------ Date: Fri, 26 Oct 2001 13:42:44 -0400 From: Matthew Smith <---@---.---> Subject: ram limitations I am attempting to load large amounts of audio into RAM, but I can't seem to allocate more than 488MB of memmory to SC2 even though the computer has twice that amount. Is this a limitation of SC2 or MacOS 9?? Matthew ------------------------------ Date: Fri, 26 Oct 2001 18:41:48 -0700 (PDT) From: sal g sofia <---@---.---> Subject: Re: ram limitations Hi Matthew, I am using SC2.2.11 and I allocated "922440 K" just to see what could be the problem, and my SC works fine. Regards, Sal On Fri, 26 Oct 2001, Matthew Smith wrote: > I am attempting to load large amounts of audio into RAM, but I can't seem > to allocate more than 488MB of memmory to SC2 even though the computer has > twice that amount. > > Is this a limitation of SC2 or MacOS 9?? > > Matthew > ------------------------------ Date: Sat, 27 Oct 2001 02:11:00 -0400 From: christian adam hresko <---@---.---> Subject: Re: SC Server felix wrote: > > sc should excel at sound or sound<->image etc., but not wastes its (our) > energy doing file browsers, menus, tab interfaces, scrolling zoom > selections, sound file editors, pretty buttons etc. > > you're assuming everyone who uses sc, wants this sc server 'paradigm.' and you're assuming everyone who uses sc, has some knowledge of other programs / languages / sdks, etc which allow for robust gui design and implementation. many of the things you mention above, were (and still are) requests from current sc users. i think the sc community is already an 'exclusive' community as is. why try and narrow that path even more? there's many MANY other ways of making sc more efficient. i mean, you could ditch the gui altogether, adopt all the unix syntax, and have everything command prompt driven. you could ditch the interpreter altogether as well. i think one of the other benefits of separating the various 'parts' of sc involves an easier porting process to other operating systems. (unix, linux, os x, maybe windows...) maybe james is taking a look at the future, and realizing that having an OS specific / manufacturer specific program is not beneficial for the long haul. (i mean, would you invest your future in apple?) just a different view on things... ch. ------------------------------ Date: Sat, 27 Oct 2001 12:39:34 -0500 From: Ethan Bakshy <---@---.---> Subject: SC Overload Problems? Hello everybody! I'm new to using SC (got sick of MAX/MSP,) and I have been having some issues with SC 2.2.11 crashing on me whenever I overload it. For example, if I try doing the OSC benchmarks (trying to compare my dual USB iBook 500 to the new 600 model,) my computer goes totally catatonic if I try using too many OSCs- even 400 Sin gens will kill it. I run into the same sort of issues when spawning too many PSinGrains and other things that are very taxing on the CPU. I have a good amount of memory (192 megs, about 100 megs allocated to SC,) and the latest version of OS 9.1... But every time I try doing anything that would bring my machine to a grinding halt, it completely crashes (I can't even force quit SC, I have to reboot my machine.) Is there anything I can do to prevent this sort of thing? I'm sure these problems won't exist with SC3 when its released under OS X, since its process management is probably a hell of a lot better than MacOS's, but for the meantime I have a lot of trouble running SC without having to reboot my computer all the time. Thanks, ethan ------------------------------ Date: Sat, 27 Oct 2001 14:18:07 -0400 From: Matthew Smith <---@---.---> Subject: Re: ram limitations > >I am using SC2.2.11 and I allocated "922440 K" just to see what could be >the problem, and my SC works fine. > Sal, When you go to "About This Computer" and it lists how much RAM each program has, does it actually show that SC has 900+MB? Matthew ------------------------------ Date: Sat, 27 Oct 2001 12:26:29 -0800 From: anthony burr <---@---.---> Subject: Re: SC Overload Problems? my experience leads me to beleive this may be a mac os thing rather than an sc thing. when i upgraded from 8.6 to 9.0.4, i experienced system crashes every time i overloaded the cpu for any length of time (it still lets spikes past), while in 8.6 it would continue to run and you could enjoy the buffer underruns (same version of sc, can't remember which now). i've no idea what to do about it other than be careful and do heavily cpu intensive stuff out of real time. there are always going to be some limits to real time... anthony >Hello everybody! > >I'm new to using SC (got sick of MAX/MSP,) and I have been having some >issues with SC 2.2.11 crashing on me whenever I overload it. For example, if >I try doing the OSC benchmarks (trying to compare my dual USB iBook 500 to >the new 600 model,) my computer goes totally catatonic if I try using too >many OSCs- even 400 Sin gens will kill it. I run into the same sort of >issues when spawning too many PSinGrains and other things that are very >taxing on the CPU. I have a good amount of memory (192 megs, about 100 megs >allocated to SC,) and the latest version of OS 9.1... But every time I try >doing anything that would bring my machine to a grinding halt, it completely >crashes (I can't even force quit SC, I have to reboot my machine.) Is there >anything I can do to prevent this sort of thing? I'm sure these problems >won't exist with SC3 when its released under OS X, since its process >management is probably a hell of a lot better than MacOS's, but for the >meantime I have a lot of trouble running SC without having to reboot my >computer all the time. > >Thanks, >ethan - -- ------------------------------ Date: Sat, 27 Oct 2001 13:57:36 -0700 (PDT) From: sal g sofia <---@---.---> Subject: Re: ram limitations Matthew, The "About This Computer" shows that SC is using 567.5MB. I also tested Csound Perf4.13 with the same amount of allocated rams and in the "About..." showed 562MB. So, maybe this has something to do with the "Mac OS 9.x". But, things in the Macs are running normal! Sal On Sat, 27 Oct 2001, Matthew Smith wrote: > > > >I am using SC2.2.11 and I allocated "922440 K" just to see what could be > >the problem, and my SC works fine. > > > > Sal, > > When you go to "About This Computer" and it lists how much RAM each program > has, does it actually show that SC has 900+MB? > > Matthew > ------------------------------ Date: Sat, 27 Oct 2001 23:45:49 +0100 From: Arie van Schutterhoef <---@---.---> Subject: Re: SC Overload Problems? >i've no idea what to do about it other than be careful and do heavily >cpu intensive stuff out of real time. there are always going to be >some limits to real time... >>Is there anything I can do to prevent this sort of thing? - -SC is very kind in giving an indication about the amount of cpu it is using. Generally beyond the range of 85%--->90% Is asking for trouble! Also take into consideration that the cpu has keep the OS running... AvS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .................................................................. ^ Arie van Schutterhoef | arsche@xs4all.nl ^_北北北北北北北北北北北盻_""""""""""""""""""""""""""""""""" | ` |Schreck Ensemble http://www.xs4all.nl/~schreck/ | ` |# -laboratory for live electro-acoustic music- # | ` |Tel: 00-31-71-5612287 Fax: 00-31-70-3859268 | *========================================================++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .................................................................. ------------------------------ Date: Sat, 27 Oct 2001 23:48:24 +0100 From: Arie van Schutterhoef <---@---.---> Subject: Re: ram limitations >Matthew, > >The "About This Computer" shows that SC is using 567.5MB. >I also tested Csound Perf4.13 with the same amount of allocated rams and >in the "About..." showed 562MB. - -Perhaps you're using virtual memory... If so switch it off! Realtime applications like SC don't like this... good luck AvS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .................................................................. ^ Arie van Schutterhoef | arsche@xs4all.nl ^_北北北北北北北北北北北盻_""""""""""""""""""""""""""""""""" | ` |Schreck Ensemble http://www.xs4all.nl/~schreck/ | ` |# -laboratory for live electro-acoustic music- # | ` |Tel: 00-31-71-5612287 Fax: 00-31-70-3859268 | *========================================================++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .................................................................. ------------------------------ Date: Sat, 27 Oct 2001 16:07:49 -0700 From: Geoff Spradley <---@---.---> Subject: [OT] SC-Server + MusicKit? I just took another glance at the MusicKit, which appeared in 1988 on NeXT computers, but has since been ported both to Windows and MacOS X: http://musickit.sourceforge.net/ Unfortunately, its synthesis classes are marooned in Motorola 56001 DSP code (its maintainers would like to port these to SAOL), but its MIDI-wrangling, scheduling, and music data- representation classes seem more elaborate (and more tied to common-practice notions of music) than what's currently in SC. James, would any MusicKit performance classes fit into your vision for SC-Server's language engine, or would connecting these to SC-Server's synthesis engine qualify as an exercise for the motivated end user? - --Geoff ------------------------------ Date: Sat, 27 Oct 2001 19:29:03 -0400 From: "Mark Bartscher" <---@---.---> Subject: Using EnvGen in a Plug What is the best way to trigger Envelopes during a performance? When using EnvGen, Plug, and TSpawn- the number of UGens keeps piling up. For Example- ( var quadout, out, vol1, vol2, vol3, vol4, e, trg; { e = Env.new([0,1,0],[0.1,0.8]); vol1 = Plug.kr(Env.new([0,1,0],[0.1,1.8])); vol2 = Plug.kr(0,0); vol3 = Plug.kr(0,0); vol4 = Plug.kr(0,0); TSpawn.ar({ vol1.source = EnvGen.ar(e)},2,3,nil); quadout = ClipNoise.ar([vol1,vol2,vol3,vol4]); }.play; ) _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ------------------------------ Date: Sun, 28 Oct 2001 03:03:04 +0200 From: Julian Rohrhuber <---@---.---> Subject: Re: Using EnvGen in a Plug >What is the best way to trigger Envelopes during a performance? > >When using EnvGen, Plug, and TSpawn- the number of UGens keeps >piling up. For Example- > >( >var quadout, out, vol1, vol2, vol3, vol4, e, trg; >{ >e = Env.new([0,1,0],[0.1,0.8]); > >vol1 = Plug.kr(Env.new([0,1,0],[0.1,1.8])); >vol2 = Plug.kr(0,0); >vol3 = Plug.kr(0,0); >vol4 = Plug.kr(0,0); >TSpawn.ar({ vol1.source = EnvGen.ar(e)},2,3,nil); >quadout = ClipNoise.ar([vol1,vol2,vol3,vol4]); >}.play; > >) > the problem is that you keep creating new instances of ClipNoisre ugen that never end. what the best way is depends very much on what you want to do. an EnvGen in the plug will make the Plug end when the Envelope is through. in sc3 there are undocumented envelope features for Plug, but I don't know how they work. what you could do: //single envelope { e = Env.new([0,1,0],[0.1,0.8]); a = TSpawn.ar({ EnvGen.ar(e) }, 1, nil, Impulse.kr(0.5)); SinOsc.ar(440, 0, a); }.play; { n = 4; e = Env.new([0,1,0],[0.1,0.8]); a = Array.fill(n, { TSpawn.ar({ EnvGen.ar(e) }, 1, nil, Dust.kr(5)) }); ClipNoise.ar(a*0.01); }.play; I sometimes miss a .kr method in TSpawn - I don't know why there is none. but you can always use the A2K ugen ------------------------------ Date: Sat, 27 Oct 2001 23:11:58 -0500 From: James McCartney <---@---.---> Subject: Re: [OT] SC-Server + MusicKit? on 10/27/01 6:07 PM, Geoff Spradley at geoff@suerte.com wrote: > James, would any MusicKit performance classes fit into your > vision for SC-Server's language engine, or would connecting > these to SC-Server's synthesis engine qualify as an exercise > for the motivated end user? You could write your own program using the music kit to send commands to the synth engine if you wanted to. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Sat, 27 Oct 2001 23:22:02 -0500 From: James McCartney <---@---.---> Subject: Re: SC Overload Problems? on 10/27/01 12:39 PM, Ethan Bakshy at ethan@enteract.com wrote: > But every time I try > doing anything that would bring my machine to a grinding halt, it completely > crashes There is not much that can be done about this. The synth runs at interrupt level and denies the UI CPU time. Attempts to circumvent locking up the machine in OS9 results in other problems. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Sun, 28 Oct 2001 12:26:42 -0500 From: "Mark Bartscher" <---@---.---> Subject: Using an Identity Dictionary with Voicer Is there an efficient way of assigning incoming midinotes to arrays, without a long series of if thens? For example: if (note == 60, {function}) With incoming computer keys, i just map them directly in an IdentityDictionary...i.e $1 -> [0,1,0,1] is there anyway to get the incoming midinotes on the left side of an IdentityDictionary? If this is a clunky way of doing it...any better ideas? Mark B. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ------------------------------ Date: Sun, 28 Oct 2001 13:38:04 -0700 From: "David Cottle" <---@---.---> Subject: Sample Rates Hi, Tell me if my math is correct. 8 bits is a byte, 16 bit sampling uses two bytes per sample. 44100 sample rate, stereo file: 2*44100*2? - -- ><><><><><><><><><><><> David Cottle, computer music, contra, cottle@cerlsoundgroup.org Forget about world peace . . . visualize using your turn signal. ------------------------------ Date: Sun, 28 Oct 2001 15:03:36 -0600 From: Ethan Bakshy <---@---.---> Subject: Re: SC Overload Problems? on 10/27/01 3:26 PM, anthony burr at aburr@ucsd.edu wrote: > my experience leads me to beleive this may be a mac os thing rather > than an sc thing. when i upgraded from 8.6 to 9.0.4, i experienced > system crashes every time i overloaded the cpu for any length of time > (it still lets spikes past), while in 8.6 it would continue to run > and you could enjoy the buffer underruns (same version of sc, can't > remember which now). > i've no idea what to do about it other than be careful and do heavily > cpu intensive stuff out of real time. there are always going to be > some limits to real time... > can you run SC in non-realtime mode? - -e ------------------------------ Date: Sun, 28 Oct 2001 16:24:15 -0500 From: felix <---@---.---> Subject: Re: SC Overload Problems? on 10/28/01 4:03 PM, Ethan Bakshy at ethan@enteract.com said: > on 10/27/01 3:26 PM, anthony burr at aburr@ucsd.edu wrote: > >> my experience leads me to beleive this may be a mac os thing rather >> than an sc thing. when i upgraded from 8.6 to 9.0.4, i experienced >> system crashes every time i overloaded the cpu for any length of time >> (it still lets spikes past), while in 8.6 it would continue to run >> and you could enjoy the buffer underruns (same version of sc, can't >> remember which now). I got an idea the other day to figure out at any time how many ugens there are running in sc2. then i want to be able to set a brickwall limit so as to deny any further Synth.new everytime a spawn spawns, it creates a new synth, internally using Synth.new if it would put me over the limit, i would just return nil (which just means no sound, no event). for a synth, once it is running there is a variable 'ugens' that holds a one dimensional array of all the ugens in the order that they need to be called. if one of those ugens is a spawn, it can be asked how many runningSynths it has, and how many ugens there are inside of that. the basics are Synth: totalNumUgens { ^ugens.sum({ arg ugen; ugen.totalNumUgens }) } Ugen: totalNumUgens { ^1 } Spawn: totalNumUgens { ^runningSynths.sum({ arg synth; synth.totalNumUgens }) } you have to ask this of the top synth. that is the synth that has no parent. Synth : *topSynth { var aSynth; aSynth = thisSynth; // within this context if(aSynth.isNil,{ ^nil }); // no more top than this while({ aSynth.parent.notNil },{ aSynth = aSynth.parent }); ^aSynth } the trick is when to ask the question. it wouldn't be a brickwall solid solution, but it might work. it would cause a cpu spike. i partially got it working. ugen count does not indicate the total load on SC. ugens are not all equal in usage, and cpu spike due to sc code is a primary cause of losing control of the computer. ugens could also be rated (fixed) for their cpu-requirement. i think that would be too much math considering the goal is to save cpu. i have been having a problem where the wacom tablet gets completely lost while playing ! midway through a set, i have no wacom, can't get a plug on wacom input at all. stopping and starting doesn't get it back. restarting sc does. very annoying. i just played out the rest of the set with no controls except for keyboard. maybe its because of some cpu overload issue, not at all sure. i was riding at 120% for a while. ------------------------------ Date: Sun, 28 Oct 2001 16:28:19 -0500 From: felix <---@---.---> Subject: Re: [OT] SC-Server + MusicKit? you could probably wire up SC server patches using Max ;) btw. its very probable that under os x core audio many VST hosts will start appearing. you can generally wire things into other things, so SC can be run through vst effects or outputs of other programs can be routed to SC inputs. i'm sure there will be various graphic routing programs coming out to take advantage of that part of core audio. on 10/28/01 12:11 AM, James McCartney at asynth@io.com said: > on 10/27/01 6:07 PM, Geoff Spradley at geoff@suerte.com wrote: > >> James, would any MusicKit performance classes fit into your >> vision for SC-Server's language engine, or would connecting >> these to SC-Server's synthesis engine qualify as an exercise >> for the motivated end user? you could of course port the concepts right now into sc code. (motivated ?) > > You could write your own program using the music kit to send commands to the > synth engine if you wanted to. > > > --- james mccartney james@audiosynth.com > SuperCollider - a real time synthesis programming language for the PowerMac. > > > > > ------------------------------ Date: Sun, 28 Oct 2001 17:37:33 -0500 From: christian adam hresko <---@---.---> Subject: Re: SC Overload Problems? Ethan Bakshy wrote: > on 10/27/01 3:26 PM, anthony burr at aburr@ucsd.edu wrote: > > > my experience leads me to beleive this may be a mac os thing rather > > than an sc thing. when i upgraded from 8.6 to 9.0.4, i experienced > > system crashes every time i overloaded the cpu for any length of time > > (it still lets spikes past), while in 8.6 it would continue to run > > and you could enjoy the buffer underruns (same version of sc, can't > > remember which now). > > i've no idea what to do about it other than be careful and do heavily > > cpu intensive stuff out of real time. there are always going to be > > some limits to real time... > > > can you run SC in non-realtime mode? > > -e you can .write to disk... ch. ------------------------------ Date: Sun, 28 Oct 2001 17:43:16 -0600 From: Ethan Bakshy <---@---.---> Subject: Re: SC Overload Problems? on 10/28/01 4:37 PM, christian adam hresko at godpup@ix.netcom.com wrote: > > > Ethan Bakshy wrote: > >> on 10/27/01 3:26 PM, anthony burr at aburr@ucsd.edu wrote: >> >>> my experience leads me to beleive this may be a mac os thing rather >>> than an sc thing. when i upgraded from 8.6 to 9.0.4, i experienced >>> system crashes every time i overloaded the cpu for any length of time >>> (it still lets spikes past), while in 8.6 it would continue to run >>> and you could enjoy the buffer underruns (same version of sc, can't >>> remember which now). >>> i've no idea what to do about it other than be careful and do heavily >>> cpu intensive stuff out of real time. there are always going to be >>> some limits to real time... >>> >> can you run SC in non-realtime mode? >> >> -e > > you can .write to disk... .write will still be working in realtime... try making a patch that goes up to 95%+ and do a .write, you'll still hear lots of glitching + skipping when you play the file... ------------------------------ Date: Sun, 28 Oct 2001 19:22:33 -0500 From: felix <---@---.---> Subject: Re: SC Overload Problems? on 10/28/01 6:43 PM, Ethan Bakshy at ethan@enteract.com said: > on 10/28/01 4:37 PM, christian adam hresko at godpup@ix.netcom.com wrote: > >> >> >> Ethan Bakshy wrote: >> >> >> you can .write to disk... > > .write will still be working in realtime... try making a patch that goes up > to 95%+ and do a .write, you'll still hear lots of glitching + skipping when > you play the file... > > > then you've got something else going on. .write should be able to chomp on anything. it will take faster than realtime or slower than realtime, depending on the load. ------------------------------ Date: Sun, 28 Oct 2001 19:17:56 -0600 From: Ethan Bakshy <---@---.---> Subject: Re: SC Overload Problems? on 10/28/01 6:22 PM, felix at felix@crucial-systems.com wrote: >> .write will still be working in realtime... try making a patch that goes up >> to 95%+ and do a .write, you'll still hear lots of glitching + skipping when >> you play the file... >> >> >> > > then you've got something else going on. .write should be able to chomp on > anything. it will take faster than realtime or slower than realtime, > depending on the load. Ah, I was using DiskOut instead of write. That would do it. Thanks a lot for the help. - -ethan ------------------------------ Date: Sun, 28 Oct 2001 21:38:20 -0800 From: "Thomas Miley" <---@---.---> Subject: OT audiosport quattro rfi This is a multi-part message in MIME format. - ------=_NextPart_000_0097_01C15FF8.DD3EE7E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Excuse me for asking a question that may have been answered, but does = anyone have any experience using the audiosport quattro? Does SC = support it? http://www.midiman.net/products/m-audio/quattro.html thanks for any info - ------=_NextPart_000_0097_01C15FF8.DD3EE7E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Excuse me for asking a question that = may have been=20 answered, but does anyone have any experience using the audiosport=20 quattro?  Does SC support it?
 
http://www.= midiman.net/products/m-audio/quattro.html
 
thanks for any info
 
 
- ------=_NextPart_000_0097_01C15FF8.DD3EE7E0-- ------------------------------ Date: Mon, 29 Oct 2001 11:27:12 +0200 From: Julian Rohrhuber <---@---.---> Subject: myRibosom there is a new version of myRibosom (some small improvements): http://swiki.hfbk.uni-hamburg.de:8080/MusicTechnology/293 ------------------------------ Date: Mon, 29 Oct 2001 10:07:34 +0000 From: Martin Robinson <---@---.---> Subject: Re: Sample Rates > Hi, > > Tell me if my math is correct. > > 8 bits is a byte, 16 bit sampling uses two bytes per sample. 44100 sample > rate, stereo file: > > 2*44100*2? yes in bytes. numOfbits * sampleRate * numChannels / 8 = sizeInBytes sizeInBytes/1024 = sizeInKBytes sizeInKBytes/1024 = sizeInMBytes etc... - -- ..>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_[sonic arts]_[middlesex university]_[en4 8ht] ______ ________________________________________________________________ ________________________________________________________________ >><<>>___t.+44 [0] 7970 405 903 // f.+44 [0] 7970 702 976 __ >><><>____e. _ ------------------------------ Date: Mon, 29 Oct 2001 09:05:30 -0500 From: godpup@ix.netcom.com Subject: OT: X 10.1 installed OS X 10.1 over the weekend. i'd definitely recommend the upgrade to anyone currently using OS X. lots faster. some new features. my printer actually works now. (without having to install new drivers... whoopee) things work. ch. ------------------------------ Date: Mon, 29 Oct 2001 09:59:57 -0600 (CST) From: "Jeremiah T. Isaacs" <---@---.---> Subject: [semi OT] Re: controllers, serial and otherwise On Wed, 24 Oct 2001, newton armstrong wrote: > there's a Max external called insprock that will poll any InputSprocket > compatible device. i've used it a bit with hacked game controllers and sent > the data to SC via OSC. nothing gets converted to midi: i've had no data > loss with 12-bit controllers. does this come with the MAX demo, or must I find it elsewhere? I couldnt find anything about it in the MAX documentation. > i'm currently looking at making a controller box using a PC/104 (embedded > Linux) board that sends data over ethernet using TCP/IP. it could be > configured from the host end to use whatever incidental protocol, though OSC > would seem to make the most sense for controlling SC. i've got an advantech box right here, almost pc104 size. the sad part being, it was supposed to be used for some other project that never got completed.. are there any simple/utility OSC apps working on linux right now? the OSC page only mentions SGI. - -- http://www.io.com/~jti ------------------------------ Date: Mon, 29 Oct 2001 11:33:28 -0500 From: newton armstrong <---@---.---> Subject: Re: [semi OT] Re: controllers, serial and otherwise On 29/10/01 10:59 AM, "Jeremiah T. Isaacs" wrote: > On Wed, 24 Oct 2001, newton armstrong wrote: > >> there's a Max external called insprock that will poll any InputSprocket >> compatible device. i've used it a bit with hacked game controllers and sent >> the data to SC via OSC. nothing gets converted to midi: i've had no data >> loss with 12-bit controllers. > > does this come with the MAX demo, or must I find it elsewhere? I couldnt > find anything about it in the MAX documentation. http://www.studionebula.com/files/IS_Object_010901.sit.hqx > >> i'm currently looking at making a controller box using a PC/104 (embedded >> Linux) board that sends data over ethernet using TCP/IP. it could be >> configured from the host end to use whatever incidental protocol, though OSC >> would seem to make the most sense for controlling SC. > > i've got an advantech box right here, almost pc104 size. the sad part > being, it was supposed to be used for some other project that never got > completed.. > > are there any simple/utility OSC apps working on linux right now? the OSC > page only mentions SGI. the source code and API for writing OSC clients is freely available. i'm looking at making a program that can send and receive OSC messages to and from a host computer. the idea is to have 32 analog and 24 digital input channels on the little linux box, where the OSC client would poll the input and send data to the host. kind of like a midi controller, except with 16-bit controller signals and a much more flexible addressing scheme. i'll keep you posted... ------------------------------ End of sc-users-digest V1 #375 ******************************