From sc-users-owner Thu Sep 4 18:54:46 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id SAA59824 for sc-users-outgoing; Thu, 4 Sep 1997 18:53:12 -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 SAA81538 for ; Thu, 4 Sep 1997 18:51:33 -0500 (CDT) Received: from [205.138.107.97] (DIALUP65.SISNA.COM [205.138.107.97]) by euclid.ucsd.edu (8.7.4/8.7.3) with ESMTP id QAA21666 for ; Thu, 4 Sep 1997 16:51:23 -0700 (PDT) X-Sender: kwalker@132.239.145.52 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 4 Sep 1997 17:51:27 -0600 To: sc-users@lists.realtime.net From: Kevin Walker <---@---.---> Subject: byte input from file Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Is there a way to read a byte at a time from a file? I was thinking of writing something to read standard midi files. Kevin Walker From sc-users-owner Fri Sep 5 15:51:26 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id PAA65342 for sc-users-outgoing; Fri, 5 Sep 1997 15:50: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 PAA65336 for ; Fri, 5 Sep 1997 15:50:38 -0500 (CDT) Received: by clyde.as.utexas.edu (5.x/SMI-SVR4) id AA25954; Fri, 5 Sep 1997 15:53:06 -0500 Date: Fri, 5 Sep 1997 15:53:06 -0500 From: james@clyde.as.utexas.edu (James McCartney) Message-Id: <9709052053.AA25954@clyde.as.utexas.edu> To: sc-users@lists.realtime.net Subject: Re: byte input from file Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users I'm out of town until Monday. I don't think there is a one byte read. There is in the new version... From sc-users-owner Fri Sep 12 12:19:40 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id MAA69626 for sc-users-outgoing; Fri, 12 Sep 1997 12:17:52 -0500 (CDT) Received: from giga.bga.com (giga.realtime.net [205.238.128.46]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id MAA22200 for ; Fri, 12 Sep 1997 12:16:47 -0500 (CDT) Received: from easynet.co.uk (kiwi.easynet.co.uk [193.131.248.4]) by giga.bga.com (8.6.5/8.6.12) with SMTP id MAA11314 for ; Fri, 12 Sep 1997 12:16:45 -0500 Date: Fri, 12 Sep 1997 12:16:45 -0500 Received: (qmail 3510 invoked from network); 12 Sep 1997 17:16:43 -0000 Received: from finer.easynet.co.uk (HELO ?194.128.81.130?) (194.128.81.130) by kiwi.easynet.co.uk with SMTP; 12 Sep 1997 17:16:43 -0000 X-Sender: finer@mail.easynet.co.uk (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: sc-users@lists.realtime.net From: finer@easynet.co.uk (Jem Finer) Subject: passing audiobuf as an argument . . Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Hello, - I'm trying to pass the name of an audiobuf (defined in defaudiobuf) to Alooprd as an argument of the function within which it exists. the compiler says - "error: type : symbol does not understand 'loopin' " Am I tying to do something which is not possible or just doing it in the wrong way ? - Is there anyway of stopping an "instrument" playing other than killing the whole program -ideally I'd like to hit a GUI button to start an instrument/process and later be able to hit another to stop the same without affecting anything else. the former I can do but the latter has me a bit stumped ! Thanks, Jem Finer Kentish Town London NW5 finer@easynet.co.uk From sc-users-owner Fri Sep 12 12:49:35 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id MAA27188 for sc-users-outgoing; Fri, 12 Sep 1997 12:49: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 MAA65044 for ; Fri, 12 Sep 1997 12:49:00 -0500 (CDT) Received: from [128.83.177.116] (slip-108-20.ots.utexas.edu) by clyde.as.utexas.edu (5.x/SMI-SVR4) id AA07639; Fri, 12 Sep 1997 12:51:28 -0500 Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 12 Sep 1997 12:58:48 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: passing audiobuf as an argument . . Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 10:16 AM -0700 9/12/97, Jem Finer wrote: >Hello, > >- I'm trying to pass the name of an audiobuf (defined in defaudiobuf) to >Alooprd as an argument of the function within which it exists. the compiler >says - > "error: type : symbol does not understand 'loopin' " >Am I tying to do something which is not possible or just doing it in the >wrong way ? Post your code. >- Is there anyway of stopping an "instrument" playing other than killing >the whole program -ideally I'd like to hit a GUI button to start an >instrument/process and later be able to hit another to stop the same >without affecting anything else. >the former I can do but the latter has me a bit stumped ! Yes, you use dspRemove. var aflag = 0; -- in your dsp task: if aflag then dspRemove; aflag = 0; end -- and somewhere else: stopSomething { aflag = 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 Fri Sep 12 13:33:48 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id NAA50048 for sc-users-outgoing; Fri, 12 Sep 1997 13:33:31 -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 NAA49966 for ; Fri, 12 Sep 1997 13:31:40 -0500 (CDT) Received: from [129.102.3.60] (mac-dudas.ircam.fr [129.102.3.60]) X-Sender: dudas@maelzel.ircam.fr Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 12 Sep 1997 20:40:14 +0200 To: sc-users@lists.realtime.net From: dudas <---@---.---> Subject: Re: passing audiobuf as an argument . . Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Jem Finer writes: >- Is there anyway of stopping an "instrument" playing other than killing >the whole program -ideally I'd like to hit a GUI button to start an >instrument/process and later be able to hit another to stop the same >without affecting anything else. >the former I can do but the latter has me a bit stumped ! There should be an example patch that I made which does just this. The last time I looked it was still on the sc ftp site. It's called on-off or something like that. The patch was made to fade-in and out when processes are turned off and on. I did something very strange hack to get it to work the way I wanted - I used a polyphonic "voicer" to place and remove processes (instead of notes) from the dsp chain. I'm sure there's a better way to do this, but I posted the code just so people would have a point of departure. -Richard From sc-users-owner Sun Sep 14 13:25:33 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id NAA40536 for sc-users-outgoing; Sun, 14 Sep 1997 13:13:44 -0500 (CDT) Received: from giga.bga.com (giga.realtime.net [205.238.128.46]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id NAA34728 for ; Sun, 14 Sep 1997 13:09:36 -0500 (CDT) Received: from easynet.co.uk (kiwi.easynet.co.uk [193.131.248.4]) by giga.bga.com (8.6.5/8.6.12) with SMTP id KAA06195 for ; Sun, 14 Sep 1997 10:35:17 -0500 Date: Sun, 14 Sep 1997 10:35:17 -0500 Received: (qmail 29488 invoked from network); 14 Sep 1997 15:35:09 -0000 Received: from finer.easynet.co.uk (HELO ?194.128.81.130?) (194.128.81.130) by kiwi.easynet.co.uk with SMTP; 14 Sep 1997 15:35:09 -0000 X-Sender: finer@mail.easynet.co.uk (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="========================_31392362==_" To: sc-users@lists.realtime.net From: finer@easynet.co.uk (Jem Finer) Subject: posting code Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users --========================_31392362==_ Content-Type: text/plain; charset="us-ascii" James, re: >- I'm trying to pass the name of an audiobuf (defined in defaudiobuf) to >>Alooprd as an argument of the function within which it exists. the compiler >>says - >> "error: type : symbol does not understand 'loopin' " >>Am I tying to do something which is not possible or just doing it in the >>wrong way ? > >Post your code. Code is attatched. Another small problem you may be able to help with is I'm finding that if I try to save an audiobuf I only succeed in saving the patch. Thanks for your help. --========================_31392362==_ Content-Type: application/mac-binhex40; name="live_sampler" Content-Disposition: attachment; filename="live_sampler" (This file must be converted with BinHex 4.0) :$'aTGQ8JFf&YF'aPFJ"ALRCD8l5[63!!!!!E9`!!!!!G68GXEf)!!!"U!%!!3dU 3!!!!5)m!!BDJ0kJ!!!!!!!#6l!(3U(X!!!!"!!!!!!!!!*)!!!"*!!!U'!&hZ(C cBh*T!"`Dd!!!+KJ"H!Q3!!&hZ(S!!!!!!Di'%!!!!!%!J!!d!6)"B3&&!!!!!`! !!!%!!!!"6h*MD!!!!m0NC@CKG@4TEfPZ)%aTEL"5D@il$@4PCQ&eC'P[Eh9d)%` J8MX0C'9QBA9ND@pLG@BJF'aKH@*eCM%X)("XBAPLG@Bb1`eNC@CdB@*XC5"PERB a1`d0$@PZDA3JH`ep$3eMEfjcG#"LG@BeFf9M)$dJ-M)a-$!`1`d0$3ecB@e`E'9 b)(X0)#!J)#!J)#"KFQFJBR9QCQ9b,#"ZEcX0)#!J)#!J)&XRBf&XE'9N*b"ZEed ZF'pcG$X0)#!J)#!J)#"`GA*RC8&eC'P[+'*eCQCPFL`JBR9Q0A0PBbNl$5!J)#! J)#!JB@aXEf0"G@4TEbKLG@CQCA)X)'*eCM9cC@-T1`dJ)#!J)#!J)(0KEA!J25" "FQ9MEh*N+'*eCQCPFL`JHb"NFh"5C@e[GQ8l)(dT1`dJ)#!J)#!J)(X0)#!J)#! J)#!J)#!JFf&YF#jfB@aeC5KTELK-D@iT+6X0)#!J)#!J)#"p,Q4cF%&NC#Ja+6X 0)#!J)#!J)#!Y,9Xa1#jRCA4*G'9Y9Q&XG@8XG'KTFdCeEQ0G,R0MD'9N1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!!!!!!!!!!!!!%3!!!!)!"!!"!!!!!!%!!3! -I`!!!(q3!!#3!!#3!!$rrdG955d!!!$!!8)!'!&4!0%"3J!B!9%!d3!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!"!6J!!!!!!!!!!!!!!!!!!3%ej3ej3ej3!!!!!!!!!!!!5!!3!!3! &!!%!!!!!!3!"!!ar!!!!Ij!!!*!!!*!!!2rr4e9*,3!!!-!"4!$L!8m"3J&%!1) "6`&#!!!!!!!!!!"bCA0KEA"XC5"dD@eP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!$r`!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!"-!"J!"!!%!!3!!!!!"!!%!$(m!!!"rN!!!N!!!N!!!rrpDa3!!: --========================_31392362==_ Content-Type: text/plain; charset="us-ascii" Jem Finer Kentish Town London NW5 finer@easynet.co.uk --========================_31392362==_-- From sc-users-owner Sun Sep 14 14:56:09 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id OAA77678 for sc-users-outgoing; Sun, 14 Sep 1997 14:38:05 -0500 (CDT) Received: from giga.bga.com (giga.realtime.net [205.238.128.46]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id OAA75494 for ; Sun, 14 Sep 1997 14:29:41 -0500 (CDT) Received: from clyde.as.utexas.edu (clyde.as.utexas.edu [128.83.129.156]) by giga.bga.com (8.6.5/8.6.12) with SMTP id OAA11089 for ; Sun, 14 Sep 1997 14:03:41 -0500 Received: from [128.83.177.62] (slip-107-14.ots.utexas.edu) by clyde.as.utexas.edu (5.x/SMI-SVR4) id AA09218; Sun, 14 Sep 1997 14:06:14 -0500 X-Sender: james@clyde.as.utexas.edu (Unverified) Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 14 Sep 1997 14:13:17 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: Re: posting code Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users When you call your instrument function via sched you are not passing it a parameter, so the buffer argument is nil the second time around. In your instrument function change the line: [5.getItemValue, thisFunc].sched; to: [5.getItemValue, thisFunc, buffer].sched; --- The audio buffer save problem is a bug in SC. I'll fix 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 Sat Sep 20 14:37:27 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id OAA30792 for sc-users-outgoing; Sat, 20 Sep 1997 14:36:22 -0500 (CDT) Received: from mailhub.dartmouth.edu (mailhub.dartmouth.edu [129.170.16.6]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id OAA32322 for ; Sat, 20 Sep 1997 14:36:08 -0500 (CDT) Received: from cupid.Dartmouth.EDU (cupid.dartmouth.edu [129.170.208.8]) by mailhub.dartmouth.edu (8.8.7+DND/8.8.7) with SMTP id PAA14620 for ; Sat, 20 Sep 1997 15:36:07 -0400 (EDT) Message-id: <37574227@cupid.Dartmouth.EDU> Date: 20 Sep 97 15:36:07 EDT From: Kevin.P.Parks@Dartmouth.EDU (Kevin P. Parks) Subject: SndPlayDoubleBuffer To: sc-users@lists.realtime.net Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Hi. I am running an old SC patch under SC 1.1b8.7 and i see some messages that i did not see under 1.1b5. I wonder if SC is now just being a bit more verbose or if my patch has a major bug which i did not catch before. When i compile it says: SndPlayDoubleBuffer *101 102 *102 103 *103 104 *104 105 in the "Message window". I wonder what this means. My code is posted below (sorry about the size. usually i abbreviate my code before posting, but i wonder if doing that in this case would be misleading). -- ----------------------------------------------------------------------- -- samples: 1/1 16/15 10/9 7/6 5/4 4/3 7/5 3/2 8/5 5/3 7/4 15/8 -- ----------------------------------------------------------------------- defaudiobuf Ab3 A3 Bb3 B3 C4 Db4 D4 Eb4 E4 F4 Gb4 G4 Ab4 A4 Bb4 B4 C5; defaudioout L R; deftable schedshape1, durshape1, stepTimeshape1; deftable schedshape2, durshape2, stepTimeshape2; deftable schedshape3, durshape3, stepTimeshape3; var grainDur, stepTime, reschedRate, attn, grainAmp, scanRate, shapeTimeChooser; var shapeTime1, shapeTime2, durIndex, durChooser, shapeTimeIndex; var stChooser, stIndex, tmpChooser, tmpIndex; init { loadAllAudio; } var index, listSize1; start { grainDur = 0.00, stepTime = 0.00, reschedRate = 0.00; grainAmp = 1.00, scanRate = 1.00, attn = 0.06, stIndex = 0, tmpIndex = 0; shapeTime1 = 350, shapeTime2 = 200, shapeTimeIndex = 0, durIndex = 0; graindur; steptime; tempo; mySampleList1a = [Ab3 C4 Eb4 Ab4 C5]; mySampleList1b = mySampleList1a.scramble; mySampleList1b = mySampleList1b.mirror; mySampleList1b.post; mySampleList2 = [A3 Db4 Gb4 A4]; mySampleList2b = mySampleList2.scramble; mySampleList2b = mySampleList2b.mirror; mySampleList2b.post; mySampleList3 = [D4 F4 Bb3 Bb4]; mySampleList3b = mySampleList3.scramble; mySampleList3b = mySampleList3b.mirror; mySampleList3b.post; listSize1 = mySampleList1b.size; listSize1.post; index = 0; instr1(mySampleList1b); instr2(mySampleList2b); instr3(mySampleList3b); } graindur { shapeTimeChooser = [shapeTime1 shapeTime2].wrapAt(shapeTimeIndex); ['shapeTime =' shapeTimeChooser].post; shapeTimeIndex = shapeTimeIndex + 1; durChooser = [durshape1 durshape2 durshape3].wrapAt(durIndex); durIndex = durIndex + 1; ['durChooser =' durChooser].post; grainDurUG = Ktransient(durChooser, shapeTimeChooser, 0.55, 0.01, `dspRemove); { grainDur = grainDurUG.value; }.dspAdd(0); [shapeTimeChooser, thisFunc].sched; } steptime { stChooser = [stepTimeshape1 stepTimeshape2 stepTimeshape3].wrapAt(stIndex); stIndex = stIndex + 1; ['stChooser =' stChooser].post; stepTimeUG = Ktransient(stepTimeshape1, shapeTimeChooser, 0.001, 0.0004, `dspRemove); { stepTime = stepTimeUG.value; }.dspAdd(0); [shapeTimeChooser, thisFunc].sched; } tempo { tmpChooser = [schedshape1 schedshape2 schedshape3].wrapAt(tmpIndex); tmpIndex = tmpIndex + 1; ['tmpChooser =' tmpChooser].post; -- will from X to (Y+X) in shapeTime secs --------- Y -- X reschedRateUG = Ktransient(tmpChooser, shapeTimeChooser, 0.1 ,0.01, `dspRemove); { -------- add some extra jitter --- reschedRate = reschedRateUG.value + (0.05000.rand2 *! reschedRateUG.value); }.dspAdd(0); [shapeTimeChooser, thisFunc].sched; } instr1 {arg aSampleList; curSample = Eb4; [\_ curSample].post; curPos = 0; endTime = timeOf(curSample) - grainDur; value({ curPos2 = curPos + (0.15000.rand2 *! curPos); grain1 = Apgrain(curSample, curPos, scanRate, grainDur, grainAmp, `dspRemove); grain2 = Apgrain(curSample, curPos2 + 0.0100.rand, scanRate, grainDur, grainAmp, `dspRemove); { (grain1.value *! attn).out(L); (grain2.value *! attn).out(R); }.dspAdd; curPos = curPos + stepTime; if curPos > endTime then curSample = aSampleList.wrapAt(index); -- choose a new sample each time one finishes index = index + 1; index.post; if index > listSize1 then ['*************stop************1'].post; end.if [\_ curSample].post; curPos = 0; -- set position to zero endTime = curSample.timeOf - grainDur; end.if [reschedRate, thisFunc].sched; }); } instr2 {arg aSampleList; curSample = Db4; [\__ curSample].post; curPos = 0; endTime = timeOf(curSample) - grainDur; value({ curPos2 = curPos + (0.15000.rand2 *! curPos); grain1 = Apgrain(curSample, curPos, scanRate, grainDur, grainAmp, `dspRemove); grain2 = Apgrain(curSample, curPos2 + 0.0100.rand, scanRate, grainDur, grainAmp, `dspRemove); { (grain1.value *! attn).out(L); (grain2.value *! attn).out(R); }.dspAdd; curPos = curPos + stepTime; if curPos > endTime then curSample = aSampleList.wrapAt(index); -- choose a new sample each time one finishes index = index + 1; index.post; if index > listSize1 then ['*************stop************2'].post; end.if [\_ curSample].post; curPos = 0; -- set position to zero endTime = curSample.timeOf - grainDur; end.if [reschedRate, thisFunc].sched; }); } instr3 {arg aSampleList; curSample = Bb4; [\___ curSample].post; curPos = 0; endTime = timeOf(curSample) - grainDur; value({ curPos2 = curPos + (0.15000.rand2 *! curPos); grain1 = Apgrain(curSample, curPos, scanRate, grainDur, grainAmp, `dspRemove); grain2 = Apgrain(curSample, curPos2 + 0.0100.rand, scanRate, grainDur, grainAmp, `dspRemove); { (grain1.value *! attn).out(L); (grain2.value *! attn).out(R); }.dspAdd; curPos = curPos + stepTime; if curPos > endTime then curSample = aSampleList.wrapAt(index); -- choose a new sample each time one finishes index = index + 1; index.post; if index > listSize1 then ['*************stop************3'].post; end.if [\_ curSample].post; curPos = 0; -- set position to zero endTime = curSample.timeOf - grainDur; end.if [reschedRate, thisFunc].sched; }); } From sc-users-owner Sun Sep 21 14:47:55 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id OAA31398 for sc-users-outgoing; Sun, 21 Sep 1997 14:47:13 -0500 (CDT) Received: from mailhub.dartmouth.edu (mailhub.dartmouth.edu [129.170.16.6]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id OAA14240 for ; Sun, 21 Sep 1997 14:47:01 -0500 (CDT) Received: from cupid.Dartmouth.EDU (cupid.dartmouth.edu [129.170.208.8]) by mailhub.dartmouth.edu (8.8.7+DND/8.8.7) with SMTP id PAA25873 for ; Sun, 21 Sep 1997 15:47:00 -0400 (EDT) Message-id: <37607150@cupid.Dartmouth.EDU> Date: 21 Sep 97 15:47:00 EDT From: Kevin.P.Parks@Dartmouth.EDU (Kevin P. Parks) Subject: Apple mic input To: sc-users@lists.realtime.net Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users hi I was thinking about trying out some realtime input to SC. I have got a little clip-on AKG condensor mic. I am assuming that all I need is a phantom power box. I can put my mic in the phantom power box and then get a XLR to mini jack and stick that in the mic input to the mac, no? However, I looked at the crappy little mic that Apple has and the plug looks a tad bit different than the regular mini-plug. Will a regular miniplug work ok? Do they have the same ring-tip-sleeve config? The apple mic's plug looks a lot longer than a regular mini-plug. I wonder what other folks have done to be able to use a better quality mic input to the Mac. cheers, kevin parks From sc-users-owner Sun Sep 21 17:53:58 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id RAA19816 for sc-users-outgoing; Sun, 21 Sep 1997 17:53:42 -0500 (CDT) Received: from sound.music.mcgill.ca (sound.Music.McGill.CA [132.206.141.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id RAA19530 for ; Sun, 21 Sep 1997 17:53:18 -0500 (CDT) Received: from [166.72.30.68] ([166.72.30.68]) by sound.music.mcgill.ca (8.6.10/8.6.6) with SMTP id SAA22706 for ; Sun, 21 Sep 1997 18:45:46 -0400 X-Sender: costa@music.mcgill.ca Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 21 Sep 1996 18:55:42 -0400 To: sc-users@lists.realtime.net From: brp@music.mcgill.ca (Bruce Pennycook) Subject: where is stuff Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users I have been offline for awhile. Please, Where can I get the latest version and demos. Thanks, Bruce Pennycook. Mazatlan, Mexico. From sc-users-owner Sun Sep 21 18:13:14 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id SAA23018 for sc-users-outgoing; Sun, 21 Sep 1997 18:13:07 -0500 (CDT) Received: from xochi.tezcat.com (xochi.tezcat.com [204.128.247.12]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id SAA23010 for ; Sun, 21 Sep 1997 18:12:53 -0500 (CDT) Received: from [204.248.80.120] (antiorp.tezcat.com [204.248.80.120]) by xochi.tezcat.com (8.8.5/8.8.5/tezcat-96091001) with SMTP id SAA24815 for ; Sun, 21 Sep 1997 18:12:51 -0500 (CDT) Date: Sun, 21 Sep 1997 18:12:51 -0500 (CDT) Message-Id: <199709212312.SAA24815@xochi.tezcat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: sc-users@lists.realtime.net From: antiorp@tezcat.com (=cw4t7abs) Subject: Re: Apple mic input Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users >However, I looked at the crappy little mic that Apple >has and the plug looks a tad bit different than the regular >mini-plug. Will a regular miniplug work ok? no. [yes.but mono] >Do they have the >same ring-tip-sleeve config? The apple mic's plug looks a lot >longer than a regular mini-plug. it is. similar part availbl at radiosch.akk. howevr. >I wonder what other folks have done to be able to use a better >quality mic input to the Mac. + miniplug s\n ratio > than rca s\n ratio at least on input.out:put appears similar. krop3rom_|-a9ff releass -\\_ decibel rekordz 0!8 http://execpc.com/~decibel/feedband.htm [p-un_kT-pr_o-T=96k_oL] =D8 f =D8 =D8 =D8 3 herausgegeben v=F8m internat!onalen !nstitut f:ur ordnung |+| d!sziplin hTTp://www.tezcat.com/~antiorp From sc-users-owner Sun Sep 21 18:14:36 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id SAA22804 for sc-users-outgoing; Sun, 21 Sep 1997 18:14:30 -0500 (CDT) Received: from peabody.jhu.edu (gigue.peabody.jhu.edu [128.220.102.14]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id SAA22798 for ; Sun, 21 Sep 1997 18:14:16 -0500 (CDT) Received: from localhost by peabody.jhu.edu with SMTP; Sun, 21 Sep 1997 23:14:07 GMT Date: Sun, 21 Sep 1997 19:14:07 -0400 (EDT) From: Ichiro Fujinaga <---@---.---> To: Bruce Pennycook cc: sc-users@lists.realtime.net Subject: Re: where is stuff 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 Try: ftp://ftp.realtime.net/vendors/sc-users Ich On Sat, 21 Sep 1996, Bruce Pennycook wrote: > I have been offline for awhile. Please, > Where can I get the latest version and demos. > Thanks, Bruce Pennycook. Mazatlan, Mexico. > > > From sc-users-owner Mon Sep 22 00:51:29 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id AAA22916 for sc-users-outgoing; Mon, 22 Sep 1997 00:51:11 -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 AAA22910 for ; Mon, 22 Sep 1997 00:50:59 -0500 (CDT) Received: from [128.83.111.82] (dial-34-2.ots.utexas.edu) by clyde.as.utexas.edu (5.x/SMI-SVR4) id AA06296; Mon, 22 Sep 1997 00:53:23 -0500 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 22 Sep 1997 01:01:04 -0700 To: sc-users@lists.realtime.net From: James McCartney <---@---.---> Subject: off to Greece Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users I have been attempting to get a bug fix version out before I leave for ICMC, however hardware and other problems have conspired against me. So it will have to wait until I return. --- 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 Sep 22 19:00:38 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id SAA15192 for sc-users-outgoing; Mon, 22 Sep 1997 18:59:23 -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 ESMTP id SAA15186 for ; Mon, 22 Sep 1997 18:59:02 -0500 (CDT) Received: from cliff.pixar.com (cliff.pixar.com [138.72.10.32]) by pixar.com (8.8.6/8.8.6) with SMTP id QAA27123 for ; Mon, 22 Sep 1997 16:59:02 -0700 (PDT) Received: from [138.72.25.187] by cliff.pixar.com (SMI-8.6/SMI-SVR4) id QAA27499; Mon, 22 Sep 1997 16:59:01 -0700 X-Sender: alex@cliff.pixar.com Message-Id: In-Reply-To: <37607150@cupid.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 22 Sep 1997 16:58:39 -0700 To: sc-users@lists.realtime.net From: Alex Stahl <---@---.---> Subject: Re: Apple mic input Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users >I wonder what other folks have done to be able to use a better >quality mic input to the Mac. I use an external preamp, which in addition to providing phantom power, keeps the low level mic signal out of the computer entirely. But I still find the noise and quality of the Mac's internal A/D converter very noticeable. The best route for fidelity in a computer is to keep the analog signals away from the computer entirely, using digital ports on an add-in sound card. There was rumor of new Macs sporting SPDIF ports, but I'm not holding my breath. There are quite a few new digital audio cards on the market. Anyone know if any of these include working, efficient sound driver extensions? "Working", because for example the Audiowerk 8 driver is still play-only; "efficient", because Digidesign Sound Driver for Audiomedia is apparently a cpu-hog. If anyone has found a card that can provide SPDIF concurrent I/O to Super Collider, I would be grateful to hear about it. -Alex Stahl From sc-users-owner Tue Sep 23 16:27:06 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id QAA16594 for sc-users-outgoing; Tue, 23 Sep 1997 16:26:27 -0500 (CDT) Received: from sound.music.mcgill.ca (sound.Music.McGill.CA [132.206.141.11]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with SMTP id QAA16570 for ; Tue, 23 Sep 1997 16:26:12 -0500 (CDT) Received: from [167.114.19.39] (ppp07-mzt.acnet.net [167.114.19.39]) by sound.music.mcgill.ca (8.6.10/8.6.6) with SMTP id RAA08112 for ; Tue, 23 Sep 1997 17:18:33 -0400 X-Sender: brp@music.mcgill.ca (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 24 Sep 1996 03:28:17 -0500 To: sc-users@lists.realtime.net From: brp@music.mcgill.ca (B. Pennycook) Subject: Re: card-based IO, mic input etc. Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Alex wrote... >If anyone has found a card that can provide SPDIF concurrent I/O to Super >Collider, I would be grateful to hear about it. > Try the Korg 1212 card. We have one but I have not attempted real-time to SC yet and as I am away, I cannot for a while. Anyone out there (sc users) have a Korg?? Bruce Pennycook From sc-users-owner Wed Sep 24 08:35:40 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id IAA08026 for sc-users-outgoing; Wed, 24 Sep 1997 08:34:26 -0500 (CDT) Received: from mailhub.dartmouth.edu (mailhub.dartmouth.edu [129.170.16.6]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id IAA08020 for ; Wed, 24 Sep 1997 08:34:03 -0500 (CDT) Received: from cupid.Dartmouth.EDU (cupid.dartmouth.edu [129.170.208.8]) by mailhub.dartmouth.edu (8.8.7+DND/8.8.7) with SMTP id JAA03626 for ; Wed, 24 Sep 1997 09:34:02 -0400 (EDT) Message-id: <37755609@cupid.Dartmouth.EDU> Date: 24 Sep 97 09:34:01 EDT From: Kevin.P.Parks@Dartmouth.EDU (Kevin P. Parks) Subject: Re: card-based IO, mic input etc. To: sc-users@lists.realtime.net Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users --- You wrote: Anyone out there (sc users) have a Korg?? --- end of quote --- or the lucent technologies PCI 24? which is like $450- and is supposed to work with peak and deck? And when the hell is the gina, layla thing coming out?! Anyone know? I have a feeling that there will be a war in the soundcard game. Which will be good. I am for anything that knocks digi down a few pegs. I still don't understand why my 7 year old $150 Magnavox CD player has a spdif and my computer doesn't. -kevin From sc-users-owner Wed Sep 24 12:34:48 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id MAA15156 for sc-users-outgoing; Wed, 24 Sep 1997 12:34:03 -0500 (CDT) Received: from mhub.mdx.ac.uk (hub.mdx.ac.uk [158.94.2.5]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id MAA12952 for ; Wed, 24 Sep 1997 12:31:11 -0500 (CDT) Received: from CONVERSION-DAEMON by mdx.ac.uk (PMDF V5.1-8 #18911) id <01IO121Z7XM8016P0D@mdx.ac.uk> for sc-users@lists.realtime.net; Wed, 24 Sep 1997 17:32:01 BST Received: from tp5.mdx.ac.uk by mdx.ac.uk (PMDF V5.1-8 #18911) with ESMTP id <01IO121XYKH8001IGJ@mdx.ac.uk> for sc-users@lists.realtime.net; Wed, 24 Sep 1997 17:31:56 +0100 (BST) Received: from TP5/MAILQUEUE2 by tp5.mdx.ac.uk (Mercury 1.21); Wed, 24 Sep 1997 17:33:33 +0000 (GMT) Received: from MAILQUEUE2 by TP5 (Mercury 1.21); Wed, 24 Sep 1997 17:33:18 +0000 (GMT) Date: Wed, 24 Sep 1997 17:33:23 +0000 (GMT) From: Martin Robinson <---@---.---> Subject: Length of SC programs To: sc-users@lists.realtime.net Message-id: <37BC27371DB@tp5.mdx.ac.uk> Organization: Middlesex University X-Mailer: Pegasus Mail/Mac (v2.1.2) Content-type: TEXT/PLAIN Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Is there a limit to the length of an SC program? I have a program that is about 920 lines long (probably about 400 lines of actual running code). When I add a couple of debugging lines (just two lines, each posting a variable) and execute it I get the error : No AudioOut L and R, and it won't execute Without changing anything other than adding those two lines. Then the text editor does odd things and SC eventually chrashes. If I open a saved version of this program I get an error saying there isn't enough memory and then the file gets corrupted. I tried giving SC 20 Megs but that made no difference. Sorry if this sounds like a moan - it's not - I'm just a bit puzzled!! Martin Robinson Middlesex University London From sc-users-owner Wed Sep 24 12:45:21 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id MAA16952 for sc-users-outgoing; Wed, 24 Sep 1997 12:44:20 -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 ESMTP id MAA28152 for ; Wed, 24 Sep 1997 12:43:10 -0500 (CDT) Received: from cliff.pixar.com (cliff.pixar.com [138.72.10.32]) by pixar.com (8.8.6/8.8.6) with SMTP id KAA15152; Wed, 24 Sep 1997 10:43:03 -0700 (PDT) Received: from [138.72.25.187] by cliff.pixar.com (SMI-8.6/SMI-SVR4) id KAA10854; Wed, 24 Sep 1997 10:43:01 -0700 X-Sender: alex@cliff.pixar.com Message-Id: In-Reply-To: <37BC27371DB@tp5.mdx.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 24 Sep 1997 10:42:57 -0700 To: sc-users@lists.realtime.net From: Alex Stahl <---@---.---> Subject: Re: Length of SC programs Cc: Martin Robinson Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users At 10:33 AM -0700 9/24/97, Martin Robinson wrote: >Is there a limit to the length of an SC program? I have a program that is >about 920 lines long (probably about 400 lines of actual running code). When >I add a couple of debugging lines (just two lines, each posting a variable) >and execute it I get the error : No AudioOut L and R, and it won't execute >Without changing anything other than adding those two lines. Then the text >editor does odd things and SC eventually chrashes. If I open a saved version >of this program I get an error saying there isn't enough memory and then the >file gets corrupted. I tried giving SC 20 Megs but that made no difference. >Sorry if this sounds like a moan - it's not - I'm just a bit puzzled!! > > >Martin Robinson >Middlesex University >London Yes, there is a limit. Here is a repost of an old message regarding this topic. (Also I believe in the new version this will go away.) -Alex >At 9:24 AM -0700 10/21/96, James McCartney wrote: >>At 3:33 PM 10/21/96, Ioannis Zannos wrote: >>>The code for a performance with sc grew to over 800 - 1000 lines, >>>and the user interaction panel had > 100 objects. Then >>>files started "disappearing": While I saved one version >>>of a file, I kept getting an older one when trying to reload. >>>I tried this several times, so I am almost sure that I did >>>save the versions I wanted, and that they did disappear. >>>Also, some files that had crashed could not be loaded at all >>>- they left the editors state unaltered. >>> >>>Any experiences with this problem? >> >>Since I'm using Apple's built in text editor, it cannot deal with >>>32K of text. Of course it should not fail as you describe. >> >>If your files start to get big you might want to use the include >>statement: >> >>include "myfilename" >> >> >> --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com From sc-users-owner Wed Sep 24 18:07:07 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id SAA38728 for sc-users-outgoing; Wed, 24 Sep 1997 18:06:35 -0500 (CDT) Received: from huitzilo.tezcat.com (huitzilo.tezcat.com [204.128.247.17]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id SAA38722 for ; Wed, 24 Sep 1997 18:06:11 -0500 (CDT) Received: from [204.248.80.120] (antiorp.tezcat.com [204.248.80.120]) by huitzilo.tezcat.com (8.8.5/8.8.5/tezcat-96091001) with SMTP id SAA10692 for ; Wed, 24 Sep 1997 18:06:09 -0500 (CDT) Date: Wed, 24 Sep 1997 18:06:09 -0500 (CDT) Message-Id: <199709242306.SAA10692@huitzilo.tezcat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: sc-users@lists.realtime.net From: antiorp@tezcat.com (=cw4t7abs) Subject: Re: card-based IO, mic input etc. Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users >I have a feeling that there will be a war in the >soundcard game. Which will be good. I am for anything >that knocks digi down a few pegs. zbump. >I still don't understand why my 7 year old $150 Magnavox >CD player has a spdif and my computer doesn't. all 1 needz !z 1 da. rezt ov the matter !z !n d bocx. diagrams at dze apple site. |=7F=7F| |=7F=7F=3D=3D=7F=7F| v ! R u s |=7F=7F| p u N K t [p-un_kT-pr_o-T=96k_oL] =D8 f =D8 =D8 =D8 3 herausgegeben v=F8m internat!onalen !nstitut f:ur ordnung |+| d!sziplin hTTp://www.tezcat.com/~antiorp http://execpc.com/~decibel/feedband.htm From sc-users-owner Thu Sep 25 02:29:39 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id CAA38932 for sc-users-outgoing; Thu, 25 Sep 1997 02:29:17 -0500 (CDT) Received: from postbote.smb.spk-berlin.de (postbote.smb.spk-berlin.de [194.94.132.22]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id CAA39150 for ; Thu, 25 Sep 1997 02:28:58 -0500 (CDT) Received: (from uucp@localhost) by postbote.smb.spk-berlin.de (8.8.5/8.8.3) id JAA13972 for ; Thu, 25 Sep 1997 09:28:56 +0200 Received: from sim-spk.sim.spk-berlin.de(194.94.135.144) by postbote.smb.spk-berlin.de via smap (V2.0) id xma013969; Thu, 25 Sep 97 09:28:37 +0200 Received: from 194.94.135.134 ([194.94.135.134]) by sim-spk.sim.spk-berlin.de with SMTP (1.40.112.4/16.2) id AA100042508; Thu, 25 Sep 1997 09:28:28 +0200 Message-Id: <342A13A5.1AB2@sim.spk-berlin.de> Date: Thu, 25 Sep 1997 09:32:58 +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: Length of SC programs 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 File size and other file problems in SC: 1. The problem of code length in SC programs applies only when one writes the code in 1 file. (Due to limits in Apple OS specific text editor facilities). SC current version has a well working "include file" mechanism allowing you to split code to more than 1 file. (Error messages are adapted to tell you where errors happen in included files). Use: include "filename" to make your program include another ascii file named "filename". The file will be included exactly in the place where you put the include statement. Use include ":Lib:filename" to include file "filename" which is under folder "Lib", in the same directory as the SuperCollider program. (You may also use absolute paths starting with the name of some disc.) 2. Versions of SC previous to 1.1b8 had problems due to not closing file handles. This has been fixed in the latest version. Use version 1.1b8 or later!!!. Iannis Zannos ---------------------------------------------- Alex Stahl wrote: > > At 10:33 AM -0700 9/24/97, Martin Robinson wrote: > >Is there a limit to the length of an SC program? I have a program that is > >about 920 lines long (probably about 400 lines of actual running code). When > >I add a couple of debugging lines (just two lines, each posting a variable) > >and execute it I get the error : No AudioOut L and R, and it won't execute > >Without changing anything other than adding those two lines. Then the text > >editor does odd things and SC eventually chrashes. If I open a saved version > >of this program I get an error saying there isn't enough memory and then the > >file gets corrupted. I tried giving SC 20 Megs but that made no difference. > >Sorry if this sounds like a moan - it's not - I'm just a bit puzzled!! > > > > > >Martin Robinson > >Middlesex University > >London > > Yes, there is a limit. Here is a repost of an old message regarding this > topic. > (Also I believe in the new version this will go away.) > > -Alex > > >At 9:24 AM -0700 10/21/96, James McCartney wrote: > >>At 3:33 PM 10/21/96, Ioannis Zannos wrote: > >>>The code for a performance with sc grew to over 800 - 1000 lines, > >>>and the user interaction panel had > 100 objects. Then > >>>files started "disappearing": While I saved one version > >>>of a file, I kept getting an older one when trying to reload. > >>>I tried this several times, so I am almost sure that I did > >>>save the versions I wanted, and that they did disappear. > >>>Also, some files that had crashed could not be loaded at all > >>>- they left the editors state unaltered. > >>> > >>>Any experiences with this problem? > >> > >>Since I'm using Apple's built in text editor, it cannot deal with > >>>32K of text. Of course it should not fail as you describe. > >> > >>If your files start to get big you might want to use the include > >>statement: > >> > >>include "myfilename" > >> > >> > >> --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com From sc-users-owner Thu Sep 25 14:42:19 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id OAA39858 for sc-users-outgoing; Thu, 25 Sep 1997 14:40:54 -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 OAA29350 for ; Thu, 25 Sep 1997 14:40:41 -0500 (CDT) Received: from alpha.cc.oberlin.edu (alpha.cc.oberlin.edu [132.162.1.245]) by zoom.bga.com (8.6.12/8.6.12) with ESMTP id OAA00657 for ; Thu, 25 Sep 1997 14:40:40 -0500 Received: from OBERLIN.EDU by OBERLIN.EDU (PMDF V5.1-8 #24033) id <01IO2CE8YKWC00J4D3@OBERLIN.EDU> for sc-users@bga.com; Thu, 25 Sep 1997 15:40:27 EDT Date: Thu, 25 Sep 1997 15:40:27 -0400 (EDT) From: GARY LEE NELSON <---@---.---> Subject: processing real time input To: sc-users@bga.com Message-id: <01IO2CE8YKWE00J4D3@OBERLIN.EDU> X-VMS-To: IN%"sc-users@bga.com" MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Does anyone have code examples that show reading a file from audio in to a buffer and the processing the buffer for granulation, etc. Gary Lee Nelson TIMARA Department Conservatory of Music Oberlin, OH 44074 phone: 216-775-8223 fax: 216-775-8942 email: Gary.Nelson@oberlin.edu www: http://timara.con.oberlin.edu PS. where are the SC arvives and updates kept? From sc-users-owner Fri Sep 26 08:26:12 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id IAA10744 for sc-users-outgoing; Fri, 26 Sep 1997 08:25:42 -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 IAA23476 for ; Fri, 26 Sep 1997 08:24:59 -0500 (CDT) Received: from [194.109.44.204] (asd07-11.dial.xs4all.nl [194.109.44.204]) by smtp1.xs4all.nl (8.8.6/XS4ALL) with SMTP id PAA18811 for ; Fri, 26 Sep 1997 15:24:56 +0200 (MET DST) Message-Id: <199709261324.PAA18811@smtp1.xs4all.nl> Subject: Re: global vars passed as arguments Date: Fri, 26 Sep 97 15:27:13 +0200 x-mailer: Claris Emailer 1.1 From: "jr@xs4all.nl" <---@---.---> To: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users -- Why does a function applied to a global variable as an argument -- not update the global variable? -- I make the simplest test illustrating my problem: defaudioin Lin Rin; defaudioout L R; static jndex=1; init { } start { } fun { arg ii; -- this does not update a GLOBAL passed as an arg ii=ii+1; } xHandler -- mouse button handler for test { jndex.post; --jndex=jndex+1; -- this of course updates the goblal jndex fun(jndex); -- this does not update the global passed as an arg } STEIM Studio for Electro-Instrumental Music Institute of Sonology The Hague Frankfurt Ballet From sc-users-owner Fri Sep 26 08:26:15 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id IAA38906 for sc-users-outgoing; Fri, 26 Sep 1997 08:25:44 -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 IAA31672 for ; Fri, 26 Sep 1997 08:25:02 -0500 (CDT) Received: from [194.109.44.204] (asd07-11.dial.xs4all.nl [194.109.44.204]) by smtp1.xs4all.nl (8.8.6/XS4ALL) with SMTP id PAA18832 for ; Fri, 26 Sep 1997 15:24:59 +0200 (MET DST) Message-Id: <199709261324.PAA18832@smtp1.xs4all.nl> Subject: Re: Length of SC programs Date: Fri, 26 Sep 97 15:27:16 +0200 x-mailer: Claris Emailer 1.1 From: "jr@xs4all.nl" <---@---.---> To: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users as JM told me when this happened to me: \\There is a limit of 32K of program text. You can use : \\ \\include "filename" \\ \\to include other files. This is the way to get around the limit. this has solved my size limit for the time being Joel Ryan STEIM Studio for Electro-Instrumental Music Institute of Sonology The Hague Frankfurt Ballet From sc-users-owner Fri Sep 26 10:00:37 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id KAA26264 for sc-users-outgoing; Fri, 26 Sep 1997 10:00:13 -0500 (CDT) Received: from postbote.smb.spk-berlin.de (postbote.smb.spk-berlin.de [194.94.132.22]) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) with ESMTP id JAA26224 for ; Fri, 26 Sep 1997 09:59:51 -0500 (CDT) Received: (from uucp@localhost) by postbote.smb.spk-berlin.de (8.8.5/8.8.3) id QAA22554 for ; Fri, 26 Sep 1997 16:59:50 +0200 Received: from sim-spk.sim.spk-berlin.de(194.94.135.144) by postbote.smb.spk-berlin.de via smap (V2.0) id xma022551; Fri, 26 Sep 97 16:59:26 +0200 Received: from 194.94.135.134 ([194.94.135.134]) by sim-spk.sim.spk-berlin.de with SMTP (1.40.112.4/16.2) id AA124495959; Fri, 26 Sep 1997 16:59:19 +0200 Message-Id: <342BCED3.129B@sim.spk-berlin.de> Date: Fri, 26 Sep 1997 17:04:15 +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: global vars passed as arguments References: <199709261324.PAA18811@smtp1.xs4all.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Without wanting to go into details here, for time reasons, suggest you try passing the function a reference to the variable instead of the variable (which is a value, not a reference, i.e. not a pointer:) fun { arg iref; iref.putAtRef(iref.getAtRef + 1); } xHandler { jndex.post; fun(`jndex); } ---------------------------------------------------- jr@xs4all.nl wrote: > > -- Why does a function applied to a global variable as an argument > -- not update the global variable? > -- I make the simplest test illustrating my problem: > > defaudioin Lin Rin; > defaudioout L R; > static jndex=1; > > init { > } > > start { > } > > fun { arg ii; -- this does not update a GLOBAL passed as an arg > ii=ii+1; > } > > xHandler -- mouse button handler for test > { > jndex.post; > --jndex=jndex+1; -- this of course updates the goblal jndex > fun(jndex); -- this does not update the global passed as an > arg > > } > > > STEIM Studio for Electro-Instrumental Music > Institute of Sonology The Hague > Frankfurt Ballet From sc-users-owner Mon Sep 29 05:12:20 1997 Received: (from majordom@localhost) by mail2.realtime.net (AIX4.2/UCB 8.7/8.7) id FAA13574 for sc-users-outgoing; Mon, 29 Sep 1997 05:11:01 -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 FAA29440 for ; Mon, 29 Sep 1997 05:10:48 -0500 (CDT) Received: from [194.109.45.105] (asd12-08.dial.xs4all.nl [194.109.45.105]) by smtp1.xs4all.nl (8.8.6/XS4ALL) with SMTP id MAA05021 for ; Mon, 29 Sep 1997 12:10:46 +0200 (MET DST) Message-Id: <199709291010.MAA05021@smtp1.xs4all.nl> Subject: Re: global vars passed as arguments Date: Mon, 29 Sep 97 12:13:07 +0200 x-mailer: Claris Emailer 1.1 From: "jr@xs4all.nl" <---@---.---> To: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: owner-sc-users@lists.realtime.net Precedence: bulk Reply-To: sc-users Oh one more thing how to pass parameters to functions vectored via execution variables can I pass a list to value with the func ref and the params [`fun par1].value Hope ICMC is going well I havent been for years all the best joel STEIM Studio for Electro-Instrumental Music Institute of Sonology The Hague Frankfurt Ballet