From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #44 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 Monday, June 14 1999 Volume 01 : Number 044 ---------------------------------------------------------------------- Date: Sun, 6 Jun 1999 20:13:25 -0600 From: James McCartney <---@---.---> Subject: Re: using gui to index array At 6:14 PM -0600 6/6/99, Garrett James wrote: >thanks, but, >For some reason I do not completely understand how to >constantly poll the value in the NumericalView to >index the array to do something different. >num.value.asInteger seems to grab the initial value, >how do i rig this to continuously ask "what is in that >NumericalView box" (and have it return an Integer for >indexing array) > >I know you can use num.kr to control Ugens for >example, but cannot figure out how to consistantly >look at what is in NumericalView and at the same time >convert to "Integer" type. Perhaps you should post an example of what you are trying to do. What are you using the array value for? Two possible solutions (without knowing what you are trying to do it is hard to know what to suggest) : Usually you install an action function in a View to do something in response to mouse movements. Have you looked at the Index and WrapIndex UGens? --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Tue, 08 Jun 1999 01:30:04 +0200 From: andreas pieper <---@---.---> Subject: Re: sound file read at interrupt? - --On Son, 6. Jun 1999 10:33 Uhr -0600 James McCartney wrote: > At 8:02 AM -0600 6/6/99, andreas pieper wrote: >> hi, >> >> is it possible to read in another soundfile for PlayBuf usage while >> running? I tried (with GetFileDialog), and all I got was >> >> ERROR: >> Primitive '_ReadSoundFileHeader' failed. >> Operation cannot be performed at interrupt level. > > No this cannot be done while playing. > Once I add threads that can block then this will be implemented. yup, i think my next question about network support has the same answer :-) >> I remember that supercollider 1 did let me do that, although not without >> heavy coughing on the audio outputs (i could sort of live with that..). > > SC1 could not do that. SC1 could stream audio from disk as can SC2 by > using DiskIn. i was able to trigger the getAudioFromUser function from a button while executing, afair. the current soundbuffer looped, while the file dialog was open, though. i know about streaming from disk, but often i prefer the extended possibilities of ram-based samples. never mind, there's tons of other stuff to discover in sc, i'll sure have a good time while waiting for blocking threads- best, a andreas pieper mego@url.de ------------------------------ Date: Mon, 7 Jun 1999 20:52:57 -0700 (PDT) From: Garrett James <---@---.---> Subject: using gui to index array (with code) Finally, got on the net on the same computer as im programming with. Here's the bottleneck in my project. I want to be able to specify which sound(s)/samples are playing. In C I understand how I could manage this no problem, but as an OO/SC beginner Im a little lost at the moment. Thanks if anyone can help me out. (if you have any RAM conservation suggestions that would help too, most of my sound files are <128k but in the full project, I use over 100...) ( var w; var soundfilearray; var sf1,sf2,sf3; w = GUIWindow.new("panel", Rect.newBy( 128, 63, 123, 111 )); NumericalView.new( w, Rect.newBy( 25, 17, 64, 20 ), "NumericalView", 1, -1e+10, 1e+10, 0, 'linear'); sf1 = SoundFile.new; sf2 = SoundFile.new; sf3 = SoundFile.new; sf1.read(":Sounds:sound1"); sf2.read(":Sounds:sound2"); sf3.read(":Sounds:sound3"); //this seems like a horrible waste of ram, in C i would use an array of pointers... soundfilearray = [sf1.data.at(0),sf2.data.at(0),sf3.data.at(0)]; //if cannot change the soundfile while playing back, guess need to use scheduler to loop //still would need a way to point to the desired sound file though. { PlayBuf.ar(...need to point to desired soundfile via NumView...,44100,1.0,0,0,42625) }.play ) - --- James McCartney wrote: > At 6:14 PM -0600 6/6/99, Garrett James wrote: > >thanks, but, > >For some reason I do not completely understand how > to > >constantly poll the value in the NumericalView to > >index the array to do something different. > >num.value.asInteger seems to grab the initial > value, > >how do i rig this to continuously ask "what is in > that > >NumericalView box" (and have it return an Integer > for > >indexing array) > > > >I know you can use num.kr to control Ugens for > >example, but cannot figure out how to consistantly > >look at what is in NumericalView and at the same > time > >convert to "Integer" type. > > > Perhaps you should post an example of what you are > trying to do. > What are you using the array value for? > > Two possible solutions (without knowing what you are > trying to > do it is hard to know what to suggest) : > > Usually you install an action function in a View to > do > something in response to mouse movements. > > Have you looked at the Index and WrapIndex UGens? > > > --- james mccartney james@audiosynth.com > http://www.audiosynth.com > If you have a PowerMac check out SuperCollider2, a > real time synth program: > > > > > > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Mon, 7 Jun 1999 21:01:47 -0700 (PDT) From: Garrett James <---@---.---> Subject: BLIP! with LPF + sample Why does this go BLIP! when i start it up? It only goes blip on startup, so if i have levels down at first its okay... (just with 20,000 watts behind it this blip can hurt!) Is there a quick way to patch this to avoid accidental injury? ( var file, signal; file = SoundFile.new; file.read(":Sounds:floating_1"); signal = file.data.at(0); Synth.scope({ LPF.ar( PlayBuf.ar(signal), MouseY.kr(200,10000,'exponential')) }); ) _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Mon, 7 Jun 1999 23:19:27 -0600 From: James McCartney <---@---.---> Subject: Re: using gui to index array (with code) At 9:52 PM -0600 6/7/99, Garrett James wrote: >Finally, got on the net on the same computer as im >programming with. > >Here's the bottleneck in my project. I want to be >able to specify which sound(s)/samples are playing. >In C I understand how I could manage this no problem, >but as an OO/SC beginner Im a little lost at the >moment. > >Thanks if anyone can help me out. (if you have any >RAM conservation suggestions that would help too, most >of my sound files are <128k but in the full project, I >use over 100...) > >( >var w; >var soundfilearray; >var sf1,sf2,sf3; > >w = GUIWindow.new("panel", Rect.newBy( 128, 63, 123, >111 )); >NumericalView.new( w, Rect.newBy( 25, 17, 64, 20 ), >"NumericalView", 1, -1e+10, 1e+10, 0, 'linear'); > >sf1 = SoundFile.new; >sf2 = SoundFile.new; >sf3 = SoundFile.new; > >sf1.read(":Sounds:sound1"); >sf2.read(":Sounds:sound2"); >sf3.read(":Sounds:sound3"); > >//this seems like a horrible waste of ram, in C i >would use an array of pointers... >soundfilearray = >[sf1.data.at(0),sf2.data.at(0),sf3.data.at(0)]; soundfilearray IS an array of pointers. All objects in SC are accessed via pointers internally. You do need to load them all in memory. There is no way around that if you want random access playback which is what PlayBuf is. If you want to stream them off disk then use DiskIn. >//if cannot change the soundfile while playing back, >guess need to use scheduler to loop >//still would need a way to point to the desired sound >file though. OK, yes, PlayBuf only plays back a single file. You need to spawn a new one if you want to change files. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Tue, 8 Jun 1999 01:08:18 -0600 From: James McCartney <---@---.---> Subject: Re: BLIP! with LPF + sample At 10:01 PM -0600 6/7/99, Garrett James wrote: >Why does this go BLIP! when i start it up? It only >goes blip on startup, so if i have levels down at >first its okay... (just with 20,000 watts behind it >this blip can hurt!) Is there a quick way to patch >this to avoid accidental injury? > >( >var file, signal; >file = SoundFile.new; >file.read(":Sounds:floating_1"); >signal = file.data.at(0); >Synth.scope({ > >LPF.ar( >PlayBuf.ar(signal), >MouseY.kr(200,10000,'exponential')) >}); >) Yup it's a bug.. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Tue, 08 Jun 1999 10:13:10 +0200 From: "Iannis Zannos" <---@---.---> Subject: Re: sound file read at interrupt? >>is it possible to read in another soundfile for PlayBuf usage while >>running? I tried (with GetFileDialog), and all I got was >> >>ERROR: >>Primitive '_ReadSoundFileHeader' failed. >>Operation cannot be performed at interrupt level. > >No this cannot be done while playing. >Once I add threads that can block then this will be implemented. Well it depends. Perhaps the question was not formulated clearly. There are examples for playing and processing sound directly from file via DiskIn.ar. The point is you have to open the file before the synth starts, then you can start playing back at any moment while the synth runs. You do not have to read all the data in - just the header. I have done this for opening many sound files at once, not needing to load all the sounds in RAM, and then playing back selectively some of the files when needed, triggered by any kind of messages that lets you spawn processes. Hint: look at examples and tutorial for processing audio from disc, then modify these to read the file header before starting the synth. This is actually how these examples work, but you may want to move the file reading code to some separate method which is called before starting the synth. Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 - ---------- >From: James McCartney <---@---.---> >To: sc-users@lists.io.com >Subject: Re: sound file read at interrupt? >Date: Sun, 6 Jun 1999 6:33 PM > >At 8:02 AM -0600 6/6/99, andreas pieper wrote: >>hi, >> >>is it possible to read in another soundfile for PlayBuf usage while >>running? I tried (with GetFileDialog), and all I got was >> >>ERROR: >>Primitive '_ReadSoundFileHeader' failed. >>Operation cannot be performed at interrupt level. > >No this cannot be done while playing. >Once I add threads that can block then this will be implemented. > >>I remember that supercollider 1 did let me do that, although not without >>heavy coughing on the audio outputs (i could sort of live with that..). > >SC1 could not do that. SC1 could stream audio from disk as can SC2 by >using DiskIn. > >>Another thing: are there any methods for reading a directory? > >no. This is waiting for threads too. > > > > --- james mccartney james@audiosynth.com http://www.audiosynth.com >If you have a PowerMac check out SuperCollider2, a real time synth program: > > > > > > ------------------------------ Date: Tue, 08 Jun 1999 20:20:22 +0200 From: Martino Traversa <---@---.---> Subject: sc-user list Does exist a repository of all messages sent to sc-user list ? Thank you. Martino COOL-FIRE: la soluzione Firewall per Windows NT http://www.symbolic.it/Prodotti/cool-fire.html SYMBOLIC Tel: +39 0521 776180 / Fax: +39 0521 776190 ------------------------------ Date: Tue, 8 Jun 1999 12:29:05 -0700 (PDT) From: Garrett James <---@---.---> Subject: Re: sc-user list ftp://io.com/pub/mailing-lists/sc-users-digest/ i downloaded all of em, do a index volumes with Sherlock and you have "almost" a grep of every snag people have run into over the past few years. quite convenient :) note the earlier ones are related mostly to supercollider 1... if you werent a supercollider 1 user it might be a little confusing to see. Does anyone know of a free GREP for macintosh? I notice sherlock doesnt like regular expressions, or even non-english words... which can be a little tricky searching for supercollider words... - --- Martino Traversa wrote: > > Does exist a repository of all messages sent to > sc-user list ? > > Thank you. > Martino > > COOL-FIRE: la soluzione Firewall per Windows NT > http://www.symbolic.it/Prodotti/cool-fire.html > > SYMBOLIC Tel: +39 0521 776180 / Fax: +39 0521 776190 > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Tue, 8 Jun 1999 14:32:11 -0600 From: James McCartney <---@---.---> Subject: Re: sc-user list At 12:20 PM -0600 6/8/99, Martino Traversa wrote: >Does exist a repository of all messages sent to sc-user list ? ftp://ftp.io.com/pub/mailing-lists/sc-users-digest --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Wed, 9 Jun 1999 08:24:52 +1000 From: ggerrard <---@---.---> Subject: Re: sc-user list There is a thing called MacGrep. I can't remember where I downloaded the file from but Sherlock should help you find it. BBEdit has a grep option in it's find dialog, and will search a batch of files too. The readme file was written by Ken R. Lunde, klunde@macc.wisc.edu Graeme Gerrard Resonant Multimedia ph (+6 13) 9525 7869 The trouble with books is that you don't know what's going to happen until it's too late. ------------------------------ Date: Tue, 08 Jun 1999 17:02:13 -0600 From: "David Cottle" <---@---.---> Subject: Re: sc-user list Hi, > Does exist a repository of all messages sent to sc-user list ? I compiled them all in MS word, but Sherlock works as well I guess. ------------------------------ Date: Tue, 08 Jun 1999 21:40:18 -0400 From: "crucial" <---@---.---> Subject: Re: sc-user list >Does anyone know of a free GREP for macintosh? I >notice sherlock doesnt like regular expressions, or >even non-english words... which can be a little tricky >searching for supercollider words... bbedit lite is free and has multiple file searches with (nearly fully implemented) reg exps. I often use it exactly as you are describing, to search over hundreds of files of docs etc. returns a browsable list of found items. __________________________________________ :\\_______ http://crucial-systems.com __________________________________________ :\\_______ ------------------------------ Date: Tue, 8 Jun 1999 22:17:19 -0600 From: James McCartney <---@---.---> Subject: SC 2.1.4 available MacBinary 2484K : < or BinHex 3311K : < Changes in Version 2.1.4 A MixerPlayer class was written to support playing things from the Lib menu. Multiple Lib menu items can be played at once and controlled in a mixer window. Other supporting classes, Instrument and MixerVoice, were written to support this as well. A View's MIDI mapping is now written by Generate Code to Clipboard. Korg S/PDIF output was fixed. Some problems writing sound file headers were fixed. Function valueEnvir and valueArrayEnvir methods were added. These will lookup any unsupplied function arguments in the currentEnvironment. Environments used to have a parent instance variable and were nestable. Since the new Pattern scheme does not require nestable Environments that capability was removed, making Environment lookup more efficient. The currentEnvironment now always replaces the previous Environment rather than just overriding it. More work was done on Patterns. ListPatterns were simplified to reduce run time overhead. Thread is now a subclass of Stream so that Thread's subclass Routine can benefit from the math and collect,select,reject operations supported by Stream. There is now an introduction to streams, patterns and events in the Documentation:Streams-Patterns-Events folder. Post Here Always now works correctly. Help now searches for a Help directory in the current library folder. rrand(lo, hi) now includes the value hi if lo and hi are both Integers. It used to range from lo to hi - 1. MouseX and MouseY are now scaled so that the value actually reaches maxval at the right and bottom edges of the screen instead of being slightly less than maxval. Dictionary keysValuesArrayDo was fixed so that the index argument is an Integer instead of a Float. A couple of bugs in PlayBuf were fixed. A number of other bugs in the class library were fixed. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: < ------------------------------ Date: Wed, 9 Jun 1999 12:32:26 +0100 From: Hans Tutschku <---@---.---> Subject: SC 2.1.4 soundin & grain Hi James, did you change something in the channel routing for the analog (soundmanager) input in Version 2.1.4? A patch getting sound-in from soundmanager in version 2.1.3 is not getting it anymore in 2.1.4. another question: is there a grain-function other then for a delayline? Is it possible to granulate a soundbuffer (as it was in version 1.87) Thanks, Hans - --------------------------- Hans Tutschku http://www.multimania.com/hanstutschku ------------------------------ Date: Wed, 9 Jun 1999 13:36:50 +0100 From: finer@easynet.co.uk Subject: lib menu I can't get the items in the menu to be bold and clickable . . . . ? Jem ------------------------------ Date: Wed, 09 Jun 1999 09:17:57 -0700 From: Mark Polishook <---@---.---> Subject: Re: SC 2.1.4 available > > > Changes in Version 2.1.4 > And Alberto de Campo's excellent SC tutorials are in the help folder :) - -mp ------------------------------ Date: Wed, 09 Jun 1999 10:38:24 -0700 From: "Garry Kling" <---@---.---> Subject: Re: SC 2.1.4 available Done, done, and done. Do you need anything else to order the software? (no reply necessary) Garry <<< Mark Polishook 6/ 9 9:16a >>> > > > Changes in Version 2.1.4 > And Alberto de Campo's excellent SC tutorials are in the help folder :) - -mp ------------------------------ Date: Wed, 9 Jun 1999 17:43:46 -0700 (PDT) From: Garrett James <---@---.---> Subject: SuperCollider Case! Okay, this is on the verge of SC related, but at Home Depot they have these EXCELLENT silver, aluminum briefcases boxes (the kind that all the actors handcuff themselves to) for $19.99(!!). They are the perfect size for a Powerbook G3, a Peavey 1600x and related components. (You just have to use a little foam to pad the thing). Adds a hell of a lot of style for $20 ;-) And thankyou James for the quick 2.1.4 release Impressive reaction time! - -Garrett _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------ Date: Wed, 9 Jun 1999 22:34:08 -0600 From: James McCartney <---@---.---> Subject: Re: lib menu At 6:36 AM -0600 6/9/99, finer@easynet.co.uk wrote: >I can't get the items in the menu to be bold and clickable . . . . ? At 5:32 AM -0600 6/9/99, Hans Tutschku wrote: >did you change something in the channel routing for the analog >(soundmanager) input in Version 2.1.4? There appear to be some strangenesses associated with my last minute upgrade of compilers. The new optimizer is doing some weird stuff, so I need to figure these out. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Thu, 10 Jun 1999 10:33:43 -0600 From: James McCartney <---@---.---> Subject: trivia: cultural references in SC documentation From the '01 Literals' file: 666 - number of the beast 2112 - an album by Rush. 96 - 60s pop song: 96 tears 0.39 - Albedo 0.39 by Vangelis 98.6 - temperature in F of human body, a bubble gum pop song from the 60s 16rA9FF - A9FF, a CD by antiorp 'BigSwiftyAndAssoc' - a fictional corporate entity appearing in the works of Frank Zappa, employer of a trend monger named Greggary Peccary, a nocturnal gregarious wild swine. "Wouldn't you rather be involved in a series of colorful time wasting trends? Hmmm?" 'nowhere here' 'somewhere there' "If you came from nowhere here, why can't you go somewhere there?" - Sun Ra --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: < ------------------------------ Date: Thu, 10 Jun 1999 12:11:21 -0600 From: James McCartney <---@---.---> Subject: Re: SC 2.1.4 soundin & grain At 5:32 AM -0600 6/9/99, Hans Tutschku wrote: >Hi James, > >did you change something in the channel routing for the analog >(soundmanager) input in Version 2.1.4? >A patch getting sound-in from soundmanager in version 2.1.3 is not getting >it anymore in 2.1.4. What setup are you using? Have you made sure that the Sound Input box is checked in your Audio Setup dialog? I am able to get sound input in 2.1.4. >another question: > >is there a grain-function other then for a delayline? Is it possible to >granulate a soundbuffer >(as it was in version 1.87) Sure, just spawn a lot of short grains made by a PlayBuf and an EnvGen. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Thu, 10 Jun 1999 13:15:45 -0600 From: James McCartney <---@---.---> Subject: SC 2.1.5 available MacBinary 2484K : or BinHex 3311K : Changes in Version 2.1.5 The Lib menu would often appear greyed out in version 2.1.4. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Thu, 10 Jun 1999 15:30:22 -0400 From: Mark Ballora <---@---.---> Subject: Re: trivia: cultural references in SC documentation I always suspected that the implications of SC were far-reaching ... >>From the '01 Literals' file: > > > >666 - number of the beast >2112 - an album by Rush. >96 - 60s pop song: 96 tears > >0.39 - Albedo 0.39 by Vangelis >98.6 - temperature in F of human body, a bubble gum pop song from the 60s > >16rA9FF - A9FF, a CD by antiorp > >'BigSwiftyAndAssoc' - > a fictional corporate entity appearing in the works of Frank Zappa, > employer of a trend monger named Greggary Peccary, a nocturnal > gregarious wild swine. "Wouldn't you rather be involved in a series > of colorful time wasting trends? Hmmm?" > >'nowhere here' >'somewhere there' > "If you came from nowhere here, why can't you go somewhere there?" - Sun Ra > > --- james mccartney james@audiosynth.com http://www.audiosynth.com >If you have a PowerMac check out SuperCollider2, a real time synth program: > ------------------------------ Date: Thu, 10 Jun 1999 20:27:01 +0100 From: Martin Robinson <---@---.---> Subject: Plug and ControlIn I'd been having problems with SC2.1.3 and .4, getting errors of the type: € ERROR: input 1 to TapN is not a UGen, Float, or Integer. but not in SC2.1.2. I just traced it to ControlIn.kr UGens, replacing them with Plug.kr fixes. This is partly my laziness not updating them to Plugs but I thought others might be experiencing simpliar problems. Plug seems not to be completely backwardly compatible with ControlIn? PS [OT] I've been enjoying the discussions on the Music-DSP group (some interesting and humourous arguments). James, can I quote you in my signature line from these? My favourite to start would be: "Done wanking, Mr Spock? Ever heard of GIGO?" There are some other fine put-downs, however. >>>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_sonicArts.at(middlesexUniversity.london.uk); ______ <><><>__this.liveElectronics.interFaces.diffusion ____ || ------------------------------ Date: Thu, 10 Jun 1999 20:27:45 +0100 From: Martin Robinson <---@---.---> Subject: welcome datacomp This may sound like a wind-up, but isn't. I was rehearsing for a performance yesterday and had SC running for about an hour and when I returned to the text editor the words welcome datacomp had appeared after the program code. No one else was near the machine during that time (also the clipoard contained the last bit of text I'd copied in there before running the pragram). This may have been in SC2.1.2 (I've been having a couple of problems with SC2.1.3-4 - see my next post). Have I been possessed? >>>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_sonicArts.at(middlesexUniversity.london.uk); ______ <><><>__this.liveElectronics.interFaces.diffusion ____ || ------------------------------ Date: Thu, 10 Jun 1999 15:42:56 -0600 From: James McCartney <---@---.---> Subject: Re: Plug and ControlIn At 1:27 PM -0600 6/10/99, Martin Robinson wrote: >I'd been having problems with SC2.1.3 and .4, getting errors of the type: > >* ERROR: input 1 to TapN is not a UGen, Float, or Integer. > >but not in SC2.1.2. > >I just traced it to ControlIn.kr UGens, replacing them with Plug.kr fixes. > >This is partly my laziness not updating them to Plugs but I thought others >might be experiencing simpliar problems. > >Plug seems not to be completely backwardly compatible with ControlIn? Hmm. It appears not. >There are some other fine put-downs, however. Uhh, sometimes my sense of sarcasm runs ahead of my civil sensibilities... --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Fri, 11 Jun 1999 04:52:02 -0400 From: Mic Berends <---@---.---> Subject: to the Great Implementor. hi james! is there ever any possibility of having a way to insert VST plugins into SC data-stream? lots of useful things are programmed, mostly pluggo which would be the perfect bridge between max/msp and SC; also it makes all VST plugs automatable. vnice. i would love it. thank you, your software is Truly Badass. Cheers, Mic! PeeEss: oh, yes - still wondering about that runtime shell or packager so i can give my code to mates around the world. bye again. PeePeeEss: and another thing. even less likely. runtime VST 2.0 plugin shell. people reckon they can write cool stuff in max/msp + pluggo? heh. ------------------------------ Date: Fri, 11 Jun 1999 14:42:04 +0100 From: Hans Tutschku <---@---.---> Subject: Re: SC 2.1.4 soundin & grain >At 5:32 AM -0600 6/9/99, Hans Tutschku wrote: >>Hi James, >> >>did you change something in the channel routing for the analog >>(soundmanager) input in Version 2.1.4? >>A patch getting sound-in from soundmanager in version 2.1.3 is not getting >>it anymore in 2.1.4. > >What setup are you using? Have you made sure that the Sound Input >box is checked in your Audio Setup dialog? >I am able to get sound input in 2.1.4. > > It works in 2.1.5. thank you. - --------------------------- Hans Tutschku http://www.multimania.com/hanstutschku ------------------------------ Date: Fri, 11 Jun 1999 08:17:07 -0600 From: James McCartney <---@---.---> Subject: Re: to the Great Implementor. At 2:52 AM -0600 6/11/99, Mic Berends wrote: >hi james! >is there ever any possibility of having a way to insert VST plugins into >SC data-stream? lots of useful things are programmed, mostly pluggo >which would be the perfect bridge between max/msp and SC; also it makes >all VST plugs automatable. vnice. i would love it. thank you, your >software is Truly Badass. > It is not possible for VST plugins to operate in SC because they assume that they are allocated statically. For example when created they are allowed unlimited time to get themselves set up. SuperCollider unit generators are dynamically allocated in real time and must have minimal start up time. For example in MSP or VST an object might build tables for itself or zero out delay lines when created. This is not allowed in SC because such things would cause glitches if they happened in real time. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Fri, 11 Jun 1999 12:10:45 -0400 From: Mic Berends <---@---.---> Subject: Re: to the Great Implementor. bummer. yes, some of the plugins do take nearly unlimited time to setup when instantiated. hmm, i wonder if MOTU's AudioTap thing will suck SC sound from the pipeline sans crashez. (for those not sequencer fans, AudioTap in Digital Performer 2.6 will re-route sound from any app sending to Sound Manager through DP's effects + recording & out again. not VST/pluggo but includes a few useful things.) perhaps someone will build something similar for VST plugs to be used. Cheers, Mic. (the lazy programmer) James McCartney wrote: > > It is not possible for VST plugins to operate in SC because they assume > that they are allocated statically. For example when created they > are allowed unlimited time to get themselves set up. SuperCollider > unit generators are dynamically allocated in real time and must > have minimal start up time. For example in MSP or VST an object might > build tables for itself or zero out delay lines when created. > This is not allowed in SC because such things would cause glitches > if they happened in real time. > > --- james mccartney james@audiosynth.com http://www.audiosynth.com > If you have a PowerMac check out SuperCollider2, a real time synth program: > ------------------------------ Date: Sat, 12 Jun 1999 07:42:30 -0600 From: James McCartney <---@---.---> Subject: Re: Voicer Problem I went back to your original email. Here is one problem I found. This may or may not be your problem.. // two banks to select from (not implemented) // Bank 0 objects.add([ [`conv, [0, 0]], [`fm, []] ]); // Bank 1 (empty at present) objects.add([]); should be: // two banks to select from (not implemented) // Bank 0 objects = objects.add([ [`conv, [0, 0]], [`fm, []] ]); // Bank 1 (empty at present) objects = objects.add([]); You must always assign the result of an add to an Array because it will choose the most efficient thing to do, either add the item or create a larger array and add the object. a = [\a]; b = a.add(\b); a.postln; // array a did not change b.postln; --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: < ------------------------------ Date: Sat, 12 Jun 1999 18:05:00 +0100 From: finer@easynet.co.uk Subject: bug . . . or mug Hello, Is it a bug . . . or am I a mug ? Trying to use patches which use GUIUtils in 2.1.5 I'm getting errors . Trying GUIUtils examples I get the same errors. eg trying to run : SoundModel.scope(Formant, closewindows: true) This happens : Bad input rate obj INPUT: Instance of ControlIn ''{ (0832A1AC, gc=00, fmt=00, flg=00, set=05) instance variables [6] synth : instance of Synth (0832010C, size=0, set=06) inputs : Float 0.1 3FB99999 9999999A rate : Symbol 'control' state : Integer 0 source : instance of Function (0832ADA4, size=0, set=01) prevSource : nil } * ERROR: input 1 to Pause is not a UGen, Float, or Integer. Wondering why ? Also funny things happen with the lib menu - trying to play from disk - ERROR: Message 'clip' not understood. Cheers, Jem ------------------------------ Date: Sat, 12 Jun 1999 18:38:23 +0100 From: Martin Robinson <---@---.---> Subject: Re: bug . . . or mug Jem, > SoundModel.scope(Formant, closewindows: true) > > This happens : > > Bad input rate obj > INPUT: > Instance of ControlIn ''{ (0832A1AC, gc=00, fmt=00, flg=00, set=05) > instance variables [6] > synth : instance of Synth (0832010C, size=0, set=06) > inputs : Float 0.1 3FB99999 9999999A > rate : Symbol 'control' > state : Integer 0 > source : instance of Function (0832ADA4, size=0, set=01) > prevSource : nil > } > * ERROR: input 1 to Pause is not a UGen, Float, or Integer. I had a problem using ControlIn, it seems (and I think James agreed??) that Plug is not completely backwardly compatible with ControlIn. In GUIUtils find and replace 'ControlIn' with 'Plug' in files DefaultLib.sc Function.sc View.sc SoundManager.sc ...seems to work! >>>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_sonicArts.at(middlesexUniversity.london.uk); ______ <><><>__this.liveElectronics.interFaces.diffusion ____ >>><<<___tractor.at(jacksonsLane.london.N6).june(17_18_19)_99 __ || ------------------------------ Date: Sat, 12 Jun 1999 15:13:53 -0600 From: James McCartney <---@---.---> Subject: Re: bug . . . or mug At 11:05 AM -0600 6/12/99, finer@easynet.co.uk wrote: >Also funny things happen with the lib menu - trying to play from disk - - >ERROR: >Message 'clip' not understood. > To fix this, change the lines in Main.sc from: Instrument.play(pathName, { DiskIn.ar(sf, false, 0, 32768) }, nil, 1.0); to : Instrument.play(pathName, { DiskIn.ar(sf, false, 0, 32768) }, 1.0); --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: < ------------------------------ Date: Sun, 13 Jun 1999 10:26:16 +0000 From: the hafler trio <---@---.---> Subject: [ot] announcement 0+1 : 1 max list for those appropriated the digital yellow star by the korporat fascist regime operating max-l. to subscribe may email : minimalist@www.god-emil.dk subject : subscribe typedmess 0+2 : 1 elegant quicktime 4. quicktimevr. quickdraw + internet max c++ object for additional information may access - http://www.m9ndfukc.org/korporat/nato.0+55.html takemu stanju stvari _.. nato _ smrt za smrt - zlobni propagandi 0+3 : 1 elegant anti nato presentation [requires netskape 4] http://www.m9ndfukc.org/korporat/nato.0+55.html < 0\ zve!te[z]!ztem \1 > d z e . f a n t o m . o v . l ! b e r t ! ____________________________________________________________________________ ______ ____________________________________________________________________________ __________ ______________________________________________________________________________ __________________________________________________________________ __________________________________________________________ ____________________________________________________________________________ ____________ ________________________________ ------------------------------ Date: Sun, 13 Jun 1999 18:39:17 +0100 From: finer@easynet.co.uk Subject: 3 d spatial situation - sensors etc I seem to remember a letter not so long ago about 3 d sound and sensors - how to locate people in a space. I've looked on the digest but can't find it - does anyone have a recollection of when this letter existed - or better, a copy . thanks, Jem ------------------------------ Date: Mon, 14 Jun 1999 10:20:54 +0200 From: "Iannis Zannos" <---@---.---> Subject: Re: bug . . . or mug Jem and Martin, thanks for spotting and correcting the compatibility problems with GUIUtils and SC 2.1.4 ff. BTW: SC 2.1.4 ff now contains some features similar to GUIUtils. - which can inspire extensions or improvements on both parts: Extending the new SC 2.1.4 library and GUI features in GUIUtils direction, and improving the implementation style of GUIUtils a-la SC 2.1.4 ff style. Best. Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 - ---------- >From: Martin Robinson <---@---.---> >To: sc-users@lists.io.com >Subject: Re: bug . . . or mug >Date: Sat, 12 Jun 1999 7:38 PM > >Jem, > >> SoundModel.scope(Formant, closewindows: true) >> >> This happens : >> >> Bad input rate obj >> INPUT: >> Instance of ControlIn ''{ (0832A1AC, gc=00, fmt=00, flg=00, set=05) >> instance variables [6] >> synth : instance of Synth (0832010C, size=0, set=06) >> inputs : Float 0.1 3FB99999 9999999A >> rate : Symbol 'control' >> state : Integer 0 >> source : instance of Function (0832ADA4, size=0, set=01) >> prevSource : nil >> } >> * ERROR: input 1 to Pause is not a UGen, Float, or Integer. > > >I had a problem using ControlIn, it seems (and I think James agreed??) that >Plug is not completely backwardly compatible with ControlIn. > >In GUIUtils find and replace 'ControlIn' with 'Plug' in files > >DefaultLib.sc >Function.sc >View.sc >SoundManager.sc > >...seems to work! > >>>>>>>Martin Robinson :: (Ex)tractor :: && ________ >>>><<<_sonicArts.at(middlesexUniversity.london.uk); ______ ><><><>__this.liveElectronics.interFaces.diffusion ____ >>>><<<___tractor.at(jacksonsLane.london.N6).june(17_18_19)_99 __ > > || > > ------------------------------ Date: Mon, 14 Jun 1999 10:32:36 +0200 From: "Iannis Zannos" <---@---.---> Subject: Re: to the Great Implementor. >PeeEss: oh, yes - still wondering about that runtime shell or packager >so i can give my code to mates around the world. bye again. As a teacher in a media-design college reported recently in a conference here, this is an important (almost decisive) choice criterion for SC type of media-design software. ... Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 - ---------- >From: Mic Berends <---@---.---> >To: sc-users@lists.io.com >Subject: to the Great Implementor. >Date: Fri, 11 Jun 1999 10:52 AM > >PeeEss: oh, yes - still wondering about that runtime shell or packager >so i can give my code to mates around the world. bye again. ------------------------------ End of sc-users-digest V1 #44 *****************************