From sc-users-owner Tue Apr 8 01:27:22 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id BAA12416 for sc-users-outgoing; Tue, 8 Apr 1997 01:26:46 -0500 (CDT) Received: from biggs.microtec.net (biggs.microtec.net [204.50.80.204]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id BAA16496 for ; Tue, 8 Apr 1997 01:26:17 -0500 (CDT) Received: from [204.50.77.39] (pool2-7.odyssee.net [204.50.77.39]) by biggs.microtec.net (8.8.4/8.8.4) with SMTP id CAA16661 for ; Tue, 8 Apr 1997 02:22:17 -0400 Date: Tue, 8 Apr 1997 02:22:17 -0400 X-Sender: cleo@pop.microtec.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: sc-users@lists.realtime.net From: cleo@microtec.net (Themis Katsianos) Subject: SC version Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users James, would it be possible to inform us on when the expected new version of SC will be available? Will it a) correct the problem with "audio" rate variables? (i.e. will the current 8-sample limit will got down to 1) and b) will it support C-code "imports" ? Regards, Themis G. Katsianos Graduate student in Computer Applications in Music Mcgill University - Faculty of Music Montreal, Canada email:cleo@mail.odyssee.net tkatsia@music.mcgill.ca From sc-users-owner Tue Apr 8 01:38:29 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id BAA02240 for sc-users-outgoing; Tue, 8 Apr 1997 01:38:24 -0500 (CDT) Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id BAA02234 for ; Tue, 8 Apr 1997 01:38:12 -0500 (CDT) Received: from [128.83.190.145] (slip-112-1.ots.utexas.edu [128.83.190.145]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id BAA19064 for ; Tue, 8 Apr 1997 01:40:21 -0500 Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 7 Apr 1997 13:41:15 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: SC version Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 11:22 PM -0700 4/7/97, Themis Katsianos wrote: > James, >would it be possible to inform us on when the expected new version of SC >will be available? >Will it a) correct the problem with "audio" rate variables? (i.e. will the >current 8-sample limit will got down to 1) >and b) will it support C-code "imports" ? I can't put a date on the rewritten version at this point. I'm working on it. It will solve both of your points above. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: ftp://mirror.apple.com//mirrors/Info-Mac.Archive/gst/snd/super-collider-demo.hqx From sc-users-owner Thu Apr 24 18:40:47 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id SAA68208 for sc-users-outgoing; Thu, 24 Apr 1997 18:39:57 -0500 (CDT) Received: from mailhub.dartmouth.edu (mailhub.dartmouth.edu [129.170.16.6]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id SAA68202 for ; Thu, 24 Apr 1997 18:39:44 -0500 (CDT) Received: from cupid.Dartmouth.EDU (cupid.dartmouth.edu [129.170.208.8]) by mailhub.dartmouth.edu (8.8.5+DND/8.8.5) with SMTP id TAA13092 for ; Thu, 24 Apr 1997 19:39:42 -0400 (EDT) Message-id: <33509087@cupid.Dartmouth.EDU> Date: 24 Apr 97 19:39:42 EDT From: Kevin.P.Parks@Dartmouth.EDU (Kevin P. Parks) Subject: Comb example To: sc-users@lists.realtime.net Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users hi, anyone have a instrument that uses the comb filter in sc? I Csound i would just say: asig soundin p4 ac comb asig, how_long_comb_should_ring, the_freq_it_should_ring_at aout = asig+ac where the_freq_it_should_ring_at = 1/ looptime. I just don't understand the syntax of this Ugen in sc. So, thought that if there was an example floating around i might be able to slip it under my pillow tonight and sleep on it and wake up enlightened. back to being a dumb, un-dsp-savvy, composer! -kevin parks From sc-users-owner Thu Apr 24 19:37:33 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id TAA68286 for sc-users-outgoing; Thu, 24 Apr 1997 19:37:28 -0500 (CDT) Received: from december.real.net.au (december.real.net.au [203.25.56.1]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id TAA65720 for ; Thu, 24 Apr 1997 19:37:14 -0500 (CDT) Received: from [203.25.60.117] ([203.25.60.117]) by december.real.net.au (8.6.12/8.6.9) with SMTP id KAA05787 for ; Fri, 25 Apr 1997 10:37:10 +1000 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 25 Apr 1997 10:32:32 +1000 To: sc-users@lists.realtime.net From: mogambo@pop.real.net.au (Arne Hanna) Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Hi there. Traffic on this list is very quiet isn't it?. Does that mean everyone understands this program? Well I must confess, the syntax has me bamboozled. There seems a lot more to it than csound. If someone could explain to me for example just what a lexical closure is I would be grateful. Remember I'm just a guitar player...doh!.... From sc-users-owner Thu Apr 24 22:50:57 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id WAA75084 for sc-users-outgoing; Thu, 24 Apr 1997 22:50:46 -0500 (CDT) Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id WAA68928 for ; Thu, 24 Apr 1997 22:50:11 -0500 (CDT) Received: from [128.83.249.36] (slip-93-4.ots.utexas.edu [128.83.249.36]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id WAA10827 for ; Thu, 24 Apr 1997 22:52:23 -0500 Message-Id: In-Reply-To: <33509087@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 24 Apr 1997 22:53:47 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: Comb example Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 4:39 PM -0700 4/24/97, Kevin P. Parks wrote: >hi, > >anyone have a instrument that uses the comb filter in sc? >I Csound i would just say: > >asig soundin p4 >ac comb asig, how_long_comb_should_ring, the_freq_it_should_ring_at >aout = asig+ac > > >where the_freq_it_should_ring_at = 1/ looptime. > >I just don't understand the syntax of this Ugen in sc. >So, thought that if there was an example floating >around i might be able to slip it under my pillow >tonight and sleep on it and wake up enlightened. Try this. Edit the wavetable tbl1 to be a pluck envelope like this: |\ | \ __| \_________________________________ (make the pluck really narrow) --- comb example: defaudioout L R; defdelay d1, d2, d3, d4; -- each comb needs a separate delay line deftable tbl1; -- a wavetable for the pluck envelope start { -- start four copies of the comb instrument -- on my PowerTowerPro 200 this uses 7.5% CPU -- ?slower machines might need to remove some copies? combInst(d1, 110, 1, 0.73); combInst(d2, 220, 2, 0.52); combInst(d3, 330, 2, 0.43); combInst(d4, 440, 3, 0.27); } combInst { arg delaybuf, freq, dur, rate; osc1 = Anoise(2800,0.1); -- noise for exciting the comb env1 = Aoscil(tbl1, rate); -- pluck envelope comb = Acombdly(delaybuf, 1/freq, dur); -- comb delay -- note that the second parameter is the delay time which is the -- reciprocal of the frequency { sig = osc1. *! env1.; -- pluck noise comb.(sig).out(L).out(R); -- do the comb and output to left and right }.dspAdd(1); } --- end of example --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: ftp://mirror.apple.com//mirrors/Info-Mac.Archive/gst/snd/super-collider-demo.hqx From sc-users-owner Thu Apr 24 23:03:26 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id XAA76214 for sc-users-outgoing; Thu, 24 Apr 1997 23:03:20 -0500 (CDT) Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id XAA66220 for ; Thu, 24 Apr 1997 23:02:57 -0500 (CDT) Received: from [128.83.249.36] (slip-93-4.ots.utexas.edu [128.83.249.36]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id XAA10878 for ; Thu, 24 Apr 1997 23:05:13 -0500 Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 24 Apr 1997 23:06:38 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: no subject, really: whassa closure? Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 5:32 PM -0700 4/24/97, Arne Hanna wrote: >Hi there. Traffic on this list is very quiet isn't it?. Does that mean >everyone understands this program? Well I must confess, the syntax has me >bamboozled. >There seems a lot more to it than csound. If someone could explain to me >for example just what a lexical closure is I would be grateful. Remember >I'm just a guitar player...doh!.... A closure is a function which can refer to arguments and variables that were defined in a lexically (i.e. textually) enclosing function, even if that enclosing function has completed execution. There is an example on page 43 of the manual. Look at what that example is doing. See how the functions stored in the variables x and z can, when evaluated, refer to the arguments (curVal & stepVal) in their defining contexts (two different calls to makeCounter()) even though those calls have exited. A closure remembers its defining context. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: ftp://mirror.apple.com//mirrors/Info-Mac.Archive/gst/snd/super-collider-demo.hqx From sc-users-owner Sat Apr 26 20:27:02 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id UAA63014 for sc-users-outgoing; Sat, 26 Apr 1997 20:26:00 -0500 (CDT) Received: from mailhub.dartmouth.edu (mailhub.dartmouth.edu [129.170.16.6]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id UAA63008 for ; Sat, 26 Apr 1997 20:25:48 -0500 (CDT) Received: from cupid.Dartmouth.EDU (cupid.dartmouth.edu [129.170.208.8]) by mailhub.dartmouth.edu (8.8.5+DND/8.8.5) with SMTP id VAA16037 for ; Sat, 26 Apr 1997 21:25:47 -0400 (EDT) Message-id: <33610442@cupid.Dartmouth.EDU> Date: 26 Apr 97 21:25:46 EDT From: Kevin.P.Parks@Dartmouth.EDU (Kevin P. Parks) Subject: grain env query To: sc-users@lists.realtime.net Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Hi again! question: If you use Apgrain what kind of grain envelope are you getting by default? does it just use the hanning? what percentage? and is what you is calling hanning the same as what Curtis Rhoads calls "quasi-qaussian"? They seem to have the same charactersistics in that they provide the desired smoothness in its attack and decay portions and an maximally enhanced steady-state portion. My friend calls it a raised-cosine. Are they all the same thing? am i just saying the same thing three times? (little out of my element here!) damn, i should have payed more attention in math class! cheers, -kevin parks dartmouth college - music dept. From sc-users-owner Sat Apr 26 22:02:50 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id WAA65126 for sc-users-outgoing; Sat, 26 Apr 1997 22:02:39 -0500 (CDT) Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id WAA65120 for ; Sat, 26 Apr 1997 22:02:26 -0500 (CDT) Received: from [128.83.112.109] (slip-40-13.ots.utexas.edu [128.83.112.109]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id WAA04208 for ; Sat, 26 Apr 1997 22:04:43 -0500 Message-Id: In-Reply-To: <33610442@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 26 Apr 1997 22:06:11 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: grain env query Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 6:25 PM -0700 4/26/97, Kevin P. Parks wrote: >Hi again! > >question: > >If you use Apgrain what kind of grain envelope >are you getting by default? does it just use the hanning? >what percentage? and is what you is calling >hanning the same as what Curtis Rhoads calls >"quasi-qaussian"? They seem to have the same >charactersistics in that they provide the >desired smoothness in its attack and decay >portions and an maximally enhanced >steady-state portion. > >My friend calls it a raised-cosine. Are they all the >same thing? am i just saying the same thing three times? >(little out of my element here!) Apgrain gives a parabolic envelope. That is 1 - x*x evaluated between -1 and +1. This happens to be a very simple envelope to generate since it requires only a double integration (two adds). It has a shape more like a Welch envelope than a Hanning one. I actually prefer it because in the Hanning envelope the quiet tails on the end are really inaudible when mixed with other grains that mask it, so it is just wasted CPU to output it. A Welch envelope matches the curve of an equal power panning function, so it has good properties when overlapping fewer grains to get a smooth sound. This isn't exactly true of the parabola which is too 'hot' at the midpoint of the curve, but it suits my purposes fine. A hanning envelope shape is: .5 - .5 * cos(x); x = 0 to 2pi. A welch envelope shape is: sin(x); x = 0 to pi --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: ftp://mirror.apple.com//mirrors/Info-Mac.Archive/gst/snd/super-collider-demo.hqx From sc-users-owner Sat Apr 26 22:16:33 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id WAA73920 for sc-users-outgoing; Sat, 26 Apr 1997 22:16:28 -0500 (CDT) Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id WAA66232 for ; Sat, 26 Apr 1997 22:16:15 -0500 (CDT) Received: from [128.83.112.109] (slip-40-13.ots.utexas.edu [128.83.112.109]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id WAA04312 for ; Sat, 26 Apr 1997 22:18:33 -0500 X-Sender: james@clyde.as.utexas.edu (Unverified) Message-Id: In-Reply-To: References: <33610442@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 26 Apr 1997 22:20:00 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: grain env query Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Here's a patch which fills three wavetables with Parabolic, Hanning, and Welch envelopes so you can see their shapes. (the character option-P or PI may not come through in email so you'll need to change the two occurences of 'PI' below to the option-P character for PI.) deftable t1, t2, t3; init { t1.waveFill({ arg x; ^1 - (x*x) }, -1, 1); -- parabolic t2.waveFill({ arg x; ^0.5 - (0.5 * cos(x)) }, 0, 2PI); -- hanning t3.waveFill({ arg x; ^sin(x) }, 0, PI); -- welch } --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: ftp://mirror.apple.com//mirrors/Info-Mac.Archive/gst/snd/super-collider-demo.hqx From sc-users-owner Tue Apr 29 16:04:47 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id QAA73112 for sc-users-outgoing; Tue, 29 Apr 1997 16:03:49 -0500 (CDT) Received: from biggs.microtec.net (biggs.microtec.net [204.50.80.204]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id QAA63890 for ; Tue, 29 Apr 1997 16:03:31 -0500 (CDT) Received: from [204.50.77.45] (pool2-13.odyssee.net [204.50.77.45]) by biggs.microtec.net (8.8.4/8.8.4) with SMTP id PAA14069 for ; Tue, 29 Apr 1997 15:56:36 -0400 Date: Tue, 29 Apr 1997 15:56:36 -0400 X-Sender: cleo@pop.microtec.net (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: sc-users@lists.realtime.net From: cleo@microtec.net (Themis Katsianos) Subject: Garbage Collection Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users James or anybody, Could you please explain how does real time garbage collection work ? Thanks Themis G. Katsianos Graduate student in Computer Applications in Music Mcgill University - Faculty of Music Montreal, Canada email:cleo@mail.odyssee.net tkatsia@music.mcgill.ca From sc-users-owner Tue Apr 29 16:30:06 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id QAA61466 for sc-users-outgoing; Tue, 29 Apr 1997 16:29:56 -0500 (CDT) Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id QAA11028 for ; Tue, 29 Apr 1997 16:29:45 -0500 (CDT) Received: from [128.83.154.148] (slip-120-4.ots.utexas.edu [128.83.154.148]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id QAA11910 for ; Tue, 29 Apr 1997 16:32:04 -0500 Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 29 Apr 1997 16:33:39 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: Garbage Collection Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 12:56 PM -0700 4/29/97, Themis Katsianos wrote: >James or anybody, > >Could you please explain how does real time garbage collection work ? >From a user perspective it works just like any other garbage collection method i.e. you never need to call delete. Real time collectors guarantee an upper bound on the collection time. The following paper describes the algorithm upon which I based the collector in SC: --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: ftp://mirror.apple.com//mirrors/Info-Mac.Archive/gst/snd/super-collider-demo.hqx