From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #12 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 4 1998 Volume 01 : Number 012 ---------------------------------------------------------------------- Date: Tue, 20 Oct 1998 08:48:08 -0600 From: James McCartney <---@---.---> Subject: Re: click clack/grain At 7:16 AM -0600 10/20/98, finer@easynet.co.uk wrote: >Hello , > >Below is a simple grain patch for sound files that begs a couple of questions: > >1. Why does it sometimes play with a horrible click and sometimes not ? >I've tried it on different machines and with different files and the same >thing happens. I'm not getting a click. When does it occur? At the start? During playback? > >2. Is there any harm to be done by setting the loopstart point in Playbuf >to the same value as the offset, ie to make it loop around the whole sample >? Should work fine. To loop the whole sample set the loopstart to zero and offset to where ever you want to start from. If you set the offset and the loopstart the same you will loop from loopstart to loopend. BTW are you trying to get that bouncing ball effect where the loop gets shorter each time, or are you wanting a full loop? If the latter then change it as below (ie, set the loopstart to zero) : PlayBuf.ar(signal, sound.sampleRate, 1, start, 0, l, Osc1.ar(tbl,dur)), --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: < ------------------------------ Date: Tue, 20 Oct 1998 08:50:06 -0600 From: James McCartney <---@---.---> Subject: Re: click clack/grain At 7:16 AM -0600 10/20/98, finer@easynet.co.uk wrote: >Hello , > >Below is a simple grain patch for sound files that begs a couple of questions: > >1. Why does it sometimes play with a horrible click and sometimes not ? >I've tried it on different machines and with different files and the same >thing happens. One thing I notice is that you are clipping occasionally, which might be the source of your clicks. So, scale the amplitude down. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Tue, 20 Oct 1998 16:22:40 +0100 From: finer@easynet.co.uk Subject: Re: click clack/grain Thanks - I'll try the amplitude approach. BTW ( as they say ) - the click seems to happen at the end. Also re the bouncing ball effect - no I wasn't intending that to happen ! Thanks - if the clicking persists I'll try and be more specific as to where it occurs. Jem >At 7:16 AM -0600 10/20/98, finer@easynet.co.uk wrote: >>Hello , >> >>Below is a simple grain patch for sound files that begs a couple of questions: >> >>1. Why does it sometimes play with a horrible click and sometimes not ? >>I've tried it on different machines and with different files and the same >>thing happens. > >One thing I notice is that you are clipping occasionally, which might be >the source of your clicks. So, scale the amplitude down. > > > --- james mccartney james@audiosynth.com http://www.audiosynth.com >If you have a PowerMac check out SuperCollider2, a real time synth program: > Jem Finer finer@easynet.co.uk Longplayer : http://www.ecna.org/artangel/longlayer.html ------------------------------ Date: Tue, 20 Oct 1998 17:53:19 -0400 From: Curtis Roads <---@---.---> Subject: Re: click clack/grain I have not tried the patch, but I can point out a general source of clicking in sound file granulation. Granulation does not like DC offset in the soundfiles it granulates. By pre-filtering out all signal below 20 Hz before granulating, this problem can be eliminated. C. Roads ------------------------------ Date: Wed, 21 Oct 1998 22:22:33 +0200 From: joel ryan <---@---.---> Subject: Re: sound playthru probably not a korg problem) Jem, This input "playing through" an application is a well know feature of the sound manager and requires a message to turn it off. Play-through is for people who want to monitor the input for some reason while they record.. Its part of the sound manager from way back and still happens to me using SC2 or SC1 on my G3 Power book using QuickTime 3.02 A dependable workaround: If you start SC2 AFTER you start sound input (eg asigning input to the external "Sound In" port or choosing/starting a CD) the input sound stream will dissapear as soon as SC initializes itself. Functions you start will be the only source of output. You can cause play-through to reappear by for example starting and stopping the CD player. Joel Ryan It's the same in 8.0 or 8.1 because it is about the sound manager/QuickTime not the system per se. Some applications like the old SoundEffect by Alberto Ricci have a switch to mute this play-thru so we should be able to do the same thing once a function is made avaliable for this to call to Quicktime >[ incoming sound is audible before, during and after running a patch such as : > >{ AudioIn.ar([1,2]) }.play; > ___________________________________________ Joel Ryan STEIM "Stichting for Electro-Instrumental Music" Achtergracht 19, 1017 Amsterdam Institute of Sonology Frankfurt Ballet +31 (020) 624-3886 +31 (020) 626-4262 fax http://www.xs4all.nl/~steim _________________________ ------------------------------ Date: Thu, 22 Oct 1998 02:13:48 -0600 From: James McCartney <---@---.---> Subject: SC2d28 now available SC2d28 is now available at: The major changes are: Supports the Sonorus card. Sonorus' driver software seems to use a lot of CPU when reading sound input. If you're not using sound in, then you'll get better performance if you turn it off in Audio Setup. Because of the way the Sonorus driver is written, volume control is not glitch free. Doing so would require an extra copy operation on the data. I may make this an option in the future. Play-through on the Korg is disabled. The sound manager code should be more robust in cases where drivers do not support the calls I make. AudioIn works correctly. Stereo AIFF sound files now show the proper duration in other software. EnvGen now has a trigger method that lets you trigger different Envs. Env has two new curve types: 'step' and 'welch' The compiler stack no longer blows up when compiling large files. The compiler allocates less memory when compiling large files. User made subclasses of View subclasses now show up and work correctly. .sc files in higher level folders override those in lower level folders, allowing you to override classes in the Common folder. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Thu, 22 Oct 1998 02:25:46 -0600 From: James McCartney <---@---.---> Subject: out next week Just a notice that I will be in a small village in Mexico from Sun Oct 25 to Wed Nov 4 and will not be reading email until I return. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Thu, 22 Oct 1998 20:13:50 +0300 From: laurson@amadeus.siba.fi (Mikael Laurson) Subject: SC2d27 and SC2d28 James wrote: >If you want your own global functions, you can define your own class to >hold them. This doesn't require changing the common classes. >MyFuncs { > *myfunc1 { arg a, b, c; > } > *myfunc2 { arg a, b, c; > } > *myfunc3 { arg a, b, c; > } >} >MyFuncs.myfunc1(1, 2, 3); Fine, this seems to be a solution to my problems. James wrote on SC2d28: >The compiler stack no longer blows up when compiling large files. >The compiler allocates less memory when compiling large files. This is great. I tested it with very large scores (up to 20000 notes) and everything works perfectly. Also the loading is surprisingly fast. Finally some questions and comments: Is there a way to test if a sample has been loaded already in SC (I would like to avoid loading the same sample several times). The SoundFile class has a path slot. Could this be used to check if a sample with the same pathname has already been loaded? The duration argument of the Synth.write method has to be multiplied by two if one writes a stereofile in order to get correct duration for the soundfile (with monofiles this works as expected.) Mikael ================================ Mikael Laurson Hollantilaisentie 1 A 2 00300 Helsinki 33 Finland E-mail: laurson@siba.fi ================================ ------------------------------ Date: Thu, 22 Oct 1998 10:57:31 -0700 (PDT) From: Chad Kirby <---@---.---> Subject: Re: Audio Setup bug? SCd28 still does not work with our AudioMedia III card (G3, MacOS 8.0). It fails with the same message as SCd27: % ERROR: SndPlayDoubleBuffer error: -200 It will not make any sound through the AudioMedia card. Output through the built-in hardware works fine. Does anyone have SuperCollider working with an AudioMedia Card? Any chance this will be fixed soon? Chad Kirby ckirby@u.washington.edu Computer Specialist Voice: (206) 543-0543 University of Washington Fax: (206) 685-9499 School of Music Box 353450, Seattle 98195 *** Americans are a race of convicts and ought to be thankful for anything we allow them short of hanging. Samuel Johnson (1709-1784) On Tue, 13 Oct 1998, James McCartney wrote: > At 8:38 AM -0600 10/10/98, Maurizio Giri wrote: > >Hi, James, > > > >when I select the Audio Setup item, in the file menu (SC2d27), my PPC > >8100/110 with Audiomedia II crashes (tried with system 7.5.1 and MacOs 8.1, > >both with and without Digidesign Sound Drivers exstension installed) > > > >That's maybe because it is a Nubus computer? > > I am going to upload SC2d28 soon and it has some fixes for starting > up audio for drivers that don't support certain features of the > sound manager. Hopefully this will fix your problem. > > > --- james mccartney james@audiosynth.com http://www.audiosynth.com > If you have a PowerMac check out SuperCollider2, a real time synth program: > > > > > > ------------------------------ Date: Thu, 22 Oct 1998 13:19:39 -0600 From: James McCartney <---@---.---> Subject: Re: Audio Setup bug? At 11:57 AM -0600 10/22/98, Chad Kirby wrote: >SCd28 still does not work with our AudioMedia III card (G3, MacOS 8.0). It >fails with the same message as SCd27: > % ERROR: SndPlayDoubleBuffer error: -200 > >It will not make any sound through the AudioMedia card. Output through the >built-in hardware works fine. Does anyone have SuperCollider working with >an AudioMedia Card? Any chance this will be fixed soon? It looks like that driver does not support SndPlayDoubleBuffer, no ifs ands or buts... I am in process with Digidesign to become a developer for them. --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: ------------------------------ Date: Thu, 22 Oct 1998 14:53:44 -0600 From: James McCartney <---@---.---> Subject: Re: SC2d27 and SC2d28 >Finally some questions and comments: >Is there a way to test if a sample has been loaded already in SC (I would >like to avoid loading the same sample several times). >The SoundFile class has a path slot. Could this be used to check >if a sample with the same pathname has already been loaded? You could create a Dictionary and store SoundFiles indexed their pathname, and check it each time you load a file. You could make this a class 'SoundFileLib' that looks up a file and loads the file for you if it is not already loaded. >The duration argument of the Synth.write method has to be multiplied >by two if one writes a stereofile in order to get correct duration >for the soundfile (with monofiles this works as expected.) This was a bug in SC2d27 that is now fixed. At least it works for me. These two both produce stereo files of the right length that are recognized as such by other software. ( // analog bubbles Synth.record({ f = LFSaw.kr(0.4, 24, LFSaw.kr([8,7.23], 3, 80)).midicps; // glissando function CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4) // echoing sine wave }, 10, "test3", 'AIFF', '16 big endian signed') ) ( // analog bubbles Synth.write({ f = LFSaw.kr(0.4, 24, LFSaw.kr([8,7.23], 3, 80)).midicps; // glissando function CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4) // echoing sine wave }, 10, "test3", 'AIFF', '16 big endian signed') ) --- james mccartney james@audiosynth.com http://www.audiosynth.com If you have a PowerMac check out SuperCollider2, a real time synth program: < ------------------------------ Date: Thu, 22 Oct 1998 13:56:27 -0700 (PDT) From: Chad Kirby <---@---.---> Subject: Re: Audio Setup bug? Additional experimentation has yielded a bit more information. In a nutshell, if the built-in sound input is used, SC will output through the AudioMedia III (AMIII) card. If the AMIII sound input is used, SC will not output through the AMIII. In other words, the AMIII card can be used for *either* sound input *or* output, but not both. Furthermore, you have to restart the machine after modifying the sound in/out paths before SC will work. So if sound in and out are both set to the AMIII, you need to open the sound control panel, change either Input or Output to Build-In, then restart the machine, then SC will work. Very strange. Chad Kirby ckirby@u.washington.edu Computer Specialist Voice: (206) 543-0543 University of Washington Fax: (206) 685-9499 School of Music Box 353450, Seattle 98195 *** Say what you will about the Ten Commandments, you must always come back to the pleasant fact that there are only ten of them. H.L. Mencken (1880-1956) On Thu, 22 Oct 1998, James McCartney wrote: > At 11:57 AM -0600 10/22/98, Chad Kirby wrote: > >SCd28 still does not work with our AudioMedia III card (G3, MacOS 8.0). It > >fails with the same message as SCd27: > > % ERROR: SndPlayDoubleBuffer error: -200 > > > >It will not make any sound through the AudioMedia card. Output through the > >built-in hardware works fine. Does anyone have SuperCollider working with > >an AudioMedia Card? Any chance this will be fixed soon? > > It looks like that driver does not support SndPlayDoubleBuffer, no ifs > ands or buts... > > I am in process with Digidesign to become a developer for them. > > > --- james mccartney james@audiosynth.com http://www.audiosynth.com > If you have a PowerMac check out SuperCollider2, a real time synth program: > > > > > > ------------------------------ Date: Thu, 22 Oct 1998 20:00:28 -0500 From: Ken Mistove <---@---.---> Subject: Re: Audio Setup bug? Chad, Since version 1.0 of SC, the AMIII card with the Digi Sound Drivers (for Sound Manager) could only do either input or output. Most other apps I know of that use the AMIII are either DAE or ASIO compliant and can do simultaneous I/O. Because SC uses Sound Manager, there is no way to do simultaneous I/O with Digi's current driver. I went through all the tests and trials you have done over two years ago. This is a "fault" of Digidesign, not James. Perhaps James' future association with Digidesign may change this. Until such, you'll have to live with the limitation. I will admit, output from SC through the AMIII sounds great. Simultaneous input would be nice though... Ken ------------------------------ Date: Fri, 23 Oct 1998 08:55:37 -0700 (PDT) From: Chad Kirby <---@---.---> Subject: Re: Audio Setup bug? Perhaps the limitations of SC vis-a-vis the AudioMedia cards would be a good thing to include in the SC documentation. As a FAQ, or as a known bug. That would have saved me and at least a few other people a bunch of time. And regardless of where the fault lies, I still want to be able to use the AudioMedia III card for input *and* output. No other program breaks when the AMIII is set as both input source and output desatination (Max/MSP, for example, works just fine). SC has so much potential, it's a real shame that it doesn't fully support the AMIII, which has to be one of the most popular high-quality sound cards out there. Let's all hope James' association with Digi bears fruit in the near future. Chad Kirby ckirby@u.washington.edu Computer Specialist Voice: (206) 543-0543 University of Washington Fax: (206) 685-9499 School of Music Box 353450, Seattle 98195 *** A fishing rod is a stick with a hook at one end and a fool at the other. Samuel Johnson (1709-1784) On Thu, 22 Oct 1998, Ken Mistove wrote: > Chad, > > Since version 1.0 of SC, the AMIII card with the Digi Sound Drivers (for > Sound Manager) could only do either input or output. Most other apps I know > of that use the AMIII are either DAE or ASIO compliant and can do > simultaneous I/O. Because SC uses Sound Manager, there is no way to do > simultaneous I/O with Digi's current driver. I went through all the tests > and trials you have done over two years ago. This is a "fault" of > Digidesign, not James. > > Perhaps James' future association with Digidesign may change this. Until > such, you'll have to live with the limitation. I will admit, output from SC > through the AMIII sounds great. Simultaneous input would be nice though... > > Ken > > > > ------------------------------ Date: Fri, 23 Oct 1998 21:19:33 +0300 From: Maurizio Giri <---@---.---> Subject: Re: Audio Setup bug? On Tue, 13 Oct 1998, James McCartney wrote: > I am going to upload SC2d28 soon and it has some fixes for starting > up audio for drivers that don't support certain features of the > sound manager. Hopefully this will fix your problem. Hi James, Unfortunately SC2d28 still crashes my PPC 8100 + Audiomedia II when i select Audio Setup... _____________________________________________ o Maurizio Giri o o ConTempo o o Italian Contemporary (and Early) Music o o http://www.axnet.it/contempo o o-------------------------------------------o o ConTempo e-mail: contempo@wmail.axnet.it o o Personal e-mail: m.giri@agora.stm.it o o o o Snail: Via Ostilia, 55 - 00184 Roma Italy o o Tel +39.6.70451885 o _____________________________________________ http://www.univr.it/germano/eme/compos/girima.htm ------------------------------ Date: Fri, 23 Oct 1998 23:07:57 +0200 (CEST) From: Arie van Schutterhoef <---@---.---> Subject: Re: Audio Setup bug? >On Tue, 13 Oct 1998, James McCartney wrote: > >> I am going to upload SC2d28 soon and it has some fixes for starting >> up audio for drivers that don't support certain features of the >> sound manager. Hopefully this will fix your problem. > >Hi James, > >Unfortunately SC2d28 still crashes my PPC 8100 + Audiomedia II when i select >Audio Setup... > > > >_____________________________________________ >o Maurizio Giri o >o ConTempo o >o Italian Contemporary (and Early) Music o >o http://www.axnet.it/contempo o >o-------------------------------------------o >o ConTempo e-mail: contempo@wmail.axnet.it o >o Personal e-mail: m.giri@agora.stm.it o >o o >o Snail: Via Ostilia, 55 - 00184 Roma Italy o >o Tel +39.6.70451885 o >_____________________________________________ > >http://www.univr.it/germano/eme/compos/girima.htm Doesn't AM2 work with the Nubus-connection? Maybe that's the problem... Arie van Schutterhoef artistic director Schreck Ensemble laboratory for live electro-acoustic music Holland http://www.xs4all.nl/~schreck/ ------------------------------ Date: Sat, 24 Oct 1998 00:15:59 +0300 From: Maurizio Giri <---@---.---> Subject: Re: Audio Setup bug? >>Hi James, >> >>Unfortunately SC2d28 still crashes my PPC 8100 + Audiomedia II when i select >>Audio Setup... > > >Doesn't AM2 work with the Nubus-connection? >Maybe that's the problem... > Yes, it is Nubus. What's the problem? Maurizio _____________________________________________ o Maurizio Giri o o ConTempo o o Italian Contemporary (and Early) Music o o http://www.axnet.it/contempo o o-------------------------------------------o o ConTempo e-mail: contempo@wmail.axnet.it o o Personal e-mail: m.giri@agora.stm.it o o o o Snail: Via Ostilia, 55 - 00184 Roma Italy o o Tel +39.6.70451885 o _____________________________________________ http://www.univr.it/germano/eme/compos/girima.htm ------------------------------ Date: Sat, 24 Oct 1998 17:10:29 +0200 (CEST) From: Arie van Schutterhoef <---@---.---> Subject: Re: Audio Setup bug? >>>Hi James, >>> >>>Unfortunately SC2d28 still crashes my PPC 8100 + Audiomedia II when i select >>>Audio Setup... > >> >> >>Doesn't AM2 work with the Nubus-connection? >>Maybe that's the problem... >> > >Yes, it is Nubus. >What's the problem? > >Maurizio > I think that the communication with soundcards in SC2d28 is with the PCI-bus which 32-bit and Nubus is 8-bit and of a completely different kind... Maybe these things don't go along very well... Arie van Schutterhoef artistic director Schreck Ensemble laboratory for live electro-acoustic music Holland http://www.xs4all.nl/~schreck/ ------------------------------ Date: Mon, 26 Oct 1998 19:46:54 -0500 (EST) From: David Crandall <---@---.---> Subject: aliases to Sounds folders I may finally have some time to get up on the SC2 learning curve, but I'd like to avoid duplicating the Sounds folder I already have for SC 1.x, which I'm still using. Is there a way to indicate folder aliases so SC will know where things are? tia, dc ------------------------------ Date: Thu, 29 Oct 1998 23:29:33 +0100 From: Thomas Miley <---@---.---> Subject: Re: SC2d27 and SC2d28 >This is great. I tested it with very large scores (up to 20000 notes) >and everything works perfectly. Also the loading is surprisingly >fast. How are most people getting large files into SC? Is there a utility to convert, say, MIDI files? Also, I'm going through some smalltalk tutorials - is the SQUEAK environment the best way to go about following the literature? Also, I've not been able to run Iannis' library - I get error messages telling me some basic things haven't been defined when I try to compile an alternate library. Am I missing a step? (I followed the directions in the readme) ------------------------------ Date: Fri, 30 Oct 1998 09:59:43 +0000 From: finer@easynet.co.uk Subject: 1212 card S/PDIF in Is there a way to get AudioIn to read from the 1212 's S/PDIF in ? Thanks, Jem Jem Finer finer@easynet.co.uk Longplayer : http://www.ecna.org/artangel/longlayer.html Autodestruct/Marseille en Juin : http://www.chez.com/immedias ------------------------------ Date: Fri, 30 Oct 1998 10:30:32 +0000 From: finer@easynet.co.uk Subject: more on the grain click problem A week or so ago I wrote : >Below is a simple grain patch for sound files that begs a couple of questions: > >1. Why does it sometimes play with a horrible click and sometimes not ? >I've tried it on different machines and with different files and the same >thing happens. To which James replied : >I'm not getting a click. When does it occur? At the start? During playback? Well the click appears to happen at the end of each grain and looks like one pulse of a square wave. Curtis Roads suggested it could be DC offset in the soundfiles and that by pre-filtering out all signal below 20 Hz before granulating the problem could be be eliminated. I tried to use LeakDC but probably used it wrong as the program crashed ! Not sure how to prefilter. Any further suggestions greatfully received. Thanks, Jem Jem Finer finer@easynet.co.uk Longplayer : http://www.ecna.org/artangel/longlayer.html Autodestruct/Marseille en Juin : http://www.chez.com/immedias ------------------------------ Date: Fri, 30 Oct 1998 09:27:11 -0500 (EST) From: Mark Ballora <---@---.---> Subject: Re: SC2d27 and SC2d28 On Thu, 29 Oct 1998, Thomas Miley wrote: > Also, I've not been able to run Iannis' library - I get error messages > telling me some basic things haven't been defined when I try to compile > an alternate library. Am I missing a step? (I followed the directions > in the readme) > I haven't been able to run it either. M ------------------------------ Date: Fri, 30 Oct 1998 15:00:54 -0500 From: Landon Rose <---@---.---> Subject: "series and parallel" signal flow James- Is the code below executing four comb filters in parallel with two all-pass delays in series? My guess is that it isn't because I'm not summming the four instances of CombN before sending the signal to the Allpass filters. Maybe it's doing the same thing only differently? The SNOOP shows me four repetitions of 3 : instance of CombN (01A0FE84, size=0, set=06) 4 : instance of AllpassN (01A1184C, size=0, set=06) 5 : instance of AllpassN (01A1130C, size=0, set=06) 6 : instance of BinaryOpUGen (01A1386C, size=0, set=05). Given that four scope windows occur ( no, what I mean is 4 windows in one scope, er, you know what I mean!) means I suppose that the above ugens are executed (in a row but) in "parallel"? Perhaps using Mix.ar is what I want but unsure of where to execute it. To a more general question-in terms of filters and delays- how are the analog variants "parallel" and "series" expressed in SC? One last but important question! If I am listening through headphones on a powerbook, am I hearing all of code below? ( var z ; { z = Decay.ar(Dust.ar(1,0.5), 0.2, WhiteNoise.ar); (AllpassN.ar(AllpassN.ar(CombN.ar( z , 0.2, [ 0.045,0.040, 0.035, 0.030] ,2), 0.2, 0.025, 2 ), 0.2, 0.015, 2) * 0.4) ; }.scope; ) Thanks. Landon ------------------------------ Date: Fri, 30 Oct 1998 15:28:02 -0600 From: "David Cottle" <---@---.---> Subject: MIDI keyboard control Hi, I'm a new user and have been through the MIDI controller help pages but can't see how to control with the keyboard. Is the keyboard in the same class as the modulation wheel? If so, any idea what the number it would be for a Casio 110? (I got it second hand and don't have the documentation.) ------------------------------ Date: Fri, 30 Oct 1998 22:16:54 -0500 From: Landon Rose <---@---.---> Subject: Re: "series and parallel" signal flow James- just sent you a bunch of questions to the list, forgot you're still out of virtual town, lookin' to hear from you upon your return, and I hope you're having a good time! Landon ------------------------------ Date: Mon, 02 Nov 1998 18:43:14 +0100 From: "Iannis Zannos" <---@---.---> Subject: Re: SC2d27 and SC2d28 The directions for running my lib as given by James dont work for me either. ... ;-> A. It was James' idea to use the GUIUtils folder as "root compilation folder" through the choose library folder menu item. I personally prefer to put an alias of each new library module when it is ready into the Common folder, as follows: - - Put a NEWLY MADE alias of the GUIUtils folder in the CURRENT Common folder (see points to watch for under B below). - - Remove the alias to the Common folder from the GUIUtils folder. - - Make sure you rename View.sc and SequenceableCollection.sc into View.scx and SequenceableCollection.scx so you avoid conflicts with duplicate definitions of these classes. - - Also make sure you rename the Main.sc file in the Default Library folder to Main.scx, in order to be able to use the main definition provided for GUIUtils by James. - - Recompile. B. Points to watch when compiling new library configurations. The way indicated by James should actually work, although I do not use it, and cannot afford to help in trying to make it work. Generally it is useful to watch for the following 2 common problems when reconfiguring folder hierarchies to compile new libraries: - - If the compiler gets stuck it may be because a folder alias is "broken", i.e. it does not actually connect to the folder it is supposed to. Replace it with a newly made alias of the target folder. - - If ever you decide to choose a new default library folder watch out for circularities resulting from leaving aliases to the new default library inside the subfolders of this library - i.e circularities! ... - - If you want to use a new Main function for running with command make sure you have not left some duplicate definition of the Main : Process { class in some file that tries to get compiled, because it will lead to "discrepancy" error. All this said: I tried to change the default library in the way James described, after checking all aliases and files, and it will NOT compile. James, perhaps you should check that? The way described under A should work, if not, please let me know. Iannis Zannos SIM Tiergartenstr. 1, D-10785 Berlin, Germany Fax: +49 30 25481172 - ---------- >From: Mark Ballora <---@---.---> >To: sc-users@lists.io.com >Subject: Re: SC2d27 and SC2d28 >Date: Fri, 30 Oct 1998 3:27 PM > >On Thu, 29 Oct 1998, Thomas Miley wrote: > >> Also, I've not been able to run Iannis' library - I get error messages >> telling me some basic things haven't been defined when I try to compile >> an alternate library. Am I missing a step? (I followed the directions >> in the readme) >> >I haven't been able to run it either. >M > > ------------------------------ Date: Mon, 02 Nov 1998 13:38:14 -0500 (EST) From: Gary Lee Nelson <---@---.---> Subject: SC2D28 I am unable to download the latest version. For some reason I am not locating the server. It is very strange because the directory comes up showing both 27 and 28 but when I click on them I get an error message. Gary Lee Nelson TIMARA Department Conservatory of Music Oberlin, OH 44074 office: 440-775-8223 home: 440-775-4279 fax: 440-775-8942 email: Gary.Nelson@oberlin.edu http://www.timara.oberlin.edu/people/~gnelson/gnelson.htm ------------------------------ Date: Mon, 2 Nov 1998 13:19:25 -0600 From: antiorp@tezcat.com (=cw4t7abs) Subject: Re: SC2D28 >I am unable to download the latest version. For some reason I am not >locating the server. It is very strange because the directory comes up >showing both 27 and 28 but when I click on them I get an error message. t!p!kl++ >Gary Lee Nelson >TIMARA Department >Conservatory of Music kompute-- \\ hou 2 konfuze akadem!a. !nzert non-d.term!n!zt!k . eg. "strange" !e. l!fe data. |||||||| - tzo s!mpl onl! 1 ch!ld kould komprehend !t. ftp://www.audiosynth.com/pub/updates/SC2d28.sea.hqx ------------------------------ Date: Mon, 2 Nov 1998 19:21:22 -0500 From: Mark Ballora <---@---.---> Subject: 2 questions: large score and playback rate Welcome back, James! I hope your trip was everything you meant it to be. 1) I'm still working with OrcScore, using a _large_ (80,000+ entries) score. I get an Out of Memory message when I try to run it, and I have to quit and restart SuperCollider before I can run another instrument. It works fine with a shorter score file. Is there a way to make a large score like this work? 2) Trying to control the rate of playback, I modified the OrcScore definition in the Cycle.sc file, as you suggested earlier: OrcScore { // orchestra is an array (or dictionary) of instrument functions. // score is an array of arrays of parameters to be passed to the instrument function. *ar { arg orchestra, score, argNumChannels = 1, argNextTime = 1.0, argMaxRepeats = 1, timeScale=1.0, mul = 1.0, add = 0.0; var maxrepeats; maxrepeats = if (argMaxRepeats.notNil, { argMaxRepeats * score.size },{ nil }); ^Spawn.ar( { arg spawn, eventCount, synth; var pfields, instrument; pfields = score.wrapAt(eventCount); spawn.nextTime = pfields.at(0) * timeScale.poll; // pfield zero must be delta time instrument = orchestra.at(pfields.at(1)); // pfield one must be instrument index instrument.valueArray(spawn, eventCount, synth, pfields); // call instrument function }, argNumChannels, argNextTime, maxrepeats, mul, add ) } } I am trying to run the following instrument: ( var timelist; timelist = thisProcess.interpreter.executeFile("hrv_time_condense"); e = Env.new ([0, 1, 0], [0.004, 0.2, 0.004], 'linear'); Synth.play({ var w; var rate, rate_display; w = GUIWindow.new("panel", Rect.newBy( 178, 67, 275, 90 )); rate=SliderView.new( w, Rect.newBy( 16, 9, 163, 20 ), "SliderView", 1, 1, 100, 0, 'linear'); rate_display=NumericalView.new( w, Rect.newBy( 186, 9, 64, 20 ), "NumericalView", 0, -1e+10, 1e+10, 0, 'linear'); StringView.new( w, Rect.newBy( 65, 33, 128, 20 ), "Rate"); rate.action = { rate_display.value = rate.value }; rate_display.action = { rate.value = rate_display.value }; OrcScore.ar( [{ arg spawn, i, synth, deltaTime, instrumentNum, dataval; synth.timeScale=rate; EnvGen.ar(e, Impulse.ar(1/dataval, 0.5)); } ], timelist, 1, nil, 1) }) ) where the timelist file is my very large data file, which looks like: #[ [ 0.894737, 0, 0.894737 ], [ 0.887218, 0, 0.887218 ], [ 0.909774, 0, 0.909774 ], [ 0.932331, 0, 0.932331 ], [ 0.932331, 0, 0.932331 ], [ 0.924812, 0, 0.924812 ], [ 0.917293, 0, 0.917293 ], ... [ 0.954887, 0, 0.954887 ], [ 0.962406, 0, 0.962406 ] ] In short, I'm trying to have the data point determine both the deltaTime and the inverse of my Impulse frequency. Running the instrument produces alloc failed 1 19 4194336 0 bgwfr t sz: 0 0 7 0 0 7 56 1 bgwfr t sz: 0 0 9 2 0 11 176 2 bgwfr t sz: 0 0 4 2 0 6 192 3 bgwfr t sz: 1 0 11 2 0 14 896 4 bgwfr t sz: 0 0 2 1 0 3 384 5 bgwfr t sz: 0 0 2 0 0 2 512 6 bgwfr t sz: 0 0 0 2 0 2 1024 7 bgwfr t sz: 0 0 1 0 0 1 1024 10 bgwfr t sz: 0 0 1 0 0 1 8192 13 bgwfr t sz: 1 0 0 0 0 1 65536 tot bgwfr t sz: 2 0 37 9 0 48 77992 *DANGER: OUT of MEMORY. Operation failed. Is this the same problem from 1) in a new package, or is there something wrong with my patch and/or my OrcScore modifications? Of course, none of my other OrcScores work with the modified Cycle.sc file, which is understandable since they were created with the original version. When I restore it they all work fine. I hope all this reassures you that SuperCollider is always close to me, even when you're away ... :-) Mark Ballora ------------------------------ Date: Mon, 2 Nov 1998 19:50:45 -0500 From: Mark Ballora <---@---.---> Subject: 2 questions: large score and playback rate FOLLOW-UP You probably noticed my envelope levels and times had a mismatch. Doesn't solve the problem, but oops. ------------------------------ Date: Wed, 4 Nov 1998 10:48:38 +0100 From: Anje <---@---.---> Subject: ASIO license >It looks like to support the MOTU 2408 card the only way is to support >the ASIO interface developed by Steinberg. Steinberg has refused to >allow me access to the API, though they have given that support to >another developer of a similar software. Steinberg has not answered my >last email to them. However Steinberg did reveal that I was interested >in ASIO to the developer of that other software, whose publicist proceeded >to make an angry phone call to me for trying to cause trouble. All I >want is to support sound cards, for christ's sake. The misunderstanding >between me and the other developer has been repaired, I think. > >So those of you interested in seeing support for the MOTU 2408 card >you might try writing Steinberg and vote that I be given access to >the API. > > > --- james mccartney james@audiosynth.com http://www.audiosynth.com >If you have a PowerMac check out SuperCollider2, a real time synth program: > James, I saw this today at Harmony Central. Hope this resolves your problem with Steinberg! Best regards, Anje Los Angeles, CA * October 26, 1998 - Steinberg today announced that the VST* (Virtual Studio Technology) PlugIn Interface and ASIO* (Audio Stream Input Output) is now open, free of charge to third party developers on both Windows and MAC platforms. Previously anyone could download the software development kit to create a VST PlugIn. This fueled an explosive growth in the availability and diversity of PlugIns, but only a small band of applications could host these VST PlugIns. After the successful implementation of VST PlugIn Host technology in Emagic's Logic Audio, and Opcode's VisionDSP Software on the Macintosh, Steinberg found themselves the recipients of an increasing wave of requests to open up the host-side VST PlugIn support, particularly for the Windows platform where VST automation, ease of implementation, and true real-time management characteristics gave it a clear advantage over existing Windows solutions. Manfred Ruerup, Managing Director of Steinberg said, "We have always had the belief that we, as an industry, owe it to our customers to help create an open standard for native audio systems and to allow this still young technology to flourish. These are just two steps along the way". The ASIO technology has allowed many audio hardware designers to create drivers to directly link audio hardware to Cubase VST. ASIO technology then was also licensed to Opcode for use in VisionDSP. Now Emagic and other companies will host ASIO technology and support high performance multiple port audio cards such as Lexicon Studio, Digidesign's D24 card, Yamaha's DSP Factory, Event's Layla, Gina and Darla, MOTU's 2408, Sonorus StudI/O and many more. Anyone can apply for the software development kit to host VST PlugIns and/or ASIO technology, free of license fee barriers. Steinberg will still administer the authorization, copyrights, logos and trademarks. ------------------------------ End of sc-users-digest V1 #12 *****************************