From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #370 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, October 18 2001 Volume 01 : Number 370 ---------------------------------------------------------------------- Date: Wed, 17 Oct 2001 00:45:45 +0900 From: Tsunoda Takashi <---@---.---> Subject: [none] unsubscribe sc-users ------------------------------ Date: Tue, 16 Oct 2001 10:58:27 -0500 From: James McCartney <---@---.---> Subject: Re: Collections on 10/16/01 10:31 AM, Ian Pojman at ipojman@jmlafferty.com wrote: > A couple of questions re: collections from a newbie SC coder. > > is this style preferred? I'ev been using arrays a lot and have jsut been > doing this: > > var a; > a = []; > 10.do( {arg i; > a=a.add(...) > } > ); > > > Is this (significantly) more efficient than using lists? Is there a more > graceful way to do this? It depends on what you are doing. Often you could just do this: var a; a = Array.fill(10, {...}); > > And what about an indexOf ? > What about it? - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Tue, 16 Oct 2001 11:17:10 -0500 From: Ian Pojman <---@---.---> Subject: Re: Collections On Tuesday, October 16, 2001, at 10:58 AM, James McCartney wrote: > It depends on what you are > doing. grouping UGens by index > Often you could just do this: > var a; > a = Array.fill(10, {...}); The problem is (in all the code ive been doing) each element is dependent on iteration. Array.fill would be great if I could do Array.fill(n, {arg i; ...}); But I dont think I can do that, can I? > >> >> And what about an indexOf ? >> > > What about it? > oops - there IS one isnt there :) And to think I doubted you. Ian ------------------------------ Date: Tue, 16 Oct 2001 11:32:17 -0500 From: Ian Pojman <---@---.---> Subject: simulate IFFT? I'm trying to simulate an IFFT with a UGen. We're making a patch that will, depending on amplitude, provide different resolutions for resynthesis of the FFT data of the input. e.g. - as the input signal amplitude reaches a peak, the bands of the fft will be heavily approximated, whereas a lower amplitude will resynthesize the signal using more of the bands. so, at any point in time in the patches execution, there will be an integer (probably in the range of 1-10), determined from an algorithm referencing amplitude, that will be used to average fft bands. Let's say this controlling integer was 8 - our patch would (in theory) generate pseudo-bands out of every 8 bands in the fft, by doing a simple average of their components which would in turn be used to feed a SinOsc (or some lightweight UGen) to resynthesize the data. Any comments on this approach? Does anyone have some code along the lines of resynthesis of FFT data w/o using IFFT? Shouldn't I just need to calculate bin freq and get amp from real.magnitudeApx and feed those to a SinOsc? any pointers would be appreciated. Ian ------------------------------ Date: Tue, 16 Oct 2001 12:02:58 -0500 From: James McCartney <---@---.---> Subject: Re: Collections on 10/16/01 11:17 AM, Ian Pojman at ipojman@jmlafferty.com wrote: > The problem is (in all the code ive been doing) each element is > dependent on iteration. Array.fill would be great if I could do > Array.fill(n, {arg i; ...}); > > But I dont think I can do that, can I? Yes you can. Array.fill(10, { arg i; i*i }).postln; [ 0, 1, 4, 9, 16, 25, 36, 49, 64, 81 ] also something like: f = 1; Array.fill(10, { f = f * 2; }).postln; [ 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 ] - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Tue, 16 Oct 2001 12:04:41 -0500 From: James McCartney <---@---.---> Subject: Re: simulate IFFT? on 10/16/01 11:32 AM, Ian Pojman at ipojman@jmlafferty.com wrote: > I'm trying to simulate an IFFT with a UGen. > > We're making a patch that will, depending on amplitude, provide > different resolutions for resynthesis of the FFT data of the input. > e.g. - as the input signal amplitude reaches a peak, the bands of the > fft will be heavily approximated, whereas a lower amplitude will > resynthesize the signal using more of the bands. > > so, at any point in time in the patches execution, there will be an > integer (probably in the range of 1-10), determined from an algorithm > referencing amplitude, that will be used to average fft bands. Let's say > this controlling integer was 8 - our patch would (in theory) generate > pseudo-bands out of every 8 bands in the fft, by doing a simple average > of their components which would in turn be used to feed a SinOsc (or > some lightweight UGen) to resynthesize the data. > > Any comments on this approach? Does anyone have some code along the > lines of resynthesis of FFT data w/o using IFFT? Shouldn't I just need > to calculate bin freq and get amp from real.magnitudeApx and feed those > to a SinOsc? > > any pointers would be appreciated. > > Ian > This would be better done in version 3. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Tue, 16 Oct 2001 17:35:53 -0400 From: godpup@ix.netcom.com Subject: Re: Re: simulate IFFT? sc-users@lists.io.com wrote: > on 10/16/01 11:32 AM, Ian Pojman at ipojman@jmlafferty.com wrote: > I'm trying to simulate an IFFT with a UGen. >This would be better done in version 3. do you mean version 3 will have a more efficient means of doing this, or do you mean ian would be better off writing a plugin for the purposes he described? ch. ------------------------------ Date: Tue, 16 Oct 2001 22:21:31 -0700 From: cramakrishnan@acm.org Subject: Re: OSC fails under 9.1 Chris Brown writes: > sekhar -- were you synthesizing sound while sending and receiving OSC > messages? I was able to synthesize while receiving OSC, but I didn't not try sending while synthesizing. I might have an opportunity to do so on Thurdsay, if so, I'll let you know if it worked (i'm assuming it won't). > it would be tragic (for me at least) if "improvements" in MacOS make > OSC communication while synthesizing impossible. OSC under SC is > the best environment i've ever had for doing network music pieces -- > last tuesday in berlin a quartet of G3 powerbooks running OS 9.0.4 > did a 30 minute set in which each player was synthesizing their own > part while "hosting" synthesis generated by another partner on the > network [description of performance snipped] Wow! Sounds really cool. Do you have recordings? Would you be willing to share portions of your patches? We've been trying to do some thinking about what a shared synthesis instrument would look like, and I'd love to see what you've created. > i hope it's not just another temporary moment that disappears into > the quicksand of technology "progress" I share your hope. I wouldn't be too pesimestic, if nothing else, OS X should resolve this. - - sekhar - -- C. Ramakrishnan cramakrishnan@acm.org ------------------------------ Date: Wed, 17 Oct 2001 11:58:33 +0100 From: Hairi <---@---.---> Subject: Re: No midi file i/o?? was Re: Newbie MIDI questions I have a class that reads Standard Midi Files and provides all sorts of arrays to be used in playback, inside my modular system. It should be no difficult to write standard midi files. All it takes is to decide what information has to be put. If the information is , say , inside an instance of PriorityQueue and consists of note ons etc. it can sure be done. Michael Theodore wrote: > Thanks to David and Felix for your replies, > > Am I to take the below to mean that there is no midi file > i/o built into sc??? I would agree that MIDI is "crap" > w. respect to describing timbre, but it's incredibly > useful if, like me, you create pieces > for humans to play. It's also useful if you have an > enormous amount of events that you would like to precisely > specify. I can play things in much faster than I can type the endless > score array. > > I would also love to be able to create patterns in sc, write them to a midi > file, > and then open them in finale (or whatever). I currently > do this in Common Music, but would be very happy to be able > to shift everything over to sc. > > _If_ it's really true that this doesn't exist, I have to > say that I would find this mildly astounding, given the power > of this program and the relative triviality of > handling midi files (especially compared to > everything else the language does). Csound, > Common Music, etc all have this capacity, and > if you ask me (of course you didn't), it's hard > to see a convincing reason why sc shouldn't as > well. This is all the more true as sc grows to embrace > other types of data such as video. Being able to > process the broadest possible set of data types > is the clearly the way of the future (max is certainly > headed this way). > > Anyway, please set me straight if I'm wrong. If I'm > not wrong, am I really the only person that would > like the ability to do this? Having taught many students > how to use Csound, I can say from experience that > the first thing many music-reading-writing musicians > want is a more musical way of interacting with programs > than note lists. > > -M > > > no but that would be very useful. a class could be written that used the > > spawn and handled both tasks transparently. > > a bit of history: james didn't really feel like putting midi out into sc at > > all figuring that midi was crap (true) and sc was really all about synthesis > > (which used to be true but is becoming less true in the future). we begged > > him, and eventually he put it in. > > > > > > > > ------------------------------ Date: Wed, 17 Oct 2001 18:06:54 +0200 From: Julian Rohrhuber <---@---.---> Subject: new version Turtle there is a new version of the Turtle classes available on: http://swiki.hfbk.uni-hamburg.de:8080/MusicTechnology/Turtle it includes 3D Turtle projection, a multislider view and other things (for sc3d51). ------------------------------ Date: Wed, 17 Oct 2001 12:45:04 -0500 From: James McCartney <---@---.---> Subject: Re: simulate IFFT? on 10/16/01 4:35 PM, godpup@ix.netcom.com at godpup@ix.netcom.com wrote: > > sc-users@lists.io.com wrote: >> on 10/16/01 11:32 AM, Ian Pojman at ipojman@jmlafferty.com wrote: >> I'm trying to simulate an IFFT with a UGen. > >> This would be better done in version 3. > > > do you mean version 3 will have a more efficient means of doing this, or do > you mean ian would be better off writing a plugin for the purposes he > described? The language interpreter is not efficient enough to deal with the bins in the manner described. That is audio rate processing. The language interpreter is only meant for dealing with events. So you would need to write a plugin for SC3 to do such a thing. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Wed, 17 Oct 2001 20:43:28 -0600 From: David Cottle <---@---.---> Subject: Sound Drivers Hi, I tried to download the ASIO sound drivers from ftp://ftp.steinberg.net/steinberg-software/product_updates/macintosh/asio/ and get this error /steinberg-software/product_updates/macintosh/asio: No such file or directory Are they somewhere else? - -- ><><><><><><><><><><><> David Cottle, computer music, contra, cottle@cerlsoundgroup.org "Backward composition is when one imagines a musical event, then goes about describing the circumstances and means necessary to produce that event. Forward composition is describing a set of circumstances and means for an event and discovering the resulting sound. The difference is political." 婣uthor unknown ------------------------------ Date: Wed, 17 Oct 2001 22:45:46 -0400 From: "Adam Overton" <---@---.---> Subject: roast it This is a multi-part message in MIME format. - ------=_NextPart_000_3df4_5d69_62c5 Content-Type: text/plain; format=flowed hello everyone my name's adam overton and i've been working with supercollider since august... i'd like very much for anyone with a few spare moments to look at two patches that i've made so far and give whatever feedback you can on it... i'm very interested in learning how to get my code and cpu-usage as efficient as possible... ideas for additional modifications are also extremely welcome... the first patch, 'droneflow', has three main sounds, but only two main synthesis areas... the "drafty" drone is very 'eraserhead'-ish... the other drone is very tonal, though inharmonic... the final sound is sparkly, dusty stuff -- i am least happy with this sound... the second patch, 'wavetable_xfade', uses the OscX4 module to crossfade between wavetables at different rates... the waves' harmonic content is chosen randomly, while the fundamental tones are chosen from a specified list... in the OverlapTexture module i am still having trouble figuring out how to control sustain-time, release-time, and density/overlap... i would like to be able to control these parameters with a knob or slider, or randomly... i've seen some of the examples which use "i"-statements to modify these, but i'm still having trouble comprehending how exactly this works... any examples will be greatly appreciated... thanks for everything... if you find any patches you like, please enjoy them... feedbackfeedbackfeedback later adam overton overtones99@hotmail.com _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp - ------=_NextPart_000_3df4_5d69_62c5 Content-Type: application/x-stuffit; name="sc_code.sit" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="sc_code.sit" U3R1ZmZJdCAoYykxOTk3LTE5OTggQWxhZGRpbiBTeXN0ZW1zLCBJbmMuLCBo dHRwOi8vd3d3LmFsYWRkaW5zeXMuY29tL1N0dWZmSXQvDQoaAAUQAAAWagAA AHIAAQAAAHIquA2lpVJlc2VydmVkpaUApaWlpQEAADcAQLfzMNO38zI4AAAA AAAAAAAAAAAAAAfEqQAAAM0AAD9vAAAVnQACc2NfY29kZQAAfI4AAAAAAAAA AAPgANcDRAEHAAAAAMNAAACAAAAAAAAAAKWlpaUBAAA7ABC38zDVt/MyjwAA AHIAAAvJAAAAcgALP0MAAB2dAAAJgQAAAAAPAGRyb25lZmxvd182AAEvyVRF WFRTQ2ptAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAEXAAAAQ4AAAAADwBC wdUO+S10bufmkG8feezQc82uajUdZMIq2vdkJPvxwXKO3UbUHfijnhBLcD/B WdphkReoWLptmSuF0/dthqEF7V3PTuKUZtCl/y0RPvHRkp0y6ocJAXoDwah1 9za6f+Qv1o16w7fhtjZCrEY0lFkAuvTer2ccr8DDElfd/8L67ZB12JbikiJK pIdqXtDaTsZkPmqeUoYcJyvkZjvjIoZLEd0ksUh61AwqDtQ8FBo875YSzFVL xZ0M3flPDNBOsrMlCQqKR6GGzr1aWkUKoaordtaGl1jFKKesXUULf8yZAODY VfzWQBn+PUzYt157sCgNJFETvTnwFnyjc4O1Ir2MfgzPl7PzoqyG7tSDogBC wdTR7/UStMRGSrKto+B0svt1eQhc+ZA0TCYzm1OT531dtz2qvbPB51v1M+on 6/qCeQWLcb3Zf1DbgwGg9L1SIL+Ca4S0RcJKwQLHbBsNP27NGZwDTGoES68b LcJb4/MBX44gWw1UUC91pvwPz3CmJhonlMWPpu2JWEXBtXdeRYEWZUAtA5R8 jymz0390efUg51NwS5ruHZPfLdukHzlDS6VPM/Awrcs3Up6tmPY48TxKEBkA u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5J ppc37Oy66dhV7ldGsFUvKAlv65z0v7CBHYToTAtEpEjhm4YfirArx0g1b5fA hccdmDR2PAkSJ+AT4cLGl5ql/B6oHY3PRjXGfsSnfh/JZSJqZq7peu4p6WbI brM5HhLMKcTrwtZtgMEfUqor2gClpaWlAQAAMABAAAAAAAAAAAAAAAvJAAAA AAAAAHIAAK8B/////wAAAAAAAAAAAAA= - ------=_NextPart_000_3df4_5d69_62c5-- ------------------------------ Date: Wed, 17 Oct 2001 22:55:42 +0100 From: Arie van Schutterhoef <---@---.---> Subject: Re: simulate IFFT? >The language interpreter is only meant for dealing with events. - -Which means that it is slower then control rate (kr)? I think kr runs up to 200 hz... 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: Thu, 18 Oct 2001 00:25:02 -0400 From: "Adam Overton" <---@---.---> Subject: preloading multiple audio files hello again i am trying to make a very basic syllable-sequencer, whose results might be somewhat similar in nature to paul lansky's 'idle chatter'... how can i preload several short soundfiles for easy playback... most of the examples i'm finding (DiskIn, etc) all use a lot of pesky "if"'s: ( // no preload, loop var file; file = SoundFile.new; if ( file.readHeader(":Sounds:floating_1"), // read the file's header { // read was successful file.sustainLoopStart = file.numFrames - 10000; file.sustainLoopEnd = file.numFrames; Synth.scope({ DiskIn.ar(file, true) * 0.4 }, 0.5); }); ) are there some easier/shorter ways to call these files without having to repeat so much code? i'd like to have an area in my code that's just describing the preloaded files, and then have another section where those files are then plugged in, perhaps via Plug... any suggestions? thanks adam _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ------------------------------ Date: Thu, 18 Oct 2001 01:11:46 -0700 (PDT) From: Jeremy Zuckerman <---@---.---> Subject: Re: Sound Drivers on 10/17/01 6:43 PM, David Cottle at cottle@cerlsoundgroup.org wrote: > Hi, > > I tried to download the ASIO sound drivers from > > ftp://ftp.steinberg.net/steinberg-software/product_updates/macintosh/asio/ > > and get this error > > > /steinberg-software/product_updates/macintosh/asio: No such file or > directory > > Are they somewhere else? ftp://ftp.steinberg.net/download/mac/hardware/ jz ------------------------------ Date: Thu, 18 Oct 2001 11:35:43 +0100 From: Martin Robinson <---@---.---> Subject: Re: preloading multiple audio files Hi, Use arrays to avoid repeating code (including "if"s): ( // no preload, loop var numFiles = 2, filenames, files; filenames = Array.fill(numFiles, { GetFileDialog.new.path }); files = Array.fill(numFiles, { SoundFile.new }); if ( files.every({ arg file, i; file.readHeader(filenames.at(i)) }), // read the file's header { // read was successful files.do({ arg file, i; file.sustainLoopStart = file.numFrames - 10000; file.sustainLoopEnd = file.numFrames; }); Synth.scope({ Mix.ar( files.collect({ arg file, i; DiskIn.ar(file, true) * 0.4 })/numFiles ) }, 0.5); }); ) > somewhat similar in nature to paul lansky's 'idle chatter'... [ 1, 1.25992, 1.49831 ] // equal tempered major triads - -- ..>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_[sonic arts]_[middlesex university]_[en4 8ht] ______ ________________________________________________________________ ________________________________________________________________ >><<>>___t.+44 [0] 7970 405 903 // f.+44 [0] 7970 702 976 __ >><><>____e. _ ------------------------------ Date: Thu, 18 Oct 2001 10:02:25 +0000 From: Jem Finer <---@---.---> Subject: FFT bin extraction In SC2 is there a way to access individual bins ? Jem ------------------------------ Date: Thu, 18 Oct 2001 05:42:19 -0600 From: "David Cottle" <---@---.---> Subject: Re: Sound Drivers > on 10/17/01 6:43 PM, David Cottle at cottle@cerlsoundgroup.org wrote: > >> Hi, >> >> I tried to download the ASIO sound drivers from >> >> > ftp://ftp.steinberg.net/steinberg-software/product_updates/macintosh/asio/ >> >> and get this error >> >> >> /steinberg-software/product_updates/macintosh/asio: No such file or >> directory >> >> Are they somewhere else? > > ftp://ftp.steinberg.net/download/mac/hardware/ Thanks. - -- ><><><><><><><><><><><> David Cottle, computer music, contra, cottle@cerlsoundgroup.org ------------------------------ Date: Thu, 18 Oct 2001 09:13:40 -0400 From: godpup@ix.netcom.com Subject: Re: FFT bin extraction sc-users@lists.io.com wrote: > In SC2 is there a way to access individual bins ? > Jem are you trying to extract individual frequency bands? ch. ------------------------------ Date: Thu, 18 Oct 2001 16:55:08 +0100 From: "Fabs Mogini" <---@---.---> Subject: Re: preloading multiple audio files Hi martin (and others), I use similar code to load samples (in a buffer) and play them with the playbuf object but I need to load again after initialization... _Is it possible to load new samples (with a Gui) while the code is already running? _Is it also possible to get rid of unwanted, loaded samples while the code is running? I plan to start to playing and looping the new sample only when it is sure it has been loaded (then I can wait for the next bar to start using it), Any idea? Cheers fabrice Mogini - ---------- >From: Martin Robinson <---@---.---> >To: sc-users@lists.io.com >Subject: Re: preloading multiple audio files >Date: Thu, Oct 18, 2001, 11:35 am > > Hi, > > Use arrays to avoid repeating code (including "if"s): > > ( > // no preload, loop > var numFiles = 2, filenames, files; > filenames = Array.fill(numFiles, { GetFileDialog.new.path }); > > files = Array.fill(numFiles, { SoundFile.new }); > if ( > files.every({ arg file, i; > file.readHeader(filenames.at(i)) > }), // read the file's header > > { // read was successful > files.do({ arg file, i; > file.sustainLoopStart = file.numFrames - 10000; > file.sustainLoopEnd = file.numFrames; > }); > > Synth.scope({ > Mix.ar( > files.collect({ arg file, i; > DiskIn.ar(file, true) * 0.4 > })/numFiles > ) > }, 0.5); > }); > ) > >> somewhat similar in nature to paul lansky's 'idle chatter'... > > [ 1, 1.25992, 1.49831 ] // equal tempered major triads > > > > -- > > > ..>>>>Martin Robinson :: (Ex)tractor :: && ________ >>>><<<_[sonic arts]_[middlesex university]_[en4 8ht] ______ > ________________________________________________________________ > ________________________________________________________________ >>><<>>___t.+44 [0] 7970 405 903 // f.+44 [0] 7970 702 976 __ >>><><>____e. _ > > ------------------------------ End of sc-users-digest V1 #370 ******************************