From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #336 Reply-To: sc-users Sender: owner-sc-users-digest@lists.io.com Errors-To: owner-sc-users-digest@lists.io.com Precedence: bulk sc-users-digest Tuesday, July 31 2001 Volume 01 : Number 336 ---------------------------------------------------------------------- Date: Sun, 29 Jul 2001 14:49:04 -0800 From: ben <---@---.---> Subject: live music hi! just uploaded a set that i played a couple of weeks ago in london in case anyone's interested... this is from the event following SC Day at the same venue (which was very freeform and at one point featured 4 laptops at once - quite a delicious sound) for those of you who heard my afternoon set this is the same, but different. actually its a bit faster too. :) its ugly realaudio format but there are two options: dialup - www.soundmangle.com/minty/mintyfresh_live_56k.html highspeed - www.soundmangle.com/minty/mintyfresh_live.html also this was recorded on minidisc without time for proper level-setting so the levels change a bit from time to time. thanks again to andy wilson for setting up the afternoon event - it was great to hear, see and meet so many other supercolliders! enjoy i hope... peace ben - -- ben milstein mintyfresh www.soundmangle.com - www.elmconceptions.com ------------------------------ Date: Sun, 29 Jul 2001 16:53:44 -0500 From: James McCartney <---@---.---> Subject: Re: live music on 7/29/01 5:49 PM, ben at ben@soundmangle.com wrote: > www.soundmangle.com/minty/mintyfresh_live.html Does not work. Real player tries to look for a file in Desktop Folder. Also the images on the web page show up as (X) missing image icons. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Sun, 29 Jul 2001 18:49:41 -0800 From: ben <---@---.---> Subject: Re: live music hmm. i have no doubt that i managed to fuck it up somehow - my first attempt at realaudio... but strange that the 56k version works for some? i'll try and re-upload... thanks ben - -- ben milstein mintyfresh www.soundmangle.com - www.elmconceptions.com > From: James McCartney <---@---.---> > Reply-To: sc-users@lists.io.com > Date: Sun, 29 Jul 2001 16:53:44 -0500 > To: > Subject: Re: live music > > on 7/29/01 5:49 PM, ben at ben@soundmangle.com wrote: > >> www.soundmangle.com/minty/mintyfresh_live.html > > Does not work. Real player tries to look for a file in Desktop Folder. > Also the images on the web page show up as (X) missing image icons. > > > --- james mccartney james@audiosynth.com > SuperCollider - a real time synthesis programming language for the PowerMac. > > > > ------------------------------ Date: Sun, 29 Jul 2001 23:12:24 -0400 (EDT) From: koonce@Princeton.EDU (Paul C Koonce (koonce@Princeton.EDU)) Subject: Re: phase vocoder pitch shifting I'm interested in using the fft routines of SC2 to do (high fidelity) pitch transposition. I don't see anything in the examples that looks like what I would expect; that is, conversion to freq and amp to drive an oscillator bank, but maybe I'm just missing something. Does someone have an example of how this is done in SC2? Paul Koonce ------------------------------ Date: Sun, 29 Jul 2001 22:25:25 -0500 From: chris clepper <---@---.---> Subject: Re: phase vocoder pitch shifting >I'm interested in using the fft routines of SC2 to do (high fidelity) pitch >transposition. I don't see anything in the examples that looks like what I >would expect; that is, conversion to freq and amp to drive an oscillator >bank, but maybe I'm just missing something. > >Does someone have an example of how this is done in SC2? no. but in SC3 there are a whole lot of phase vocoder ugens. they do things like bin shifting, scrambling, and a whole lot more. fun. cgc ------------------------------ Date: Mon, 30 Jul 2001 02:23:13 -0400 From: "crucial" <---@---.---> Subject: Re: live music >hmm. i have no doubt that i managed to fuck it up somehow - my first >attempt at realaudio... >but strange that the 56k version works for some? >i'll try and re-upload... >thanks >ben >-- no, just edit the .ram file, that's what i did. its just a simple text file located at http://soundmangle.com/whatever/whatever/live_56k.ram and its contents should be one line of text: http://soundmangle.com/whatever/whatever/live_56k.rm _____(( http://crucial-systems.com _________________))_______ ------------------------------ Date: Mon, 30 Jul 2001 14:29:46 -0500 From: James McCartney <---@---.---> Subject: Re: Patches ( // chromatic transposition sequences in parallel intervals Synth.play({ var in, signal; in = Pbind(#[\note, \dur], Prout({ var note, up, dn, seq, len, dur, ivalA, ivalB, fnote; note = 6.rand2; loop({ len = rrand(2,5); ivalA = rrand(3,10); ivalB = ivalA + rrand(3,10); dur = 0.4 / rrand(2,5); seq = Array.fill(len, { 6.rand2 }); rrand(12,24).do({ arg i; fnote = fold(note, -18, 18); [[fnote,fnote+ivalA,fnote+ivalB], dur].yield; note = note + seq.wrapAt(i); }); fnote = fold(note, -18, 18); [[fnote,fnote+ivalA,fnote+ivalB], 0.4].yield; }) }); ).ar(nil,2); signal = in; 6.do({ signal = AllpassN.ar(signal, 0.05, [0.05.rand,0.05.rand], 4) }); in + (0.4 * (signal - in)) }); ) - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Mon, 30 Jul 2001 14:51:04 -0500 From: matrix6k <---@---.---> Subject: Re: Patches i get 'message ar not understood' that's one weirdo pbind....:) i didnae even know you could do that. James McCartney wrote: > > > ( > // chromatic transposition sequences in parallel intervals > Synth.play({ > var in, signal; > in = Pbind(#[\note, \dur], Prout({ > var note, up, dn, seq, len, dur, ivalA, ivalB, fnote; > note = 6.rand2; > loop({ > len = rrand(2,5); > ivalA = rrand(3,10); > ivalB = ivalA + rrand(3,10); > dur = 0.4 / rrand(2,5); > seq = Array.fill(len, { 6.rand2 }); > rrand(12,24).do({ arg i; > fnote = fold(note, -18, 18); > [[fnote,fnote+ivalA,fnote+ivalB], dur].yield; > note = note + seq.wrapAt(i); > }); > fnote = fold(note, -18, 18); > [[fnote,fnote+ivalA,fnote+ivalB], 0.4].yield; > }) > }); > ).ar(nil,2); > signal = in; > 6.do({ signal = AllpassN.ar(signal, 0.05, [0.05.rand,0.05.rand], 4) }); > > in + (0.4 * (signal - in)) > }); > ) > > --- james mccartney james@audiosynth.com > SuperCollider - a real time synthesis programming language for the PowerMac. > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Mon, 30 Jul 2001 15:07:32 -0500 From: James McCartney <---@---.---> Subject: Re: Patches on 7/30/01 2:51 PM, matrix6k at matrix6k@yahoo.com wrote: > i get 'message ar not understood' > that's one weirdo pbind....:) i didnae even know you could do that. Must use 2.2.11 - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Mon, 30 Jul 2001 15:10:32 -0500 From: matrix6k <---@---.---> Subject: Re: Patches hmm. i am. James McCartney wrote: > > on 7/30/01 2:51 PM, matrix6k at matrix6k@yahoo.com wrote: > > > i get 'message ar not understood' > > that's one weirdo pbind....:) i didnae even know you could do that. > > Must use 2.2.11 > > --- james mccartney james@audiosynth.com > SuperCollider - a real time synthesis programming language for the PowerMac. > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Mon, 30 Jul 2001 15:20:04 -0500 From: James McCartney <---@---.---> Subject: Re: Patches on 7/30/01 2:51 PM, matrix6k at matrix6k@yahoo.com wrote: > that's one weirdo pbind....:) i didnae even know you could do that. You can bind multiple symbols from one pattern. Pbind([\a,\b,\c], ..some pattern that returns arrays of 3 values..) Symbols a, b, c will be bound to the values in the array. Pbind([\note, \dur], Pseq([[60,0.4], [65, 0.2], [63, 0.1], [65, 0.1]], inf)).play; Pbind([\midinote, \dur], Pfunc({ [rrand(55,65), rrand(1,4)*0.1] })).play; - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Mon, 30 Jul 2001 15:23:14 -0500 From: matrix6k <---@---.---> Subject: Re: Patches wicked cool. you answered my next question before i even got to ask. thanks. - -mike James McCartney wrote: > > on 7/30/01 2:51 PM, matrix6k at matrix6k@yahoo.com wrote: > > > that's one weirdo pbind....:) i didnae even know you could do that. > > You can bind multiple symbols from one pattern. > > Pbind([\a,\b,\c], ..some pattern that returns arrays of 3 values..) > Symbols a, b, c will be bound to the values in the array. > > Pbind([\note, \dur], Pseq([[60,0.4], [65, 0.2], [63, 0.1], [65, 0.1]], > inf)).play; > > Pbind([\midinote, \dur], Pfunc({ [rrand(55,65), rrand(1,4)*0.1] })).play; > > --- james mccartney james@audiosynth.com > SuperCollider - a real time synthesis programming language for the PowerMac. > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Mon, 30 Jul 2001 15:35:06 -0500 From: James McCartney <---@---.---> Subject: Re: Patches on 7/30/01 3:10 PM, matrix6k at matrix6k@yahoo.com wrote: > hmm. i am. > > James McCartney wrote: >> >> on 7/30/01 2:51 PM, matrix6k at matrix6k@yahoo.com wrote: >> >>> i get 'message ar not understood' >>> that's one weirdo pbind....:) i didnae even know you could do that. >> >> Must use 2.2.11 It runs without error for me on a freshly downloaded copy of 2.2.11. You would only get 'ar' not understood if you are not using 2.2.11 or are compiling the wrong library. Check to make sure your alias to Common points to the correct folder. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Mon, 30 Jul 2001 15:45:43 -0500 From: matrix6k <---@---.---> Subject: Re: Patches Check to make sure your alias to Common points > to the correct folder. Aha! it wasn't. that fixed it. also, i really dig the binding of command-D for 'don't save' when an error msg comes up. thank you for adding that. - -mike _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Mon, 30 Jul 2001 14:25:32 -0800 From: ben <---@---.---> Subject: Re: Patches > also, i really dig the binding of command-D for 'don't save' when an > error msg comes up. thank you for adding that. yay! thanks james.... - -- ben milstein mintyfresh www.soundmangle.com - www.elmconceptions.com > From: matrix6k <---@---.---> > Organization: none > Reply-To: sc-users@lists.io.com > Date: Mon, 30 Jul 2001 15:45:43 -0500 > To: sc-users@lists.io.com > Subject: Re: Patches > > Check to make sure your alias to Common points >> to the correct folder. > > Aha! it wasn't. that fixed it. > also, i really dig the binding of command-D for 'don't save' when an > error msg comes up. thank you for adding that. > > -mike > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > ------------------------------ Date: Mon, 30 Jul 2001 18:05:34 -0400 From: "crucial" <---@---.---> Subject: Re: Patches >> also, i really dig the binding of command-D for 'don't save' when an >> error msg comes up. thank you for adding that. > >yay! thanks james.... >-- and shift.command.arrow ( <- or ->) selects to the end or start of the line. the Find behavior is a bit annoying ( find dialog goes behind window), but i'll get used to it. _____(( http://crucial-systems.com _________________))_______ ------------------------------ Date: Mon, 30 Jul 2001 18:06:14 -0500 From: James McCartney <---@---.---> Subject: Re: Patches on 7/30/01 5:05 PM, crucial at felix@crucial-systems.com wrote: > the Find behavior is a bit annoying ( find dialog goes behind window), > but i'll get used to it. It was requested by some.. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Mon, 30 Jul 2001 18:07:37 -0500 From: James McCartney <---@---.---> Subject: Re: Patches on 7/30/01 5:05 PM, crucial at felix@crucial-systems.com wrote: >>> also, i really dig the binding of command-D for 'don't save' when an >>> error msg comes up. thank you for adding that. >> >> yay! thanks james.... >> -- > > and shift.command.arrow ( <- or ->) > selects to the end or start of the line. > > the Find behavior is a bit annoying ( find dialog goes behind window), > but i'll get used to it. Oh also it says that I made forward delete work. Unfortunately it doesn't work. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Tue, 31 Jul 2001 01:08:19 +0100 From: Owain Rich <---@---.---> Subject: DiskArrayPlayer/MidiControl Aight! I'm new to the list so hello everyone. I have a year to do a degree project so I'm thinking about the possibilities of interfacing a pot plant with Supercollider to create a webcast installation piece which spans the growth of the plant. I'm new to Supercollider and during my work towards writing a patch using soundfiles/midi triggered patterns, I've got 2 problems; 1 I want to read AIFFs off the hard drive. I've got extra FileLoader class sorted which I got off Ben. I can't work out how to use the DiskArrayPlayer class though. It appears to want an array of values to put into the volume argument (inputting to Pause?). My following feeble attempt plays but I hear nothing. ( var files; files = FileLoader.new(":Sounds:", ["firstfile","secondfile"]); Synth.play({ DiskAutoPlayer.ar(files,[1,1]); }); ) 2 I want to control Pseq(s) via midi. I appreciate that this is something I should work out myself, but does anyone think this is possible with any of the MIDI related classes e.g. MidiControl? Later. Owain ------------------------------ Date: Mon, 30 Jul 2001 18:28:07 -0500 From: matrix6k <---@---.---> Subject: Re: DiskArrayPlayer/MidiControl This is a multi-part message in MIME format. - --------------F9A3E3DE823451E34EAD8D95 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit for number 2... you could just change the mousex to a midicontroller.... - --------------F9A3E3DE823451E34EAD8D95 Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="53436A6D"; name="mousing with patterns" Content-Transfer-Encoding: 7bit Content-Description: Unknown Document Content-Disposition: inline; filename="mousing with patterns" ( // mousing with patterns var pattern, mx, mz; mx = MouseX.new(30, 50, 'linear'); mz = { if ( mx.value < 40, {0.value}, {1.value} ) }; pattern = Ppar([ Pbind( \dur, 0.25, \midinote, Pswitch([ Pseq( #[50], 4), Pseq( #[50, 52, 54, 62], 1) ], Pfunc({mz.value }) ) ) ]); pattern.play(Event.protoEvent); ) - --------------F9A3E3DE823451E34EAD8D95-- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Tue, 31 Jul 2001 03:06:32 +0200 From: Julian Rohrhuber <---@---.---> Subject: Re: Patches //___________hamburg soft frog loop ( { var t, trig, p, mx, my, arr, arr2, arr3, arr4, arfill, n; n = 16; trig = Impulse.ar(0.001); p = Impulse.ar(8); mx = MouseX.kr(0, 1); my = MouseY.kr(0, 10000); arfill = { arr = Array.fill(n div: 2, {180+180.5.rand2}); arr2 = Array.fill(n, { rrand(1, pi) }); arr3 = Array.fill(n, { 1300+100.rand2 }); arr4 = Array.fill(n, { if(0.6.coin, { 0.5.rand } , { 0.1.rand }) }); 0.0 }; arfill.value; Sequencer.kr(arfill, (mx - 0.5)<0.01); t = TSpawn.ar({ arg sp, i; var env, freq, out; env = Env.linen(0.0011+0.001.rand2, 0.2+0.1.rand2, 0.01); freq = arr3.wrapAt(i)+LFNoise2.kr(5, 10); out = SinOsc.ar( freq, LFPulse.perform([\kr, \kr, \kr, \ar].wrapAt(i), arr.wrapAt(i) * mx.poll, 0, Line.kr(arr2.wrapAt(i), 0, 0.3)), arr4.wrapAt(i) ); Pan2.ar(BRF.ar(out, freq, 0.1), 1.rand2)*EnvGen.kr(env) }, 2, nil, p); RLPF.ar(t, LFNoise2.kr(3, 700, 800+my, 0.2)) }.play; ) ------------------------------ Date: Mon, 30 Jul 2001 21:15:48 -0500 From: James McCartney <---@---.---> Subject: SC3 expiration SC3d5.1 will expire tonight. Just re-download it. ftp://www.audiosynth.com/pub/updates/SC3d5.1.sea.hqx ..or.. ftp://www.audiosynth.com/pub/updates/SC3d5.1.sea.bin - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Mon, 30 Jul 2001 21:18:32 -0500 From: matrix6k <---@---.---> Subject: Re: Patches ha ha ha !!!! that makes me giggle. supercool. i love eet. 0m Julian Rohrhuber wrote: > > //___________hamburg soft frog loop > ( > { var t, trig, p, mx, my, arr, arr2, arr3, arr4, arfill, n; > n = 16; > trig = Impulse.ar(0.001); > p = Impulse.ar(8); > mx = MouseX.kr(0, 1); > my = MouseY.kr(0, 10000); > arfill = { arr = Array.fill(n div: 2, {180+180.5.rand2}); > arr2 = Array.fill(n, { rrand(1, pi) }); > arr3 = Array.fill(n, { 1300+100.rand2 }); > arr4 = Array.fill(n, { if(0.6.coin, { 0.5.rand } , { > 0.1.rand }) }); > 0.0 > }; > arfill.value; > Sequencer.kr(arfill, (mx - 0.5)<0.01); > t = TSpawn.ar({ arg sp, i; > var env, freq, out; > env = Env.linen(0.0011+0.001.rand2, > 0.2+0.1.rand2, 0.01); > freq = arr3.wrapAt(i)+LFNoise2.kr(5, 10); > out = SinOsc.ar( > freq, > LFPulse.perform([\kr, > \kr, \kr, \ar].wrapAt(i), > arr.wrapAt(i) * mx.poll, > 0, > > Line.kr(arr2.wrapAt(i), 0, 0.3)), > arr4.wrapAt(i) > ); > Pan2.ar(BRF.ar(out, freq, 0.1), 1.rand2)*EnvGen.kr(env) > }, 2, nil, p); > RLPF.ar(t, LFNoise2.kr(3, 700, 800+my, 0.2)) > > }.play; > ) _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Mon, 30 Jul 2001 23:10:51 -0400 (EDT) From: Paul Lansky <---@---.---> Subject: literals Hello I want to write a large array of literals (#[]) to disk an read it back at a later time. Can someone tell me how to do this. I seem to be confused about this. thanks paul lansky ------------------------------ Date: Mon, 30 Jul 2001 23:51:46 -0600 From: "David Cottle" <---@---.---> Subject: Re: Patches >>> also, i really dig the binding of command-D for 'don't save' when an >>> error msg comes up. thank you for adding that. >> >> yay! thanks james.... >> -- > > and shift.command.arrow ( <- or ->) > selects to the end or start of the line. > > the Find behavior is a bit annoying ( find dialog goes behind window), > but i'll get used to it. Can't win, can you (James). I was one of the ones who requested this and I really like this better. Just use command-g to find the next occurrence. You don't need to see the dialog again. - -- ><><><><><><><><><><><> David Cottle, computer music, contra, cottle@cerlsoundgroup.org "I'm a fifth level vegan. I don't eat anything that casts a shadow" ‹Simpsons ------------------------------ Date: Tue, 31 Jul 2001 10:09:06 +0200 (CEST) From: Giorgio Robino <---@---.---> Subject: patches: stringEnsemble ( // stringEnsemble // simply a James patch depaupering for reach in some manner a realistic string ensemble. // Maybe someone may improove this patch for a more "realistic" orchestral string ensemble ? // // btw, I have to render in non realtime beause my PB1400 is ... too slow for realtime. // Giorgio var ensemble, nVoci, nOscillatoriVoce; var scala, ottava, probabilita, out; // modo maggiore scala = [0, 2, 4, 5, 7, 9, 11]; // propabilita' assegnata ai gradi della scala: // // I II III IV V VI VII // 20% 12.5% 20% 15% 20% 12.5% 10% // probabilita = [0.2, 0.125, 0.2, 0.15, 0.20, 0.125, 0.1]; // nota base: LA ottava = [24, 36, 48, 60, 72, 84, 96] - 3; // numbero di archi simultanea nVoci = 16; // numbero di oscillatori per costruire una voce nOscillatoriVoce = 10; Synth.write ( { ensemble = OverlapTexture.ar( { var f, voce; // scelta comletamente casuale del grado della scala // f = (scala.choose + ottava.choose).midicps; // scelta casuale del grado della scala, // ma polarizzata dal vettore di probabilita' // che accentua il modo maggiore. f = (scala.at(windex(probabilita)) + ottava.choose).midicps; voce = LPZ2.ar(LPZ2.ar( Mix.arFill(nOscillatoriVoce, { var ff; ff = f * SinOsc.kr(exprand(4,6),0,0.008,1); LFSaw.ar([ff * rrand(0.99,1.01), ff * rrand(0.99,1.01)], 0.01) }) )); /* // fa un suono maggiormente elettronico, // senza e' piu' realistico pero' if (0.3.coin && (f < 1400), { voce = RLPF.ar(x, SinOsc.kr(rrand(0.3,0.8),0,f*rrand(0.5,3), f * rrand(4,12)), 0.1) }); voce */ }, 4 + 5.rand, 4 + 5.rand, 4 + (nVoci-4).rand, 2); // il riverbero non soddisfa come hall ensmble CombN.ar(ensemble, 0.7, [0.7,0.60], 7, 1, ensemble.reverse); } , 60*5, "Macintosh HD:Desktop Folder:stringEnsemble.aif" ) ) - --- Giorgio Robino http://www.giorgiorobino.com , mailto:giorgio.robino@giorgiorobino.com - --- DEEP LISTENINGS "ascolti profondi, the new music magazine" (rivista trimestrale di cultura musicale), vendita per solo per corrispondenza. Rivolgersi a Gianluigi Gasparetti, mailto:deeplist@tin.it - --- SUPERCOLLIDER is an Object Oriented Programming Environment for real-time audio and video processing. It is one of the finest and most versatile environments for signal processing and especially for creating music applications of all kinds, such as complete compositions, interactive performances, installations etc. It runs on Macintosh Power PC computers. The author of SuperCollider is James McCartney. He maintains a site at: http://www.audiosynth.com ------------------------------ Date: Tue, 31 Jul 2001 10:26:48 -0400 (EDT) From: koonce@Princeton.EDU (Paul C Koonce (koonce@Princeton.EDU)) Subject: Re: Playbuf How do you initialize and fill an array of signal buffers for use in PlayBuf? That is, if the following loads and plays a soundfile...... var filename, file, signal; file = SoundFile.new; file.read(filename ) ; signal = file.data.at(0); PlayBuf.ar( signal, file.sampleRate, 1,0, 0, signal.size-2 ) ; ....and the use of soundfiles is expanded to an array as in the following... filename = [ "bonk", "squeak", "toot" ] ; file = Array.fill( filename.size, SoundFile.new ) ; filename.do({ arg item i; file.at(i).read( filename.at(i) ) ) ; ...What should "signal" be set up as, and how should it be filled to do something like this.... signal.put( 0, { file.at(0).data.at(0)} ) ; PlayBuf.ar( signal.at(0), file.at(0).sampleRate, 1,0, 0, signal.at(0).size-2 ) ; which doesn't work, of course. I would think "signal" needs to be an array of the Signal class, like the following perhaps: signal = Array.fill( filename.size, Signal.new ) ; but whatever I do from there on doesn't work. My actual goal is to give Playbuf an array of signal buffers that triggers expansion, etc. I can do it with Diskin, but not with Playbuf because of the first argument. Paul Koonce ------------------------------ Date: Tue, 31 Jul 2001 19:55:21 +0200 From: Julian Rohrhuber <---@---.---> Subject: Re: literals >Hello > >I want to write a large array of literals (#[]) >to disk an read it back at a later time. >Can someone tell me how to do this. I seem to >be confused about this. thanks > >paul lansky I tried this, but that didn't work either. will be easy in sc3 at least.(#[..].writeArchive(path)) l = #[1.0, 2.3, 3.4, 4.1]; f = File("test", "wb"); f.do({ arg item; f.putFloat(item) }); f.close; g = File("test", "rb"); c = g.contents; c = g.readAllFloat; g.close; c.postln; ------------------------------ Date: Tue, 31 Jul 2001 19:46:41 +0200 From: Julian Rohrhuber <---@---.---> Subject: Re: Patches //___________hamburg soft frog loop (corrected) ( { var t, p, mx, my, arr, arr2, arr3, arr4, arfill, n; n = 16; p = Impulse.ar(8); mx = MouseX.kr(0, 1); my = MouseY.kr(0, 10000); arfill = { arr = Array.fill(n div: 2, {180+180.5.rand2}); arr2 = Array.fill(n, { rrand(1, pi) }); arr3 = Array.fill(n, { 1300+100.rand2 }); arr4 = Array.fill(n, { if(0.6.coin, { 0.5.rand } , { 0.1.rand }) }); 0.0 }; arfill.value; Sequencer.kr(arfill, (mx - 0.5)<0.01); t = TSpawn.ar({ arg sp, i; var env, freq, out; env = Env.linen(0.0011+0.001.rand2, 0.2+0.1.rand2, 0.01); freq = arr3.wrapAt(i)+LFNoise2.kr(5, 10); out = SinOsc.ar( freq, LFPulse.perform([\kr, \kr, \kr, \ar].wrapAt(i), arr.wrapAt(i) * mx.poll, 0, Line.kr(arr2.wrapAt(i), 0, 0.3)), arr4.wrapAt(i) ); Pan2.ar(BRF.ar(out, freq, 0.1), 1.rand2)*EnvGen.kr(env) }, 2, nil, p); RLPF.ar(t, LFNoise2.kr(3, 700, 800+my), 0.5) }.play; ) //___________hamburg soft frog loop: autopilot ( { var t, p, my, dt; dt = 16; p = Impulse.ar(8); my = MouseY.kr(0, 10000); t = OverlapTexture.ar({ var arr1, arr2, arr3, arr4, arr5, arfill, n, r, m; n = 32; r = rrand(0.1, 0.5); m = LFNoise1.kr(0.3, 0.2, rrand(0.2, 0.8)); arr1 = Array.fill(n div: 2, {180+180.5.rand2}); arr2 = Array.fill(n, { rrand(1, pi) }); arr3 = Array.fill(n, { 1300+100.rand2 }); arr4 = Array.fill(n, { if(r.coin, { 0.5.rand } , { 0.05.rand }) }); arr5 = Array.fill(n, { if(r.coin, { 1 } , { 0 }) }); TSpawn.ar({ arg sp, i; var env, freq, out; env = Env.linen(0.0011+0.001.rand2, 0.2+0.1.rand2, 0.01); freq = arr3.wrapAt(i)+LFNoise2.kr(5, 10); out = SinOsc.ar( freq, LFPulse.perform([\kr, \ar].at(arr5.wrapAt(i)), arr1.wrapAt(i) * m, 0, Line.kr(arr2.wrapAt(i), 0, 0.3) ), arr4.wrapAt(i) ); Pan2.ar(BRF.ar(out, freq, 0.1), 1.0.rand2)*EnvGen.kr(env) }, 2, nil, p) }, dt, dt, 2); RLPF.ar(t, LFNoise2.kr(3, 700, 800+my), 0.5) }.play; ) ------------------------------ Date: Tue, 31 Jul 2001 20:39:39 +0200 From: "frosch f." <---@---.---> Subject: Re: Patches 0n {31.07.2001} / {19:46 Uhr}, Julian Rohrhuber .......... - -| //___________hamburg soft frog loop (corrected) julian, for more frog inspiration just have a look at http://www.exploratorium.edu/frogs/tracker/index.html softfrogs ;) bye, f ------------------------------ Date: Tue, 31 Jul 2001 15:55:03 -0400 (EDT) From: Paul Lansky <---@---.---> Subject: inter spawn communication I'm doing something that has the architecture of the following (much more elaborately and using OrchScore) and it seems to work *most* of the time. Is there something wrong with this picture? thanks paul lansky Synth.play({arg synth; a = Spawn.ar({ FSinOsc.ar([440,471],0.1); },2); b = Spawn.ar({ FSinOsc.ar([1000,1123],0.1) * a ; },2); }) ------------------------------ Date: Tue, 31 Jul 2001 12:35:55 -0700 From: cramakrishnan@acm.org Subject: BBEdit Language Module for SuperCollider I wrote a BBEdit language module that will syntax highlight SC code: http://swiki.hfbk.uni-hamburg.de:8080/MusicTechnology/318 It's not perfect, but it should be acceptable. - - sekhar - -- C. Ramakrishnan cramakrishnan@acm.org ------------------------------ Date: Tue, 31 Jul 2001 13:33:44 -0700 From: "Thomas Miley" <---@---.---> Subject: Accelerators This is a multi-part message in MIME format. - ------=_NextPart_000_0023_01C119C5.6BA965C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm considering upgrading a 9500 with an accelerator card. Which would = be better for SC? A G4/400 or a G3/500 ? Both have 1MB L2 caches (and come from Sonnet, = so manufacturing characteristics are similar) Any help is appreciated. Thomas Miley - ------=_NextPart_000_0023_01C119C5.6BA965C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm considering upgrading a 9500 with = an=20 accelerator card.  Which would be better for SC?
 
A G4/400 or a G3/500 ?  Both have = 1MB L2=20 caches (and come from Sonnet, so manufacturing characteristics are=20 similar)
 
Any help is appreciated.
 
Thomas Miley
 
- ------=_NextPart_000_0023_01C119C5.6BA965C0-- ------------------------------ Date: Tue, 31 Jul 2001 15:02:13 -0700 From: "tomonori yamasaki" <---@---.---> Subject: Re: inter spawn communication first round: [a1,a2]*[b1,b2] second round: [[a1,a2],[a1,a2]] * [[b1,b2],[b1,b2]] //oops no envelope third round: [[a1,a2],[a1,a2],[a1,a2]] * [[b1,b2],[b1,b2],[b1,b2]] wow that's mean. here's the quote from help file > FSinOsc fast sine oscillator > FSinOsc.ar(freq, mul, add) > Very fast sine wave generator (2 PowerPC instructions per output sample!) > implemented using a ringing filter. This generates a much cleaner sine > wave than a table lookup oscillator and is a lot faster. However, the > amplitude of the wave will vary with frequency. Generally the amplitude > will go down as you raise the frequency and go up as you lower the frequency. > WARNING: In the current implementation, the amplitude can blow up if the > frequency is modulated by certain alternating signals. the warning is the answer?. I'm guessing. - ---------- >From: Paul Lansky <---@---.---> >To: sc-users@lists.io.com >Subject: inter spawn communication >Date: Tue, Jul 31, 2001, 12:55 PM > > > I'm doing something that has the architecture of the following > (much more elaborately and using OrchScore) > and it seems to work *most* of the time. Is there something wrong > with this picture? > thanks > paul lansky > > Synth.play({arg synth; > a = Spawn.ar({ > FSinOsc.ar([440,471],0.1); > },2); > b = Spawn.ar({ > FSinOsc.ar([1000,1123],0.1) * a ; > },2); > }) > ------------------------------ End of sc-users-digest V1 #336 ******************************