From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #377 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 Wednesday, November 7 2001 Volume 01 : Number 377 ---------------------------------------------------------------------- Date: Mon, 05 Nov 2001 13:34:39 +0000 From: "Fabs Mogini" <---@---.---> Subject: Re: scheduling ugenFunctions Hi, There are lots of ways of doing it! This is not the most simple but it is useful: Prepare your individuals sounds inside some Spawns, when the Spawns are ready, put them inside curly brackets (function) and then inside a Cycle object with comma between them. The Spawns will be called in a sequence. So in this example, the first spawn is set to nil which makes no sound for 20 seconds, then the next spawn with your sound is called. //////////////////////////////////////////////////////////////////////////// ( var time; time = 20; Synth.play({ Cycle.ar([ { Spawn.ar({nil},1,time,1) }, { Spawn.ar({ arg spawn, i; var env, sound, soundduration; soundduration = 3; env = Env.linen(0.1,soundduration,0.2); // envelope for the sound; spawn.nextTime = soundduration; sound = EnvGen.ar(env, SinOsc.ar(800,0,0.2)); sound; }, 1, //number of channels 1, //next time is not used, instead we have above: // spawn.nextTime = soundduration; 1 // number of repeats, change it if you want more events ) } ],1, // one channel, nil, // next time nil means whenever the function is done 1 // number of repeats, change it if you want more cycles ) }) ) //////////////////////////////////////////////////////////////////////////// I hope it is not too confusing Fabrice - ---------- >From: Giorgio Robino <---@---.---> >To: sc-users@lists.io.com >Subject: Re: scheduling ugenFunctions >Date: Mon, Nov 5, 2001, 10:39 am > > > hi all, > > I ask a little help: I need to schedule sound (UgenFunction) once, > suppose that I want to start a new sound at t= 20sec from now. > > How I can d that with SC ? > Maybe with Ptpar ? or with Spawn ? > Thanks > Giorgio ------------------------------ Date: Mon, 05 Nov 2001 13:48:26 +0000 From: "Fabs Mogini" <---@---.---> Subject: Re: scheduling ugenFunctions Hi again, Another way of doing it with Pbind and patterns: /////////////////////////////////////////////////////////////////////////// ( Synth.play({ Pbind( \amp,0.8, \dur, Pseq([ 20, // the first duration of the sequence corresponds to the silence 1, 1, 1, 1, 0.5, 0.5, 0.5 //duration sequence ],1), \note,Pseq([ \, // this sign means a silence for frequencies 0, 2, 4, 5 , 7, 9,11 // then, your other frequencies are played ],1), \ugenFunc, {arg freq,dur,amp, pan; var sound; sound = Pan2.ar(Saw.ar( freq, Line.ar(0.15,0,dur)*amp ),0.5.rand2); sound; }; ).asSpawn(channels: 2); }) ) /////////////////////////////////////////////////////////////////////////// I am sure you will get more answers for other ways of doing this. for instance with synth.sched; Fabrice - ---------- >From: Giorgio Robino <---@---.---> >To: sc-users@lists.io.com >Subject: Re: scheduling ugenFunctions >Date: Mon, Nov 5, 2001, 10:39 am > > > hi all, > > I ask a little help: I need to schedule sound (UgenFunction) once, > suppose that I want to start a new sound at t= 20sec from now. > > How I can d that with SC ? > Maybe with Ptpar ? or with Spawn ? > Thanks > Giorgio > > --- > Giorgio Robino > http://www.giorgiorobino.com , mailto:giorgio.robino@giorgiorobino.com ------------------------------ Date: Mon, 05 Nov 2001 09:05:54 -0600 From: James McCartney <---@---.---> Subject: Re: 48k record on 11/5/01 5:38 AM, reed at reed@seanreed.de wrote: > Hi, > > I'm currently trying to record an SC patch to hard disk at 48k (using SC2.2.10 > and 2.2.11). I have changed the sampling rate to 48k (with a motu interface) > in the audio setup, which is confirmed by Synth.samplingRate. When I record, > however, the files are still written at 44.1k. As far as I can see from the > documentation and the .sc files, I have no option of changing the sampling > rate in the arguments for the .record method. The recorded files are then > longer (not 5 secs but 5.44, for example), meaning that all of the data is > there, and I can change the header to 48k in SoundHack, resulting in the > correct length and the correct pitch level. Does anyone know if I have > overlooked an argument, with which I can tell SC to include an indication for > 48k sampling rate in the header? > > Many thanks, > > Sean Reed This is an omission in the Synth.record method. You can fix it as follows. The same thing can be applied to Synth.write, etc. Edit Synth.sc: *record { arg ugenGraphFunc, duration, pathName, headerFormat = 'AIFF', sampleFormat = '16 big endian signed'; var file, z, newsynth; newsynth = this.new({ arg synth; var ugenGraph; ugenGraph = ugenGraphFunc.value(synth).asArray; file = SoundFile.new; file.headerFormat = headerFormat; file.sampleFormat = sampleFormat; file.numChannels = ugenGraph.size; file.sampleRate = Synth.sampleRate; /////// <- add this line if (file.writeHeader(pathName), { file.prepareRecord; DiskOut.ar(file, 32768, ugenGraph) },{ file = nil; nil }); }); if (newsynth.notNil, { newsynth.play(duration); file.endRecord }); ^file } - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Mon, 05 Nov 2001 23:56:57 +0100 From: reed <---@---.---> Subject: Re: 48k record > on 11/5/01 5:38 AM, reed at reed@seanreed.de wrote: > >> Hi, >> >> I'm currently trying to record an SC patch to hard disk at 48k (using >> SC2.2.10 >> and 2.2.11). I have changed the sampling rate to 48k (with a motu interface) >> in the audio setup, which is confirmed by Synth.samplingRate. When I record, >> however, the files are still written at 44.1k. As far as I can see from the >> documentation and the .sc files, I have no option of changing the sampling >> rate in the arguments for the .record method. The recorded files are then >> longer (not 5 secs but 5.44, for example), meaning that all of the data is >> there, and I can change the header to 48k in SoundHack, resulting in the >> correct length and the correct pitch level. Does anyone know if I have >> overlooked an argument, with which I can tell SC to include an indication for >> 48k sampling rate in the header? >> >> Many thanks, >> >> Sean Reed > > This is an omission in the Synth.record method. You can fix it as follows. > The same thing can be applied to Synth.write, etc. > Edit Synth.sc: > > *record { arg ugenGraphFunc, duration, pathName, > headerFormat = 'AIFF', sampleFormat = '16 big endian signed'; > var file, z, newsynth; > newsynth = this.new({ arg synth; > var ugenGraph; > > ugenGraph = ugenGraphFunc.value(synth).asArray; > > file = SoundFile.new; > file.headerFormat = headerFormat; > file.sampleFormat = sampleFormat; > file.numChannels = ugenGraph.size; > file.sampleRate = Synth.sampleRate; /////// <- add this line > if (file.writeHeader(pathName), { > file.prepareRecord; > DiskOut.ar(file, 32768, ugenGraph) > },{ > file = nil; > nil > }); > }); > > if (newsynth.notNil, { > newsynth.play(duration); > file.endRecord > }); > ^file > } > > --- james mccartney james@audiosynth.com > SuperCollider - a real time synthesis programming language for the PowerMac. > > > Thanks for the quick help. That makes things a lot more comfortable! I would have gone for 44.1k to avoid the hassle, but the house-internal clock and the other recording hardware I'm working with is all 48k, and I'm kinda' stuck with that. Thanks again. - -Sean ------------------------------ Date: Mon, 05 Nov 2001 16:31:31 -0700 From: David Cottle <---@---.---> Subject: Digi 001 input Hi, Has anyone setup input from a Digi 001? I'm working in a studio I didn't set up. I open the Sound control panel and Digi is not a choice for input (nor is it in the control strip), only CD and external mic, sound in. Am I missing an extension? - -- ><><><><><><><><><><><> David Cottle, computer music, contra, cottle@cerlsoundgroup.org "God does not play dice with the universe." -Einstein "Stop telling God what to do." -Niels Bohr ------------------------------ Date: Mon, 05 Nov 2001 19:21:17 +0100 From: John Eacott <---@---.---> Subject: Re: Digi 001 input Hi David, You need to obtain the ASIO driver for the Digi001 (from the install disks or download from digidesign.com) and place it inside the SC2.2.11 > ASIO drivers folder. When you start up SC the Digi001 will be available from File > audio setup. Best wishes, John > > Has anyone setup input from a Digi 001? I'm working in a studio I didn't set > up. I open the Sound control panel and Digi is not a choice for input (nor > is it in the control strip), only CD and external mic, sound in. Am I > missing an extension? > > --- john eacott ======================================== composer - interactive sound design informal.org --- strangeattraction.com ------------------------------ Date: Mon, 05 Nov 2001 20:34:00 +0100 From: John Eacott <---@---.---> Subject: MORPHEUS >> emergent music >> Please forward this to anyone who may be interested >>

You are cordially invited to celebrate the launch of
MORPHEUS >> emergent music
the first CDrom of algorithmic dance music (macintosh only)

featuring 16 tracks by:
Fredrik Olofsson / jnrtv / Fabrice Mogini / mintyfresh / Lapdance / Alex Marcou

7 - 9pm Monday 19th November 2001

Below 54 / Great Eastern Dining Room
54 Great Eastern St. Shoreditch, London, UK
(3 mins from Old Street tube)

live performances by:
jnrtv / Fabrice Mogini / Lapdance / Alex Marcou + DJs

+ simultaneous launch party at kungl. musikhögskolan, stockholm.

free admission
print out and bring this invite for your free limited edition MORPHEUS CDrom

R.S.V.P. >> John Eacott john@informal.org (+44) 20 7911 5000 ext 4032

more info http://www.mushimushi.net/morpheus

with thanks for the assistance of the University of Westminster, London, UK
  ------------------------------ Date: Mon, 05 Nov 2001 20:10:43 +0100 From: John Eacott <---@---.---> Subject: MORPHEUS >> emergent music - --------------BAC50329A6363C4B5D7558D9 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit >> Please forward this to anyone who may be interested >>

You are cordially invited to celebrate the launch of
MORPHEUS >> emergent music
the first CDrom of algorithmic dance music (macintosh only)

featuring 16 tracks by:
Fredrik Olofsson / jnrtv / Fabrice Mogini / mintyfresh / Lapdance / Alex Marcou

7 - 9pm Monday 19th November 2001

Below 54 / Great Eastern Dining Room
54 Great Eastern St. Shoreditch, London, UK
(3 mins from Old Street tube)

live performances by:
jnrtv / Fabrice Mogini / Lapdance / Alex Marcou + DJs

+ simultaneous launch party at kungl. musikhögskolan, stockholm.

free admission
print out and bring this invite for your free limited edition MORPHEUS CDrom

R.S.V.P. >> John Eacott john@informal.org (+44) 20 7911 5000 ext 4032

more info http://www.mushimushi.net/morpheus

with thanks for the assistance of the University of Westminster, London, UK
  - --------------BAC50329A6363C4B5D7558D9 Content-Type: image/gif Content-ID: Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="/Powerbook%20HD/Temporary%20Items/nsmail4.gif" R0lGODlhIQHhAKL/AOYfj+5os/vX6/e42/OWyv3v9wAAAMDAwCH5BAEAAAcALAAAAAAhAeEA QAP/eLrc/jDKSau90BzNt+/gJ4bkaJboqZZY675wLM/0pNXNjS/67vnAoHBIzAh7lQIAMGAA CgwkTlqsWq9YB5WGHAACXwHFqz1mz+hzar1qs0GAt5tgiLvv8jx+rw+l/xJbM4ILAmBNFoQx GgRhU2ZBioBoki8GXgBij5EMSpkHBAEwlS6kLaaTVqgMjQFQZZwzBYc8EEwNs7c2X6+bQKup fMJvAwYFfcPJJMd2yAZ0dMp8AnXOAZccxdLAqdwUUkoEMt42B2DiLwJLmj+/Ml6uOQ2hXM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CDIjNePRNVUpCDm7RSF+VWeuFDW2VU9cNVNQMV6qCCRPWCQ+V/XzAtl9FXP+CD PFKFgBVBIXKDlUIyvwCENEVWQNUTKoiE2oVzZngyt8CEZeWElZBZhZaGK1iGhgFWbWWHLWiC eliEE4UXEXhjdJhVRSWIbkUVPTeInVAUcvgNfAgBzlVHbAhogSiESrCIO0WEfiEV4meJWKVW xtF9TaiFgsWDaf/GhaJjg7WwgxHWiHgYhi7oVVkRiWIxY0hIUSzYFkwAg6JYg39lXlnoGlY4 ioWDfXPCgfingUXAOAL3DitXdM2oecbYem3zh8vIR6SnexZRekozjdXYETqXdhtIjfq2gN0I BAJoddj4OH03ZGdmgeXoec8Eec4ojhGBM+T3ji+AgbkHgonYfIcXYPiIBVo3emcSfEGhHekY kDjQStd3j6Z1d/J3IsWmkFlge9b3b8T4OEhRgStGkWCnCxcJOIyHa/Z4fYfokVbQGiF5X+4I h7nnkChZAwQCkRkXjQPCjfVjkzF5BZgAk2ejk3eCkyD0gDtpBURpKDpZX3fjj0UpBPb/N2S2 1C+W1jlNaQ/nOI/1GIVqV5UOoQ7kJ0vp5WxIx5XBkHyINQDOBZR8o41kmW0Z6Qlu4Y7ckpFt yZPP6IhHSV7rWJdnkJfvhy/TIZd8KYG6Z5D9xZSDiQW212N3SXcnmZjBQH3FuE40CZnE15ij 5XPpZ5m7MWFEoXNUx5k3Bzae0E3yKJpDsZiuMpIiSY+omU/68ZeaUpmvaZWEZzCLBQ/8WJts l1ilaWHFx5vedixcp46IKZzBgDh/SZXIeXKYE0KQ05wMEne/eTbHKZ2FdwvFKXbBiZ2mtyTE cpreCR/hcAjMOZ4jgpC0iZ7iMSq7yZ67gYzwOZ/0WZ/2eZ/4Dpmf+rmf/Nmf/vmf+ZMAADs= - --------------BAC50329A6363C4B5D7558D9-- ------------------------------ Date: Mon, 05 Nov 2001 19:21:34 -0700 From: David Cottle <---@---.---> Subject: Re: Digi 001 input > You need to obtain the ASIO driver for the Digi001 (from the install disks or > download from digidesign.com) and place it inside the SC2.2.11 > ASIO drivers > folder. When you start up SC the Digi001 will be available from File > audio > setup. I already use these for sound out. I didn't realize input would work the same way. So is it correct that I don't even have to mess with the choices in the Sound control panel? That's just for system sound? - -- ><><><><><><><><><><><> David Cottle, computer music, contra, cottle@cerlsoundgroup.org (Speaking of 4'33" and aleatory in general.) "Its an invitation, not a command." ‹Peter Gutmann ------------------------------ Date: Mon, 05 Nov 2001 23:27:08 -0500 From: tae hong PARK <---@---.---> Subject: ELECTROACOUSTIC MUSIC FESTIVAL ANNOUNCEMENT AT PRINCETON UNIV. ELECTROACOUSTIC MUSIC FESTIVAL ANNOUNCEMENT! "Listening in the Sound Kitchen", Nov. 17~18, 2001 @ Princeton University A Two Day Festival of Electroacoustic Music Featuring Composers from Columbia University, Dartmouth College and Princeton University With Talks by Perry Cook, Kui Dong and Steve Reich Roundtable Discussion: "The Center of What" with Brad Garton, Terry Pender and Douglas Repetto FREE AND OPEN TO THE PUBLIC! Participating Composers and Musicians: Jon Appleton, Newton Armstrong, Christopher Bailey, David Birchfiled, paul j. botelho, Ed Childs, Ted Coffey, Perry Cook, Reuben de Lautour, Charles Dodge, Kui Dong, Luke DuBois, Brad Garton, Douglas Geers, Conrad Harris, Rozalie Hirs, Kimo Johnson, Kyoko Kobayashi, Paul Koonce, Paul Lansky, Eric Lyon, Steven Mackey, Keith Moore, Aki Onda, Tae Hong Park, Larry Polansky, Terry Pender, Steve Reich, Douglas Repetto, Matthew Smith, Taimur Sullivan, Stefan Tomic, Ge Wang, Stefan Weisman, Mary Wright, Miriama Young. For Details: http://music.princeton.edu/~park/events Thank you, Tae Hong Park ------------------------------ Date: Tue, 6 Nov 2001 13:09:04 +0100 (CET) From: Giorgio Robino <---@---.---> Subject: Re: scheduling ugenFunctions thank-you Fabs, I will try your kind proposal as soon I we work on my phisically "far" powerbook ;-) Giorgio > ========================== > Date: Mon, 05 Nov 2001 13:48:26 +0000 > Subject: Re: scheduling ugenFunctions > From: "Fabs Mogini" <---@---.---> > To: sc-users@lists.io.com > ========================== > > Hi again, > > Another way of doing it with Pbind and patterns: > > /////////////////////////////////////////////////////////////////////////// > ( > > Synth.play({ > > Pbind( > \amp,0.8, > \dur, Pseq([ > > 20, // the first duration of the sequence corresponds to > the silence > 1, 1, 1, 1, 0.5, 0.5, 0.5 //duration sequence > > ],1), > > \note,Pseq([ > > \, // this sign means a silence for frequencies > 0, 2, 4, 5 , 7, 9,11 // then, your other frequencies are played > > ],1), > > \ugenFunc, {arg freq,dur,amp, pan; > var sound; > > sound = > Pan2.ar(Saw.ar( > freq, > Line.ar(0.15,0,dur)*amp > ),0.5.rand2); > sound; > }; > > ).asSpawn(channels: 2); > > }) > ) > /////////////////////////////////////////////////////////////////////////// > > I am sure you will get more answers for other ways of doing this. > for instance with synth.sched; > > Fabrice > ---------- > >From: Giorgio Robino <---@---.---> > >To: sc-users@lists.io.com > >Subject: Re: scheduling ugenFunctions > >Date: Mon, Nov 5, 2001, 10:39 am > > > > > > > hi all, > > > > I ask a little help: I need to schedule sound (UgenFunction) > once, > > suppose that I want to start a new sound at t= 20sec from now. > > > > How I can d that with SC ? > > Maybe with Ptpar ? or with Spawn ? > > Thanks > > Giorgio > > > > --- > > Giorgio Robino > > http://www.giorgiorobino.com , mailto:giorgio.robino@giorgiorobino.com - --- 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, 06 Nov 2001 09:07:22 +0100 From: John Eacott <---@---.---> Subject: Re: Digi 001 input > > I already use these for sound out. I didn't realize input would work the > same way. So is it correct that I don't even have to mess with the choices > in the Sound control panel? That's just for system sound? I'm not at my studio to check it right now but I believe so. You might want to make sure that the 001 is not selected in Sound Control Panel as that might make it unavailable for SC. j > > -- > ><><><><><><><><><><><> > David Cottle, computer music, contra, cottle@cerlsoundgroup.org > > (Speaking of 4'33" and aleatory in general.) "Its an invitation, not a > command." ŠPeter Gutmann - -- john eacott ======================================== composer - interactive sound design informal.org --- strangeattraction.com ------------------------------ Date: Tue, 6 Nov 2001 18:10:11 +0100 From: Fredrik Olofsson <---@---.---> Subject: stockholm: morpheus >> emergent music ___... come and check out our new research basement. sensors, max, msp, nato, supercollider, drums, beer and snacks. + launch of 'morpheus' - generative dancemusic by alex marcou, fabrice mogini, /fo, jnrtv, mintyfresh and lapdance. + algorithmic musicvideo by binocoolfo. 19 nov. 20.00 royal university college of music (kmh), stockholm welcome mattias, lise-lotte, fredrik +46(0)70-558 00 22 ------------------------------ Date: Tue, 06 Nov 2001 10:10:01 -0700 From: Michael Theodore <---@---.---> Subject: Spawn question Hello, The code below is based on stuff that Martin posted. I'm having trouble controlling the spawn's nextTime slot value. In the first example below, there is a constant value, and this works fine. In the second example, a variable that was defined earlier is used as the nextTime value. This doesn't work the way I would expect it to. Any hints as to what I'm doing wrong would be most appreciated. thanks, Michael ( Synth.scope({ var numSounds = 2; var filenames, sounds, signals, playbufs; var numChannels, duration, sampleRate, env; var signal; var dispatch; filenames = Array.fill(numSounds, { GetFileDialog.new.path }); sounds = filenames.collect({ arg filename; var sound; sound = SoundFile.new; sound.read(filename); sound }); signals = sounds.collect({ arg sound; sound.data }); env = Env.linen(0.01, 0.5, 0.01, 1.0); Spawn.ar({ arg thisSpawn, eventCount; dispatch = eventCount; //or pattern, etc signal = signals.wrapAt(dispatch); numChannels = signal.size; duration = 0.5.rand + 0.5; sampleRate = sounds.wrapAt(dispatch).sampleRate; PlayBuf.ar(signal, sampleRate, 1.0, 0, 0, signal.first.size-2, EnvGen.kr(env, timeScale: duration ) ) }, signal.size, 1) //constant value }) ) ( Synth.scope({ var numSounds = 2; var filenames, sounds, signals, playbufs; var numChannels, duration, sampleRate, env; var signal; var dispatch; filenames = Array.fill(numSounds, { GetFileDialog.new.path }); sounds = filenames.collect({ arg filename; var sound; sound = SoundFile.new; sound.read(filename); sound }); signals = sounds.collect({ arg sound; sound.data }); env = Env.linen(0.01, 0.5, 0.01, 1.0); Spawn.ar({ arg thisSpawn, eventCount; dispatch = eventCount; //or pattern, etc signal = signals.wrapAt(dispatch); numChannels = signal.size; duration = 0.5.rand + 0.5; sampleRate = sounds.wrapAt(dispatch).sampleRate; PlayBuf.ar(signal, sampleRate, 1.0, 0, 0, signal.first.size-2, EnvGen.kr(env, timeScale: duration ) ) }, signal.size, duration) //variable - doesn't work - hmmm? }) ) ------------------------------ Date: Tue, 06 Nov 2001 10:54:09 -0800 From: Jeremy Zuckerman <---@---.---> Subject: Re: Spawn question try this: ( Synth.scope({ var numSounds = 2; var filenames, sounds, signals, playbufs; var numChannels, duration, sampleRate, env; var signal; var dispatch; filenames = Array.fill(numSounds, { GetFileDialog.new.path }); sounds = filenames.collect({ arg filename; var sound; sound = SoundFile.new; sound.read(filename); sound }); signals = sounds.collect({ arg sound; sound.data }); env = Env.linen(0.01, 0.5, 0.01, 1.0); Spawn.ar({ arg thisSpawn, eventCount; dispatch = eventCount; //or pattern, etc signal = signals.wrapAt(dispatch); numChannels = signal.size; //assign duration variable here: thisSpawn.nextTime = duration = 0.5.rand + 0.5.; sampleRate = sounds.wrapAt(dispatch).sampleRate; PlayBuf.ar(signal, sampleRate, 1.0, 0, 0, signal.first.size-2, EnvGen.kr(env, timeScale: duration ) ) }, signal.size) }) ) jz > Hello, > The code below is based on stuff that Martin posted. I'm having > trouble controlling the spawn's nextTime slot value. > In the first example below, there is a constant value, and > this works fine. In the second example, a variable > that was defined earlier is used as the nextTime value. > This doesn't work the way I would expect it to. > Any hints as to what I'm doing wrong would > be most appreciated. > thanks, > Michael > ------------------------------ Date: Tue, 06 Nov 2001 10:59:48 -0800 From: Jeremy Zuckerman <---@---.---> Subject: Re: Spawn question sorry. parse error. ( Synth.scope({ var numSounds = 2; var filenames, sounds, signals, playbufs; var numChannels, duration, sampleRate, env; var signal; var dispatch; filenames = Array.fill(numSounds, { GetFileDialog.new.path }); sounds = filenames.collect({ arg filename; var sound; sound = SoundFile.new; sound.read(filename); sound }); signals = sounds.collect({ arg sound; sound.data }); env = Env.linen(0.01, 0.5, 0.01, 1.0); Spawn.ar({ arg thisSpawn, eventCount; dispatch = eventCount; //or pattern, etc signal = signals.wrapAt(dispatch); numChannels = signal.size; //assign duration variable here: thisSpawn.nextTime = duration = 0.5.rand + 0.5; sampleRate = sounds.wrapAt(dispatch).sampleRate; PlayBuf.ar(signal, sampleRate, 1.0, 0, 0, signal.first.size-2, EnvGen.kr(env, timeScale: duration ) ) }, signal.size) }) ) ------------------------------ Date: Tue, 06 Nov 2001 14:34:27 +0100 From: John Eacott <---@---.---> Subject: Re: stockholm: morpheus >> emergent music i'd love to be there! I'll try and get some of my Stockholm friends to go down. j Fredrik Olofsson wrote: > > ___... > > come and check out our new research basement. sensors, max, > msp, nato, supercollider, drums, beer and snacks. > > + launch of 'morpheus' - generative dancemusic by alex > marcou, fabrice mogini, /fo, jnrtv, mintyfresh and lapdance. > > + algorithmic musicvideo by binocoolfo. > > 19 nov. 20.00 royal university college of music (kmh), stockholm > > welcome > mattias, lise-lotte, fredrik > > +46(0)70-558 00 22 - -- john eacott ======================================== composer - interactive sound design www.informal.org ------------------------------ Date: Wed, 07 Nov 2001 13:37:32 +0000 From: Tim Sayer <---@---.---> Subject: amplitude I am new to SC and I'm trying to record an array of markers from a buffer containing some speech to detect where the words start and finish. I don't know if it's possible to look at the amplitude of the signal in the buffer without playing or if I have to track the amplitude while it's playing. I can't figure out how amplitude.kr works. I've tried passing it playbuf but can't seem to trap the amplitude of the signal, if I put it in an if statement it tells me it's not a Boolean expression. I suspect I have completely the wrong approach, if anyone has the time to help I'd be very grateful TiM ------------------------------ End of sc-users-digest V1 #377 ******************************