From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #62 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 Monday, September 20 1999 Volume 01 : Number 062 ---------------------------------------------------------------------- Date: Fri, 17 Sep 1999 10:39:56 +0100 From: finer@easynet.co.uk Subject: DAC clock Re : >>How is the SC "clock" - that which tics away on the SC info bar - related >>(if it is) to the Mac system clock ? >> >>I kind of hope it isn't ! > >It is based on the DAC. So SC takes its clock from the DAC - if the DAC is the Apple Sound Manager built in DAC is this beating the same time as the clock we see in the menu bar ie losing time in the case of my machine. Jem ------------------------------ Date: Fri, 17 Sep 1999 12:54:52 +0100 From: finer@easynet.co.uk Subject: File.sc/Int32 I'm trying to read a list as it's being generated into a File. All well and good . . . but for some reason the odd number here and there gets lost intranslation. As the numbers are integers and get quite large I'm using Int32 : Why would 2624 get translated into 3392 ? Why would 3456 get translated into 2688 ? In a slightly wider context : Reading the list l = [ 0, 2624, 2946, 3246, 3456 ]; into file h : 5.do({arg i;h.putInt32(l.at(i));l.at(i).post}); l.at(i).post posts the list 0, 2624, 2946, 3246, 3456 - as it should BUT readAllInt32 from the file posts 0, 3392, 2946, 3246, 2688. Weird or . . . my cock up ! Looking forward to comprehension of this bizarre and puzzling fact. Jem ------------------------------ Date: Fri, 17 Sep 1999 08:13:23 -0600 From: James McCartney <---@---.---> Subject: Re: DAC clock At 3:39 AM -0600 9/17/99, finer@easynet.co.uk wrote: >Re : > >>>How is the SC "clock" - that which tics away on the SC info bar - related >>>(if it is) to the Mac system clock ? >>> >>>I kind of hope it isn't ! >> >>It is based on the DAC. > >So SC takes its clock from the DAC - if the DAC is the Apple Sound Manager >built in DAC is this beating the same time as the clock we see in the menu >bar ie losing time in the case of my machine. The DAC is based on the DAC crystal clock of whatever you are using as your sound output hardware (Sound Mgr, Audiomedia, etc..) This is not the same clock as the Mac real time clock. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Fri, 17 Sep 1999 16:22:41 +0200 From: Staffan Liljegren <---@---.---> Subject: Updated Multiple Delay Loop Pluck This is a multi-part message in MIME format. - --------------006BAD7BFC897200A4F02955 Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit Hi again, I made a slight change in this example, showing how You can remove body resonances in pattern p3. - -Staffan - --------------006BAD7BFC897200A4F02955 Content-Type: multipart/appledouble; boundary="------------adADD08553189557F6A9BB5FF9"; x-mac-type="54455854"; x-mac-creator="53436A6D"; name="Multiple delay loop pluck" Content-Transfer-Encoding: 7bit Content-Description: Document Content-Disposition: inline; filename="Multiple delay loop pluck" - --------------adADD08553189557F6A9BB5FF9 Content-Type: application/applefile Content-Transfer-Encoding: base64 AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAADAAAAVgAAABkAAAAJAAAAbwAAACAAAAAI AAAAjwAAABAAAAAEAAAAnwAAAAAAAAACAAAAnwAAFkBNdWx0aXBsZSBkZWxheSBsb29wIHBs dWNrVEVYVFNDam0BAAAcA0AAAAAAAAAAAAAAAAAAAAAAAAD/cES5/3UmkkttDAD/dSdPAAAB AAAAFfoAABT6AAAARkgtQf/gLUH/5D18AAH/7D18AAH/7i1A//AtQP/0LUD/+Equ/8pP7wAQ ZwAAhEhu/16qAEhu/16oc0hu//yqBi8u/3ZIbv/QqN8vLv96SG7/0KjfVY8vDEhu/tJwAC8A cgE/AS8AcC6qoz4fSgRnBkhu/siooS8u/1qoc0pHZwpCRyBu/8qgH2AmSG7/yiBu/1pIaAAC SG7+0khu/shwAD8AcgAvAajsIG7/yqAfYBgvDEhu/sio9lWPqkA+H0oEZwZIbv7IqKEwB0zu EPD+pE5eTnVOVv/ySOcPGChuAAh+ACZMQgVCBkJu//J4AHAALQAAFPIBDAAAAAAACwAJA+gA AAAJAAAAAAAAAAAABA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AAAAPpgALAAkD6AAAAAkAAAAAAAAAAA+sAAsACQPoAAAACQAAAADA AAAAD7EACwAJA+gAAAAJAAAAAAAAAAAPsgALAAkD6AAAAAkAAHAAAAAAAA+9AAsACQPoAAAA CQAAAAAAAAAAD78ACwAJA+gAAAAJAAAAAMAAAAAPxAALAAkD6AAAAAkAAAAAAAAAAA/ZAAsA CQPoAAAACQAAAADAAAAAD94ACwAJA+gAAAAJAAAAAAAAAAAP3wALAAkD6AAAAAkAAHAAAAAA AA/qAAsACQPoAAAACQAAAAAAAAAAD+wACwAJA+gAAAAJAAAAAMAAAAAP8QALAAkD6AAAAAkA AAAAAAAAAA/9AAsACQPoAAAACQAAAADAAAAAEAEACwAJA+gAAAAJAAAAAAAAAAAQFwALAAkD 6AAAAAkAAAAAwAAAABAcAAsACQPoAAAACQAAAAAAAAAAEB4ACwAJA+gAAAAJAABwAAAAAAAQ IgALAAkD6AAAAAkAAAAAAAAAABAjAAsACQPoAAAACQAAAADAAAAAECgACwAJA+gAAAAJAAAA AAAAAAAAAAAAAQAAABX6AAAU+gAAAEYI0li4OyAAAAAcAEYAAXN0eWwAAAASU09VUAAAAB4A gP//AAAAAAAAAAAAgP//AAAU9gAAAAA= - --------------adADD08553189557F6A9BB5FF9 Content-Type: text/plain; name="Multiple delay loop pluck" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="Multiple delay loop pluck" KA0gDS8vIEEgIHBoeXNpY2FsIHBsdWNrIG1vZGVsIGltcGxlbWVudGVkIHdpdGggbXVsdGlw bGUgZGVsYXkgbG9vcHMsDS8vIHdoaWNoIGlzIHRoZW4gdXNlZCBpbiB2YXJpb3VzIHBhdHRl cm5zIHdoZXJlIHRoZSBndWl0YXIgb3IgcGx1Y2tpbmcgc3R5bGUNLy8gaXMgY2hhbmdlZCBv dmVyIHRpbWUuIHAxIGlzIHRoZSBtb3N0IGludGVyZXN0aW5nIG9uZSBhcyBpdCBtb3JwaHMg dGhlIGd1aXRhcg0vLyBvdmVyIHR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0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0N DQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ== - --------------adADD08553189557F6A9BB5FF9-- - --------------006BAD7BFC897200A4F02955-- ------------------------------ Date: Fri, 17 Sep 1999 17:48:12 +0100 From: finer@easynet.co.uk Subject: UDFile problem Hello, Now I'm sure the solution to this is really easy . . . . I've saved a file to a UDFile - no problem. Looking at it in simple text each list is on a seperate line [ . . . ..], [. . . . .], [ . . . .] and if I want to read it it loads without a hitch. BUT once the individual lists spill on to the next line [ . . . . . . .. ...... . . . . ], I can't read it as it spawns errors. Just wondering what the simple fix is. Thanks, Jem ------------------------------ Date: Sat, 18 Sep 1999 10:16:55 -0600 From: "David Cottle" <---@---.---> Subject: Synth release Hi, Why does CPU and Ugen add up in intrument2 but not instrument1? How do I get intrument2 to release? // Based on Webern's Kinderstuck, 1924 ( var instrument1, instrument2, envelope; instrument1 = { arg freq, amp, pan, env; Pan2.ar(Blip.ar(freq, 3.rand + 2, mul: EnvGen.kr(env) * amp), pan); }; instrument2 = { arg freq, amp, pan, env; var env1, env2, env3, env4, pitch; var left, right, detune, initdecay = 0.1, decay = 0.5; pitch = freq; env1 = Env.perc(0.001, initdecay + decay); env2 = Env.perc(0.001, initdecay + decay); env3 = Env.perc(0.001 + 0.9.rand, initdecay + decay.rand); env4 = Env.perc(0.01 + 0.9.rand, initdecay + decay.rand); detune = 0.01; left = Mix.ar( EnvGen.ar([env1, env2, env3, env4], FSinOsc.ar([pitch, pitch*(2 + detune.value), pitch*(3 + detune.value), pitch*(4 + detune.value)], 1/#[1, 2, 3, 4] )); ) * 0.5; right = DelayN.ar(left, 0.2, 0.05); // delay right channel by two beats [left,right] }; //An envelope with a random attack between 0.01 and 0.0001 envelope = {Env.perc(0.01.rand + 0.0001, 0.6)}; Pbind( \dur, Pseq(#[4]/8, inf), \midinote, Pseq([60], inf), \db, -10, \pan, 0.5, \env, envelope, \ugenFunc, instrument2 ).play; ) ------------------------------ Date: Sat, 18 Sep 1999 18:27:56 +0100 From: "Pieter" <---@---.---> Subject: Audio card support I owned a RME Digi 96/8 Pro Audio Card a few weeks before I discovered SC. Now I realise that SC is not supporting the RME Cards. Will there be support for this card in the near future? Ciao Pieter ------------------------------ Date: Sat, 18 Sep 1999 11:40:31 -0600 From: James McCartney <---@---.---> Subject: Re: Synth release At 10:16 AM -0600 9/18/99, David Cottle wrote: >Hi, > >Why does CPU and Ugen add up in intrument2 but not instrument1? How do I get >intrument2 to release? The DelayN loses the end time stamp. Any delay line will not preserve the end time stamp. You must have a finite duration envelope over the final output stage. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Sat, 18 Sep 1999 11:44:05 -0600 From: James McCartney <---@---.---> Subject: Re: Audio card support At 11:27 AM -0600 9/18/99, Pieter wrote: >I owned a RME Digi 96/8 Pro Audio Card a few weeks before I discovered SC. >Now I realise that SC is not supporting the RME Cards. Will there be support >for this card in the near future? >Ciao >Pieter Doubtful. Are these cards used outside Germany? If they want to send me some hardware I'll look at it. Otherwise no. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Sat, 18 Sep 1999 19:33:39 +0100 From: "Pieter" <---@---.---> Subject: Re: Audio card support - ---------- >Von: James McCartney >An: sc-users@lists.io.com >Betreff: Re: Audio card support >Datum: Sam, 18. Sep 1999 18:44 Uhr > > Doubtful. Are these cards used outside Germany? > If they want to send me some hardware I'll look at it. Otherwise no. my, this was quick! That means I have to choose from the three cards which are listed in the audio-setup menue or are there already other supported cards? Although I have a Kyma-System, I really want to go deeper into SC and will go for a new card. Can you make any suggestions ? Thank you Pieter ------------------------------ Date: Sat, 18 Sep 1999 20:40:05 +0200 From: Ioannis Zannos <---@---.---> Subject: Re: UDFile problem UDFile does look at lists on files line by line. If lists wrap to a new line, UDFile will not work properly. I am not aware if newer versions of SC do this wrapping with the present code of UDFile. Are you producing these lists with an editor or from SC If it is an editor, you do need to remove any line feeds inside lists. Iannis Z. finer@easynet.co.uk wrote: > > Hello, > > Now I'm sure the solution to this is really easy . . . . > > I've saved a file to a UDFile - no problem. > Looking at it in simple text each list is on a seperate line > > [ . . . ..], > [. . . . .], > [ . . . .] > > and if I want to read it it loads without a hitch. > > BUT once the individual lists spill on to the next line > > [ . . . . . . .. > ...... . . . . ], > > I can't read it as it spawns errors. > > Just wondering what the simple fix is. > > Thanks, > > Jem ------------------------------ Date: Sat, 18 Sep 1999 20:53:35 +0100 From: finer@easynet.co.uk Subject: Re: UDFile problem Hi Iannis, I'm producing the lists from SC, yes. I wonder if there is a way to make sure they sit on 1 line. Jem >UDFile does look at lists on files line by line. >If lists wrap to a new line, UDFile will not work properly. >I am not aware if newer versions of SC do this wrapping >with the present code of UDFile. > >Are you producing these lists with an editor or from SC >If it is an editor, you do need to remove any line feeds inside lists. > >Iannis Z. > > >finer@easynet.co.uk wrote: >> >> Hello, >> >> Now I'm sure the solution to this is really easy . . . . >> >> I've saved a file to a UDFile - no problem. >> Looking at it in simple text each list is on a seperate line >> >> [ . . . ..], >> [. . . . .], >> [ . . . .] >> >> and if I want to read it it loads without a hitch. >> >> BUT once the individual lists spill on to the next line >> >> [ . . . . . . .. >> ...... . . . . ], >> >> I can't read it as it spawns errors. >> >> Just wondering what the simple fix is. >> >> Thanks, >> >> Jem ------------------------------ Date: Sat, 18 Sep 1999 17:00:36 -0600 From: James McCartney <---@---.---> Subject: Re: UDFile problem At 1:53 PM -0600 9/18/99, finer@easynet.co.uk wrote: >Hi Iannis, > >I'm producing the lists from SC, yes. > >I wonder if there is a way to make sure they sit on 1 line. When I changed asCompileString to use the new IOStreams, it now inserts new line chars. Object::asCompileString calls Collection::storeOn, which in turn calls Collection:: storeItemsOn, which is where the new line char gets inserted. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Sun, 19 Sep 1999 12:47:39 -0600 From: "David Cottle" <---@---.---> Subject: post comment Hi, One of my students came up with a better way around getting posted information out of your code for the next run. (For example, if you are testing values and haven't set up a "post here always" command so that the values you're testing get posted at the end of the file and you're using command-a to select the code for each run.) In String.sc we added: postc {"//".post; this.post} postcln {"//".post; this.postln} This way the values are posted as comments and won't interfere with the next run. Is this the correct way to do it? ------------------------------ Date: Sun, 19 Sep 1999 16:03:56 -0600 From: James McCartney <---@---.---> Subject: Re: post comment At 12:47 PM -0600 9/19/99, David Cottle wrote: >In String.sc we added: > >postc {"//".post; this.post} >postcln {"//".post; this.postln} > >This way the values are posted as comments and won't interfere with the next >run. Is this the correct way to do it? In Object.sc you should also add: postc { 0000,0000,C000this.asString.postc } postcln { 0000,0000,C000this.asString.postcln; } --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: < ------------------------------ Date: Sun, 19 Sep 1999 15:27:53 -0600 From: "David Cottle" <---@---.---> Subject: Re: post comment Hi, > In Object.sc you should also add: Yeah, I figured this out after getting an error. Thanks. (Also thanks for the help with my previous question. That fixed it.) ------------------------------ Date: Sun, 19 Sep 1999 18:19:56 -0700 From: Geoff Spradley <---@---.---> Subject: Re: Audio card support I haven't bought an RME card yet (I'm waiting for RME's forthcoming Mac SoundManager/ASIO drivers for the new Hammerfall model), but the specs and feature sets look good from the website: A source for RME products in the U.S. is: A while back I remember James posting that he'd received the non- disclosure agreement he'd need in order to develop an ASIO driver for SuperCollider. Presumably, once this driver is in place, ASIO- compatible cards like the MOTU 2048 (and the RME models) would work well with SC, no? - --Geoff >At 11:27 AM -0600 9/18/99, Pieter wrote: >>I owned a RME Digi 96/8 Pro Audio Card a few weeks before I discovered SC. >>Now I realise that SC is not supporting the RME Cards. Will there be support >>for this card in the near future? >>Ciao >>Pieter > >Doubtful. Are these cards used outside Germany? >If they want to send me some hardware I'll look at it. Otherwise no. > > > > --- james mccartney james@audiosynth.com http://www.audiosynth.com >If you have a PowerMac check out SuperCollider2, a real time synth program: > ------------------------------ Date: Mon, 20 Sep 1999 08:36:28 +0100 From: "Pieter" <---@---.---> Subject: Re: Audio card support - ---------- >Von: Geoff Spradley >An: sc-users@lists.io.com >Betreff: Re: Audio card support >Datum: Mon, 20. Sep 1999 2:19 Uhr > > A while back I remember James posting that he'd received the non- > disclosure agreement he'd need in order to develop an ASIO driver > for SuperCollider. Hi, I would be very happy. James, could you please comment wether there will be an ASIO driver from SC and when? Pieter ------------------------------ Date: Mon, 20 Sep 1999 13:06:00 +0100 From: "Pieter" <---@---.---> Subject: Code to clipboard problem everytime when I try to use the "generate code to clipboard" - function from the GUI-menue I get an error. As a total newbie to SC I think it's my fault. Can anybody help me? Thanks Pieter ------------------------------ Date: Mon, 20 Sep 1999 07:28:35 -0600 From: "David Cottle" <---@---.---> Subject: Event trigger Hi, I'm building a group of instruments that will be available in an Event and I don't see a default for a trigger. Here is the part of the instrument which requires a trigger (it's the piano from your examples file): strike = Dust.ar(0.1+0.2.rand, 0.1); // random period for each key hammerEnv = Decay2.ar(strike, 0.015, 0.04); // excitation envelope "strike" is now being used as a random trigger. I need to link this value with the Event with an argument but I don't know which one to use. Do I have to add a value to the environment? If so, how do I bind it with existing events, such as duration, or can I use duration as a trigger? Here a more complete example: // Based on Webern's Kinderstuck, 1924 ( var instrument1, instrument2, envelope, rev; //snip z = { arg midinote; var delayTime, detune, strike, hammerEnv, hammer; // calculate delay based on a random note strike = Dust.ar(0.1+0.2.rand, 0.1); // random period for each key hammerEnv = Decay2.ar(strike, 0.015, 0.04); // excitation envelope Pan2.ar( // array of 3 strings per note Mix.ar(Array.fill(3, { arg i; // detune strings, calculate delay time : detune = #[-0.01, 0, 0.01].at(i); delayTime = 1 / (midinote + detune).midicps; // each string gets own exciter : hammer = LFNoise2.ar(3000, hammerEnv); // 3000 Hz was chosen by ear.. CombL.ar(hammer, // used as a string resonator delayTime, // max delay time delayTime, // actual delay time 6) // decay time of string })), (midinote - 36)/27 - 1 // pan position: lo notes left, hi notes right ) }; b = Pseq(#[0, etc. Pbind( \dur, Pseq(#[ 4, 2, 2, 2, 2, etc. 4, 1, 5, 0, 3, 0, 1, 0, 1]/6), \midinote, Pfunc({c.at(d.next) + (e.next * 12) }), \amp, Pfunc({LFNoise1.kr(0.2, 0.4, 0.5)}), \pan, Pfunc({1.0.rand -0.5}), \env, envelope, \ugenFunc, z ).play(duration:40); ) ------------------------------ Date: Mon, 20 Sep 1999 08:42:12 -0600 From: James McCartney <---@---.---> Subject: Re: Code to clipboard problem At 6:06 AM -0600 9/20/99, Pieter wrote: >everytime when I try to use the "generate code to clipboard" - function from >the GUI-menue I get an error. >As a total newbie to SC I think it's my fault. Can anybody help me? >Thanks >Pieter This was a bug in version 2.2 which was fixed in 2.2.1 What version are you using ? --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Mon, 20 Sep 1999 10:38:15 +0000 From: Colby Leider <---@---.---> Subject: Synth.write crash I don't remember if this issue has come up on the list before, but for awhile now whenever I interrupt writing audio to the disk (with command-period), SC crashes. Has this happened to anyone else? Colby ------------------------------ Date: Mon, 20 Sep 1999 09:24:51 -0600 From: James McCartney <---@---.---> Subject: Re: Event trigger At 7:28 AM -0600 9/20/99, David Cottle wrote: >Hi, > >I'm building a group of instruments that will be available in an Event and I >don't see a default for a trigger. Here is the part of the instrument which >requires a trigger (it's the piano from your examples file): > > strike = Dust.ar(0.1+0.2.rand, 0.1); // random period for each key > hammerEnv = Decay2.ar(strike, 0.015, 0.04); // excitation envelope > >"strike" is now being used as a random trigger. I need to link this value >with the Event with an argument but I don't know which one to use. Do I have >to add a value to the environment? If so, how do I bind it with existing >events, such as duration, or can I use duration as a trigger? OK let me make sure I understand here. You want to trigger events in a TSpawn rather than have them started by durations in a score ? There is a conceptual dissonance here between events as individual entities and events as excitations of a continuous system. You have to decide how you want to resolve this for your situation. Do you want your impulses to trigger separate events in a TSpawn ? Or do you want to trigger impulse responses in a single patch ? In neither case can you use the normal Pattern::play method which is only concerned with duration based scores. If you are triggering a continous system you will need to be setting Plugs for any changes in continuous values in the system. If you are triggering a TSpawn you will pass the event to the TSpawn function. I do an example once you respond to this.. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Mon, 20 Sep 1999 17:50:09 +0100 From: "Pieter" <---@---.---> Subject: Re: Code to clipboard problem - ---------- >Von: James McCartney >An: sc-users@lists.io.com >Betreff: Re: Code to clipboard problem >Datum: Mon, 20. Sep 1999 15:42 Uhr > > What version are you using ? sorry, I didn't realise that there is a new version. I downloaded 2.2.1 and now it's working fine Pieter ------------------------------ Date: Mon, 20 Sep 1999 10:50:09 -0600 From: James McCartney <---@---.---> Subject: Re: Synth.write crash At 4:38 AM -0600 9/20/99, Colby Leider wrote: >I don't remember if this issue has come up on the list before, but for awhile >now whenever I interrupt writing audio to the disk (with command-period), SC crashes. Yes this appears to be a bug.. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Mon, 20 Sep 1999 15:43:26 +0100 From: Martin Robinson <---@---.---> Subject: Dynamically constructed nested loops I want be able to construct nested loops based on the contents of an array of arrays. e.g. given: [[1, 2, 3],[4, 5],[6, 7, 8]] I want to execute something that would return something like: [ 3, 5, 8 ] [ 3, 5, 7 ] [ 3, 5, 6 ] [ 3, 4, 8 ] [ 3, 4, 7 ] [ 3, 4, 6 ] [ 2, 5, 8 ] [ 2, 5, 7 ] [ 2, 5, 6 ] [ 2, 4, 8 ] [ 2, 4, 7 ] [ 2, 4, 6 ] [ 1, 5, 8 ] [ 1, 5, 7 ] [ 1, 5, 6 ] [ 1, 4, 8 ] [ 1, 4, 7 ] [ 1, 4, 6 ] Is there a neater or more efficient way than the following?: ( var coll, ic, iters=1; coll = [ [1, 2, 3], [4, 5], [6, 7, 8] ]; ic = coll.collect({ arg item, i; var iSize; iSize = item.size; iters = iters*iSize; iSize-1 }); iters.do({ arg i; var theItemi; ic.collect({ arg icitem, ici; coll.at(ici).at(icitem) }).postln; ic.put(ic.size-1, ic.last-1); while({ ic.any({ arg icitem; icitem < 0}) }, { ic.detect({ arg item, ici; theItemi = ici; item < 0 }); if(theItemi > 0, { ic.put(theItemi, coll.at(theItemi).size-1); ic.put(theItemi-1, ic.at(theItemi-1)-1) }, { ic.put(0, 0)} ) } ) }) ) >>>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_sonicArts.at(middlesexUniversity.london.uk); ______ <><><>__this.liveElectronics.interFaces.diffusion ____ || ------------------------------ Date: Mon, 20 Sep 1999 10:50:46 -0600 From: "David Cottle" <---@---.---> Subject: Re: Event trigger Hi, > events in a TSpawn rather than have them started by durations > in a score ? They will be started by durations in a score, or more precisely, a pattern, I thnk. (The project is a set of variations of Webern's piano works. Mixing and matching the duration sequences in the score with different rows‹so the durations stay the same but midi information is different.) > Do you want your impulses to trigger separate events in a TSpawn ? > Or do you want to trigger impulse responses in a single patch ? I guess I'm not sure what you're asking. I tried to pare down the example below and it seems I'm getting two triggers. The one inside the instrument and the correct one from the Pbind. I often work by cutting and pasting from stuff I've already done or the examples and documentation. The results are often convoluted combinations. Maybe this is the case. I've commented in caps where I think I'm missing the connection. Basically I want the instrument2 to work like instrument1, if that's possible: // Based on Webern's Kinderstuck, 1924 ( var instrument1, instrument2, envelope, rev; instrument1 = { arg freq, amp, pan, env; Pan2.ar(Blip.ar(freq, 3.rand + 2, mul: EnvGen.kr(env) * amp), pan); }; instrument2 = { arg midinote; //ADD TRIGGER? var delayTime; delayTime = 1 / midinote.midicps; CombL.ar(LFNoise2.ar(3000, Decay2.ar( Impulse.kr(1), //REPLACE WITH TRIGGER? 0.015, 0.04, 0.01) ), // used as a string resonator delayTime, // max delay time delayTime, // actual delay time 6) // decay time of string }; //An envelope with a random attack between 0.01 and 0.0001 rev = { arg in; 4.do({ in = AllpassN.ar(in, 0.04, [0.02.rand,0.02.rand], 2); }); in}; envelope = {Env.perc(0.01.rand + 0.0001, 0.6)}; b = Pseq(#[0, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 10, 11, 0, //etc. 9, 10, 11, 10, 11, 10, 11]); e = Pseq(#[4, 5, 5, 3, 3, 4, 5, 6, 3, 4, 5, 3, 4, 3, 4, 5, //bar5 //etc. 5, 3, 4, 3, 3, 2, 6, 2, 6, 2, 6 ]-4).asStream; d = b.asStream; c = #[ [ 63, 64, 60, 71, 70, 61, 62, 69, 68, 67, 66, 65 ], //o [ 65, 66, 67, 68, 69, 62, 61, 70, 71, 60, 64, 63 ], //r [ 63, 62, 66, 67, 68, 65, 64, 69, 70, 71, 60, 61 ], //i [ 61, 60, 71, 70, 69, 64, 65, 68, 67, 66, 62, 63 ] //ir ].choose; c.at(0).postcln; Pbind( \dur, Pseq(#[ 4, 2, 2, 2, 2, //etc 4, 1, 5, 0, 3, 0, 1, 0, 1]/6), \midinote, Pfunc({c.at(d.next) + (e.next * 12) }), \amp, Pfunc({LFNoise1.kr(0.2, 0.4, 0.5)}), \pan, Pfunc({1.0.rand -0.5}), \env, envelope, \ugenFunc, instrument2 ).play(duration:40); ) ------------------------------ Date: Mon, 20 Sep 1999 13:59:42 -0600 From: James McCartney <---@---.---> Subject: Re: Event trigger At 10:50 AM -0600 9/20/99, David Cottle wrote: >Basically I want >the instrument2 to work like instrument1, if that's possible: Your instrument2 has no envelope, therefore each note is running forever. Since you are using Impulse.ar(1) to trigger it, each voice that is spawned continues to trigger each second. Impulse.ar(0) will only trigger once, but you still need an envelope over the event to cut it off. Multiply the output with something like: EnvGen.kr( Env(#[1,1,0],[cutoffTime, 0.01],\linear,1) ) Where cutoffTime is some time you calculate at which to cut off the note. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ End of sc-users-digest V1 #62 *****************************