From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #1 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 Thursday, June 11 1998 Volume 01 : Number 001 ---------------------------------------------------------------------- Date: Fri, 22 May 1998 11:56:07 +0200 (MET DST) From: Dirk Haubrich <---@---.---> Subject: -200 & -227 error on G3 + AMIII I am using a G3 233Mhz and system 8.0. There is an audiomedia 3 installed, but I don't use it. In the controlpanel I select "microphone" as inputsource. Any patch, that is using sound-in is not working. Even a simple thru patch. the errors I receive are: error -200 SpbopenDevice error -227 Going back to the controlpanel and I see, that "microphone" had been automatically switched to "none". dirk ------------------------------ Date: Fri, 22 May 1998 15:03:40 +0200 From: dudas <---@---.---> Subject: Re: -200 & -227 error on G3 + AMIII >Any patch, that is using sound-in is not working. Even a simple thru >patch. >the errors I receive are: error -200 > SpbopenDevice error -227 I don't know if these errors imply the following, but anyway, I do know the external sound card support was removed from the Monitors and Sound control panel for some unknown reason. So, whether or not you are actually using the card for i/o, you should try installing the regular "Sound" control panel (v. 8.0.5) and this may solve the problem... or maybe not... - -Richard ------------------------------ Date: Fri, 22 May 1998 18:40:46 -0400 From: Philip Galanter <---@---.---> Subject: Creating Dolby AC-3 mixes This is a little bit off topic, but not too far I hope... What I would like to do is create a 4 channel (i.e. one speaker in each corner) SC(2!) piece, but then code the 4 tracks using Dolby AC-3 for surround sound delivery...possibly via DVD... There is a Dolby Surround TDM plug-in for Pro Tools, but Dolby Surround is an older process, and the rear channels are not discreet... Any experience with or suggestions about rolling-your-own computer music AC-3 sound out there? =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Philip Galanter New York University phone: 212-998-3041 Associate Director 251 Mercer fax: 212-995-4120 for Arts Technology New York, NY 10012 internet: galanter@nyu.edu N Y U A c a d e m i c C o m p u t i n g F a c i l i t y Info, resources, art gallery, and more... http://www.nyu.edu/atg/ ------------------------------ Date: Fri, 22 May 1998 18:29:23 -0700 From: James McCartney <---@---.---> Subject: Re: Creating Dolby AC-3 mixes At 3:40 PM -0700 5/22/98, Philip Galanter wrote: > >Any experience with or suggestions about rolling-your-own computer music >AC-3 sound out there? You may find an answer by asking on the surround sound mailing list : sursound@lists.uoregon.edu I don't recall what the subscribe user address is, majordomo or listserve, etc.. SC2 does have an ambisonic B-format panner if you found something that would go B-format to AC-3. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Fri, 22 May 1998 16:43:50 -0700 From: Alex Stahl <---@---.---> Subject: Re: Creating Dolby AC-3 mixes Start here: http://www.dolby.com/digital/ddpem.html There are links to many ac3 encoders, including a few software-only. Rolling your own without a license will incur the wrath of Dolby lawyers, of which there are quite a few! Fortunately typical DVD mastering includes the encoding so you don't have to do it yourself. Also, beware that mixes made in a classical electronic-music quad configuration may not translate very well to cinema or home-theatrical surround playback. The rear channels in Dolby surround are intenionally diffuse, and better suited for ambience than localized sources in the rear. (Film mixers want to keep people's eyes on the screen, right?) As a result for example a circular pan turns into something very lopsided. Tweaking the pan laws can sort of compensate, but you should consider developing and mixing your piece through a surround system rather than a quad system for best results. - -Alex Stahl At 3:40 PM -0700 5/22/98, Philip Galanter wrote: >This is a little bit off topic, but not too far I hope... > >What I would like to do is create a 4 channel (i.e. one speaker in each >corner) SC(2!) piece, but then code the 4 tracks using Dolby AC-3 for >surround sound delivery...possibly via DVD... > >There is a Dolby Surround TDM plug-in for Pro Tools, but Dolby Surround is >an older process, and the rear channels are not discreet... > >Any experience with or suggestions about rolling-your-own computer music >AC-3 sound out there? > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >Philip Galanter New York University phone: 212-998-3041 >Associate Director 251 Mercer fax: 212-995-4120 >for Arts Technology New York, NY 10012 internet: galanter@nyu.edu > > N Y U A c a d e m i c C o m p u t i n g F a c i l i t y > >Info, resources, art gallery, and more... http://www.nyu.edu/atg/ ------------------------------ Date: Fri, 22 May 1998 22:02:56 -0700 From: James McCartney <---@---.---> Subject: Re: -200 & -227 error on G3 + AMIII - -227 means that the sound manager says there is no sound input hardware. Perhaps the AMIII's sound mgr drivers do not allow sound input? If so, you may have to remove it from the extensions. I don't have an AMIII to test. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Sat, 23 May 98 21:32:00 +0200 From: Jae Ho Chang <---@---.---> Subject: Re: -200 & -227 error on G3 + AMIII > Perhaps the AMIII's sound mgr drivers do not allow sound input? > If so, you may have to remove it from the extensions. That extension is probably DigiSystem INIT. The Sound Manager call SPBGetIndexedDevice() returns an error code -227 (no hardware error) when the DigiSystem INIT is installed. My programs simply ignore the error, since further things work fine. This might be a bug in the extension. Jae Ho Chang :-) http://www.xs4all.nl/~jaeho Institute of Sonology Royal Conservatory, The Hague ------------------------------ Date: Mon, 25 May 1998 15:47:34 +0200 From: staffan@medialab.ericsson.se (Staffan Liljegren) Subject: Sc2 Questions I have 2 questions (see initial comments in the code sample below) that I would like some help with. /Staffan Liljegren ( // A simple plucked string instrument for chords and arpeggios // Staffan Liljegren 980525 // Two questions: // 1 - Is it valid to use Impulse.ar with 0 frequency in the exciter x? // (it works anyway) // 2 - Will CombA generate "in tune" notes, with 1/cps delays ? Synth.play( // loops through chord sequence Spawn.ar({ var chord; // Just some sample C-minor triads chord = [[60, 63, 67], [65, 68, 72], [55, 58, 62]].choose; if ( 1.0.rand < 0.1, { // 10 % chance of rest nil },{ // else return the following : // plucks three 'strings' in arpeggio or chord Spawn.ar({ var note,x, y, e; note = chord.choose; note = (note - [0,12,24].choose).midicps; // A simple exciter x, with some randomness. x = Decay.ar(Impulse.ar(0, 0.2+0.2.rand), 0.1+0.2.rand, BrownNoise.ar); // envelope needed to stop sound e = Env.new([1, 1, 0],[3, 0.001]); x = CombA.ar(x, 0.05, 1/note, 2+1.0.rand) * EnvGen.kr(e); Pan2.ar(x, 1.0.rand2) }, 2, 0.33, 3) // stereo, nextTime is 0 for chord // or more for arpeggios, no of notes }) }, 2, 1) // stereo, nextTime in 1 second)) ------------------------------ Date: Mon, 25 May 1998 09:50:09 -0700 From: James McCartney <---@---.---> Subject: Re: Sc2 Questions At 6:47 AM -0700 5/25/98, Staffan Liljegren wrote: >// Two questions: >// 1 - Is it valid to use Impulse.ar with 0 frequency in the exciter x? >// (it works anyway) Yes. Then you get one initial impulse only. >// 2 - Will CombA generate "in tune" notes, with 1/cps delays ? Yes. btw: 1.0.rand < 0.1 can also be expressed as 0.1.coin --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Mon, 25 May 1998 17:03:19 +0200 From: staffan@medialab.ericsson.se (Staffan Liljegren) Subject: Re: Sc2 Questions Good. Another question about Spawn: I tried using [0.5, 1, 2].choose as the 3rd argument (nextTime), but it doens't seem to work properly. What is the reason for this ? /staffan | From owner-sc-users@lists.io.com Mon May 25 16:56 MET 1998 | | At 6:47 AM -0700 5/25/98, Staffan Liljegren wrote: | | >// Two questions: | >// 1 - Is it valid to use Impulse.ar with 0 frequency in the exciter x? | >// (it works anyway) | | Yes. Then you get one initial impulse only. | | >// 2 - Will CombA generate "in tune" notes, with 1/cps delays ? | | Yes. | | | btw: | 1.0.rand < 0.1 | can also be expressed as | 0.1.coin | | | --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com | If you have a PowerMac check out SuperCollider, a real time synth program: | http://www.audiosynth.com | | | | ------------------------------ Date: Mon, 25 May 1998 11:13:57 -0700 From: James McCartney <---@---.---> Subject: Re: Sc2 Questions At 8:03 AM -0700 5/25/98, Staffan Liljegren wrote: >Good. Another question about Spawn: I tried using >[0.5, 1, 2].choose as the 3rd argument (nextTime), >but it doens't seem to work properly. What is the >reason for this ? Because that value is evaluated once when the Spawn is created and then used forever thereafter. That is just the way arguments are passed to functions. However the nextTime argument is allowed to be a function, so all you have to do is write: { #[0.5, 1, 2].choose } and then it should work. You should write constant arrays as a literal using the # character. Then the list is created once at compile time rather than run time each time. You can also set nextTime from within the Spawn function: Spawn.ar({ arg spawn; spawn.nextTime = #[0.5, 1, 2].choose; Here's your patch with some mods. The envelope is always the same, so I moved it out of the Spawn function. Now it only gets created once and used many times, rather than created each time it is used. Note that Env is not a unit generator, it is just a data object used by EnvGen. I made all the constant arrays into literals with #. I put the EnvGen into the mul argument of the CombA. This is a bit more efficient. And just for fun I made the nextTime for each chord note be random for each chord from zero to 0.33. (I'm not sending it as a function as described above, because in this case I do want it to be evaluated once and then constant.) Can I have your permission to include this as a demo (with credit)? ProFont( // A simple plucked string instrument for chords and arpeggios // Staffan Liljegren 980525 (slightly modified by JMc) var env; // envelope needed to stop sound env = Env.new(#[1, 1, 0],#[3, 0.001]); Synth.play( // loops through chord sequence Spawn.ar({ var chord; // Just some sample C-minor triads chord = #[[60, 63, 67], [65, 68, 72], [55, 58, 62]].choose; if ( 1.0.rand << 0.1, { // 10 % chance of rest nil },{ // else return the following : // plucks three 'strings' in arpeggio or chord Spawn.ar({ var note,x, y; note = chord.choose; note = (note - #[0, 12, 24].choose).midicps; // A simple exciter x, with some randomness. x = Decay.ar(Impulse.ar(0, 0.1+0.1.rand), 0.1+0.2.rand, BrownNoise.ar); x = CombA.ar(x, 0.05, 1/note, 2+1.0.rand, EnvGen.kr(env)); Pan2.ar(x, 1.0.rand2) }, 2, 0.33.rand, 3) // stereo, nextTime is 0 for chord // or more for arpeggios, no of notes }) }, 2, 1) // stereo, nextTime in 1 seconds )) --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Mon, 25 May 1998 20:02:13 +0200 From: Staffan Liljegren <---@---.---> Subject: Re: Sc2 Questions James, Thanks a lot for Your explanations. You can of course use the code as a demo . - -Staffan James McCartney wrote: > At 8:03 AM -0700 5/25/98, Staffan Liljegren wrote: > >Good. Another question about Spawn: I tried using > >[0.5, 1, 2].choose as the 3rd argument (nextTime), > >but it doens't seem to work properly. What is the > >reason for this ? > > Because that value is evaluated once when the Spawn is created and > then used forever thereafter. That is just the way arguments are > passed to functions. > > However the nextTime argument is allowed to be a function, so all you > have to do is write: { #[0.5, 1, 2].choose } and then it should work. > You should write constant arrays as a literal using the # character. > Then the list is created once at compile time rather than run time each time. > > You can also set nextTime from within the Spawn function: > Spawn.ar({ arg spawn; > spawn.nextTime = #[0.5, 1, 2].choose; > > Here's your patch with some mods. > > The envelope is always the same, so I moved it out of the Spawn function. > Now it only gets created once and used many times, rather than created > each time it is used. Note that Env is not a unit generator, it is just > a data object used by EnvGen. > > I made all the constant arrays into literals with #. > > I put the EnvGen into the mul argument of the CombA. This is a bit > more efficient. > > And just for fun I made the nextTime for each chord note be random > for each chord from zero to 0.33. (I'm not sending it as a function > as described above, because in this case I do want it to be evaluated > once and then constant.) > > Can I have your permission to include this as a demo (with credit)? > > ( > // A simple plucked string instrument for chords and arpeggios > // Staffan Liljegren 980525 (slightly modified by JMc) > > var env; > // envelope needed to stop sound > env = Env.new(#[1, 1, 0],#[3, 0.001]); > > Synth.play( > // loops through chord sequence > Spawn.ar({ > var chord; > // Just some sample C-minor triads > chord = #[[60, 63, 67], [65, 68, 72], [55, 58, 62]].choose; > > if ( 1.0.rand < 0.1, { // 10 % chance of rest > nil > },{ // else return the following : > // plucks three 'strings' in arpeggio or chord > Spawn.ar({ > var note,x, y; > > note = chord.choose; > note = (note - #[0, 12, 24].choose).midicps; > > // A simple exciter x, with some randomness. > x = Decay.ar(Impulse.ar(0, 0.1+0.1.rand), > 0.1+0.2.rand, BrownNoise.ar); > > x = CombA.ar(x, 0.05, 1/note, 2+1.0.rand, > EnvGen.kr(env)); > > Pan2.ar(x, 1.0.rand2) > }, 2, 0.33.rand, 3) // stereo, nextTime is 0 for chord > // or more for arpeggios, no of notes > }) > }, 2, 1) // stereo, nextTime in 1 seconds > )) > > --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com > If you have a PowerMac check out SuperCollider, a real time synth program: > http://www.audiosynth.com ------------------------------ Date: Tue, 26 May 1998 07:52:04 GMT From: laurson@siba.fi (Mikael Laurson) Subject: SC2d14 after June 1? >James McCartney wrote in the READ ME file of SC2d14: >The program will expire on June 1, 1998 What will happen after June 1? I am asking this question as I am using the demo version of SC2 more or less regularly in order to study the new syntax and the new unit generators. Is it possible to expand the time limit so that the demo version could be used until the final version is out? Mikael ================================ Mikael Laurson Hollantilaisentie 1 A 2 00300 Helsinki 33 Finland E-mail: laurson@siba.fi ================================ ------------------------------ Date: Tue, 26 May 1998 10:39:54 +0200 From: Ioannis Zannos <---@---.---> Subject: Re: SC2d14 after June 1? At 7:52 am +0000 26.5.1998, Mikael Laurson wrote: >>James McCartney wrote in the READ ME file of SC2d14: >>The program will expire on June 1, 1998 > >What will happen after June 1? I am asking this >question as I am using the demo version of SC2 more or >less regularly in order to study the new syntax and the >new unit generators. > >Is it possible to expand the time limit so that the demo >version could be used until the final version is out? > I would like to 'second' on Mikaels question. This seems to me important, because there is quite some activity on SC2 going on already as one can see from this list. Iannis ======================================= Ioannis Zannos Staatliches Institut fuer Musikforschung Tiergartenstr. 1, D-10785 Berlin, Germany Tel: +49 30 25481140 Fax: +49 30 25481172 ------------------------------ Date: Tue, 26 May 1998 09:20:00 -0700 From: James McCartney <---@---.---> Subject: Re: SC2d14 after June 1? I will post a new version by the end of the week. At 1:39 AM -0700 5/26/98, Ioannis Zannos wrote: >At 7:52 am +0000 26.5.1998, Mikael Laurson wrote: >>>James McCartney wrote in the READ ME file of SC2d14: >>>The program will expire on June 1, 1998 >> >>What will happen after June 1? I am asking this >>question as I am using the demo version of SC2 more or >>less regularly in order to study the new syntax and the >>new unit generators. >> >>Is it possible to expand the time limit so that the demo >>version could be used until the final version is out? >> > >I would like to 'second' on Mikaels question. This seems >to me important, because there is quite some activity >on SC2 going on already as one can see from this list. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Wed, 27 May 1998 08:15:52 GMT From: laurson@siba.fi (Mikael Laurson) Subject: DelayWr and Taps Coming back to a previous discussion on DelayWr and Taps. I hope I don't sound too obstinate when bringing up this matter again but I would like to find out what is the most efficient way to control the feedback part of a delay loop in SC. > James McCartney wrote: >You cannot have delay times less than one control period for >DelayWr,Tap. >You are using the default period of 64 samples. Synth.play can be >passed a block size to use. >Note that the encapusated delay UGens like Delay, Comb, Allpass do not have >the block size restriction. Only when you have an explicit feedback >do you have the limit. If I understand it well it seems that the DelayWr is here the bottle neck. Is it possible to have a version of DelayWr that would be able to write every sample (and not every control period as the current version of DelayWr does)? Antother possibility would be to have a version of CombL, CombA, etc. where you could pass as an argument a patch that would define what should happen at the feedback loop (typically I would like to lowpass-filter the feedback). This would be a nice solution as the Comb filters are simpler to use than DelayWr/Tap. I am fully aware that my issue has not the highest priority in the current situation when the final version of SC2 should come out. But I think my problems raises a more general question about the future of SC2. Can SC users order in the future (either individually or collectively) new modules for their specific needs? I think this would make a lot of sense as even though SC2 contains many useful tools there are always situations where one needs new modules that are not available in the current system. Mikael ================================ Mikael Laurson Hollantilaisentie 1 A 2 00300 Helsinki 33 Finland E-mail: laurson@siba.fi ================================ ------------------------------ Date: Wed, 27 May 1998 09:10:58 -0700 From: James McCartney <---@---.---> Subject: Re: DelayWr and Taps >If I understand it well it seems that the DelayWr is here the bottle neck. >Is it possible to have a version of DelayWr that would be able to write >every sample (and not every control period as the current version >of DelayWr does)? That is not possible. Unit generators have to execute in some order. In order to feedback from one ugen to another you can't have a feedback less than a control period. Think about it. > >Antother possibility would be to have a version of CombL, CombA, etc. >where you could pass as an argument a patch that would define >what should happen at the feedback loop (typically I would like >to lowpass-filter the feedback). This would be a nice solution as >the Comb filters are simpler to use than DelayWr/Tap. This would have to be implemented in the same way and would have the same limitation. The only way to have a single sample feedback is to have a single sample control period. This is not just some arbitrary limitation that I've decided to impose. >I am fully aware that my issue has not the highest priority >in the current situation when the final version of SC2 should come out. > >But I think my problems raises a more general question about >the future of SC2. All other block oriented synth systems have the same limitation. SC2 is less limited than others because you CAN have a single sample control period voice operating at the same time as other longer control period voices. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Wed, 27 May 1998 09:22:53 -0700 From: James McCartney <---@---.---> Subject: Re: DelayWr and Taps >Can SC users order in the future (either individually or collectively) new >modules for their specific needs? I think this would make a lot of sense >as even though SC2 contains many useful tools there are always situations >where one needs new modules that are not available in the current system. I do intend to allow user plug in UGens in the future, but it will not happen in the first release. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Thu, 28 May 1998 05:33:29 -0400 From: Kevin Parks <---@---.---> Subject: displaying pics and Gui backgrounds, etc ok. I have held off on this dumb question for a while. but i just gotta ask: one thing that i would like to do is algorhithmically display a graphic (a pic file) depending on some musical params and other mumbo-jumbo. Like for example, if a certain sample is played or a certain note is chosen a picture of my aunt or my dog or my lunch is put up on a part of a the screen. This should be easy, no? But i could never get this to work in SC. I can't seem to even get a pict to flash up on the screen, nor have i been able to get a background pict on the GUI, even though in the GUI Window Options there is a menu for making a pict background. I have never seen a toot on just this thing. I tried making a pict resource and entering the resource # and all, but no go. So, can anyone spoon feed me a working example as a template or explain how this is done. cheers, kevin parks kevin@raven.dartmouth.edu ------------------------------ Date: Thu, 28 May 1998 10:42:47 -0600 From: antiorp@tezcat.com (=cw4t7abs) Subject: Re: displaying pics and mumbo-jumbo. backgrounds >one thing that i would like to do is algorhithmically >display a graphic (a pic file) depending on some musical >params and other mumbo-jumbo. draw { drawPicture(itemRect,134); } krop3rom_|-a9ff -\\_ -f---3.m2sk1n3nkunzt -http://194.19.130.194/=cw4t7abs anTi_s!g-naTure_kampa!gn.10-62.k _1 ||||||||||||://|||||||||.|||||||||||||||||||||.||||||||| ||||||||| |||||||||||| |||||| |||||||||||| |||||||||||| 3,000± .erreur l.amour. l.erreur.sufranss hTTp://www.wired+sukx.com/news/news/culture/story/11678.html ------------------------------ Date: Fri, 29 May 1998 13:35:23 -0700 From: Garrett James <---@---.---> Subject: standalone apps Hello folks, I had much success and inspiration using supercollider back in school at Dartmouth College. Now i wish to write some of my own standalone realtime audio apps for macintosh. The only macintosh environment however i am familiar with is Supercollider. I spend most of my day working on the NT/pentium platform. (cringe) I would really appreciate it if someone who does low level/realtime work in assembly/C on a macintosh gave me a quick intro as to what tools for macintosh are used, and what references are available for development. Things I would like recommendations for: which development environment should i purchase: (code warrior? mpw?) will older versions be okay? speed analysis/processor debug tools (on NT i use VTune, something similar for macintosh is absolutely necessary for the ideas id like to implement) references: what web pages/books/libraries should i get/find for working with audio on the lowest level. (i have much more experience actually with realtime 3d graphics, so its similar, but not at all the same ;-). I would also like some tips onto how i should go about learning the application interface programming on a mac. (unfortunately my skills are in motif and windows) and if anyone can comment how is working with the G3 compared to the 604? Thankyou very much for your help, Garrett James Garrett James Dynamic Pictures, Inc. http://www.dynamicpictures.com/ ------------------------------ Date: Mon, 1 Jun 1998 08:48:14 -0700 From: James McCartney <---@---.---> Subject: SC2d16 now available Since SC2d14 expires today, here's a new development copy. download size is 1.6Mb --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Mon, 01 Jun 1998 17:01:22 +0200 From: Staffan Liljegren <---@---.---> Subject: Re: SC2d16 now available James, Great! I have problems with getting cmd-H to work directly in some ugen in a piece of code (it worked in d14). It gives an error message. But it works OK in Your new help-help page. Many of the examples in help files for Oscillator UGens are still giving error messages, like COsc, COsc2. I checked all the new examples ( examples6, Pattern , Sound file examples etc ) and they work good on my 7600/132. Is there a help file for PingPong ? - -Staffan James McCartney wrote: > Since SC2d14 expires today, here's a new development copy. > > > > download size is 1.6Mb > > --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com > If you have a PowerMac check out SuperCollider, a real time synth program: > http://www.audiosynth.com ------------------------------ Date: Mon, 1 Jun 1998 11:08:26 -0700 From: James McCartney <---@---.---> Subject: Re: SC2d16 now available At 8:01 AM -0700 6/1/98, Staffan Liljegren wrote: >James, > >Great! I have problems with getting cmd-H to work directly in some ugen in a >piece of code >(it worked in d14). It gives an error message. But it works OK in Your new >help-help page. I don't understand. What exactly is giving an error and what is the error? >Is there a help file for PingPong ? not yet. It is just one of the DelayWr examples packaged up as a class. Open the class definition and look at that. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Mon, 1 Jun 1998 11:14:36 -0700 From: James McCartney <---@---.---> Subject: Re: SC2d16 now available I've noticed there is a problem in the demo. If you run out of your 30 minutes then the next time it will crash because sound was not shut off properly. I will fix this. So you may want to wait if you've not downloaded already. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Mon, 1 Jun 1998 12:07:04 -0700 From: James McCartney <---@---.---> Subject: SC2d17 now available The time-out bug is fixed. I also fixed the errors in the oscillator examples pointed out by Staffan Liljegren. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Mon, 1 Jun 1998 13:03:33 -0400 From: kbabb@escape.com (Kenneth N Babb) Subject: Re: SC2d16 now available James, Someone mentioned an error message that occurs with Cmd H . Just downloaded the latest update and I've experienced the same thing. The error dialogue box reads: The command could not be completed because an error occured. Error ID: -120 I did not get this with previous SC 2.0. Regards, Kenneth Babb ------------------------------ Date: Mon, 1 Jun 1998 13:16:19 -0400 From: kbabb@escape.com (Kenneth N Babb) Subject: Cmd H error message >James, > >Someone mentioned an error message that occurs with Cmd H . Just downloaded >the latest update and I've experienced the same thing. The error dialogue >box reads: > >The command could not be completed because an error occured. > >Error ID: -120 > >I did not get this with previous SC 2.0. > > Sorry, I should have said that error message occured in SC2d16. That message went out before I recieved your post about SC2d17. Regards, Kenneth Babb ------------------------------ Date: Mon, 1 Jun 1998 14:57:40 -0700 From: James McCartney <---@---.---> Subject: Re: SC2d17 now available At 12:07 PM -0700 6/1/98, James McCartney wrote: > > >The time-out bug is fixed. Uhh, the bug persists. Well sorry. I will announce again once I'm sure its fixed. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Tue, 2 Jun 1998 06:47:26 GMT From: laurson@siba.fi (Mikael Laurson) Subject: Comments on SC2d17 I tested the new version and it seems to work fine. I am especially glad to find that it contains many new useful modules like Samp and SOS. I encountered problems in the following examples: - - from "examples 2" what was I thinking? - - from "examples 3" reverberated sine percussion reverberated noise bursts They all use the CombL module in combination with the LFNoise1 module. If I switch CombL to CombA the examples are working more or less as before. Mikael ================================ Mikael Laurson Hollantilaisentie 1 A 2 00300 Helsinki 33 Finland E-mail: laurson@siba.fi ================================ ------------------------------ Date: Tue, 2 Jun 1998 09:35:54 -0700 From: James McCartney <---@---.---> Subject: Re: Comments on SC2d17 At 11:47 PM -0700 6/1/98, Mikael Laurson wrote: >I tested the new version and it seems to work fine. >I am especially glad to find that it contains many new >useful modules like Samp and SOS. There is a crashing bug that I've fixed and will upload today. >I encountered problems in the following examples: > >- from "examples 2" > what was I thinking? > >- from "examples 3" > > reverberated sine percussion > reverberated noise bursts > >They all use the CombL module in combination with the LFNoise1 module. >If I switch CombL to CombA the examples are working more or less as before. This bug is actually in d14 as well, but did not show up as often. It is proving a bit elusive, because inserting any debug code into CombL or running with the debugger on makes the problem go away. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Tue, 2 Jun 1998 13:04:01 -0700 From: James McCartney <---@---.---> Subject: SCd18 now available This time the 30 minute time out crash is fixed for real. Also CombL is fixed. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ Date: Tue, 09 Jun 1998 00:53:39 -0500 From: Philip Galanter <---@---.---> Subject: scheduling events from a score file? I am still learning SC, starting with the SC2 beta, and I don't understand using a score file to schedule events. Part of the answer must be in McCartney's earlier post (below) but I still don't get it... Say I have a simple score file of the form... [ [ , ], ... [ , ] ] Could someone provide a short code example that schedules the notes the recursive "right way" as per below? I am sure other beginners will find it useful too... thanks! Phil >The short answer is wait for version 2. For one thing in version 2 you >do not need to read the score yourself since you can read and execute >files with the interpreter. So any valid compilable text can be your score. >The following will read an entire score: > >myscore = interpreter.interpretFile("filename"); > >where your score file might look like this: >[ >[1, 2, 3, 4], >[5, 6, 7, 8], >... >[99, 99, 99, 99] >] > >or contain any executable text such as expressions and function definitions. > >--- > >You can only sched 512 items at once. This is also a problem with Stephen >Pope's examples. The right way to do it is read the entire file, and call >a function that plays the first event and then schedules itself to play the >next event. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Philip Galanter New York University phone: 212-998-3041 Associate Director 251 Mercer fax: 212-995-4120 for Arts Technology New York, NY 10012 internet: galanter@nyu.edu N Y U A c a d e m i c C o m p u t i n g F a c i l i t y Info, resources, art gallery, and more... http://www.nyu.edu/atg/ ------------------------------ Date: Tue, 9 Jun 1998 10:29:31 +0100 From: finer@easynet.co.uk (Jem Finer) Subject: SC2 slightly uncrippled Dear James, I was wondering when the full working or less crippled version was due. I'm going to France on tuesday 16th June and would love to use SC2 in a performance there. Cheers, Jem Finer Kentish Town London NW5 finer@easynet.co.uk ------------------------------ Date: Tue, 9 Jun 1998 16:13:59 +0200 From: laurson@siba.fi (Mikael Laurson) Subject: SC2d18 Some comments and questions concerning SC2d18: (1) If I give in Finder SC a very large memory partition (say over 40 megs) SC refuses occasionally to quit. (2) The method sustainLoopEnd does not to work correctly. The value returned by sustainLoopEnd is not equal to the one given by Alchemy (in the file information dialogue). If I use the value given by Alchemy Samp works correctly otherwise there is a click in the loop. (3) I would like to reverberate single events inside Spawn with a global reverb. What is the best way to do this? Probably my problem is quite close to the "reverberated sine percussion" example in "examples 3". The main difference is that the "reverberated sine percussion" example does not use Spawn to create events. In SC1 I used for a similar problem the defbus/out modules. What is the SC2 equivalents to the SC1 Defbus/out modules? Are they needed in SC2? (4) In the "Griot modeling" example the strings are tuned with the expression: tapTimes = Array.ramp(n, 0.003, 0.0005); What I would like to do is to change the pitches of the strings while making pluck-events inside Spawn. If I write inside Spawn new values into the tapTimes array it has no effect. How can I make the tapTimes array dynamic? Should I use controls instead of numbers? Mikael ================================ Mikael Laurson Hollantilaisentie 1 A 2 00300 Helsinki 33 Finland E-mail: laurson@siba.fi ================================ ------------------------------ Date: Tue, 9 Jun 1998 18:37:27 -0500 From: james@clyde.as.utexas.edu (James McCartney) Subject: Re: SC2 slightly uncrippled It will not be before the 16th. I will try to get it out as soon as possible. I am currently out of town until Saturday. - --- james ------------------------------ Date: Thu, 11 Jun 1998 18:32:29 -0700 From: James McCartney <---@---.---> Subject: Re: SC2d18 At 7:13 AM -0700 6/9/98, Mikael Laurson wrote: >Some comments and questions concerning SC2d18: > >(1) If I give in Finder SC a very large memory partition (say over 40 megs) >SC refuses occasionally to quit. What machine, system, etc..? >(2) The method sustainLoopEnd does not to work correctly. >The value returned by sustainLoopEnd is not equal >to the one given by Alchemy (in the file information dialogue). >If I use the value given by Alchemy Samp works correctly >otherwise there is a click in the loop. OK, I'll look at it. >(3) I would like to reverberate single events inside Spawn >with a global reverb. What is the best way to do this? >Probably my problem is quite close to the "reverberated sine percussion" >example in "examples 3". The main difference is that the "reverberated sine >percussion" example does not use Spawn to create events. >In SC1 I used for a similar problem the defbus/out modules. What is the SC2 >equivalents to the SC1 Defbus/out modules? >Are they needed in SC2? You can just take the output of Spawn and reverberate that. If you want to have different spawned events with different effects, you make a Spawn with however many output channels you need and use channel offset to select which channel(s) you output to. Then you can put different effects on the different channels of Spawn. outs = Spawn.ar({...}, numchans, ...); fxouts = [ CombN.ar(outs.at(0),...), outs.at(1).distort, etc...] Synth.play(fxouts); > >(4) In the "Griot modeling" example the strings are tuned with the expression: > tapTimes = Array.ramp(n, 0.003, 0.0005); >What I would like to do is to change the pitches of the strings while >making pluck-events inside Spawn. If I write inside Spawn new values into >the tapTimes array it has no effect. >How can I make the tapTimes array dynamic? >Should I use controls instead of numbers? If you parameterize a unit generator with a constant value, then you cannot change it later. In order to have a changing value, you need to use ControlIn. You can use a Ref object whose value is a Float as the source for the ControlIn. Then you can change the value in the Ref programmatically. --- james mccartney james@clyde.as.utexas.edu james@lcsaudio.com If you have a PowerMac check out SuperCollider, a real time synth program: http://www.audiosynth.com ------------------------------ End of sc-users-digest V1 #1 ****************************