From sc-users-owner Mon Mar 3 22:18:24 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id WAA10170 for sc-users-outgoing; Mon, 3 Mar 1997 22:17:37 -0600 (CST) Received: from zoom.bga.com (zoom.realtime.net [205.238.128.40]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id WAA10164 for ; Mon, 3 Mar 1997 22:17:24 -0600 (CST) Received: from caligari.dartmouth.edu (caligari.dartmouth.edu [129.170.16.38]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id WAA25499 for ; Mon, 3 Mar 1997 22:17:23 -0600 Received: from vixen.Dartmouth.EDU (vixen.dartmouth.edu [129.170.208.15]) by caligari.dartmouth.edu (8.8.5/8.8.5) with SMTP id WAA60425 for ; Mon, 3 Mar 1997 22:42:32 -0500 Message-id: <29103019@vixen.Dartmouth.EDU> Date: 03 Mar 97 22:42:31 EST From: Colby.N.Leider@Dartmouth.EDU (Colby N. Leider) Subject: sheppard tones To: sc-users@bga.com Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users hi sc-users! i'm trying implement the infinitely ascending scale of roger sheppard. any clues why this would crash? am i going about it all wrong? i've tried several different ways, though this seems the closest. basically, calling_func is trying to initiate a new ascending scale every 2 seconds. i know this will need to be changed so that everything is an octave apart at all times. the function sheppard_scale just spits out hanning-enveloped sine waves at ascending frequencies, the whole cycle of which is hanning-enveloped itself. thanks in advance-- colby --------Note: this will crash!!!!------------------- defaudioout L R; deftable tabl1; init { } start { calling_func; } calling_func { { sheppard_scale; }.dspAdd; [2, thisFunc].sched; } sheppard_scale { var freq, big_env; freqUgen = Kline(20, 4000, 20); { freq = freqUgen.value; }.dspAdd(0); [20, thisFunc].sched; bigenvUgen = Ahanenv(20, 1, `dspRemove); { big_env = bigenvUgen.value; }.dspAdd(0); [20, thisFunc].sched; value({ osc1 = Asinosc(); note_amp_env = Ahanenv(0.2, 0.5, `dspRemove); { (osc1.value(freq, 0) *! note_amp_env.value *! big_env.value).out(L).out(R); }.dspAdd(1); [0.4, thisFunc].sched; }); } --------------------------------------------------- From sc-users-owner Mon Mar 3 23:12:28 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id XAA27372 for sc-users-outgoing; Mon, 3 Mar 1997 23:12:20 -0600 (CST) 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 XAA15582 for ; Mon, 3 Mar 1997 23:11:57 -0600 (CST) Received: from [128.83.128.23] (slip-13-7.ots.utexas.edu [128.83.128.23]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id XAA29462; Mon, 3 Mar 1997 23:13:42 -0600 Message-Id: In-Reply-To: <29103019@vixen.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 3 Mar 1997 23:13:26 -0700 To: sc-users@lists.realtime.net, sc-users@bga.com From: James McCartney <---@---.---> Subject: Re: sheppard tones Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 10:42 PM -0500 3/3/97, Colby N. Leider wrote: >sheppard_scale { > var freq, big_env; > > freqUgen = Kline(20, 4000, 20); > { > freq = freqUgen.value; > }.dspAdd(0); > [20, thisFunc].sched; > > bigenvUgen = Ahanenv(20, 1, `dspRemove); > { > big_env = bigenvUgen.value; > }.dspAdd(0); > [20, thisFunc].sched; Well off hand here's one problem. You are rescheduling this function twice. So you run once, it reschedules two copies of sheppard_scale, then four, eight, sixteen... thisFunc refers to the sheppard_scale function. Also you should package all your control functions into a single function: freqUgen = Kline(20, 4000, 20); bigenvUgen = Ahanenv(20, 1, `dspRemove); { freq = freqUgen.value; big_env = bigenvUgen.value; }.dspAdd(0); Its more efficient that way. --- The rescheduling problem makes me wonder if you understand what the following actually does. { freq = freqUgen.value; }.dspAdd(0); Which could be rewritten as: dspAdd({ freq = value(freqUgen); }, 0); This compiles to: push a function pointer. push zero. call dspAdd (which adds the function pointer to a queue) The function code in the braces {} is not executed here. It is executed by the dsp engine. --- 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 Mon Mar 3 23:12:32 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id XAA26094 for sc-users-outgoing; Mon, 3 Mar 1997 23:12:24 -0600 (CST) Received: from zoom.bga.com (zoom.realtime.net [205.238.128.40]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id XAA27366 for ; Mon, 3 Mar 1997 23:11:59 -0600 (CST) Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id XAA03425 for ; Mon, 3 Mar 1997 23:11:59 -0600 Received: from [128.83.128.23] (slip-13-7.ots.utexas.edu [128.83.128.23]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id XAA29462; Mon, 3 Mar 1997 23:13:42 -0600 Message-Id: In-Reply-To: <29103019@vixen.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 3 Mar 1997 23:13:26 -0700 To: sc-users@lists.realtime.net, sc-users@bga.com From: James McCartney <---@---.---> Subject: Re: sheppard tones Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 10:42 PM -0500 3/3/97, Colby N. Leider wrote: >sheppard_scale { > var freq, big_env; > > freqUgen = Kline(20, 4000, 20); > { > freq = freqUgen.value; > }.dspAdd(0); > [20, thisFunc].sched; > > bigenvUgen = Ahanenv(20, 1, `dspRemove); > { > big_env = bigenvUgen.value; > }.dspAdd(0); > [20, thisFunc].sched; Well off hand here's one problem. You are rescheduling this function twice. So you run once, it reschedules two copies of sheppard_scale, then four, eight, sixteen... thisFunc refers to the sheppard_scale function. Also you should package all your control functions into a single function: freqUgen = Kline(20, 4000, 20); bigenvUgen = Ahanenv(20, 1, `dspRemove); { freq = freqUgen.value; big_env = bigenvUgen.value; }.dspAdd(0); Its more efficient that way. --- The rescheduling problem makes me wonder if you understand what the following actually does. { freq = freqUgen.value; }.dspAdd(0); Which could be rewritten as: dspAdd({ freq = value(freqUgen); }, 0); This compiles to: push a function pointer. push zero. call dspAdd (which adds the function pointer to a queue) The function code in the braces {} is not executed here. It is executed by the dsp engine. --- 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 Mon Mar 3 23:17:59 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id XAA40224 for sc-users-outgoing; Mon, 3 Mar 1997 23:17:51 -0600 (CST) 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 XAA31762 for ; Mon, 3 Mar 1997 23:17:33 -0600 (CST) Received: from [128.83.128.23] (slip-13-7.ots.utexas.edu [128.83.128.23]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id XAA29478; Mon, 3 Mar 1997 23:19:16 -0600 Message-Id: In-Reply-To: <29103019@vixen.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 3 Mar 1997 23:19:00 -0700 To: sc-users@lists.realtime.net, sc-users@bga.com From: James McCartney <---@---.---> Subject: Re: sheppard tones Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 10:42 PM -0500 3/3/97, Colby N. Leider wrote: >calling_func { > { > sheppard_scale; > }.dspAdd; > [2, thisFunc].sched; >} Oh, here's your bigger problem. You are creating a new copy of the instrument every control period.. What are you trying to do with calling function? You don't need it. Just call sheppard_scale from your start function. --- 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 Mon Mar 3 23:18:11 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id XAA40230 for sc-users-outgoing; Mon, 3 Mar 1997 23:18:05 -0600 (CST) Received: from zoom.bga.com (zoom.realtime.net [205.238.128.40]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id XAA40218 for ; Mon, 3 Mar 1997 23:17:34 -0600 (CST) Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id XAA04071 for ; Mon, 3 Mar 1997 23:17:34 -0600 Received: from [128.83.128.23] (slip-13-7.ots.utexas.edu [128.83.128.23]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id XAA29478; Mon, 3 Mar 1997 23:19:16 -0600 Message-Id: In-Reply-To: <29103019@vixen.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 3 Mar 1997 23:19:00 -0700 To: sc-users@lists.realtime.net, sc-users@bga.com From: James McCartney <---@---.---> Subject: Re: sheppard tones Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 10:42 PM -0500 3/3/97, Colby N. Leider wrote: >calling_func { > { > sheppard_scale; > }.dspAdd; > [2, thisFunc].sched; >} Oh, here's your bigger problem. You are creating a new copy of the instrument every control period.. What are you trying to do with calling function? You don't need it. Just call sheppard_scale from your start function. --- 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 Mon Mar 3 23:36:47 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id XAA10018 for sc-users-outgoing; Mon, 3 Mar 1997 23:36:39 -0600 (CST) 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 XAA10012 for ; Mon, 3 Mar 1997 23:36:19 -0600 (CST) Received: from [128.83.128.23] (slip-13-7.ots.utexas.edu [128.83.128.23]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id XAA29509 for ; Mon, 3 Mar 1997 23:38:04 -0600 Message-Id: In-Reply-To: References: <29103019@vixen.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 3 Mar 1997 23:37:48 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: ANNC: sc-users Mailing list address change. Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users The mailing list address has been changed by my ISP. The old address will still work but you should use the new address or replies will inadvertantly be posted twice. (As I just did by accident.) The new address is: sc-users@lists.realtime.net --- 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 Mon Mar 3 23:37:56 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id XAA10042 for sc-users-outgoing; Mon, 3 Mar 1997 23:37:52 -0600 (CST) 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 XAA10036 for ; Mon, 3 Mar 1997 23:37:37 -0600 (CST) Received: from [128.83.128.23] (slip-13-7.ots.utexas.edu [128.83.128.23]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id XAA29520 for ; Mon, 3 Mar 1997 23:39:21 -0600 Message-Id: In-Reply-To: <29103019@vixen.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 3 Mar 1997 23:39:06 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: sheppard tones Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Try this: (You may need to reduce the duration (0.8) to prevent it overloading your machine. It uses about 45% of my 200Mhz 604e machine.) The logic still doesn't seem right though. If you want a scale then you should use some other method to generate fixed pitches. As it is you have a continuously ramping pitch, thus making the shorter duration envelope redundant. defaudioout L R; deftable tabl1; init { } start { -- start 8 copies of sheppard_scale at 2 second intervals. repeater(`sheppard_scale, 8, 2); } -- repeats a function a number of times at a given time interval. repeater { arg func, maxrepeat, interval; currepeat = 0; value({ func.value; currepeat = currepeat + 1; if currepeat < maxrepeat then [interval, thisFunc].sched; end.if }); } sheppard_scale { var freq, big_env; value({ freqUgen = Kline(20, 4000, 20); bigenvUgen = Ahanenv(20, 1, `dspRemove); { freq = freqUgen.value; big_env = bigenvUgen.value; }.dspAdd(0); [20, thisFunc].sched; }); value({ osc1 = Asinosc(); note_amp_env = Ahanenv(0.8, 0.1, `dspRemove); { (osc1.value(freq, 0) *! note_amp_env.value *! big_env.value).out(L).out(R); }.dspAdd(1); [0.4, thisFunc].sched; }); } --- 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 Mon Mar 3 23:46:04 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id XAA22694 for sc-users-outgoing; Mon, 3 Mar 1997 23:45:56 -0600 (CST) 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 XAA30872 for ; Mon, 3 Mar 1997 23:45:35 -0600 (CST) Received: from [128.83.128.23] (slip-13-7.ots.utexas.edu [128.83.128.23]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id XAA29542 for ; Mon, 3 Mar 1997 23:47:19 -0600 Message-Id: In-Reply-To: References: <29103019@vixen.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 3 Mar 1997 23:47:03 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: sheppard tones Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Also: > big_env = bigenvUgen.value; ... > (osc1.value(freq, 0) *! note_amp_env.value *! > big_env.value).out(L).out(R); big_env is not a function so does not need to have value() called for it. --- 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 Mon Mar 10 14:17:56 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id OAA23368 for sc-users-outgoing; Mon, 10 Mar 1997 14:16:43 -0600 (CST) Received: from zoom.bga.com (zoom.realtime.net [205.238.128.40]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id OAA23362 for ; Mon, 10 Mar 1997 14:16:28 -0600 (CST) Received: from pixar.com (pixar.pixar.com [138.72.10.20]) by zoom.bga.com (8.6.12/8.6.12) with SMTP id OAA10437 for ; Mon, 10 Mar 1997 14:16:27 -0600 Received: from cliff.pixar.com by pixar.com with SMTP id AA11853 (5.67b/IDA-1.5 for sc-users@bga.com); Mon, 10 Mar 1997 12:16:20 -0800 Received: from [138.72.25.187] by cliff.pixar.com (SMI-8.6/SMI-SVR4) id MAA07330; Mon, 10 Mar 1997 12:14:49 -0800 X-Sender: alex@cliff.pixar.com Message-Id: In-Reply-To: References: <29936117@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 10 Mar 1997 12:16:10 -0800 To: sc-users@bga.com From: Alex Stahl <---@---.---> Subject: pitch change and scheduling Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users James, Two questions about overall audio precision in SuperCollider: What algorithm (i.e. interpolation) is used to play buffers at non-unity rates with Abufrd or Alooprd? Is the scheduler fully independent of subframe size, or will scheduled events start on subframe boundaries? (My apologies if the answer is RTFM. ) thank you, Alex Stahl alex @ pixar.com From sc-users-owner Mon Mar 10 14:49:10 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id OAA32042 for sc-users-outgoing; Mon, 10 Mar 1997 14:48:51 -0600 (CST) 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 OAA11272 for ; Mon, 10 Mar 1997 14:47:52 -0600 (CST) Received: from [128.83.219.93] (slip-85-13.ots.utexas.edu [128.83.219.93]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id OAA16852; Mon, 10 Mar 1997 14:49:39 -0600 Message-Id: In-Reply-To: References: <29936117@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 10 Mar 1997 14:49:37 -0700 To: sc-users@lists.realtime.net, sc-users@bga.com From: James McCartney <---@---.---> Subject: Re: pitch change and scheduling Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 12:16 PM -0800 3/10/97, Alex Stahl wrote: >James, > >Two questions about overall audio precision in SuperCollider: > >What algorithm (i.e. interpolation) is used to play buffers at non-unity >rates with Abufrd or Alooprd? > >Is the scheduler fully independent of subframe size, or will scheduled >events start on subframe boundaries? > >(My apologies if the answer is RTFM. ) linear interpolation is used for sample play back. All events start on subframe boundaries. The manual mentions this. The dsp loop is like this: loop { do events for this subframe. execute dsp tasks (those registered with dspAdd) for this subframe } --- 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 Mon Mar 10 14:49:17 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id OAA17966 for sc-users-outgoing; Mon, 10 Mar 1997 14:48:57 -0600 (CST) Received: from zoom.bga.com (zoom.realtime.net [205.238.128.40]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id OAA15376 for ; Mon, 10 Mar 1997 14:47:53 -0600 (CST) Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id OAA15742 for ; Mon, 10 Mar 1997 14:47:53 -0600 Received: from [128.83.219.93] (slip-85-13.ots.utexas.edu [128.83.219.93]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id OAA16852; Mon, 10 Mar 1997 14:49:39 -0600 Message-Id: In-Reply-To: References: <29936117@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 10 Mar 1997 14:49:37 -0700 To: sc-users@lists.realtime.net, sc-users@bga.com From: James McCartney <---@---.---> Subject: Re: pitch change and scheduling Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 12:16 PM -0800 3/10/97, Alex Stahl wrote: >James, > >Two questions about overall audio precision in SuperCollider: > >What algorithm (i.e. interpolation) is used to play buffers at non-unity >rates with Abufrd or Alooprd? > >Is the scheduler fully independent of subframe size, or will scheduled >events start on subframe boundaries? > >(My apologies if the answer is RTFM. ) linear interpolation is used for sample play back. All events start on subframe boundaries. The manual mentions this. The dsp loop is like this: loop { do events for this subframe. execute dsp tasks (those registered with dspAdd) for this subframe } --- 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 Mon Mar 10 14:53:23 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id OAA23154 for sc-users-outgoing; Mon, 10 Mar 1997 14:53:19 -0600 (CST) 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 OAA23148 for ; Mon, 10 Mar 1997 14:53:05 -0600 (CST) Received: from [128.83.219.93] (slip-85-13.ots.utexas.edu [128.83.219.93]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id OAA16877 for ; Mon, 10 Mar 1997 14:54:54 -0600 Message-Id: In-Reply-To: References: <29936117@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 10 Mar 1997 14:54:52 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: pitch change and scheduling Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Oh and please from now on use: sc-users@lists.realtime.net --- 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 Wed Mar 12 21:20:38 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id VAB23550 for sc-users-outgoing; Wed, 12 Mar 1997 21:19:38 -0600 (CST) Received: from zoom.bga.com (zoom.realtime.net [205.238.128.40]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id VAA07148 for ; Wed, 12 Mar 1997 21:19:14 -0600 (CST) Received: from sound.music.mcgill.ca (sound.Music.McGill.CA [132.206.141.11]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id VAA19047 for ; Wed, 12 Mar 1997 21:19:09 -0600 Received: from [198.168.189.43] (C-04.DAS.McGill.CA [198.168.189.44]) by sound.music.mcgill.ca (8.6.10/8.6.6) with ESMTP id WAA04523 for ; Wed, 12 Mar 1997 22:11:42 -0500 Message-Id: In-Reply-To: References: <30603402@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 12 Mar 1997 22:22:50 -0500 To: sc-users@bga.com From: pennycook <---@---.---> Subject: Re: Abufrd and Scheduler Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users I have built an prog that schedules an simple instr using Abufrd. The problem is, if the duration of the "note" exceeds the delta start time (that is, has a duty factor of approx. 1.0 or more) I get severe modualtion (distortion). I have tried to cycle the dsp(n)'s and several other things but it appears that one cannot overlap calls to Abufrd. I also tried multiple instruments to handle overlap - same result. Is this correct? Can Abufrd overlap itself in the same voice? The problem is rather simple - I have a list of "notes" playing a bunch of "samples" (nifty Akai 2000 ??) but can only play one note at a time. Please advise or perhaps send me an instr where this works correctly. (note that increasing the scheduler time in Tutorial 6 can produce the same results if you wish to try) Thanks Bruce Pennycook McGill From sc-users-owner Wed Mar 12 21:52:51 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id VAA08968 for sc-users-outgoing; Wed, 12 Mar 1997 21:52:46 -0600 (CST) 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 VAA22014 for ; Wed, 12 Mar 1997 21:52:26 -0600 (CST) Received: from [128.83.204.148] (slip-10-4.ots.utexas.edu [128.83.204.148]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id VAA23524 for ; Wed, 12 Mar 1997 21:54:16 -0600 Message-Id: In-Reply-To: References: <30603402@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 12 Mar 1997 21:54:18 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: Abufrd and Scheduler Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 10:22 PM -0500 3/12/97, pennycook wrote: >I have built an prog that schedules an simple >instr using Abufrd. The problem is, if the duration >of the "note" exceeds the delta start time (that is, has >a duty factor of approx. 1.0 or more) I get severe >modualtion (distortion). I have tried to cycle the dsp(n)'s >and several other things but it appears that one >cannot overlap calls to Abufrd. I also tried multiple >instruments to handle overlap - same result. > >Is this correct? Can Abufrd overlap itself in the same voice? > >The problem is rather simple - I have a list of "notes" playing >a bunch of "samples" (nifty Akai 2000 ??) but can only play >one note at a time. > >Please advise or perhaps send me an instr where this works correctly. >(note that increasing the scheduler time in Tutorial 6 can produce >the same results if you wish to try) It is impossible to diagnose unless you post your code. It sounds like you might be evaluating one unit generator twice per control period. Or maybe you're clipping. Or maybe you're exceeding your CPU resources... Tutorial 6 is already operating with a duty cycle of two, i.e. two overlapped notes. (btw, please post to the new address: sc-users@lists.realtime.net) --- 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 Mar 13 10:13:20 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id KAA20838 for sc-users-outgoing; Thu, 13 Mar 1997 10:13:06 -0600 (CST) Received: from sound.music.mcgill.ca (sound.Music.McGill.CA [132.206.141.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id KAA22870 for ; Thu, 13 Mar 1997 10:12:44 -0600 (CST) Received: from [198.168.183.47] (D-07.DAS.McGill.CA [198.168.183.47]) by sound.music.mcgill.ca (8.6.10/8.6.6) with ESMTP id LAA07992 for ; Thu, 13 Mar 1997 11:05:15 -0500 Message-Id: In-Reply-To: References: <30603402@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 13 Mar 1997 11:16:26 -0500 To: sc-users@lists.realtime.net From: pennycook <---@---.---> Subject: Re: Abufrd and Scheduler Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users >It sounds like you might be evaluating one unit generator >twice per control period. Or maybe you're clipping. Or >maybe you're exceeding your CPU resources... > >Tutorial 6 is already operating with a duty cycle of two, i.e. >two overlapped notes. hmmm... quite right about Tutorial 6, my mistake (I had hacked it). I have tons of bandwidth (604/150) and no clipping. The error does indeed appear to be the evaluation sequence as James suggested. thanks Bruce Pennycook