From sc-users-owner Sat May 3 22:41:11 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id WAA72310 for sc-users-outgoing; Sat, 3 May 1997 22:40:45 -0500 (CDT) Received: from euclid.ucsd.edu (euclid.ucsd.edu [132.239.145.52]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id WAA46192 for ; Sat, 3 May 1997 22:40:33 -0500 (CDT) Received: from [205.138.107.52] (DIALUP20.SISNA.COM [205.138.107.52]) by euclid.ucsd.edu (8.7.4/8.7.3) with ESMTP id UAA01047 for ; Sat, 3 May 1997 20:40:17 -0700 (PDT) Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 3 May 1997 21:40:19 -0600 To: sc-users@lists.realtime.net From: Kevin Walker <---@---.---> Subject: archive? Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Is there an archive for this list? If not, has anyone been saving all the list traffic? Thanks. Kevin Walker From sc-users-owner Sun May 4 08:38:39 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id IAA53898 for sc-users-outgoing; Sun, 4 May 1997 08:37:11 -0500 (CDT) Received: from mail.eclipse.net (mail.eclipse.net [207.207.192.13]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id IAA53892 for ; Sun, 4 May 1997 08:36:59 -0500 (CDT) Received: from [207.207.200.145] (so1-145.eclipse.net [207.207.200.145]) by mail.eclipse.net (8.7.4/8.7.3) with ESMTP id JAA10535 for ; Sun, 4 May 1997 09:36:57 -0400 (EDT) X-Sender: kmistove@mail.eclipse.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 4 May 1997 09:39:46 -0400 To: sc-users@lists.realtime.net From: Ken Mistove <---@---.---> Subject: Re:archive? Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Hi, James posted intructions back in 11/96, I just updated the current listserver address. There is a problem however... ------------------- Instructions: You can send the following command to majordomo@lists.realtime.net in the body of an email message with a blank Subject line: index sc-users which returns a list of the archive files, for example currently there is: >>>> index sc-users total 1110 -rw-rw---- 1 daemon 15 24734 Jun 30 1996 sc-users.9606 -rw-rw---- 1 daemon 15 97259 Jul 30 1996 sc-users.9607 -rw-rw---- 1 daemon 15 7467 Aug 19 1996 sc-users.9608 -rw-rw---- 1 daemon 15 49520 Sep 30 1996 sc-users.9609 -rw-rw---- 1 daemon 15 88204 Oct 21 1996 sc-users.9610 -rw-rw---- 1 daemon 15 20671 Nov 24 08:16 sc-users.9611 -rw-rw---- 1 daemon 15 73185 Dec 31 12:30 sc-users.9612 -rw-rw---- 1 daemon 15 71745 Jan 29 13:03 sc-users.9701 -rw-rw---- 1 daemon 15 70582 Feb 24 18:13 sc-users.9702 -rw-rw---- 1 majordom daemon 29976 Mar 13 10:13 sc-users.9703 -rw-rw---- 1 majordom daemon 19823 Apr 29 16:30 sc-users.9704 -rw-rw---- 1 majordom daemon 1147 May 3 22:41 sc-users.9705 you can then send the command : get sc-users --------------------- However, when I tried to "get" any of the old bga.com archived files (pre 3/97, using the new address - I even tried the old address), I received a "#### No such file 'sc-users.9702' for list 'sc-users'" reply. I could only retrieve the last three archives. James, can you look into this? I know I missed a few of the early messages and this list has been of great help. It would be nice to have a complete archive. Thanks. Ken Ken Mistove kmistove@eclipse.net http://www.eclipse.net/~kmistove/ From sc-users-owner Sun May 4 08:52:15 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id IAA63280 for sc-users-outgoing; Sun, 4 May 1997 08:50:49 -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 IAA63274 for ; Sun, 4 May 1997 08:50:36 -0500 (CDT) Received: from [128.83.254.61] (slip-72-13.ots.utexas.edu [128.83.254.61]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id IAA25441 for ; Sun, 4 May 1997 08:52:59 -0500 Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 4 May 1997 08:54:43 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re:archive? Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 6:39 AM -0700 5/4/97, Ken Mistove wrote: >However, when I tried to "get" any of the old bga.com archived files (pre >3/97, using the new address - I even tried the old address), I received a >"#### No such file 'sc-users.9702' for list 'sc-users'" reply. I could only >retrieve the last three archives. James, can you look into this? I know I >missed a few of the early messages and this list has been of great help. It >would be nice to have a complete archive. Thanks. Hmm thanks, I'll check this out with the realtime.net folks... --- 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 Sun May 4 11:28:10 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id LAA64294 for sc-users-outgoing; Sun, 4 May 1997 11:28:02 -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 LAA64288 for ; Sun, 4 May 1997 11:27:50 -0500 (CDT) Received: from [128.83.176.76] (slip-103-28.ots.utexas.edu [128.83.176.76]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id LAA25655 for ; Sun, 4 May 1997 11:30:12 -0500 Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 4 May 1997 11:31:57 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re:archive? Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users This problem has now been fixed. Thanks for informing me about it. >However, when I tried to "get" any of the old bga.com archived files (pre >3/97, using the new address - I even tried the old address), I received a >"#### No such file 'sc-users.9702' for list 'sc-users'" reply. I could only >retrieve the last three archives. James, can you look into this? I know I >missed a few of the early messages and this list has been of great help. It >would be nice to have a complete archive. Thanks. --- 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 May 6 13:01:12 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id MAA60764 for sc-users-outgoing; Tue, 6 May 1997 12:59:47 -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 MAA48200 for ; Tue, 6 May 1997 12:59:11 -0500 (CDT) Received: from [128.83.219.68] (slip-84-4.ots.utexas.edu [128.83.219.68]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id NAA01649; Tue, 6 May 1997 13:01:34 -0500 Message-Id: In-Reply-To: <199705061736.MAA57850@mail2.realtime.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 6 May 1997 13:03:23 -0700 To: sc-users@lists.realtime.net, broening@umich.edu From: James McCartney <---@---.---> Subject: Re: Help Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users >From: Benjamin Broening <---@---.---> >Subject: Help > >I know I am misunderstanding something. I am trying to send different >signals to the left and right outputs - and was getting a very strange >distortion effect. I have simplified the instrument to its most basic >design and still get the problem. Here is the instrument: > >--cut here--- > >defaudioout L R; > >start { > > osc = Asinosc(); > { > > osc.value(200) .out(L); > osc.value(200) .out(R); > > }.dspAdd(1); >} > >--cut here --- > >I have tried different frequencies, amplitudes etc. Can anyone tell me >what basic thing I am missing. Thanks > >Benjamin Broening You are evaluating the function twice. You must only evaluate an audio function once per control period. Each time you evaluate the function you get the next buffer of samples. So rather than putting the first buffer out both channels in the first control period and the second buffer out both channels in the second control period, you are sending the first buffer out the left output, the second buffer out the right output then in the second control period the third buffer goes out the left and the fourth goes out the right. What you should do is: sig = osc.value(200); sig.out(L); sig.out(R); or more simply: osc.value(200).out(L).out(R); If you really want two oscillators at different frequencies then you must allocate two of them: start { osc1 = Asinosc(); osc2 = Asinosc(); { osc1.value(200).out(L); osc2.value(201).out(R); }.dspAdd(1); } --- 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 May 6 15:29:17 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id PAA57104 for sc-users-outgoing; Tue, 6 May 1997 15:29:05 -0500 (CDT) 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 PAA57098 for ; Tue, 6 May 1997 15:28:46 -0500 (CDT) Received: from mailhub.dartmouth.edu (mailhub.dartmouth.edu [129.170.16.6]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id PAA10262 for ; Tue, 6 May 1997 15:28:45 -0500 Received: from dasher.Dartmouth.EDU (dasher.dartmouth.edu [129.170.208.6]) by mailhub.dartmouth.edu (8.8.5+DND/8.8.5) with SMTP id QAA06259 for ; Tue, 6 May 1997 16:28:37 -0400 (EDT) Message-id: <7318136@dasher.Dartmouth.EDU> Date: 06 May 97 16:28:37 EDT From: Matthew.B.Smith@Dartmouth.EDU (Matthew B. Smith) Subject: having trouble with lengthy lists... To: sc-users@bga.com Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users is there a limit to the amount of data a list can contain? i'm trying to use the code below and it gives me an error... but if i lower the value of howmany (thus not putting as much info into the list) it works fine. matthew -------- deftable tabl1 env1; defaudioout L R; start { divide; } divide { length = 13.7; howmany = 50; bit = length / howmany; post(bit); bits = []; for i=0; i; Tue, 6 May 1997 16:12:12 -0500 (CDT) Received: from mailhub.dartmouth.edu (mailhub.dartmouth.edu [129.170.16.6]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id QAA18615 for ; Tue, 6 May 1997 16:12:09 -0500 Received: from dasher.Dartmouth.EDU (dasher.dartmouth.edu [129.170.208.6]) by mailhub.dartmouth.edu (8.8.5+DND/8.8.5) with SMTP id RAA32340 for ; Tue, 6 May 1997 17:12:07 -0400 (EDT) Message-id: <7321158@dasher.Dartmouth.EDU> Date: 06 May 97 17:12:06 EDT From: Matthew.B.Smith@Dartmouth.EDU (Matthew B. Smith) Subject: asInt To: sc-users@bga.com Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users I'm having trouble with the following code. It seems that asInt doesn't read more than the first digit. So it works fine for one digit values but if the user enters 25 then asInt converts it to 2. Any help would be appreciated. Matthew ------- getvalue = getStringFromUser("", "divide into how many?"); post(getvalue); howmany = getValue.asFloat.asInt; post(howmany); From sc-users-owner Tue May 6 16:14:39 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id QAA49654 for sc-users-outgoing; Tue, 6 May 1997 16:14:17 -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 QAA63684 for ; Tue, 6 May 1997 16:12:59 -0500 (CDT) Received: from [128.83.221.107] (slip-123-11.ots.utexas.edu [128.83.221.107]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id QAA02400 for ; Tue, 6 May 1997 16:15:23 -0500 X-Sender: james@clyde.as.utexas.edu (Unverified) Message-Id: In-Reply-To: <7318136@dasher.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 6 May 1997 16:16:38 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: having trouble with lengthy lists... Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 1:28 PM -0700 5/6/97, Matthew B. Smith wrote: >is there a limit to the amount of data a list can contain? i'm trying to use >the code below and it gives me an error... but if i lower the value of >howmany >(thus not putting as much info into the list) it works fine. It looks like post() has a bug when posting a long list. The following change of dump() for post() works for me: >deftable tabl1 env1; >defaudioout L R; > >start { > divide; >} > >divide { > length = 13.7; > howmany = 50; > bit = length / howmany; > post(bit); > bits = []; > > for i=0; i add(bits, i); > dump(bits); > end.for; >} --- 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 May 6 16:19:13 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id QAA58436 for sc-users-outgoing; Tue, 6 May 1997 16:19:06 -0500 (CDT) 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 QAA58430 for ; Tue, 6 May 1997 16:18:46 -0500 (CDT) Received: from mailhub.dartmouth.edu (mailhub.dartmouth.edu [129.170.16.6]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id QAA20021 for ; Tue, 6 May 1997 16:18:44 -0500 Received: from dasher.Dartmouth.EDU (dasher.dartmouth.edu [129.170.208.6]) by mailhub.dartmouth.edu (8.8.5+DND/8.8.5) with SMTP id RAA13103 for ; Tue, 6 May 1997 17:18:14 -0400 (EDT) Message-id: <7321668@dasher.Dartmouth.EDU> Date: 06 May 97 17:18:14 EDT From: Matthew.B.Smith@Dartmouth.EDU (Matthew B. Smith) Subject: Re: asInt To: sc-users@bga.com Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users this is the code for the previous question i just posted. i accidentally posted other code (which was similar). matthew --------- getvalue = getStringFromUser("", "divide into how many?"); post(getvalue); howmany = getvalue.asInt; post(howmany); From sc-users-owner Tue May 6 16:27:03 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id QAA64356 for sc-users-outgoing; Tue, 6 May 1997 16:26: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 QAA64350 for ; Tue, 6 May 1997 16:26:41 -0500 (CDT) Received: from [128.83.221.107] (slip-123-11.ots.utexas.edu [128.83.221.107]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id QAA02492 for ; Tue, 6 May 1997 16:29:05 -0500 X-Sender: james@clyde.as.utexas.edu (Unverified) Message-Id: In-Reply-To: <7321158@dasher.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 6 May 1997 16:30:54 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: asInt Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 2:12 PM -0700 5/6/97, Matthew B. Smith wrote: > getvalue = getStringFromUser("", "divide into how many?"); > post(getvalue); > howmany = getValue.asFloat.asInt; > post(howmany); Try this: howmany = getvalue.parse @ 0; --- 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 May 10 10:24:56 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id KAA51854 for sc-users-outgoing; Sat, 10 May 1997 10:24:15 -0500 (CDT) Received: from easynet.co.uk (kiwi.easynet.co.uk [193.131.248.4]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id KAA51848 for ; Sat, 10 May 1997 10:23:58 -0500 (CDT) Received: (qmail 6304 invoked from network); 10 May 1997 15:24:46 -0000 Received: from finer.easynet.co.uk (HELO ?194.128.81.130?) (194.128.81.130) by kiwi.easynet.co.uk with SMTP; 10 May 1997 15:24:46 -0000 X-Sender: finer@mail.easynet.co.uk (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 10 May 1997 16:24:13 +0100 To: sc-users@lists.realtime.net From: finer@easynet.co.uk (Jem Finer) Subject: Several elementary questions Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Hello, Forgive my ignorance - I'm trying to learn how to use this program with the computer music tutorial in one hand , the sc manual in the other and some half baked ideas as to what I'm trying to do ! 1. Playing guitar through effects patches there is rather more of a delay than I anticipated - is the explanation re frame size (p52 - the manual) the end of the story or is there some way of reducing delay without degrading performance. (think I may have answered my own question here, the answer being no !) 2.Is there a way of performing a fourier analysis on an audio signal and then manipulating it's various harmonics ? 3.Can one program such manipulation of a table - for instance so that harmonics are variously filtered out in real time ? 4. Can one take a bit of audio, analyse its frequencies and then use this info to subtract said frequencies from another sound - a sort of version of the software that lets you get rid of crackle from records ? hope you can help, thanks, Jem Jem Finer Kentish Town London NW5 finer@easynet.co.uk From sc-users-owner Mon May 12 06:55:58 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id GAA13360 for sc-users-outgoing; Mon, 12 May 1997 06:55:00 -0500 (CDT) Received: from easynet.co.uk (kiwi.easynet.co.uk [193.131.248.4]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id GAA13354 for ; Mon, 12 May 1997 06:54:43 -0500 (CDT) Received: (qmail 28670 invoked from network); 12 May 1997 11:55:30 -0000 Received: from finer.easynet.co.uk (HELO ?194.128.81.130?) (194.128.81.130) by kiwi.easynet.co.uk with SMTP; 12 May 1997 11:55:30 -0000 X-Sender: finer@mail.easynet.co.uk (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 12 May 1997 12:54:57 +0100 To: sc-users@lists.realtime.net From: finer@easynet.co.uk (Jem Finer) Subject: OMS Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users How do I pass info. into SC via OMS (specifically from MAX) ? It doesn't appear , for example, in OMS 's lists of devices. thanks, Jem Finer Kentish Town London NW5 finer@easynet.co.uk From sc-users-owner Mon May 12 08:40:37 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id IAA15326 for sc-users-outgoing; Mon, 12 May 1997 08:40:27 -0500 (CDT) Received: from maelzel.ircam.fr (maelzel.ircam.fr [129.102.1.10]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id IAA12504 for ; Mon, 12 May 1997 08:39:43 -0500 (CDT) Received: from [129.102.3.60] (mac-dudas.ircam.fr [129.102.3.60]) Date: Mon, 12 May 1997 15:39:41 +0200 (MET DST) X-Sender: dudas@maelzel.ircam.fr Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: sc-users@lists.realtime.net From: Richard.Dudas@ircam.fr (dudas) Subject: Re: OMS Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Jem Finer asks: >How do I pass info. into SC via OMS (specifically from MAX) ? >It doesn't appear , for example, in OMS 's lists of devices. You need to create an IAC (inter-application communication) bus in OMS. To do this you need the OMS IAC driver in the OMS Folder that the OMS installer places in your System Folder. When the IAC driver is there, the IAC Driver icon will appear at the top of the OMS Setup document. If you double-click on the icon, you get a dialog where you can enter up to 4 names for 4 different IAC busses. (By default they have names like "=83 IAC Bus #1", but it's handy to give them simpler, one-word names.) These busses will appear in the Max OMS setup dialog; consequently they also appear in the lists of OMS destinations when you double-click on a Max MIDI object box and can also be typed as arguements to MIDI objects: "ctlout MyIACBus1" When You start SuperCollider, it listens to everything coming from OMS (I believe), so all you need to do is enable SC's overdrive mode and let Max churn away in the background/foreground! You will notice a significant difference in the amount of CPU power you have at your disposition, but it works well on simpler SC patches, nonetheless. -Richard From sc-users-owner Mon May 12 08:45:45 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id IAA11240 for sc-users-outgoing; Mon, 12 May 1997 08:45:38 -0500 (CDT) Received: from smtp1.xs4all.nl (smtp1.xs4all.nl [194.109.6.51]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id IAA11998 for ; Mon, 12 May 1997 08:45:13 -0500 (CDT) Received: from magigimmix.xs4all.nl (magigimmix.xs4all.nl [194.109.6.25]) by smtp1.xs4all.nl (8.7.6/XS4ALL) with ESMTP id PAA08739 for ; Mon, 12 May 1997 15:44:59 +0200 (MET DST) Received: from xs2.xs4all.nl (xs2.xs4all.nl [194.109.6.43]) by magigimmix.xs4all.nl (8.7.6/XS4ALL) with ESMTP id PAA04656 for ; Mon, 12 May 1997 15:44:54 +0200 (MET DST) Received: (from jr@localhost) by xs2.xs4all.nl (8.7.6/XS4ALL) id PAA09780 for sc-users@lists.realtime.net; Mon, 12 May 1997 15:44:51 +0200 (MET DST) Date: Mon, 12 May 1997 15:44:51 +0200 (MET DST) From: jr <---@---.---> Message-Id: <199705121344.PAA09780@xs2.xs4all.nl> To: sc-users@lists.realtime.net Subject: Re: OMS Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Jem some heavy questions in terms of programming there arn't a lot of frequency domain tools in SuperCollider/ They require a bit more speed that even a PPC can muster For example a SiliconGraphics machine or an Ircam ISPW board both of these use parallel processing to deal with the problem of trying to do analysis and synthesis at the same time. ( I assume you are interested in real-time here If not perhaps there are better tools for your ideas) perhaps some of the mac IRCAM tools are worth looking into if you want to edit or manipulate things in "frequency space" in the time domain there are things which will do some of what you want but they have to be configured designed in two stages one which designs the filter and the other which applies it in real time. A clever use of digital filters can be unexpectedly novel but... it takes some experimentation. Physical Modeling is such a thing where delay lines and filters and patching create a dynamic system with unexpected realism look at the "pipe" patch its very simple (though hard to read till you get a hang of the grammer); but it makes wild sound I modified it so that I input sound in instead of noise >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> defaudioout L R; defdelay pipe1(0.02) pipe2(0.03) pipe3(0.05); --sept 5 1996 -- three voices of a delay line with no feedback -- a resonant filter and an input multiplied with a tuneable noise source init { } start { instr1(1.0, pipe1); instr1(0.5, pipe2); instr1(0.75, pipe3); } instr1 { arg freq pipe; n1 = Anoise; n2 = Asinosc; o1 = Asinosc; k1 = Klag; k2 = Klag; k3 = Klag; k4 = Klag; k5 = Klag; k6 = Klag; f1 = Alpf; { --(o1.(k6.(6.getItemValue, 0.4)) (in(Lin) *! n1.(k1.(1.getItemValue, 0.4), k2.(5.getItemValue, 0.4))) .out(pipe); f1.(pipe.tapi(k3.(2.getItemValue * freq, 0.4)).out(L).out(R) *! k4.(3.getItemValue.neg, 0.4), k5.(4.getItemValue, 0.4)).out(pipe); }.dspAdd; } >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> re OMS: just a plain Modem (or less optimal Printer) connection will get midi into SuperCollider. Ie just have OMS running and Supercollider automatically logs on when it starts up. I use a slider box and a steim instrument for mine There will be no "device" showing up unless you create one. Midi-in is handled only in a minimal way Midi-out is missing (due to the problem of the timing of audio vs midi) A=fctlin( 29, 1, 0.0, 2.0); will load variable A with data from controler 29 on midi chanel 1 and will scale the 0..127 data as a real number from 0 .. 2.0 there exists a similar word for key-in There is a fixed sample buffer delay+the MacOS delay (50ms+) You can reduce the delay by changing the "frame size" in the globals menu but this is a bit advanced if your not used to real time computation Real time is always delayed realtime SC works on blocks of samples at a time to increase speed (the cost of setting up the engine to compute one sample is very high and goes down if you use this context to compute a number of samples in advance) There is a mailing list for Super Collider which is not large and not too much to read when you are starting up there is also a few more user patches an an archive of old letters ftp://mirror.apple.com//mirrors/Info-Mac.Archive/gst/snd/super-collider-demo.hqx SUBSCRIBING =========== To subscribe to sc-users, send the following in the body (not the subject line) of an email message to "majordomo@bga.com": subscribe sc-users This will subscribe the account from which you send the message to the sc-users list. If you wish to subscribe another address instead (such as a local redistribution list), you can use a command of the form: subscribe sc-users other-address@your_site.your_net joel From sc-users-owner Mon May 12 16:01:42 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id QAA15700 for sc-users-outgoing; Mon, 12 May 1997 16:01:14 -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 QAA15694 for ; Mon, 12 May 1997 16:01:02 -0500 (CDT) Received: from [128.83.249.135] (slip-99-7.ots.utexas.edu [128.83.249.135]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id QAA22720 for ; Mon, 12 May 1997 16:03:23 -0500 Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 12 May 1997 16:05:24 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: Several elementary questions Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 8:24 AM -0700 5/10/97, Jem Finer wrote: >Hello, > >Forgive my ignorance - I'm trying to learn how to use this program with the >computer music tutorial in one hand , the sc manual in the other and some >half baked ideas as to what I'm trying to do ! >1. Playing guitar through effects patches there is rather more of a delay >than I anticipated - is the explanation re frame size (p52 - the manual) >the end of the story or is there some way of reducing delay without >degrading performance. >(think I may have answered my own question here, the answer being no !) Correct. It is a trade off. The real answer would be to move to a more efficient operating system in the future. The BeOS will provide better performance. That doesn't help if your machine won't run BeOS of course. I intend to make the next version run on both MacOS and BeOS. The BeOS version will be cooler, though. >2.Is there a way of performing a fourier analysis on an audio signal and >then manipulating it's various harmonics ? Not currently. The version I am working on will be better suited for this. >3.Can one program such manipulation of a table - for instance so that >harmonics are variously filtered out in real time ? You can do this theoretically, however waveFill() is a slow process and will cause your audio to glitch. If you wrote a function that read and wrote single samples from the wavetable incrementally over time you could do a gradual process on it. >4. Can one take a bit of audio, analyse its frequencies and then use this >info to subtract said frequencies from another sound - a sort of version of >the software that lets you get rid of crackle from records ? Not currently. Next version it will be possible. The next version will allow a lot of non real time batch processing of audio as well. Subtracting is not what you want exactly. Gate out amplitudes of frequencies that fall below the noise floor. --- 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 May 12 16:16:40 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id QAA26536 for sc-users-outgoing; Mon, 12 May 1997 16:16:29 -0500 (CDT) Received: from pixar.com (pixar.pixar.com [138.72.10.20]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id QAA13212 for ; Mon, 12 May 1997 16:16:13 -0500 (CDT) Received: from cliff.pixar.com by pixar.com with SMTP id AA05606 (5.67b/IDA-1.5 for sc-users@lists.realtime.net); Mon, 12 May 1997 14:16:09 -0700 Received: from [138.72.25.187] by cliff.pixar.com (SMI-8.6/SMI-SVR4) id OAA26848; Mon, 12 May 1997 14:16:05 -0700 X-Sender: alex@cliff.pixar.com Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 12 May 1997 14:16:04 -0800 To: sc-users@lists.realtime.net From: Alex Stahl <---@---.---> Subject: Re: batch (was: Several elementary questions) Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users >The next version will allow a lot of non real time batch processing >of audio as well. > Does this mean you'll be able to run a complex SC program file-to-file, regardless of whether the CPU's up to running the program in realtime? That would be very nice. -alex _______________________________________________________________________ Alex Stahl -- alex@pixar.com -- Pixar Animation Studios -- Richmond, CA -- 510/620-6008 From sc-users-owner Mon May 12 20:06:41 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id UAA10166 for sc-users-outgoing; Mon, 12 May 1997 20:06:29 -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 UAA10160 for ; Mon, 12 May 1997 20:06:16 -0500 (CDT) Received: from [128.83.254.6] (slip-69-6.ots.utexas.edu [128.83.254.6]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id UAA23260 for ; Mon, 12 May 1997 20:08:42 -0500 X-Sender: james@clyde.as.utexas.edu (Unverified) Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 12 May 1997 20:10:23 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: batch (was: Several elementary questions) Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 3:16 PM -0700 5/12/97, Alex Stahl wrote: >>The next version will allow a lot of non real time batch processing >>of audio as well. What I meant above is that you will be able to dynamically allocate sound buffers and write processes on them to generate and composite them. Static definitions like defaudiobuf and defdelay will go away. >Does this mean you'll be able to run a complex SC program file-to-file, >regardless of whether the CPU's up to running the program in realtime? >That would be very nice. If I understand your question, this is possible now. Check 'In from File' and 'Out to File' and uncheck 'Out to Sound Mgr'. This will make it run as fast as it can without regard to real time. Logical time within the generated stream will be correct. --- 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 May 13 07:26:39 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id HAA15640 for sc-users-outgoing; Tue, 13 May 1997 07:25:48 -0500 (CDT) Received: from easynet.co.uk (kiwi.easynet.co.uk [193.131.248.4]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id HAA15630 for ; Tue, 13 May 1997 07:25:19 -0500 (CDT) Received: (qmail 24777 invoked from network); 13 May 1997 12:26:10 -0000 Received: from finer.easynet.co.uk (HELO ?194.128.81.130?) (194.128.81.130) by kiwi.easynet.co.uk with SMTP; 13 May 1997 12:26:10 -0000 X-Sender: finer@mail.easynet.co.uk (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 13 May 1997 13:25:36 +0100 To: sc-users@lists.realtime.net From: finer@easynet.co.uk (Jem Finer) Subject: Thanks for the answers . . .and now a new question ! Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Thanks to all the people who replied to my previous questions - they've been a great help. I was wondering if there's a way to write a program whereby the computer, at some appointed hour, could grab a new sound from the world outside to become raw material for the process at work. I see purgeAudio will clear an audiobuf but am not sure I can see a way to sample a new sound , via the mike I suppose. Looking forward to hearing from you, Jem Jem Finer Kentish Town London NW5 finer@easynet.co.uk From sc-users-owner Tue May 13 11:53:08 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id LAA11436 for sc-users-outgoing; Tue, 13 May 1997 11:52:32 -0500 (CDT) Received: from pixar.com (pixar.pixar.com [138.72.10.20]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id LAA12694 for ; Tue, 13 May 1997 11:51:22 -0500 (CDT) Received: from cliff.pixar.com by pixar.com with SMTP id AA24531 (5.67b/IDA-1.5 for sc-users@lists.realtime.net); Tue, 13 May 1997 09:51:19 -0700 Received: from [138.72.25.187] by cliff.pixar.com (SMI-8.6/SMI-SVR4) id JAA00340; Tue, 13 May 1997 09:51:15 -0700 X-Sender: alex@cliff.pixar.com Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 13 May 1997 09:51:10 -0800 To: sc-users@lists.realtime.net From: Alex Stahl <---@---.---> Subject: Re: batch (was: Several elementary questions) Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 7:10 PM -0800 05/12/97, James McCartney wrote: >At 3:16 PM -0700 5/12/97, Alex Stahl wrote: >>Does this mean you'll be able to run a complex SC program file-to-file, >>regardless of whether the CPU's up to running the program in realtime? >>That would be very nice. > >If I understand your question, this is possible now. >Check 'In from File' and 'Out to File' and uncheck 'Out to Sound Mgr'. >This will make it run as fast as it can without regard to real >time. Logical time within the generated stream will be correct. Gee, no kidding, what a nice surprise! When I first got SC I tried this and somehow decided that it wouldn't work. The code I was trying to write must have had other problems (no surprise there). Thank you for clarifying. -Alex From sc-users-owner Thu May 15 04:35:23 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id EAA14862 for sc-users-outgoing; Thu, 15 May 1997 04:34:23 -0500 (CDT) Received: from easynet.co.uk (kiwi.easynet.co.uk [193.131.248.4]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id EAA14856 for ; Thu, 15 May 1997 04:34:10 -0500 (CDT) Received: (qmail 10875 invoked from network); 15 May 1997 09:35:02 -0000 Received: from finer.easynet.co.uk (HELO ?194.128.81.130?) (194.128.81.130) by kiwi.easynet.co.uk with SMTP; 15 May 1997 09:35:02 -0000 X-Sender: finer@mail.easynet.co.uk Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 15 May 1997 10:34:28 +0100 To: sc-users@lists.realtime.net From: finer@easynet.co.uk (Jem Finer) Subject: Audiomedia III I/O Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Is there a way to use Audiomedia III's inputs and outputs to get in and out of Super Collider ? Thanks, Jem Jem Finer Kentish Town London NW5 finer@easynet.co.uk From sc-users-owner Sun May 18 17:47:47 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id RAA26788 for sc-users-outgoing; Sun, 18 May 1997 17:47:15 -0500 (CDT) Received: from easynet.co.uk (kiwi.easynet.co.uk [193.131.248.4]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id RAA18588 for ; Sun, 18 May 1997 17:47:00 -0500 (CDT) Received: (qmail 18493 invoked from network); 18 May 1997 22:47:54 -0000 Received: from finer.easynet.co.uk (HELO ?194.128.81.130?) (194.128.81.130) by kiwi.easynet.co.uk with SMTP; 18 May 1997 22:47:54 -0000 X-Sender: finer@mail.easynet.co.uk (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 18 May 1997 23:47:19 +0100 To: sc-users@lists.realtime.net From: finer@easynet.co.uk (Jem Finer) Subject: Pattern threads Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Re the example patch : var a; a = Trand([ { arg x; [0.4 { \one.post; x. }].sched } { arg x; [0.3 { 'two'.post; x.value }].sched } { arg x; [0.3 { \three.post; x.value }].sched } ] 15); a.value({'done'.post}); I'm trying to understand how this works - correct me if I'm wrong ! the function a is called. a has one argument - x. trand has as arguments a list of functions. when one of these is called x is passed as the completion function to sched. But x = 'done'.post - HERE I am confused as to what happens . I know it works but I just can't quite get this last leap ! ANOTHER QUESTION : I prefer overdrive on, it's so pleasant watching the waves go by. I've been getting a message from time to time to the affect that functions are being called at interrupt level. Then I noticed, having neglected to turn overdrive on, that this message didn't occur and the patch worked (except I couldn't watch the waves). This leads to the question "WHY ?" Is it a bug ? Bye for now, Jem Jem Finer Kentish Town London NW5 finer@easynet.co.uk From sc-users-owner Sun May 18 18:38:08 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id SAA13816 for sc-users-outgoing; Sun, 18 May 1997 18:38:01 -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 SAA28652 for ; Sun, 18 May 1997 18:37:37 -0500 (CDT) Received: from [128.83.254.24] (slip-70-8.ots.utexas.edu [128.83.254.24]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id SAA10436 for ; Sun, 18 May 1997 18:40:07 -0500 Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 18 May 1997 18:42:21 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: Pattern threads Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 3:47 PM -0700 5/18/97, Jem Finer wrote: >Re the example patch : > > var a; > a = Trand([ > { arg x; [0.4 { \one.post; x. }].sched } > { arg x; [0.3 { 'two'.post; x.value }].sched } > { arg x; [0.3 { \three.post; x.value }].sched } > ] 15); > a.value({'done'.post}); > >I'm trying to understand how this works - correct me if I'm wrong ! > >the function a is called. >a has one argument - x. >trand has as arguments a list of functions. >when one of these is called x is passed as the completion function to sched. >But x = 'done'.post - HERE I am confused as to what happens . >I know it works but I just can't quite get this last leap ! x is not an argument to sched(). Sched calls the function in the list passed to it after the elapsed time which causes x to be called. The argument x is a completion function passed into your functions. It is not the {'done'.post} function. It is a magic function that tells 'a' what to do next. When your function calls the completion function passed to it, the Trand object 'a' does the next thing, whatever that is. When 'a' is done it calls calls the completion function passed to it: {'done'.post}. > >ANOTHER QUESTION : > >I prefer overdrive on, it's so pleasant watching the waves go by. > >I've been getting a message from time to time to the affect that functions >are being called at interrupt level. > >Then I noticed, having neglected to turn overdrive on, that this message >didn't occur and the patch worked (except I couldn't watch the waves). > >This leads to the question "WHY ?" Functions that call Macintosh Toolbox functions cannot be called at interrupt level. This means you can't do drawing and such when overdrive is on. This could be worked around using queues in the way MAX does it. This would make all drawing functions asynchronous which would mean you can't have synchronous drawing state. A better solution is to just wait for a better operating system. --- 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 May 19 06:06:48 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id GAA13614 for sc-users-outgoing; Mon, 19 May 1997 06:06:30 -0500 (CDT) Received: from easynet.co.uk (kiwi.easynet.co.uk [193.131.248.4]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id GAA13608 for ; Mon, 19 May 1997 06:06:13 -0500 (CDT) Received: (qmail 5433 invoked from network); 19 May 1997 11:07:08 -0000 Received: from finer.easynet.co.uk (HELO ?194.128.81.130?) (194.128.81.130) by kiwi.easynet.co.uk with SMTP; 19 May 1997 11:07:08 -0000 X-Sender: finer@mail.easynet.co.uk (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 1 Jan 1904 01:19:35 +0100 To: sc-users@lists.realtime.net From: finer@easynet.co.uk (Jem Finer) Subject: Audiomedia III Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Thanks for the explanation re. pattern threads and interrupt. I was just wondering whether supercollider has an aversion to input from an Audiomedia III card. It seems happy to output sound via the card but input causes crashes. thanks, Jem Finer Kentish Town London NW5 finer@easynet.co.uk From sc-users-owner Mon May 19 08:20:07 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id IAA20074 for sc-users-outgoing; Mon, 19 May 1997 08:20:01 -0500 (CDT) Received: from mail.eclipse.net (mail.eclipse.net [207.207.192.13]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id IAA20068 for ; Mon, 19 May 1997 08:19:47 -0500 (CDT) Received: from [207.207.200.167] (so1-167.eclipse.net [207.207.200.167]) by mail.eclipse.net (8.7.4/8.7.3) with ESMTP id JAA08223 for ; Mon, 19 May 1997 09:19:45 -0400 (EDT) X-Sender: kmistove@mail.eclipse.net Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 19 May 1997 09:22:50 -0400 To: sc-users@lists.realtime.net From: Ken Mistove <---@---.---> Subject: Re: Audiomedia III Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users I experience the same problem. Trying to get both input and output during an SC session with an AMIII card causes problems. I highly suspect that is a fault of Digi's sound drivers. Afterall, that extension is responsible for communication between the card and Sound Manager. Super Collider works perfectly with Sound Manager on it's own. Once you put Digi's driver between the two, problems occur. I've tried various versions of Digi's driver, the latest being 1.42. Right now I'm happy with just the output from the card, though both would be even better. >I was just wondering whether supercollider has an aversion to input from an >Audiomedia III card. >It seems happy to output sound via the card but input causes crashes. Ken Ken Mistove kmistove@eclipse.net http://www.eclipse.net/~kmistove/ From sc-users-owner Mon May 19 18:51:24 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id SAA04034 for sc-users-outgoing; Mon, 19 May 1997 18:50:38 -0500 (CDT) Received: from hamster.slip.net (hamster.slip.net [207.171.193.18]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id SAA04028 for ; Mon, 19 May 1997 18:50:22 -0500 (CDT) Received: from [207.171.196.201] [207.171.196.201] by hamster.slip.net with smtp (Exim 1.61 #4) id 0wTcAl-0005ub-00; Mon, 19 May 1997 16:49:00 -0700 X-Sender: void@pop.slip.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: sc-users@lists.realtime.net From: void@slip.net (M 5tevens) Subject: Re: Audiomedia III Date: Mon, 19 May 1997 16:49:00 -0700 Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 1:22 PM 5/19/97, Ken Mistove wrote: >I experience the same problem. Trying to get both input and output during >an SC session with an AMIII card causes problems. I highly suspect that is >a fault of Digi's sound drivers. Afterall, that extension is responsible >for communication between the card and Sound Manager. Super Collider works >perfectly with Sound Manager on it's own. Once you put Digi's driver >between the two, problems occur. I've tried various versions of Digi's >driver, the latest being 1.42. Right now I'm happy with just the output >from the card, though both would be even better. That extension is basically a buggy piece of stool, and can't be trusted. I have, however, heard a rumor from a reliable source that Digi will soon have much better policies and support with regards to non-Digi software accessing the hardware directly. constant vigilance eternal suspicion +--------------------------------------------------------+ | || //| //|(tm) M 5tevens > void@slip.net | | || //|| //|| http://www.slip.net/~void | | ||// ||// || (now with content!) | | ||/ ||/ || minimum 23% post-consumer product | +--------------------------------------------------------+ From sc-users-owner Mon May 19 19:48:25 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id TAA15764 for sc-users-outgoing; Mon, 19 May 1997 19:48:10 -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 TAA14202 for ; Mon, 19 May 1997 19:47:33 -0500 (CDT) Received: from [128.83.154.110] (slip-119-14.ots.utexas.edu [128.83.154.110]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id TAA13883 for ; Mon, 19 May 1997 19:49:58 -0500 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 19 May 1997 19:52:14 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: syntax changes Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Work proceeds on the new version. I have made a few changes to the syntax that I'll throw out for comment. Commas are now required in lists and function arguments. Not requiring them was cute, but caused a parsing ambiguity with '-'. I am now using C/C++ style comments // /* */ in order to piggy back on existing text editor features for C/C++. However, my /* */ are nestable while C/C++'s are not. This means that integer divide which was // is now 'div'. Unless someone has a better idea. $ is no longer a binary operator char. It now marks an ASCII character constant, as in $A, $B, $C. The old way of #\A, #\B was awkward. String (and other Collections) concatenation operator wich was $, is now ++ as it is in some functional languages. Variables must be declared. I still like implicit declaration and may put it back in later, but for now it greatly simplified this compiler to require it. In the previous compiler it was easier to implement. All the old control structures are gone, replaced by more OO message passing ones. They are inlined. The ^ return operator works as in Smalltalk. In the current SC You have to ^ return from { } function blocks. In the new one, the value returned is the value of the last statement in the function. If you ^ return from a block, it returns from the enclosing *method*. This is just like Smalltalk. The language is basically Smalltalk with positional arguments instead of keyword arguments, and allowing variable length argument lists, default argument values, and multple assignment, etc. Here is some example source code. (It actually runs for the most part!) This is the definition for the Collection class. Collection { species { ^List } do { ^this.subclassResponsibility } size { // this is the slow way. Most collections have a faster way. var tally = 0; this.do({ tally = tally + 1 }); ^tally } isEmpty { ^this.size == 0 } add { ^this.subclassResponsibility } addAll { arg aCollection; aCollection.do({ arg item; this.add(item) }) } remove { ^this.subclassResponsibility } removeAll { arg list; list.do({ arg item; this.remove(item) }) } removeAllSuchThat { arg aFunc; var removedItems, copy; removedItems = this.species.new; copy = this.copy; copy.do({ arg item; if ( aFunc.value(item), { this.remove(item); removedItems.add(item); }) }); ^removedItems } includes { arg item1; this.do({ arg item2; if (item1 == item2, {^true}) }); ^false } includesAny { arg aCollection; aCollection.do({ arg item; if (this.includes(item), {^true}) }); ^false } includesAll { arg aCollection; aCollection.do({ arg item; if (this.includes(item).not, {^false}) }); ^true } collect { arg aFunc; var res; res = this.species.new; this.do({ arg elem; res.add(aFunc.value(elem)) }) ^res; } select { arg aFunc; var res; res = this.species.new; this.do({ arg elem; if (aFunc.value(elem), { res.add(elem) }) }) ^res; } reject { arg aFunc; var res; res = this.species.new; this.do({ arg elem; if (aFunc.value(elem).not, {res.add(elem)}) }) ^res; } detect { arg aFunc; this.do({ arg elem; if (aFunc.value(elem), { ^elem }) }) ^nil; } inject { arg thisValue, aFunc; var nextValue; nextValue = thisValue; this.do({ arg item; nextValue = aFunc.value(nextValue, item); }); ^nextValue } count { arg aFunc; var sum = 0; this.do({ arg elem; if (aFunc.value(elem), { sum=sum+1 }) }) ^sum; } occurencesOf { arg obj; var sum = 0; this.do({ arg elem; if (elem == obj, { sum=sum+1 }) }) ^sum; } sum { arg aFunc; var sum = 0; if (aFunc.isNil, { // optimized version if no function this.do({ arg elem; sum = sum + elem; }) },{ this.do({ arg elem; sum = sum + aFunc.value(elem); }) }) ^sum; } maxItem { arg aFunc; var maxValue, maxElement; if (aFunc.isNil, { // optimized version if no function this.do({ arg elem; if (maxElement.isNil, { maxElement = elem; },{ if (elem > maxElement, { maxElement = elem; }) }) }) ^maxElement; },{ this.do({ arg elem; var val; if (maxValue.isNil, { maxValue = aFunc.value(elem); maxElement = elem; },{ val = aFunc.value(elem); if (val > maxValue, { maxValue = val; maxElement = elem; }) }) }) ^maxElement; }) } minItem { arg aFunc; var minValue, minElement; if (aFunc.isNil, { // optimized version if no function this.do({ arg elem; if (minElement.isNil, { minElement = elem; },{ if (elem > minElement, { minElement = elem; }) }) }) ^minElement; },{ this.do({ arg elem; var val; if (minValue.isNil, { minValue = aFunc.value(elem); minElement = elem; },{ val = aFunc.value(elem); if (val < minValue, { minValue = val; minElement = elem; }) }) }) ^minElement; }) } asBag { ^Bag.new(this.size).addAll(this); } asList { ^List.new(this.size).addAll(this); } asSet { ^Set.new(this.size).addAll(this); } asSortedList { ^SortedList.new(this.size).addAll(this); } } --- 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 May 19 21:16:52 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id VAA11638 for sc-users-outgoing; Mon, 19 May 1997 21: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 VAA11632 for ; Mon, 19 May 1997 21:16:13 -0500 (CDT) Received: from [128.83.176.137] (slip-104-41.ots.utexas.edu [128.83.176.137]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id VAA14026 for ; Mon, 19 May 1997 21:18:43 -0500 Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 19 May 1997 21:20:59 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: syntax changes Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Oh one more: Any method name can be used as a binary operator by appending a colon : to it. For example a method declared as : min { arg a, b; if (a < b, { ^a }, { ^b }) } can be used in any of the following fashions: z = min(x, y); z = x.min(y); z = (x min: y); --- 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 May 20 02:45:26 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id CAA34364 for sc-users-outgoing; Tue, 20 May 1997 02:45:17 -0500 (CDT) Received: from postbote.smb.spk-berlin.de (postbote.smb.spk-berlin.de [194.94.135.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id CAA34358 for ; Tue, 20 May 1997 02:45:02 -0500 (CDT) Received: (from uucp@localhost) by postbote.smb.spk-berlin.de (8.8.5/8.8.3) id JAA14766 for ; Tue, 20 May 1997 09:45:00 +0200 Received: from sim-spk.sim.spk-berlin.de(194.94.135.144) by postbote.smb.spk-berlin.de via smap (V2.0) id xma014764; Tue, 20 May 97 09:44:53 +0200 Received: from 194.94.135.131 ([194.94.135.131]) by sim-spk.sim.spk-berlin.de with SMTP (1.39.111.2/16.2) id AA222454272; Tue, 20 May 1997 09:44:32 +0200 Message-Id: <33816514.419A@sim.spk-berlin.de> Date: Tue, 20 May 1997 09:47:17 +0100 From: Ioannis Zannos <---@---.---> Organization: SIM X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) Mime-Version: 1.0 To: sc-users@lists.realtime.net Subject: BUG in assocPut ? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Following program crashes always the second time it is run after loading. It is short enough IMHO to serve as example for a possible bug in assocPut. James? ------------- defaudioin Lin Rin; defaudioout L R; var buttonFuncs; init { } start { buttonFuncs = [[][]]; [[\one 1] [\two 2] [\three 3]].setButtons; } initButtons { 'INITIALIZING BUTTONS'.post; buttonFuncs = [[] []]; '... DONE'.post; } setButtons { arg funcarr; funcarr.forEach({ arg buttondef index; buttonFuncs.assocPut(buttondef@0, buttondef@1); }); } From sc-users-owner Tue May 20 02:48:22 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id CAA36198 for sc-users-outgoing; Tue, 20 May 1997 02:48:17 -0500 (CDT) Received: from postbote.smb.spk-berlin.de (postbote.smb.spk-berlin.de [194.94.135.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id CAA36192 for ; Tue, 20 May 1997 02:48:02 -0500 (CDT) Received: (from uucp@localhost) by postbote.smb.spk-berlin.de (8.8.5/8.8.3) id JAA14790 for ; Tue, 20 May 1997 09:48:00 +0200 Received: from sim-spk.sim.spk-berlin.de(194.94.135.144) by postbote.smb.spk-berlin.de via smap (V2.0) id xma014786; Tue, 20 May 97 09:47:31 +0200 Received: from 194.94.135.131 ([194.94.135.131]) by sim-spk.sim.spk-berlin.de with SMTP (1.39.111.2/16.2) id AA222504432; Tue, 20 May 1997 09:47:12 +0200 Message-Id: <338165B4.25C9@sim.spk-berlin.de> Date: Tue, 20 May 1997 09:49:57 +0100 From: Ioannis Zannos <---@---.---> Organization: SIM X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) Mime-Version: 1.0 To: sc-users@lists.realtime.net Subject: newList(n) only creates empty list References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Under version 1.05b newList(n) only creates an empty list, irrespective of the value of n. Would be nice if it did create a list with n empty slots, as the documentation says it should do. Iannis Zannos SIM iani@sim-spk.sim.spk-berlin.de From sc-users-owner Tue May 20 03:09:31 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id DAA12510 for sc-users-outgoing; Tue, 20 May 1997 03:09:25 -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 DAA12504 for ; Tue, 20 May 1997 03:09:13 -0500 (CDT) Received: from [128.83.253.36] (slip-63-4.ots.utexas.edu [128.83.253.36]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id DAA14479 for ; Tue, 20 May 1997 03:11:45 -0500 Message-Id: In-Reply-To: <338165B4.25C9@sim.spk-berlin.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 20 May 1997 03:14:02 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: newList(n) only creates empty list Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 1:49 AM -0700 5/20/97, Ioannis Zannos wrote: >Under version 1.05b newList(n) only creates an >empty list, irrespective of the value of n. > >Would be nice if it did create a list with n empty >slots, as the documentation says it should do. No it says "The list has zero slots initially." What it does is create a list that can hold N slots without having to resize itself. But it starts out empty. It is more efficient to create a list this way than to start with a zero length list and add to it. It is working correctly. --- 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 May 20 07:52:47 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id HAA15552 for sc-users-outgoing; Tue, 20 May 1997 07:52:13 -0500 (CDT) Received: from euclid.ucsd.edu (euclid.ucsd.edu [132.239.145.52]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id HAA11696 for ; Tue, 20 May 1997 07:51:31 -0500 (CDT) Received: from [207.49.32.41] (DIALUP3783.SISNA.COM [207.49.32.41]) by euclid.ucsd.edu (8.7.4/8.7.3) with ESMTP id FAA06556 for ; Tue, 20 May 1997 05:51:29 -0700 (PDT) Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 20 May 1997 06:44:15 -0600 To: sc-users@lists.realtime.net From: Kevin Walker <---@---.---> Subject: Re: syntax changes Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users >Work proceeds on the new version. How about something analogous to the "#include" mechanism in C? This would be very useful. (Or is it already available and I just don't realize it?) Kevin Walker From sc-users-owner Tue May 20 09:10:05 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id JAA38064 for sc-users-outgoing; Tue, 20 May 1997 09:09:42 -0500 (CDT) Received: from postbote.smb.spk-berlin.de (postbote.smb.spk-berlin.de [194.94.135.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id JAA15850 for ; Tue, 20 May 1997 09:06:27 -0500 (CDT) Received: (from uucp@localhost) by postbote.smb.spk-berlin.de (8.8.5/8.8.3) id QAA00157 for ; Tue, 20 May 1997 16:06:26 +0200 Received: from sim-spk.sim.spk-berlin.de(194.94.135.144) by postbote.smb.spk-berlin.de via smap (V2.0) id xma000155; Tue, 20 May 97 16:06:15 +0200 Received: from 194.94.135.131 ([194.94.135.131]) by sim-spk.sim.spk-berlin.de with SMTP (1.39.111.2/16.2) id AA226997154; Tue, 20 May 1997 16:05:54 +0200 Message-Id: <3381BE76.4081@sim.spk-berlin.de> Date: Tue, 20 May 1997 16:08:49 +0100 From: Ioannis Zannos <---@---.---> Organization: SIM X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) Mime-Version: 1.0 To: sc-users@lists.realtime.net Subject: Re: syntax changes References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Kevin Walker wrote: > = > >Work proceeds on the new version. > = > How about something analogous to the "#include" mechanism in C? This w= ould > be very useful. (Or is it already available and I just don't realize i= t?) > = > Kevin Walker Yes, it is. = It is documented somewhere. = Write for example = include ":lib:tableio" in order to use file "tableio" which is in folder "lib" The initial colon : refers to the directory where your SuperCollider application was started from - if you start from another place, it will not find ":lib". In other words: "lib" in this example should be in the same directory, at the same level as "SuperCollider". = Do not use a semicolon ; after the include statement. = Hope this helps. = Ioannis Zannos Staatliches Institut f=FCr Musikforschung Tiergartenstr. 1, D-10785 Berlin, Germany = email: iani@sim.spk-berlin.de Tel: +49 30 25481140 Fax: +49 30 25481172 From sc-users-owner Tue May 20 09:10:24 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id JAA16310 for sc-users-outgoing; Tue, 20 May 1997 09:09: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 JAA40042 for ; Tue, 20 May 1997 09:08:34 -0500 (CDT) Received: from [128.83.253.170] (slip-68-10.ots.utexas.edu [128.83.253.170]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id JAA15020 for ; Tue, 20 May 1997 09:11:01 -0500 Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 20 May 1997 09:13:18 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: syntax changes Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 5:44 AM -0700 5/20/97, Kevin Walker wrote: >>Work proceeds on the new version. > >How about something analogous to the "#include" mechanism in C? This would >be very useful. (Or is it already available and I just don't realize it?) > >Kevin Walker It is currently available. You can include text files with: include "filename" However this will be going away. The new version is entirely object oriented such that you won't need include files. It compiles a list of directories of files that you specify. Each file contains a class definition. You will be able to create libraries of classes in directories. --- 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 May 20 09:35:57 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id JAA27896 for sc-users-outgoing; Tue, 20 May 1997 09:35:50 -0500 (CDT) 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 JAA38386 for ; Tue, 20 May 1997 09:35:23 -0500 (CDT) Received: from mailhub.dartmouth.edu (mailhub.dartmouth.edu [129.170.16.6]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id JAA15101 for ; Tue, 20 May 1997 09:35:01 -0500 Received: from dasher.Dartmouth.EDU (dasher.dartmouth.edu [129.170.208.6]) by mailhub.dartmouth.edu (8.8.5+DND/8.8.5) with SMTP id KAA03921 for ; Tue, 20 May 1997 10:34:51 -0400 (EDT) Message-id: <7995571@dasher.Dartmouth.EDU> Date: 20 May 97 10:34:51 EDT From: Matthew.B.Smith@Dartmouth.EDU (Matthew B. Smith) Subject: stand-alone applications To: sc-users@bga.com Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users With the new version of Super Collider allow us to create stand-alone applications? Matthew From sc-users-owner Tue May 20 09:47:20 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id JAA18548 for sc-users-outgoing; Tue, 20 May 1997 09:46:52 -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 JAA39750 for ; Tue, 20 May 1997 09:45:38 -0500 (CDT) Received: from [128.83.253.170] (slip-68-10.ots.utexas.edu [128.83.253.170]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id JAA15427 for ; Tue, 20 May 1997 09:48:09 -0500 Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 20 May 1997 09:50:27 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: syntax changes Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users One other change is that timing will be done via a sleep() call in a thread, rather than by using sched(). The thread will sleep the given duration and then wake up. for example: repeatEvent { arg event, interval, numTimes; numTimes.timesRepeat({ event.value; curThread.sleep(interval); }); } This will be easier than using sched() because you can sequence events and nest loops etc., basically create a temporal compositional structure from the code. For (another contrived) example: i.timesRepeat({ event1.value; curThread.sleep(interval); }); j.timesRepeat({ event2.value; curThread.sleep(interval); k.timesRepeat({ event3.value; curThread.sleep(interval); }); }); m.timesRepeat({ event4.value; curThread.sleep(interval); }); This sort of eliminates much of the need for Pattern Threads. (Hmm if I supported Scheme style continuations (hard) or Sather style iterator co-routines (easier), it would eliminate the need for Pattern Streams as well. I'll have to think about this.) --- 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 May 20 09:48:56 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id JAA29864 for sc-users-outgoing; Tue, 20 May 1997 09:48:36 -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 JAA11394 for ; Tue, 20 May 1997 09:47:13 -0500 (CDT) Received: from [128.83.253.170] (slip-68-10.ots.utexas.edu [128.83.253.170]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id JAA15456 for ; Tue, 20 May 1997 09:49:45 -0500 Message-Id: In-Reply-To: <7995571@dasher.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 20 May 1997 09:52:03 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: stand-alone applications Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 7:34 AM -0700 5/20/97, Matthew B. Smith wrote: >With the new version of Super Collider allow us to create stand-alone >applications? No. Maybe in the future. --- 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 May 20 11:32:47 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id LAA19676 for sc-users-outgoing; Tue, 20 May 1997 11:32:38 -0500 (CDT) Received: from umunhum.swiftmedia.com ([198.211.38.143]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id LAA19670 for ; Tue, 20 May 1997 11:32:22 -0500 (CDT) Received: from rsilkeba.3do.com (m-r188 [198.211.38.188]) by umunhum.swiftmedia.com (8.8.5/8.8.5) with ESMTP id JAA25220 for ; Tue, 20 May 1997 09:32:15 -0700 (PDT) Message-ID: <3381D15B.F4BB4DA1@swiftmedia.com> Date: Tue, 20 May 1997 09:29:15 -0700 From: Phil Burk <---@---.---> Organization: Cagent X-Mailer: Mozilla 4.0b4 [en] (Win95; I) MIME-Version: 1.0 To: sc-users@lists.realtime.net Subject: creeping sleep() X-Priority: 3 (Normal) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users James McCartney wrote: > > One other change is that timing will be done via a sleep() > call in a thread, rather than by using sched(). The thread > will sleep the given duration and then wake up. > > for example: > > repeatEvent { arg event, interval, numTimes; > numTimes.timesRepeat({ > event.value; > curThread.sleep(interval); > }); > } Will the interval be based on a timestamp set when the thread wakes up, or does it start from whatever the current time is? If the sleep(interval) is based on the current time then you can get creeping timer errors when the clock advances before sleep is called. For example, if two threads both have a loop that sleeps for 100 ticks, but one thread takes 1 tick to execute before it goes back to sleep, and the other takes 2 ticks, then the two threads will be running with a period of 101 and 102 respectively and eventually get out of sync. If there is a sleepUntil(time) call then you can do this: { dostuff; time = time + 100; sleepUntil(time); } This will stay in sync with other threads with an interval of 100. Phil Burk From sc-users-owner Tue May 20 11:59:45 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id LAA05326 for sc-users-outgoing; Tue, 20 May 1997 11:59:32 -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 LAA11714 for ; Tue, 20 May 1997 11:59:08 -0500 (CDT) Received: from [128.83.154.94] (slip-118-46.ots.utexas.edu [128.83.154.94]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id MAA15932 for ; Tue, 20 May 1997 12:01:40 -0500 Message-Id: In-Reply-To: <3381D15B.F4BB4DA1@swiftmedia.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 20 May 1997 12:03:58 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: creeping sleep() Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 9:29 AM -0700 5/20/97, Phil Burk wrote: >Will the interval be based on a timestamp set when the thread wakes up, >or does it start from whatever the current time is? If the >sleep(interval) is based on the current time then you can get creeping >timer errors when the clock advances before sleep is called. For >example, if two threads both have a loop that sleeps for 100 ticks, but >one thread takes 1 tick to execute before it goes back to sleep, and the >other takes 2 ticks, then the two threads will be running with a period >of 101 and 102 respectively and eventually get out of sync. You don't have to worry about this. I take care of that. The time is based on logical sample time. This is not an OS sleep system call. There will actually be two versions like there are now sched and schednj. There will be a sleepnj(), which will drift but has no jitter. Normal sleep() does not drift but may jitter (i.e. the same time interval may result in a different control period delay so it can eliminate drift. --- 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 May 20 13:17:08 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id NAA36322 for sc-users-outgoing; Tue, 20 May 1997 13:16:58 -0500 (CDT) Received: from postbote.smb.spk-berlin.de (postbote.smb.spk-berlin.de [194.94.135.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id NAA36316 for ; Tue, 20 May 1997 13:16:37 -0500 (CDT) Received: (from uucp@localhost) by postbote.smb.spk-berlin.de (8.8.5/8.8.3) id UAA01474 for ; Tue, 20 May 1997 20:16:37 +0200 Received: from sim-spk.sim.spk-berlin.de(194.94.135.144) by postbote.smb.spk-berlin.de via smap (V2.0) id xma001472; Tue, 20 May 97 20:16:26 +0200 Received: from 194.94.135.131 ([194.94.135.131]) by sim-spk.sim.spk-berlin.de with SMTP (1.39.111.2/16.2) id AA228982166; Tue, 20 May 1997 20:16:06 +0200 Message-Id: <3381F91B.507F@sim.spk-berlin.de> Date: Tue, 20 May 1997 20:18:52 +0100 From: Ioannis Zannos <---@---.---> Organization: SIM X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) Mime-Version: 1.0 To: sc-users@lists.realtime.net Subject: Table and Audio I/O : new version? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Will the new version also provide (better) facilities for saving/loading tables and audio? ...... For the time being... Here are some simple utils I wrote in order to exchange tables between patches (programs). The code can be used on an external text file "tableio" by writing include "tableio" in the calling program, when "tableio" is in the same directory as SuperCollider. --------------------------- (* UTILITIES FOR SAVING AND LOADING TABLES TO/FROM FILES. *) (* 1. MANY TABLES TO-FROM AUDIO BUFFER FOR SAVING MANY TABLES IN ONE FILE. Put call saveTables in the start function once and activate audio output to disc once to write all tables in the saveTables argument list. Then load the tables on any file by writing, for example: [tab1, tab2, tab3, env1 ...].loadTables("tablefilename.tbl"); in the init function of the program you want to use the tables in. *) defaudiobuf tableiobuf; saveTables { arg tables; var tabn, i = 0, buf time stop; tabn = tables.size; tableiobuf.allocAudio(512 * tabn); for n = 0; n < tabn; n=n+1; do for m = 0; m < 512; m = m + 1 do tableiobuf.wavePut(i, (tables@n).waveAt(m)); i = i + 1; end.for; end.for; buf = tableiobuf.Abufrd(0, 1); -- stop = Pconst(0, tableiobuf.timeOf, { dspRemove; 1.dspKill }); stop = Pconst(0, 0.01 + tableiobuf.timeOf, { dspRemove; 1.dspKill } ); { stop.; buf.value.out(L); }.dspAdd; 'saved tables:'.post; tables.post; } loadTables { arg tables file; var tabn, i = 0, buf; tabn = tables.size; tableiobuf.allocAudio(512 * tabn); tableiobuf.loadAudio(file); for n = 0; n < tabn; n=n+1; do for m = 0; m < 512; m = m + 1 do (tables@n).wavePut(m, tableiobuf.waveAt(i)); i = i + 1; end.for; end.for; 'loaded tables:'.post; tables.post; } -------- 2. SINGLE TABLE - AUDIO BUFFER DATA TRANSFER. readTable { arg filename table; loadAudio(tableiobuf, filename); tableiobuf.audio2table(table); } ---- NOT PRACTICAL BECAUSE CANT SPECIFY NAME OF OUTPUT FILE BY PROGRAM CODE. saveTable { arg table; var fid; var buf; buf = tableiobuf.Abufrd(0, 1); { buf.value.out(L); }.dspAdd; 'done'.post; } audio2table { arg audio table; for i = 0; i < 512; i = i + 1 do table.wavePut(i, audio.waveAt(i)); end.for; } table2audio { arg table audio; audio.allocAudio(512); for i = 0; i < 512; i = i + 1 do audio.wavePut(i, table.waveAt(i)); end.for; } ---- GENERAL TABLE TO LIST / LIST TO TABLE: list2Table { arg theList theTable; -- theList.post; waveFill( theTable, { arg ind curval tabind; ^theList @@ (ind.round(1)); }, 0, theList.size - 1); } table2List { arg theTable; result = []; for i = 0; i < 512; i = i + 1 do result.add(theTable.waveAt(i)); end.for; ^result; } From sc-users-owner Wed May 21 05:09:53 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id FAA34352 for sc-users-outgoing; Wed, 21 May 1997 05:09:06 -0500 (CDT) Received: from easynet.co.uk (kiwi.easynet.co.uk [193.131.248.4]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id FAA39204 for ; Wed, 21 May 1997 05:08:43 -0500 (CDT) Received: (qmail 8242 invoked from network); 21 May 1997 10:09:38 -0000 Received: from finer.easynet.co.uk (HELO ?194.128.81.130?) (194.128.81.130) by kiwi.easynet.co.uk with SMTP; 21 May 1997 10:09:38 -0000 X-Sender: finer@mail.easynet.co.uk (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 20 May 1997 11:08:36 +0100 To: max@vm1.mcgill.ca From: finer@easynet.co.uk (Jem Finer) Subject: Radio Cc: sc-users@lists.realtime.net Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Does anybody know of a radio that is interfaceable with a Mac - to enable one to change channels via midi for example - or better still, soft/hardware that turns the Mac into a radio. Thanks, Jem Finer Kentish Town London NW5 finer@easynet.co.uk From sc-users-owner Wed May 21 05:38:18 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id FAA33012 for sc-users-outgoing; Wed, 21 May 1997 05:38:13 -0500 (CDT) Received: from postbote.smb.spk-berlin.de (postbote.smb.spk-berlin.de [194.94.135.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id FAA33004 for ; Wed, 21 May 1997 05:37:58 -0500 (CDT) Received: (from uucp@localhost) by postbote.smb.spk-berlin.de (8.8.5/8.8.3) id LAA00594 for ; Wed, 21 May 1997 11:37:58 +0200 Received: from sim-spk.sim.spk-berlin.de(194.94.135.144) by postbote.smb.spk-berlin.de via smap (V2.0) id xma000591; Wed, 21 May 97 11:37:39 +0200 Received: from 194.94.135.131 ([194.94.135.131]) by sim-spk.sim.spk-berlin.de with SMTP (1.39.111.2/16.2) id AA245701039; Wed, 21 May 1997 12:37:19 +0200 Message-Id: <3382DF16.720E@sim.spk-berlin.de> Date: Wed, 21 May 1997 12:40:52 +0100 From: Ioannis Zannos <---@---.---> Organization: SIM X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) Mime-Version: 1.0 To: sc-users@lists.realtime.net Subject: Re: Radio References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Jem Finer wrote: > = > Does anybody know of a radio that is interfaceable with a Mac - to enab= le > one to change channels via midi for example - or better still, > soft/hardware that turns the Mac into a radio. > = > Thanks, > = > Jem Finer > = > Kentish Town > London NW5 > finer@easynet.co.uk A certain very recent "Performa" Mac model contains a built in radio. But that does not make it necessarily programmable via MIDI, SuperCollider, MAX/Pyrite, or whatever. = Ioannis Zannos Staatliches Institut f=FCr Musikforschung Tiergartenstr. 1, D-10785 Berlin, Germany = email: iani@sim.spk-berlin.de Tel: +49 30 25481140 Fax: +49 30 25481172 From sc-users-owner Tue May 27 04:34:45 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id EAA39664 for sc-users-outgoing; Tue, 27 May 1997 04:33:03 -0500 (CDT) Received: from postbote.smb.spk-berlin.de (postbote.smb.spk-berlin.de [194.94.135.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id EAA25770 for ; Tue, 27 May 1997 04:32:17 -0500 (CDT) Received: (from uucp@localhost) by postbote.smb.spk-berlin.de (8.8.5/8.8.3) id LAA20449 for ; Tue, 27 May 1997 11:32:03 +0200 Received: from sim-spk.sim.spk-berlin.de(194.94.135.144) by postbote.smb.spk-berlin.de via smap (V2.0) id xma020444; Tue, 27 May 97 11:32:00 +0200 Received: from 194.94.135.135 ([194.94.135.135]) by sim-spk.sim.spk-berlin.de with SMTP (1.39.111.2/16.2) id AA012835493; Tue, 27 May 1997 11:31:33 +0200 Message-Id: <338AB8BB.77EE@sim.spk-berlin.de> Date: Tue, 27 May 1997 11:34:35 +0100 From: Ioannis Zannos <---@---.---> Organization: SIM X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) Mime-Version: 1.0 To: sc-users@lists.realtime.net Subject: assocAt Bug. Can one really access frames? References: <3382DF16.720E@sim.spk-berlin.de> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users For the record: = One more example file for assocAt or assocPut bug. = -------------------------------------------------------- (* following always crashes the second time the program is run - *) defaudioin Lin Rin; defaudioout L R; var assoctest; init { assoctest =3D [[][]]; } start { assoctest.assocPut(\a 1); [0.5 { = assoctest.post; assoctest.assocAt(\a).post; assoctest.assocPut(\b 2); = assoctest.assocAt(\b).post;}].sched; = -- instr([\b 2]); } -------------------------------------------------------- Ioannis Zannos Staatliches Institut f=FCr Musikforschung Tiergartenstr. 1, D-10785 Berlin, Germany = email: iani@sim.spk-berlin.de Tel: +49 30 25481140 Fax: +49 30 25481172 From sc-users-owner Tue May 27 04:44:56 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id EAA39634 for sc-users-outgoing; Tue, 27 May 1997 04:44:51 -0500 (CDT) Received: from postbote.smb.spk-berlin.de (postbote.smb.spk-berlin.de [194.94.135.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id EAA39628 for ; Tue, 27 May 1997 04:44:36 -0500 (CDT) Received: (from uucp@localhost) by postbote.smb.spk-berlin.de (8.8.5/8.8.3) id LAA20529 for ; Tue, 27 May 1997 11:44:34 +0200 Received: from sim-spk.sim.spk-berlin.de(194.94.135.144) by postbote.smb.spk-berlin.de via smap (V2.0) id xma020527; Tue, 27 May 97 11:44:29 +0200 Received: from 194.94.135.135 ([194.94.135.135]) by sim-spk.sim.spk-berlin.de with SMTP (1.39.111.2/16.2) id AA012986248; Tue, 27 May 1997 11:44:08 +0200 Message-Id: <338ABBAE.455C@sim.spk-berlin.de> Date: Tue, 27 May 1997 11:47:11 +0100 From: Ioannis Zannos <---@---.---> Organization: SIM X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) Mime-Version: 1.0 To: sc-users@lists.realtime.net Subject: Access to frames: References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users It would be very useful to have access to the variables of a frame that generated a function or to the object that generated it. = Example: = Needed is a function foo that is called very often - so that it is more economical to call it it as = with foo.value than as message pass to an object. Additionally, one wants to change tbe value of = variables used in the function which were initialized by its generating frame. I tried something like init { clos =3D { arg a =3D \a, b =3D \b; var c =3D \c; ^{ ^a }}; foo =3D clos.; foo..post; foo.context.post; foo.context.closure.post; foo.context.closure.value..post; = clos =3D oopat; foo =3D clos.start; foo.value; foo.context.post; foo.context.closure.post; foo.context.closure.value.value; foo.context.closure.context.post; = foo.context.closure.context.closure.value.seta(0).post; (* the following generates an error: *) foo.context.closure.context.closure.seta(0); } class oopat { arg a =3D \a, b =3D \b; var c =3D \c; method start { ^{ ['printing' a].post; } } method show { [a b c].post; } = method seta { arg newval; a =3D newval; } = } But get no further in trying to acces and change the values of slots named a, b and c. = --------------------------- Another somewhat related question: = Can one pass messages to objects other than by obj.mess(args) syntax? That is, is there = a standard method like perform: in Smalltalk that enables one to do: = obj =3D aClass; theMessage =3D \stop; obj.perform(theMessage); This is the OO pendant to foo.value(args), therefore useful in many contexts that one would = use foo.value(args) with functions. = Ioannis Zannos Staatliches Institut f=FCr Musikforschung Tiergartenstr. 1, D-10785 Berlin, Germany = email: iani@sim.spk-berlin.de Tel: +49 30 25481140 Fax: +49 30 25481172 From sc-users-owner Tue May 27 09:43:35 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id JAA26024 for sc-users-outgoing; Tue, 27 May 1997 09:41:02 -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 JAA26018 for ; Tue, 27 May 1997 09:40:49 -0500 (CDT) Received: from [128.83.154.6] (slip-117-6.ots.utexas.edu [128.83.154.6]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id JAA11506 for ; Tue, 27 May 1997 09:43:26 -0500 Message-Id: In-Reply-To: <338AB8BB.77EE@sim.spk-berlin.de> References: <3382DF16.720E@sim.spk-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 27 May 1997 09:45:57 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: assocAt Bug. Can one really access frames? Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Keep these examples and I'll fix these when I get there. (sc-users: I will be at Staatliches Institut f=FCr Musikforschung for a couple of weeks courtesy of Ioannis Zannos.) --- 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= =2Ehqx From sc-users-owner Tue May 27 10:08:42 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id KAA25894 for sc-users-outgoing; Tue, 27 May 1997 10:07:10 -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 KAA25888 for ; Tue, 27 May 1997 10:06:55 -0500 (CDT) Received: from [128.83.154.6] (slip-104-7.ots.utexas.edu [128.83.176.103]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id KAA11695 for ; Tue, 27 May 1997 10:09:32 -0500 Message-Id: In-Reply-To: <338ABBAE.455C@sim.spk-berlin.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 27 May 1997 10:12:03 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: Access to frames: Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users These will be better addressed in the new version. Message passing in the new version is much faster: a virtual function table look up and a compare. No hashing as there is now. There is also perform(). Most functions' frames are built on the stack now so those are faster. Since frames are built on the stack, they are inaccessible to user code. Allowing access could create dangling pointers. However with the better object system, there is really no need to do so. Some things are slower however. Primitives can no longer call the virtual machine recursively which means that things like do() and collect() are slower since they are now implemented in bytecode rather than C. This is unfortunate but necessary to support sleep() and multiple threads. --- 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 May 27 13:47:22 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id NAA38016 for sc-users-outgoing; Tue, 27 May 1997 13:47:06 -0500 (CDT) 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 NAA28012 for ; Tue, 27 May 1997 13:46:35 -0500 (CDT) Received: from mailhub.dartmouth.edu (mailhub.dartmouth.edu [129.170.16.6]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id NAA11133 for ; Tue, 27 May 1997 13:46:34 -0500 Received: from dasher.Dartmouth.EDU (dasher.dartmouth.edu [129.170.208.6]) by mailhub.dartmouth.edu (8.8.5+DND/8.8.5) with SMTP id OAA03965 for ; Tue, 27 May 1997 14:46:31 -0400 (EDT) Message-id: <8373979@dasher.Dartmouth.EDU> Date: 27 May 97 14:46:31 EDT From: Matthew.B.Smith@Dartmouth.EDU (Matthew B. Smith) Subject: OUT OF GC SPACE! To: sc-users@bga.com Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users When I get an error message reading OUT OF GC SPACE! what does this mean? Matthew From sc-users-owner Tue May 27 14:03:56 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id OAA12212 for sc-users-outgoing; Tue, 27 May 1997 14:03:51 -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 OAA11168 for ; Tue, 27 May 1997 14:03:35 -0500 (CDT) Received: from [128.83.154.110] (slip-119-14.ots.utexas.edu [128.83.154.110]) by clyde.as.utexas.edu (8.6.11/2.01) with ESMTP id OAA12975 for ; Tue, 27 May 1997 14:06:11 -0500 Message-Id: In-Reply-To: <8373979@dasher.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 27 May 1997 14:08:43 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: OUT OF GC SPACE! Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 11:46 AM -0700 5/27/97, Matthew B. Smith wrote: >When I get an error message reading OUT OF GC SPACE! what does this mean? > >Matthew You either have a huge program, or I have a bug. Send me your patch. --- 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 May 28 10:18:31 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id KAA03680 for sc-users-outgoing; Wed, 28 May 1997 10:17:07 -0500 (CDT) Received: from postbote.smb.spk-berlin.de (postbote.smb.spk-berlin.de [194.94.135.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id KAA12094 for ; Wed, 28 May 1997 10:16:42 -0500 (CDT) Received: (from uucp@localhost) by postbote.smb.spk-berlin.de (8.8.5/8.8.3) id QAA00109 for ; Wed, 28 May 1997 16:16:47 +0200 Received: from sim-spk.sim.spk-berlin.de(194.94.135.144) by postbote.smb.spk-berlin.de via smap (V2.0) id xma000105; Wed, 28 May 97 16:16:32 +0200 Received: from 194.94.135.135 ([194.94.135.135]) by sim-spk.sim.spk-berlin.de with SMTP (1.39.111.2/16.2) id AA031992564; Wed, 28 May 1997 17:16:04 +0200 Message-Id: <338C4CE6.3443@sim.spk-berlin.de> Date: Wed, 28 May 1997 17:19:03 +0200 From: Ioannis Zannos <---@---.---> Organization: SIM X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) Mime-Version: 1.0 To: sc-users@lists.realtime.net Subject: Re: assocAt Bug. Can one really access frames? References: <3382DF16.720E@sim.spk-berlin.de> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users > = > (sc-users: I will be at Staatliches Institut f=FCr Musikforschung > for a couple of weeks courtesy of Ioannis Zannos.) > = > --- james mccartney james@clyde.as.utexas.edu = It may be of interest to sc-users to know what the author of SuperCollider will be doing here, also because = the workshop addresses the broader context of interactive music programing which is in what SC excels. Allow me therefore to distribute the workshops programme to the list, as general informatin, and invitation to those close enough... Ioannis Zannos Staatliches Institut f=FCr Musikforschung Tiergartenstr. 1, D-10785 Berlin, Germany = email: iani@sim.spk-berlin.de Tel: +49 30 25481140 Fax: +49 30 25481172 ---------------------------------------------------- Emergence and Adaptivity in Interactive Sound Based Systems Workshop Programme Place: Staatliches Institut f=FCr Musikforschung Curt Sachs Saal (Musikinstrumentenmuseum) Tiergartenstr. 1, D-10785 Berlin, Germany Tel: +49 30 254810 Fax: +49 30 25481172 Time: Wed. 4- Thu 5 June, 1997 Organizers: Ioannis Zannos (SIM) =96 iani@sim-spk.sim.spk-berlin.de Frank Hofmann (Technical University of Berlin) =96 fgh@cs.tu-berlin.de Subject: The Workshop will examine the theory and technology of adaptive Human Computer Interaction systems that involve sound. There will be two kinds of contributions: 1. Papers on theoretical and technological foundations of emergence, adaptivity and human-machine interaction techniques. 2. Presentations of results or work in progress on the applications of emergence and adaptivity principles in interactive sound systems, with special reference to music performance. Contributions will center on the following topics: Theory and implementations of emergence and cooperative networked computing. Artificial models of human conceptual and cognitive processes and their role in sound-based systems. Included are basic models of auditory perception, perception of musical form as well as models of emotional processes. Interfaces for human machine interaction and techniques for the processing of multiparametric input data from human actions. Presentations: Wednesday, 4.6.97 Morning Session: Fundamental Issues of Emergence and Sound Perception 10:00-10:45 Prof. Jari Vaario (Nara Women's University): In Search of Emergence: A Philosophical, Computational, and Cooperative Paradigm 10:45-11:30 Uwe Seifert (University of Hamburg) Computer Assisted Auditory Scene Analysis: Perspectives for Distibuted Processing Applications in the Modeling Emergent Perceptual Processes. 11:30-11:45 Break 11:45-12:30 Hendrik Purwins (Technical University of Berlin): Perspectives of modelling music cognition with ear models and neural networks. Afternoon Session: Design of Adaptive Interfaces and Tools for Realtime Interactive Systems 14:00-14:45. Prof. Antonio Camurri (University of Genova): Gesture Based-Interaction and Music Performance: a report of the systems developed at DIST in the MIAMI Esprit Project 14:45-15:30. James McCartney (LCS Systems, Austin) The "SuperCollider" Programming Environment for Interactive Music and Sound Processing: History, Design Issues, Solutions. 15:30-16:00 Coffee Break 16:00-18:00 Demonstrations: James McCartney, Ioannis Zannos, Paul Modler (SIM) - Brief practical introduction to SuperCollider - Demonstration of work on novel user interfaces for interactive music performance. Thursday, 5.6.97 Technical Papers and Work-in-Progress Reports 10:00-10:45 Frank Hofmann (Technical University of Berlin) The SensorGlove Interdisciplinary Project 10:45-11:15 Ichiro Kanaya (Nara Advanced Insitute for Science and Technology) Jari Vaario (Nara Women's University), and Kunihiro Chihara (Nara Advanced Insitute for Science and Technology): Sound-Based Communication in Multi-Agent Systems 11:15-11:45 Philipp von Hilgers, Axel Roch (Humboldt Universit=E4t zu Berlin) Sound Morphing Based on Independent Component Analysis 11:45-12:00 Break 12:00-13:00 Final Discussion: Perspectives, Possible Cooperation Projects. 14:00 - Intrerested participants are invited to visit the "ShowTec" Exhibition of Lighting and Audio Systems in Berlin, where a demonstration of the programmable audio matrix developed with the cooperation of James McCartney will be presented. ---------------------------------------------------- From sc-users-owner Wed May 28 15:50:01 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id PAA13526 for sc-users-outgoing; Wed, 28 May 1997 15:48:32 -0500 (CDT) Received: from ds1.gl.umbc.edu (ds1.gl.umbc.edu [130.85.3.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id PAA10704 for ; Wed, 28 May 1997 15:48:19 -0500 (CDT) Received: from umbc10.umbc.edu (dcrand1@umbc10.umbc.edu [130.85.3.14]) by ds1.gl.umbc.edu (8.8.5/8.6.9) with ESMTP id QAA03954 for ; Wed, 28 May 1997 16:48:18 -0400 (EDT) Received: from localhost (dcrand1@localhost) by umbc10.umbc.edu (8.8.5/8.6.9) with SMTP id QAA01950 for ; Wed, 28 May 1997 16:48:17 -0400 (EDT) X-Authentication-Warning: umbc10.umbc.edu: dcrand1 owned process doing -bs Date: Wed, 28 May 1997 16:44:48 -0400 (EDT) From: David Crandall <---@---.---> X-Sender: dcrand1@umbc10.umbc.edu To: sc-users@lists.realtime.net Subject: download location? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Help! I'm only at school for a little while (where the email is), my manuals are at home, and I can't remember the ftp download address(es). I need to get another copy of the "Dudas" multi-effects patch that I had found previously (delays + ring modulator + grain). Also, uiowa's net connection seems to be down for the count. I'd hoped to find it there. Can someone send the ftp address (or the patch, if you have it?) thanks in advance David Crandall dcrand1@umbc.edu From sc-users-owner Wed May 28 15:50:57 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id PAA17122 for sc-users-outgoing; Wed, 28 May 1997 15:49:28 -0500 (CDT) Received: from ds1.gl.umbc.edu (ds1.gl.umbc.edu [130.85.3.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id PAA15580 for ; Wed, 28 May 1997 15:49:14 -0500 (CDT) Received: from umbc8.umbc.edu (dcrand1@umbc8.umbc.edu [130.85.3.8]) by ds1.gl.umbc.edu (8.8.5/8.6.9) with ESMTP id QAA04048 for ; Wed, 28 May 1997 16:49:12 -0400 (EDT) Received: from localhost (dcrand1@localhost) by umbc8.umbc.edu (8.8.5/8.6.9) with SMTP id QAA08391 for ; Wed, 28 May 1997 16:49:10 -0400 (EDT) X-Authentication-Warning: umbc8.umbc.edu: dcrand1 owned process doing -bs Date: Wed, 28 May 1997 16:49:01 -0400 (EDT) From: David Crandall <---@---.---> X-Sender: dcrand1@umbc8.umbc.edu To: sc-users@lists.realtime.net Subject: download location? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users (my mail program died in the middle of this, so I'm resending. Apologies if you get it twice.) Help! I'm only at school for a little while (where the email is), my manuals are at home, and I can't remember the ftp download address(es). I need to get another copy of the "Dudas" multi-effects patch that I had found previously (delays + ring modulator + grain). Also, uiowa's net connection seems to be down for the count. I'd hoped to find it there. Can someone send the ftp address (or the patch, if you have it?) thanks in advance David Crandall Graduate Student, Imaging and Digital Arts, University of Maryland, Baltimore County Sound Designer Clean Cuts Music dcrand1@gl.umbc.edu From sc-users-owner Thu May 29 10:31:20 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id KAA15146 for sc-users-outgoing; Thu, 29 May 1997 10:29:54 -0500 (CDT) Received: from korovev.stm.it (korovev.stm.it [194.244.30.1]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id KAA31522 for ; Thu, 29 May 1997 10:29:35 -0500 (CDT) Received: from [194.184.60.246] ([194.184.60.246]) by korovev.stm.it (8.8.5/8.6.6) with ESMTP id RAA11464 for ; Thu, 29 May 1997 17:29:09 +0200 (ITADST) X-Sender: m.giri@HELLA.stm.it (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 29 May 1997 17:32:58 +0200 To: sc-users@lists.realtime.net From: Maurizio Giri <---@---.---> Subject: input from file? Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Hello, I'have tried to use audio files as input stream (with AudioIn), so I have checked "In from File" in the Synth menu and I've wrote this simple patch defaudioin Inaudio; defaudioout L R; init { } start { { in(Inaudio).out(L).out(R); }.dspAdd(1); } When I start it, it asks me for an audio file, then it runs without a sound for the duration of the file, then hangs and I have to type to exit. What I'm doing wrong? I have to put a dspRemove somewhere? And why there is no sound? I need to use the audio file as an audioin because I think is the only way to compute its root-mean-square amplitude with Krms. Or there is another way? Thanks in advance Maurizio _____________________________________________ o Maurizio Giri o o ConTempo o o Italian Contemporary (and Early) Music o o http://www.axnet.it/contempo o o-------------------------------------------o o ConTempo e-mail: contempo@wmail.axnet.it o o Personal e-mail: m.giri@agora.stm.it o o o o Snail: Via Ostilia, 55 - 00184 Roma Italy o o Tel +39.6.70451885 o _____________________________________________