From sc-users-owner@bga.com Sat Nov 2 06:34:45 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id GAA13026 for sc-users-outgoing; Sat, 2 Nov 1996 06:34:45 -0600 Received: from koncon.nl (ns.koncon.nl [194.178.67.66]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id GAA13018 for ; Sat, 2 Nov 1996 06:34:41 -0600 Received: (from pauld@localhost) by koncon.nl (8.7.1/8.7.1) id NAA00761 for sc-users@bga.com; Sat, 2 Nov 1996 13:36:47 +0100 (GMT+0100) Date: Sat, 2 Nov 1996 13:36:47 +0100 (GMT+0100) From: Paul Doornbusch <---@---.---> Message-Id: <199611021236.NAA00761@koncon.nl> To: sc-users@bga.com Subject: programatic loading of sound files Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com Hi there, I was wondering if anybody has successfully managed to dynamically load an audio file into a buffer, without the file select dialog coming up? If so could you please post an outline of the code? I am trying to load different audio files based on different events, the filename can be hard coded, I just can't get them to load programatically. Thanks for any help, Paul Paul Doornbusch Sonology Institute Royal Conservatory The Hague From sc-users-owner@bga.com Mon Nov 4 03:44:43 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id DAA20700 for sc-users-outgoing; Mon, 4 Nov 1996 03:44:43 -0600 Received: from berlin.shuttle.de (berlin.shuttle.de [194.95.246.252]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id DAA20649 for ; Mon, 4 Nov 1996 03:44:27 -0600 Received: from [194.95.246.124] (p124.b.shuttle.de [194.95.246.124]) by berlin.shuttle.de (8.7.5/8.7.1) with SMTP id KAA01440; Mon, 4 Nov 1996 10:44:08 +0100 (MET) Message-ID: <327DC9A8.43E3@musik.b.shuttle.de> Date: Mon, 04 Nov 1996 10:47:04 +0000 From: Ioannis Zannos <---@---.---> Organization: Staatliches Insitut fuer Musikforschung X-Mailer: Mozilla 2.0 (Macintosh; I; PPC) MIME-Version: 1.0 To: sc-users@bga.com Subject: Re: programatic loading of sound files References: <199611021236.NAA00761@koncon.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com Paul Doornbusch wrote: > > I was wondering if anybody has successfully managed to dynamically > load an audio file into a buffer, without the file select dialog > coming up? If so could you please post an outline of the code? I am > trying to load different audio files based on different events, the > filename can be hard coded, I just can't get them to load The call is: AudioBuffer.loadAudio("filename"); Details: AudioBuffer must be declared with defaudiobuf at the beginning of the program. "filename" can be any string that defines a valid path of an existing file in your file system. If you keep a table of such filename strings such as myBufferList = ["file1", "file2", "file3"]; you can do, for example: AudioBuffer.loadAudio(myBufferList @ 0); You can deallocate buffers dynamically to free space, but I do not think that you can allocate new buffers at run time. (James, is this correct?). Hope this helps Ioannis Zannos Staatliches Institut fuer Musikforschung Tiergartenstr. 1, D-10785 Berlin GERMANY Tel. +49 30 25481140 Fax. +49 30 25481172 From sc-users-owner@bga.com Thu Nov 7 04:25:30 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id DAA05126 for sc-users-outgoing; Thu, 7 Nov 1996 03:47:31 -0600 Received: from berlin.shuttle.de (berlin.shuttle.de [194.95.246.252]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id DAA05091 for ; Thu, 7 Nov 1996 03:47:11 -0600 Received: from [194.95.246.124] (p124.b.shuttle.de [194.95.246.124]) by berlin.shuttle.de (8.7.5/8.7.1) with SMTP id KAA01041; Thu, 7 Nov 1996 10:46:47 +0100 (MET) Message-ID: <3281BECE.5446@musik.b.shuttle.de> Date: Thu, 07 Nov 1996 10:49:53 +0000 From: Ioannis Zannos <---@---.---> Organization: SIM X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) MIME-Version: 1.0 To: sc-users@bga.com Subject: Re: freadlist readlimit problem. Table2File, File2Table. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com James McCartney wrote: > > I will look at these.. If I don't respond, bug me again. > > --- james mccartney james@clyde.as.utexas.edu Here is the complete code again, that is supposed to bypass the 128 item size limit in lists problem. There are still "jumps" at the seams when export-importing tables. Please have a look, or respond as to correcting the length limits of readlist / readline. There are jumps in 2 places when reloading the saved table! When this problem is fixed, then the following file would be a fine utility for everybody to save and load their tables. -------------------------------------------------------------- defaudioin Lin Rin; defaudioout L R; deftable t1 t2 t3 t4 t5; init { addMenuCmd('load table', `loadTable); addMenuCmd('save table', `saveTable); } start { } ------------ GENERAL USER QUERIES getTableFromUser { var tablename, theTable; tablename = (getStringFromUser("t1", "enter table name:")); theTable = tablename.spell.list2sym.resolveName; if (\table == theTable.type) then ^theTable; else ^0; end.if; } ------------ LOADING TABLES loadTable { var filename tablename theTable theData; filename = (getStringFromUser("xm:sc:TABLES:", "enter full file name:")); readTableFromFile(filename, getTableFromUser); } readTableFromFile { arg filename theTable; var theData; if theTable then theData = filename.readListFromFile; list2Table(theData, theTable); end.if; } list2Table { arg theList theTable; -- theList.post; waveFill( theTable, { arg ind curval tabind; ^theList @@ (ind.round(1)); }, 0, theList.size - 1); } readListFromFile { arg filename; var result theData; ['reading file', filename].post; fid = fopen(filename 'r'); if fid == \ then 'FILE NOT FOUND'.post; else result = []; while (theData = freadlist(fid)).size > 0 do result $! theData; end; end.if; fclose(fid); -- 'DATA READ!'.post; ^result; } ------------ SAVING TABLES saveTable { var filename tablename theTable theData; filename = (getStringFromUser("xm:sc:TABLES:", "enter full file name:")); saveTableToFile(filename, getTableFromUser); } table2List { arg theTable; result = []; for i = 0; i < 512; i = i + 1 do result.add(theTable.waveAt(i)); end.for; ^result; } saveTableToFile { arg filename theTable; var theData; if theTable then theData = table2List(theTable); saveListToFile(theData, filename); end.if; } saveListToFile { arg theData, filename; ['writing file', filename].post; fid = fopen(filename 'w'); if fid == \ then 'FILE NOT FOUND'.post; else theData.fwritelist(fid); end.if; fclose(fid); } From sc-users-owner@bga.com Sat Nov 9 04:32:51 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id LAA13655 for sc-users-outgoing; Fri, 8 Nov 1996 11:57:34 -0600 Received: from dishes.pixar.com (dishes.pixar.com [138.72.20.78]) by zoom.bga.com (8.6.12/8.6.12) with SMTP id LAA13288 for ; Fri, 8 Nov 1996 11:56:36 -0600 Received: from [138.72.25.187] by dishes.pixar.com with smtp (Smail3.1.28.1 #15) id m0vLvAC-000755C; Fri, 8 Nov 96 09:56 PST X-Sender: alex@dishes.pixar.com Message-Id: In-Reply-To: <3281BECE.5446@musik.b.shuttle.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 8 Nov 1996 09:56:15 -0800 To: sc-users@bga.com From: Alex Stahl <---@---.---> Subject: 2B || 2B.not Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com James, do you have an SC perspective on the recent news about Apple's negotitation with Be to merge BeOS and system 8? Do you have any info about how this might affect the forthcoming BeOS port to current Mac platforms? Inquiring minds, considering CPU purchases for SC use, want to know. http://www.macweek.com/top_stories/news_beos.html http://www.macweek.com/top_stories/news_amelio.html http://www.macweek.com/mw_1043/opinion_decade.html From sc-users-owner@bga.com Thu Nov 14 17:05:53 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id QAA00525 for sc-users-outgoing; Thu, 14 Nov 1996 16:05:23 -0600 Received: from zeus (zeus.culture.gr [193.92.146.40]) by zoom.bga.com (8.6.12/8.6.12) with SMTP id QAA29857 for ; Thu, 14 Nov 1996 16:02:45 -0600 Received: from 193.92.146.171 (iema.culture.gr) by zeus (5.x/SMI-SVR4) id AA24273; Thu, 14 Nov 1996 19:55:08 +0200 Message-Id: <328B6B3D.667@culture.gr> Date: Thu, 14 Nov 1996 20:55:57 +0200 From: Kostas Moschos <---@---.---> Organization: Institute for Research on Music & Acoustics X-Mailer: Mozilla 2.01 (Macintosh; I; 68K) Mime-Version: 1.0 To: sc-users@bga.com Subject: Re: platform References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com James McCartney wrote: > > I'd appreciate it if all of you would take a moment and send me the model > of computer you are using SC on. Well... PowerComputing 8100/110Mhz, 32Mb RAM and it works fine. Hi James, could you add to the next version the possibility of displaying more scripts in the same time (for copy, paste etc.)? And a function for file selection dialog box (eg. for saving tables). I think they were usefull. -- Kostas Moschos __________________________________________________ |Institute for Research on Music & Acoustics [IEMA]| |Adrianou 105, Athens 105 58, GREECE | |tel: +30-1-33.10.129 fax: 30-1-32.24.192 | |e-mail: kmos@culture.gr | |__________________________________________________| _/ _/_/_/ _/ _/ _/_/ _/ _/ _/_/ _/_/ _/ _/ _/ _/_/ _/ _/ _/ _/_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ From sc-users-owner@bga.com Fri Nov 15 11:26:05 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id LAA21940 for sc-users-outgoing; Fri, 15 Nov 1996 11:00:52 -0600 Received: from koncon.nl (ns.koncon.nl [194.178.67.66]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id LAA21922 for ; Fri, 15 Nov 1996 11:00:47 -0600 Received: (from pauld@localhost) by koncon.nl (8.7.1/8.7.1) id RAA28215 for sc-users@bga.com; Fri, 15 Nov 1996 17:46:36 +0100 (GMT+0100) Date: Fri, 15 Nov 1996 17:46:36 +0100 (GMT+0100) From: Paul Doornbusch <---@---.---> Message-Id: <199611151646.RAA28215@koncon.nl> To: sc-users@bga.com Subject: audio buffer questions Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com Hi there James et al, I have a couple of more questions concerning audio buffers. Now that I have them loading dynamically nicely I am having a couple of more problems: 1 Is there another way to change the end point of a buffer read other than changing the envelope end point being used? I was hoping for another parameter to ALooprd() for the end point. Using the envelope seems kind of klunky. 2 Is there a way to play a buffer backwards? Thanks a lot for any suggestions or help, Paul From sc-users-owner@bga.com Sun Nov 17 07:05:52 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id HAA18765 for sc-users-outgoing; Sun, 17 Nov 1996 07:05:52 -0600 Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id HAA18755 for ; Sun, 17 Nov 1996 07:05:49 -0600 Received: from [128.83.254.139] (slip-77-11.ots.utexas.edu [128.83.254.139]) by clyde.as.utexas.edu (8.6.11/2.01) with SMTP id HAA26028 for ; Sun, 17 Nov 1996 07:06:20 -0600 Date: Sun, 17 Nov 1996 07:06:20 -0600 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: sc-users@bga.com From: james@clyde.as.utexas.edu (James McCartney) Subject: Re: audio buffer questions Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com At 5:46 PM 11/15/96, Paul Doornbusch wrote: >Hi there James et al, > >I have a couple of more questions concerning audio buffers. Now that I >have them loading dynamically nicely I am having a couple of more >problems: >1 Is there another way to change the end point of a buffer read other > than changing the envelope end point being used? I was hoping for > another parameter to ALooprd() for the end point. Using the envelope > seems kind of klunky. No, this is a feature I need to add. > >2 Is there a way to play a buffer backwards? Use a negative playback rate. --- 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@bga.com Thu Nov 21 17:21:04 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id RAA24070 for sc-users-outgoing; Thu, 21 Nov 1996 17:21:04 -0600 Received: from multimedia.edu (root@griffin.multimedia.edu [199.175.7.180]) by zoom.bga.com (8.6.12/8.6.12) with SMTP id RAA24041 for ; Thu, 21 Nov 1996 17:20:56 -0600 Received: from 207.6.129.60 by multimedia.edu with smtp (Smail3.1.29.0 #1) id m0vQjQW-0002gYC; Thu, 21 Nov 96 16:25 PST Message-ID: <3294740D.2354@multimedia.edu> Date: Thu, 21 Nov 1996 15:27:44 +0000 From: Gary Alan Bourgeois <---@---.---> Organization: VFS Multimedia X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) MIME-Version: 1.0 To: sc-users@bga.com Subject: Re: platform References: <328B6B3D.667@culture.gr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com Hi James, I'm using a PPC 7100/66 with 24 megs of RAM digi AudioMedia II with Sound Drivers 1.41 ( which works a lot better than 1.3 ) System 7.5.1 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gary Alan Bourgeois | Digital Audio Instructor@VFS-Multimedia email: gary@multimedia.edu | voice:604-685-6331x105 | fax:604-685-6321 http://www.multimedia.edu From sc-users-owner@bga.com Thu Nov 21 17:24:34 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id RAA24581 for sc-users-outgoing; Thu, 21 Nov 1996 17:24:34 -0600 Received: from multimedia.edu (root@griffin.multimedia.edu [199.175.7.180]) by zoom.bga.com (8.6.12/8.6.12) with SMTP id RAA24564 for ; Thu, 21 Nov 1996 17:24:29 -0600 Received: from 207.6.129.60 by multimedia.edu with smtp (Smail3.1.29.0 #1) id m0vQjTx-0002gZC; Thu, 21 Nov 96 16:28 PST Message-ID: <329474E3.11EC@multimedia.edu> Date: Thu, 21 Nov 1996 15:31:18 +0000 From: Gary Alan Bourgeois <---@---.---> Organization: VFS Multimedia X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) MIME-Version: 1.0 To: sc-users@bga.com Subject: List Archive ?? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com Is there an archive of previous SC list postings ?? I didn't see anything in the FTP site. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gary Alan Bourgeois | Digital Audio Instructor@VFS-Multimedia email: gary@multimedia.edu | voice:604-685-6331x105 | fax:604-685-6321 http://www.multimedia.edu From sc-users-owner@bga.com Fri Nov 22 00:15:50 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id AAA03597 for sc-users-outgoing; Fri, 22 Nov 1996 00:15:50 -0600 Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id AAA03586 for ; Fri, 22 Nov 1996 00:15:46 -0600 Received: from [128.83.111.142] (slip-31-14.ots.utexas.edu [128.83.111.142]) by clyde.as.utexas.edu (8.6.11/2.01) with SMTP id AAA14043 for ; Fri, 22 Nov 1996 00:16:19 -0600 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 22 Nov 1996 00:14:55 -0700 To: sc-users@bga.com From: james@clyde.as.utexas.edu (James McCartney) Subject: Re: List Archive ?? Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com At 3:31 PM 11/21/96, Gary Alan Bourgeois wrote: >Is there an archive of previous SC list postings ?? I didn't see >anything in the FTP site. You can send the following command to majordomo@bga.com 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 560 -rw-rw---- 1 daemon majordom 24734 Jun 30 19:46 sc-users.9606 -rw-rw---- 1 daemon majordom 97259 Jul 30 19:16 sc-users.9607 -rw-rw---- 1 daemon majordom 7467 Aug 19 02:50 sc-users.9608 -rw-rw---- 1 daemon majordom 49520 Sep 30 03:54 sc-users.9609 -rw-rw---- 1 daemon majordom 88204 Oct 21 11:46 sc-users.9610 -rw-rw---- 1 daemon majordom 16079 Nov 21 17:24 sc-users.9611 >>>> end END OF COMMANDS you can then send the command : get sc-users --- 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@bga.com Sat Nov 23 15:04:30 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id PAA04641 for sc-users-outgoing; Sat, 23 Nov 1996 15:04:30 -0600 Received: from magigimmix.xs4all.nl (magigimmix.xs4all.nl [194.109.6.25]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id PAA04624 for ; Sat, 23 Nov 1996 15:04:25 -0600 Received: from xs2.xs4all.nl (xs2.xs4all.nl [194.109.6.43]) by magigimmix.xs4all.nl (8.7.5/XS4ALL) with ESMTP id WAA28764 for ; Sat, 23 Nov 1996 22:04:22 +0100 (MET) Received: from 194.109.32.193 (ztm07-00.dial.xs4all.nl [194.109.32.193]) by xs2.xs4all.nl (8.7.6/XS4ALL) with SMTP id WAA18328 for ; Sat, 23 Nov 1996 22:04:20 +0100 (MET) Message-ID: <3297674C.589E@xs4all.nl> Date: Sat, 23 Nov 1996 22:06:22 +0100 From: Jae Ho Chang <---@---.---> Organization: eMusicas softwares X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) MIME-Version: 1.0 To: sc-users@bga.com Subject: SuperCollider Users Page Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com Hello SuperCollider users I just made a web page for SuperCollider users. This should be managed by all of you. Please check out: Jae Ho Chang :-) -- Sound from Chaos? Visit Chaotic Synthesis Home Page Looking for cool Macintosh note utility? Check out FinderNote the amazing note utility From sc-users-owner@bga.com Sun Nov 24 08:16:22 1996 Received: (from daemon@localhost) by zoom.bga.com (8.6.12/8.6.12) id IAA24549 for sc-users-outgoing; Sun, 24 Nov 1996 08:16:22 -0600 Received: from hal.9000series.idiscover.net (root@hal.9000series.idiscover.net [194.207.26.8]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id IAA24536 for ; Sun, 24 Nov 1996 08:16:18 -0600 Received: from 194.128.134.50 (dynamic-50.nexus.idiscover.co.uk [194.128.134.50]) by hal.9000series.idiscover.net (8.7.3/8.6.9) with SMTP id OAA08407; Sun, 24 Nov 1996 14:16:02 GMT Message-ID: <329867C0.4B4@afx.idiscover.co.uk> Date: Sun, 24 Nov 1996 15:20:36 +0000 From: pHlangepHace <---@---.---> X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) MIME-Version: 1.0 To: sc-users@bga.com Subject: programs? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@bga.com Precedence: bulk Reply-To: sc-users@bga.com Does anyone have or know of some interesting supercollider programs?