From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #301 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 Saturday, June 9 2001 Volume 01 : Number 301 ---------------------------------------------------------------------- Date: Thu, 07 Jun 2001 18:18:53 +0100 From: Andy Wilson <---@---.---> Subject: London Supercollider all - as threatened previously on this list, there will be a Supercollider event in London 2pm - 7pm Saturday 14th July at Public Life (http://www.publiclife.org) **** PLEASE TAKE THE TIME NOW TO FORWARD THIS MAIL TO ANY INDIVIDUALS OR OTHER LISTS YOU THINK MAY BE INTERESTED. TNX. **** now all that remains is to organise the event.... 1. places at the event are limited, so please mail me directly if you can definitely attend. 2. I am looking for people to do short presentations and / or perform. since we only have a five hours I would ask that potential speakers propose to me a well focussed topic they can cover reasonably quickly. 3. we have exclusive use of the venue from 2 til 7 but there will be other interesting stuff going on into the evening - plan to hang around if you can. i'll send out information about the days agenda when I have it. if you don't want to hear anything more about the event please let me know and I'll remove you from the distribution list. - -- { andy wilson << managing director << LShift << www.lshift.net } { www.andyw.com && www.faust-pages.com && www.directorxml.com } ------------------------------ Date: Fri, 08 Jun 2001 01:56:27 +0200 From: Hairi <---@---.---> Subject: Re: SuperCollider sucks, I mean socks. agree James McCartney wrote: > on 5/25/01 4:10 PM, christian adam hresko at godpup@ix.netcom.com wrote: > > > that was completely and totally sarcastic. > > > > sorry if that post was crossing the line(s). > > > > i thought it was quite apparent that i was kidding, with no offense intended. > > Whether something is a joke or not has nothing to do with whether it is > offensive. > > --- james mccartney james@audiosynth.com > SuperCollider - a real time synthesis programming language for the PowerMac. > ------------------------------ Date: Thu, 07 Jun 2001 08:27:28 -0600 From: David Cottle <---@---.---> Subject: Random burst, RandomSeed (again) Hi, I'm trying to demonstrate a Karplus-Strong instrument and would like to do a version that uses the same burst of noise each time (to underline the difference between the real character of plucked instruments and the weak imitation most synthesizers use). But the random seed doesn't seem to effect the PinkNoise. How can I seed the noise, or is there another way (aside from using a noise segment from an audio file--I don't want to have to distribute an audio file with this document)? Here is the code so far: ( var pluckInst; pluckInst = { //Beginning of Ugen function var burstEnv, att = 0, dec = 0.05; //Variable declarations var out, delayTime, delayDecay = 0.5, midiPitch; var octaveRange, legalPitches; thisThread.randSeed = 1; legalPitches = [0, 2, 4, 6, 8, 10]; //wholetone scale octaveRange = [36, 48]; midiPitch = [legalPitches.choose + octaveRange.choose, legalPitches.choose + octaveRange.choose]; // A 440 delayTime = midiPitch.midicps.reciprocal; burstEnv = EnvGen.kr(Env.perc(att, dec)); //Define envelope out = PinkNoise.ar(burstEnv); //Noise burst out = CombL.ar(out, delayTime, delayTime, delayDecay, add: out); //Echo chamber which produces pitch out = AllpassL.ar(out, 0.02, [0.02.rand, 0.02.rand], 1); out = out*EnvGen.kr(Env.perc(0, 1)); //overall envelope out //return this variable }; //End Ugen function Synth.scope({Spawn.ar(pluckInst, 2, 0.125)}) ) ------------------------------ Date: Thu, 07 Jun 2001 20:38:14 -0500 From: James McCartney <---@---.---> Subject: Re: Random burst, RandomSeed (again) The random seed has no effect on noise ugens in version 2. Only in the latest version 3. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Fri, 08 Jun 2001 01:40:09 -0400 From: christian adam hresko <---@---.---> Subject: Re: SuperCollider sucks, I mean socks. Hairi wrote: > agree > > James McCartney wrote: > > > on 5/25/01 4:10 PM, christian adam hresko at godpup@ix.netcom.com wrote: > > > > > that was completely and totally sarcastic. > > > > > > sorry if that post was crossing the line(s). > > > > > > i thought it was quite apparent that i was kidding, with no offense intended. > > > > Whether something is a joke or not has nothing to do with whether it is > > offensive. > > > wow, we're agreeing on things that happened over two weeks ago. i apologized twice. i'm not apologizing a third time. cheers, christian ------------------------------ Date: Fri, 8 Jun 2001 12:11:32 +0100 From: Arie van Schutterhoef <---@---.---> Subject: Re: Random burst, RandomSeed (again) >I'm trying to demonstrate a Karplus-Strong instrument and would like to do a >version that uses the same burst of noise each time (to underline the >difference between the real character of plucked instruments and the weak >imitation most synthesizers use). But the random seed doesn't seem to effect >the PinkNoise. How can I seed the noise, or is there another way (aside from >using a noise segment from an audio file--I don't want to have to distribute >an audio file with this document)? - -You can use one of the many filters controlled by 'midiPitch' to 'emphasize' PinkNoise to do this. best AvS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .................................................................. ^ Arie van Schutterhoef | arsche@xs4all.nl ^_北北北北北北北北北北北盻_""""""""""""""""""""""""""""""""" | ` |Schreck Ensemble http://www.xs4all.nl/~schreck/ | ` |# -laboratory for live electro-acoustic music- # | ` |Tel: 00-31-71-5612287 Fax: 00-31-70-3859268 | *========================================================++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .................................................................. ------------------------------ Date: Fri, 08 Jun 2001 13:06:39 +0200 From: Alberto de Campo <---@---.---> Subject: Re: Random burst, RandomSeed (again) Hi David, David Cottle wrote: > I'm trying to demonstrate a Karplus-Strong instrument and would like to do a > version that uses the same burst of noise each time (to underline the > difference between the real character of plucked instruments and the weak > imitation most synthesizers use). But the random seed doesn't seem to effect > the PinkNoise. How can I seed the noise, or is there another way (aside from > using a noise segment from an audio file--I don't want to have to distribute > an audio file with this document)? you can make a fixed noise signal and use it with PlayBuf. I am not sure if this is close enough to PinkNoise for you. ( var myNoiseSignal, maxNoiseDur = 0.1; thisThread.randSeed = -123; myNoiseSignal = Signal.fill( (Synth.sampleRate * maxNoiseDur).asInteger, { 1.0.bilinrand } ); myNoiseSignal.plot; ) best, adc > > > Here is the code so far: > > ( > > var pluckInst; > > pluckInst = { //Beginning of Ugen function > var burstEnv, att = 0, dec = 0.05; //Variable declarations > var out, delayTime, delayDecay = 0.5, midiPitch; > var octaveRange, legalPitches; > thisThread.randSeed = 1; > legalPitches = [0, 2, 4, 6, 8, 10]; //wholetone scale > octaveRange = [36, 48]; > midiPitch = [legalPitches.choose + octaveRange.choose, > legalPitches.choose + octaveRange.choose]; // A 440 > delayTime = midiPitch.midicps.reciprocal; > burstEnv = EnvGen.kr(Env.perc(att, dec)); //Define envelope > out = PinkNoise.ar(burstEnv); //Noise burst > out = CombL.ar(out, delayTime, delayTime, > delayDecay, add: out); //Echo chamber which produces pitch > out = AllpassL.ar(out, 0.02, [0.02.rand, 0.02.rand], 1); > out = out*EnvGen.kr(Env.perc(0, 1)); //overall envelope > out //return this variable > }; //End Ugen function > > Synth.scope({Spawn.ar(pluckInst, 2, 0.125)}) > ) ------------------------------ Date: Fri, 8 Jun 2001 13:26:41 -0500 From: "t. krakowiak" <---@---.---> Subject: volume control Hi! is there a to build (and how would you approach it) a program to "listen" or check for a volume change? i'm using sc2. tk ------------------------------ Date: Fri, 08 Jun 2001 12:39:48 -0500 From: James McCartney <---@---.---> Subject: Re: sc3 on 6/6/01 11:42 AM, t. krakowiak at krakowiak@sympatico.ca wrote: > hi! > > is there a way to downlaod and use sc3 ? just to look at it. > still in development. You can try out the current version. SC3d5 MacBinary: SC3d5 BinHex: - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Fri, 08 Jun 2001 12:40:47 -0500 From: James McCartney <---@---.---> Subject: Re: volume control on 6/8/01 1:26 PM, t. krakowiak at krakowiak@sympatico.ca wrote: > Hi! > > is there a to build (and how would you approach it) a program to > "listen" or check > for a volume change? i'm using sc2. > > tk I can't parse your sentence, but there is a ugen called Amplitude that tracks amplitude. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Fri, 8 Jun 2001 14:08:10 -0500 From: "t. krakowiak" <---@---.---> Subject: Re: volume control Thanks, sorry that question wasn't in english! - ----- Original Message ----- From: "James McCartney" <---@---.---> To: Sent: Friday, June 08, 2001 12:40 PM Subject: Re: volume control > on 6/8/01 1:26 PM, t. krakowiak at krakowiak@sympatico.ca wrote: > > > Hi! > > > > is there a to build (and how would you approach it) a program to > > "listen" or check > > for a volume change? i'm using sc2. > > > > tk > > I can't parse your sentence, but there is a ugen called Amplitude that > tracks amplitude. > > --- james mccartney james@audiosynth.com > SuperCollider - a real time synthesis programming language for the PowerMac. > > > > ------------------------------ Date: Fri, 08 Jun 2001 11:14:11 -0700 From: Mark Polishook <---@---.---> Subject: Re: sc3 I just downloaded SC3d5 MacBinary and when trying to startup SC am seeing a message that I need MPLibrary ... am I missing something? - -mp James McCartney wrote: > on 6/6/01 11:42 AM, t. krakowiak at krakowiak@sympatico.ca wrote: > > > hi! > > > > is there a way to downlaod and use sc3 ? just to look at it. > > > > still in development. You can try out the current version. > > SC3d5 MacBinary: > > SC3d5 BinHex: > > > --- james mccartney james@audiosynth.com > SuperCollider - a real time synthesis programming language for the PowerMac. > - -- *** *** *** *** Mark Polishook Music Department Central Washington University E. 8th Avenue Ellensburg, WA 98926 tel: 509 963 1245 fax: 509.963.1239 polishoo@cwu.edu www.cwu.edu/~music/composition ------------------------------ Date: Fri, 08 Jun 2001 13:28:27 -0500 From: James McCartney <---@---.---> Subject: Re: sc3 on 6/8/01 1:14 PM, Mark Polishook at polishoo@cwu.edu wrote: > I just downloaded SC3d5 MacBinary and when trying to startup SC am seeing a > message that I need MPLibrary ... am I missing something? > > -mp MPLibrary is built in to MacOS 8.6 and later. This is required to run version 3. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Fri, 08 Jun 2001 21:53:29 -0400 From: "David Cottle" <---@---.---> Subject: Re: Random burst, RandomSeed (again) > Hi David, > > David Cottle wrote: > >> I'm trying to demonstrate a Karplus-Strong instrument and would like to do a [...] >> using a noise segment from an audio file--I don't want to have to distribute >> an audio file with this document)? > > you can make a fixed noise signal and use it with PlayBuf. > I am not sure if this is close enough to PinkNoise for you. > > ( > var myNoiseSignal, maxNoiseDur = 0.1; > thisThread.randSeed = -123; > myNoiseSignal = Signal.fill( > (Synth.sampleRate * maxNoiseDur).asInteger, > { 1.0.bilinrand } > ); > > myNoiseSignal.plot; > ) Yes, I think this would work, but I can only see how to play a signal buffer. How do I make it a Ugen graph and insert it into the CombL to get the pluck? Could you look through what I already have and show me how to use it with this patch? Thanks. Here it is again: var pluckInst; pluckInst = { //Beginning of Ugen function var burstEnv, att = 0, dec = 0.05, noiseBurst, noiseBurstDur = 0.1; //Variable declarations var out, delayTime, delayDecay = 0.5, midiPitch; var octaveRange, legalPitches; thisThread.randSeed = 1; noiseBurst = Signal.fill((Synth.sampleRate*noiseBurstDur).asInteger, {1.0.bilinrand}); legalPitches = [0, 2, 4, 6, 8, 10]; //wholetone scale octaveRange = [36, 48]; midiPitch = [legalPitches.choose + octaveRange.choose, legalPitches.choose + octaveRange.choose]; // A 440 delayTime = midiPitch.midicps.reciprocal; burstEnv = EnvGen.kr(Env.perc(att, dec)); //Define envelope out = noiseBurst; //Noise burst out = CombL.ar(out, delayTime, delayTime, delayDecay, add: out); //Echo chamber which produces pitch out = AllpassL.ar(out, 0.02, [0.02.rand, 0.02.rand], 1); out = out*EnvGen.kr(Env.perc(0, 1)); //overall envelope out //return this variable }; //End Ugen function Synth.scope({Spawn.ar(pluckInst, 2, 0.125)}) - -- ><><><><><><><><><><><> David Cottle, computer music, contra, cottle@cerlsoundgroup.org "When one arrives at this correct conception of art, there can be no more distinction between science and inspired creating. The farther one presses, the more everything becomes identical, and at last one has the impression of encountering no human work, but rather a work of Nature." 媁ebern ------------------------------ Date: Fri, 8 Jun 2001 22:58:59 -0400 (EDT) From: Paul Lansky <---@---.---> Subject: rms How does one find the rms amplitude of a Signal in SC? (a short signal, loaded in memory, say.) thanks paul lansky ------------------------------ Date: Fri, 08 Jun 2001 22:21:23 -0500 From: James McCartney <---@---.---> Subject: Re: rms on 6/8/01 9:58 PM, Paul Lansky at paul@silvertone.Princeton.EDU wrote: > How does one find the rms amplitude of a Signal in SC? > (a short signal, loaded in memory, say.) > > thanks > paul lansky > The RMS of the entire duration of the signal? i.e. a single value? - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Sat, 09 Jun 2001 11:59:07 +0200 From: John Eacott <---@---.---> Subject: Re: London Supercollider Hi Andy,
Yes I definately want to attend this and would also be very happy to present my work. I'd also be keen to play in the evening as jnrtv if that was possible. I would imagine mintyfresh will too.

Here is some info about me / my projects.
 

movement

currently in production, movement is an album of 'interactive dance music' which for want of a better description is: dance music track across a number of styles such as house, garage, techno, trance etc. All tracks have some sort of non-linearity i.e interactivity, algorithmic or generative process and are playable on macintosh only as SCPlay files.
 

jnrtv

is live generative / interactive dance music for trumpet and computer and has performed this year at the cybersalon at the ICA and CEAIT festival in Los Angeles.
 

John Eacott biog

John co-founded the influential jazz group Loose Tubes and was orchestral director for Test Dept. in their multimedia spectaculars around the world. Since 1991 John has composed mainly for film, TV and theatre including the highly acclaimed 'Gormenghast' 1991 to 1997 , 'In the footsteps of Alexander the Great' 1997 and a new feature film with Vanessa Redgrave 'Escape to Life' 2000. Recently John has turned to creating interactive / non-linear music projects including organising the 'strangeAttraction' 1999 & 2000 exhibitions at Morley Gallery and a large scale installation turning the central thoroughfare of the University of Westminster's Harrow Campus into an enormous interactive sound piece 'the street' Oct. 2000

www.informal.org
www.strangeattraction.com
 

See you soon,
j
 

Andy Wilson wrote:

all - as threatened previously on this list, there will be a Supercollider
event in London 2pm - 7pm Saturday 14th July at Public Life
(http://www.publiclife.org)

****
PLEASE TAKE THE TIME NOW TO FORWARD THIS MAIL TO ANY INDIVIDUALS OR OTHER
LISTS YOU THINK MAY BE INTERESTED. TNX.
****

now all that remains is to organise the event....

1. places at the event are limited, so please mail me directly if you can
definitely attend.

2. I am looking for people to do short presentations and / or perform. since
we only have a five hours I would ask that potential speakers propose to me
a well focussed topic they can cover reasonably quickly.

3. we have exclusive use of the venue from 2 til 7 but there will be other
interesting stuff going on into the evening - plan to hang around if you
can.

i'll send out information about the days agenda when I have it.

if you don't want to hear anything more about the event please let me know
and I'll remove you from the distribution list.

--
{ andy wilson << managing director << LShift << www.lshift.net }
{ www.andyw.com  && www.faust-pages.com && www.directorxml.com }

--
John Eacott
www.informal.org
www.strangeattraction.com
tel. +44 (0) 20 7582 3429
  ------------------------------ Date: Sat, 9 Jun 2001 11:30:36 -0400 (EDT) From: Paul Lansky <---@---.---> Subject: Re: rms I just want a single value for a short segment of a signal. I can see, of course, how to get it by stepping through a Synth.collect with a synth.repeat, but I wondered if there is an easier way. SC has so many built-in surprises... thanks paul >on 6/8/01 9:58 PM, Paul Lansky at paul@silvertone.Princeton.EDU wrote: > >> How does one find the rms amplitude of a Signal in SC? >> (a short signal, loaded in memory, say.) >> >> thanks >> paul lansky >> > >The RMS of the entire duration of the signal? i.e. a single value? > >--- james mccartney james@audiosynth.com >SuperCollider - a real time synthesis programming language for the PowerMac. > > > ------------------------------ Date: Sat, 09 Jun 2001 10:57:52 -0500 From: James McCartney <---@---.---> Subject: Re: rms on 6/9/01 10:30 AM, Paul Lansky at paul@silvertone.Princeton.EDU wrote: > I just want a single value for a short segment of a signal. > I can see, of course, how to get it by stepping through > a Synth.collect with a synth.repeat, but I wondered if > there is an easier way. SC has so many built-in surprises... > thanks > paul You wouldn't use synth.repeat. Do a Synth.collect running your sound through Integrator.ar(in.squared) Then take the last sample of output and divide by length and take sqrt. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Sat, 9 Jun 2001 12:34:24 -0400 (EDT) From: Paul Lansky <---@---.---> Subject: Re: rms I see, the default leak coefficient is 1, I guess, so it just adds the output to itself. But pardon me for asking a dumb question: how do I catch the last sample of output. (I'm sure I'll figure it out as soon as I hang up...) paul >on 6/9/01 10:30 AM, Paul Lansky at paul@silvertone.Princeton.EDU wrote: > >> I just want a single value for a short segment of a signal. >> I can see, of course, how to get it by stepping through >> a Synth.collect with a synth.repeat, but I wondered if >> there is an easier way. SC has so many built-in surprises... >> thanks >> paul > >You wouldn't use synth.repeat. >Do a Synth.collect running your sound through >Integrator.ar(in.squared) > >Then take the last sample of output and divide by length and take sqrt. > >--- james mccartney james@audiosynth.com >SuperCollider - a real time synthesis programming language for the PowerMac. > > > ------------------------------ Date: Sat, 09 Jun 2001 12:00:06 -0500 From: James McCartney <---@---.---> Subject: Re: rms on 6/9/01 11:34 AM, Paul Lansky at paul@silvertone.Princeton.EDU wrote: > I see, the default leak coefficient is 1, I guess, so it just > adds the output to itself. But pardon me for asking a dumb question: > how do I catch the last sample of output. (I'm sure I'll figure it > out as soon as I hang up...) > > paul Once you have collected all the output you will have a Signal, which is an array of floats. You can just get the last value from the array. ( var signal, total, size, rms; signal = Synth.collect({ Integrator.ar(SinOsc.ar(1000).squared) }, 0.01); size = signal.size - 1; total = signal.at(size - 1); rms = sqrt(total / size); [size, total, total / size, rms].postln; ) - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Sat, 9 Jun 2001 13:33:59 -0400 (EDT) From: Paul Lansky <---@---.---> Subject: Re: rms Duh, of course, thanks! paul >on 6/9/01 11:34 AM, Paul Lansky at paul@silvertone.Princeton.EDU wrote: > >> I see, the default leak coefficient is 1, I guess, so it just >> adds the output to itself. But pardon me for asking a dumb question: >> how do I catch the last sample of output. (I'm sure I'll figure it >> out as soon as I hang up...) >> >> paul > >Once you have collected all the output you will have a Signal, which is an >array of floats. You can just get the last value from the array. > >( >var signal, total, size, rms; >signal = Synth.collect({ Integrator.ar(SinOsc.ar(1000).squared) }, 0.01); >size = signal.size - 1; >total = signal.at(size - 1); >rms = sqrt(total / size); >[size, total, total / size, rms].postln; >) > > > >--- james mccartney james@audiosynth.com >SuperCollider - a real time synthesis programming language for the PowerMac. > > > ------------------------------ End of sc-users-digest V1 #301 ******************************