From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #268 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 Friday, March 30 2001 Volume 01 : Number 268 ---------------------------------------------------------------------- Date: Wed, 28 Mar 2001 16:49:35 +0200 From: julisn <---@---.---> Subject: Re: SC and Igor you could try udp (OSC). As far as I know right now that is the only way apart from midi that allows direct communication between the different platforms. We have managed to control things like the color of a Windows window from SC, so maybe this is an option. I'm not sure, but the OSC implementation in SC3 might differ from that of SC2.2.10. Also in SC3 there is the possibility to write special plugins. DSPGuy@aol.com wrote: > Recently I've been getting up to speed on Igor Pro (www.wavemetrics.com), > an astoundingly great environment for technical computing. Igor Pro and > SC are kind of "orthogonal" in their goals, and I'm now curious to know > if there is or will be any possibility of having them cooperate, i.e., > call one from the other. Igor has been on the Mac for around 12-13 years > and in version 4.0 (where I started) it has really become an awsome > product for numerical computing, graphing, and documenting projects. The > likes of Matlab should be embarrassed. > > I'm on both lists, so for kicks I'll post a version of this to the Igor > list. > > Jerry ------------------------------ Date: Thu, 29 Mar 2001 07:28:42 -0800 (PST) From: crux xial <---@---.---> Subject: Re: Patterns - The Model On Tue, 27 Mar 2001 22:46:46 -0400, sc-users@lists.io.com wrote: > Hello, > > A week ago I posted some questions about John Eacott's "The Model" patch and have seen 0 replies so > far. I thought all (SC) questions got some sort of reply on this list. well that CERTAINLY doesn't happen. many many unanswered questions and comments drop without response from any of us. > > Basically I was asking why the patch seemed to be so taxing on my system. > Anyone ? never got a chance to try that out. i'm waiting for The View and The Controller so I can play the whole suite. "she's a Controller and she is controlling well." > > Andrei > ::crucial-systems.com:: _______________________________________________________ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ ------------------------------ Date: Thu, 29 Mar 2001 07:53:29 -0800 From: cramakrishnan@acm.org Subject: [OT] Puns (was Re: Patterns - The Model) crux xial writes: > > On Tue, 27 Mar 2001 22:46:46 -0400, sc-users@lists.io.com wrote: > > > > Basically I was asking why the patch seemed to be so taxing on my system. > > Anyone ? > > never got a chance to try that out. i'm waiting for The View and The > Controller so I can play the whole suite. > "she's a Controller and she is controlling well." I believe there's an alternate version of the final movement called The Presenter. The source material is made up of Dolphin sounds. I've never gotten to hear it, though. - - sekhar - -- C. Ramakrishnan cramakrishnan@acm.org ------------------------------ Date: Thu, 29 Mar 2001 18:32:03 +0100 From: Andy Wilson <---@---.---> Subject: OT: wave hacks all, apologies not only for going off topic but also for my ignorance and lack of context on this, but ; I want to be able to take some arbitrary file (on a mac) and turn it into a sound file simply by editing the header / res fork. how do I do it? will res edit do the job? if so, what do I need to do? if not, what's required? tnx - -- { andy wilson << managing director << LShift << www.lshift.net } { www.andyw.com && www.faust-pages.com && www.directorxml.com } ------------------------------ Date: Thu, 29 Mar 2001 23:00:48 +0200 From: Alberto de Campo <---@---.---> Subject: Re: OT: wave hacks Hi Andy, Andy Wilson wrote: > > I want to be able to take some arbitrary file (on a mac) and turn it into a > sound file simply by editing the header / res fork. how do I do it? will res > edit do the job? if so, what do I need to do? if not, what's required? You can read it as raw data /headerless file in Soundhack. Or you could read it as raw data in SC... :-) - ------ assume it is 16 bit mono audio: ( Int16Array.getFile({ arg ok, array; var signal, file; if (ok, { signal = Signal.newFrom(array).normalize; Synth.scope({ PlayBuf.ar(signal, 44100, mul: 0.1) }); file = SoundFile.new.headerFormat_('AIFF').sampleFormat_('16 big endian signed'); file.data_([ signal ]); file.dump; file.write("myHackedFile.0"); }); }) ) Other Raw data Classes that might work: DoubleArray FloatArray Signal Int32Array Int16Array Int8Array - ---------- Also, you could make them multichannel files, either by cutting the array into Subject: bug or my fault? Hi all, I don't see why putting an impulse through overlapping triggered envelopes doesn't line up. any ideas? thanks in advance, adc ( { var input, nextTimeControl; var rate, grainDur = 0.1, blendTime = 0.04; var env, nextTime; env = Env.sine(grainDur); input = Impulse.ar(200, 0.1); nextTimeControl = MouseX.kr(0.001, 0.1, 'exponential'); [ input, Spawn.ar( { arg spawn, i; nextTime = = 0.0123; // was: nextTimeControl.poll; spawn.nextTime = nextTime; EnvGen.ar(env, timeScale: nextTime * 4, mul: input ); } ) ] }.scope(0.01); ) ------------------------------ Date: Thu, 29 Mar 2001 16:00:34 -0500 From: christian adam hresko <---@---.---> Subject: Re: OT: wave hacks Andy Wilson wrote: > all, > > apologies not only for going off topic but also for my ignorance and lack of > context on this, but ; > > I want to be able to take some arbitrary file (on a mac) and turn it into a > sound file simply by editing the header / res fork. how do I do it? will res > edit do the job? if so, what do I need to do? if not, what's required? > > tnx > > after an excruciating time writing an article on file formats, i could actually send you the code for this. however... you can just do this with soundhack. you can attach any audio-file header to some other file (after stripping off the original file's header...) and now that file can be read by your audio program of choice. or you might be able to just 'glue' an audio-file header to the original file, and the original file header might appear as a chunk which just gets tossed because it's not recognized. there's a bunch of things you can do. try soundhack. cheers, christian ------------------------------ Date: Thu, 29 Mar 2001 16:55:38 EST From: JoJoBuBu@aol.com Subject: Error The following error occurs soometimes when I am running a patch. Confusingly enough it happens in the middle of running and only happens about once every three or four times I run it. The rest of the time it works fine. What exactly does this error mean? ERROR: Message 'delta' not understood. RECEIVER: Instance of Array { (04141C50, gc=02, fmt=01, flg=00, set=01) indexed slots [2] 0 : Integer 68576224 1 : Integer 68597848 } ARGS: Instance of Array { (03C326F8, gc=80, fmt=01, flg=81, set=00) } CALL STACK: Object::doesNotUnderstand arg this = [*2] arg selector = 'delta' arg args = [*0] < FunctionDef in Method Ppar::asStream > arg j = 0 var outval = [*2] var stream = [*2] var nexttime = 128.000000 var now = 128.000000 Integer::do arg this = 1 arg function = var i = 0 < FunctionDef in Method Ppar::asStream > arg inval = Routine::prStart arg this = arg inval = This usually happens when a soundfile is triggered. In other words like this: //instrument to be used in Pbind Instrument(\file1, { arg env, signal, rate, amp, pan; a = Pan2.ar(PlayBuf.ar(signal, sound.sampleRate, rate, 0, 0, signal.size-2, amp), pan); a = a * EnvGen.ar(env); } ), then triggered by something like this. The function is short hand for a Pbind in a Ptpar. it looks like this sFileFunc = { arg rate, dur, amp, legato, signal, pan, instr; Pbind(\rate, rate, \dur, dur, \amp, amp, \legato, legato, \signal, signal, \pan, pan, \instrument, instr);}; //sfRate1 is just a sequence of rates that the soundfiles play back at Ptpar([ 0.0, sFileFunc.value(Pseq([sfRate1], 3), Pseq([(signal4.size * ((-1 * sfRate1).reciprocal)) /sound.sampleRate], 3), 2, 0.82, signal4, -1.rrand(1), \file1) ]) This is all pseudo code so there might be a mistake here or there. So does anyone know what this error means or why I am getting it? Thanks in advance, ANdy ------------------------------ Date: Thu, 29 Mar 2001 21:32:39 -0700 From: David Cottle <---@---.---> Subject: Re: OT: wave hacks > all, > > apologies not only for going off topic but also for my ignorance and lack of > context on this, but ; > > I want to be able to take some arbitrary file (on a mac) and turn it into a > sound file simply by editing the header / res fork. how do I do it? will res > edit do the job? if so, what do I need to do? if not, what's required? I have a small program called file typer which I use for changing file types all the time (not only sound files, but also images). You can also use ResEdit. Use the Get file folder info and first find an existing file that is the type you want to change to. Get info on it and write down the codes for Type and Creator (upper and lower case matters). Open the file you want to change and type those codes in, save and change. This won't fix the headers. It will just tell the Mac OS that the file belongs to e.g. soundhack. - -- ><><><><><><><><><><><> David Cottle, computer music, contra, cottle@cerlsoundgroup.org "But what will never be overcome are the diminishing returns inherent in mechanical reproduction. When the music ceases to be fresh for us in this sense, it ceases to be alive, and we can say in the most real sense that it ceases to be music." ‹Roger Sessions ------------------------------ Date: Thu, 29 Mar 2001 23:51:16 -0600 (CST) From: "AUDIOSYNTH.COM" <---@---.---> Subject: Re: Plugins/Multi channel expansion no. why do you want this? no other ugen requires it. On Sun, 25 Mar 2001, Chad Kirby wrote: > Is there a way for a ugen to tell if it is a member of an automagically > expanded array of ugens? In other words, given the following expression: > MyUgen.ar([100, 200, 300]); (where MyUgen is a MulAddUnit, let's > say) is there any way for the instance of MyUgen at 200hz to know that it > is the second member of a multi channel expansion? > > Chad Kirby // Technical Coordinator for Digital Arts // CARTAH > ckirby@u.washington.edu // 206.295.3592 > ------------------------------ Date: Fri, 30 Mar 2001 09:55:01 -0800 From: Mark Polishook <---@---.---> Subject: strange behavior? Hi James, I dowloaded the most recent SC3 yesterday and now everytime I start up SC2 or SC3, it asks me "please personalize my copy ...." ...certainly not at all a major problem ... is there, perhaps, a local fix (on my hd) for this? *** *** *** *** 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 ------------------------------ End of sc-users-digest V1 #268 ******************************