From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #89 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, February 28 2000 Volume 01 : Number 089 ---------------------------------------------------------------------- Date: Fri, 25 Feb 2000 17:50:19 -0800 From: tomonori yamasaki <---@---.---> Subject: Serial on G4 Did anyone tried gPort, G4's Serial port adapter with SC? (It's about MIDI interface with 1212 I/O.) On Korg's Japan site, it says it's not nice to use USB MIDI/Audio device on Windows machine with 1212 I/O, since they're sharing same PCI bus. I wonder if it's also not good for G4. My friend with G4 just had enough trouble with Fastlane, the cheap MOTU MIDI interface, so I wonder what's the best. MIDIMan with iMac worked well, but it's USB -I want to wait until I fully understand this PCI bus traffic. Then I found http://www.griffintechnology.com they have Serial port adapter for G4, that goes into Modem port of it. (by taking over the port) They say every MIDI interface works on it (as well as most other serial devices). It's kinda nice to have an extra port. I don't have a modem, so I can just put it in, and then use my old Opcode MIDI translator II. Then later I'll get a better, getting cheaper serial MIDI interface for it. (like studio something or motu's, used ones) I already ordered a gPort, so I'll try it and report. ------------------------------ Date: Fri, 25 Feb 2000 20:03:52 -0600 From: James McCartney <---@---.---> Subject: Re: Serial on G4 > I already ordered a gPort, so I'll try it and report. I just yesterday got a Keyspan serial->USB adapter. This is the only one that Wacom has tested with their tablets. I will try testing both the Wacom and the Studio 4 with it. ------------------------------ Date: Sat, 26 Feb 2000 03:31:34 -0800 From: cramakrishnan@acm.org Subject: Re: Serial on G4 >My friend with G4 just had enough trouble with Fastlane, the cheap MOTU >MIDI interface, so I wonder what's the best. MIDIMan with iMac worked >well, but it's USB -I want to wait until I fully understand this PCI bus >traffic. Hmm... I've used the Fastlane/USB with SC and it seems to work fine. Though, mind you, I haven't used it in anger (just run the last example in the "examples 6" file). I did, however, have to d/l updated drivers -- the drivers that shipped on the CD didn't handle input from the keyboard correctly. --sekhar - -- C. Ramakrishnan cramakrishnan@acm.org ------------------------------ Date: Sat, 26 Feb 2000 16:20:37 -0600 From: James McCartney <---@---.---> Subject: Re: remote control on 2/25/00 6:06 PM, Julian Rohrhuber at sa6a014@rrz.uni-hamburg.de wrote: > here are the programs that will run saturday for testing osc. feel free > to contribute. > > the url is http://telenautik.pop.de/remote.htm > irc: #telenautik > > it should be also possible to acess the environment directly using > Jame´s examples like z.send("/set", \ctranspose, 4); I can "/sc/ping" your machine. I sent a z.send("/set", \ctranspose, -1); and I heard the result in the real audio stream! I was also able to hear a change of the scale, scramble, sort, reverse. You should have also received a "/sc/postln" from me. This is the first worldwide application of OSC in SuperCollider. Congrats. ------------------------------ Date: Sun, 27 Feb 2000 03:11:38 +0100 From: Julian Rohrhuber <---@---.---> Subject: Re: remote control thanks for your appearance in the lounge! It was really nice to get the message through sc. the rest of the night we were trying to produce the right data from a delphi pc program, but somehow it is difficult. I´m not exactly sure how the data is supposed to look like, but we snooped into it an got fairly close. James McCartney schrieb: > > on 2/25/00 6:06 PM, Julian Rohrhuber at sa6a014@rrz.uni-hamburg.de wrote: > > > here are the programs that will run saturday for testing osc. feel free > > to contribute. > > > > the url is http://telenautik.pop.de/remote.htm > > irc: #telenautik > > > > it should be also possible to acess the environment directly using > > Jame´s examples like z.send("/set", \ctranspose, 4); > > I can "/sc/ping" your machine. > I sent a z.send("/set", \ctranspose, -1); and I heard the result in the > real audio stream! > I was also able to hear a change of the scale, scramble, sort, reverse. > You should have also received a "/sc/postln" from me. > > This is the first worldwide application of OSC in SuperCollider. Congrats. ------------------------------ Date: Sat, 26 Feb 2000 20:20:39 -0600 From: James McCartney <---@---.---> Subject: Re: remote control on 2/26/00 8:11 PM, Julian Rohrhuber at sa6a014@rrz.uni-hamburg.de wrote: > thanks for your appearance in the lounge! > It was really nice to get the message through sc. > > the rest of the night we were trying to produce the right data from a > delphi pc program, but somehow it is difficult. I´m not exactly sure how > the data is supposed to look like, but we snooped into it an got fairly close. What message were you trying to produce? The message format is documented in one of the help files. I guess a useful tool to have would be to be able to create an OSC message and hex dump it. One thing to remember is that all OSC strings are padded out to 4 byte alignment. Which means there will be from 1 to 4 bytes of zeroes at the end of the string. ------------------------------ Date: Sun, 27 Feb 2000 03:50:21 +0100 From: Julian Rohrhuber <---@---.---> Subject: Re: remote control the padding worked out, that (I think) wasn´t the problem. at last, we had the problem that the udp program would always put zeroes on places where they weren´t supposed to be. sc received something and posted nilnil (we had sent a string and an integer) James McCartney schrieb: > > on 2/26/00 8:11 PM, Julian Rohrhuber at sa6a014@rrz.uni-hamburg.de wrote: > > > thanks for your appearance in the lounge! > > It was really nice to get the message through sc. > > > > the rest of the night we were trying to produce the right data from a > > delphi pc program, but somehow it is difficult. I´m not exactly sure how > > the data is supposed to look like, but we snooped into it an got fairly close. > > What message were you trying to produce? The message format is documented in > one of the help files. I guess a useful tool to have would be to be able to > create an OSC message and hex dump it. > > One thing to remember is that all OSC strings are padded out to 4 byte > alignment. Which means there will be from 1 to 4 bytes of zeroes at the end > of the string. ------------------------------ Date: Sun, 27 Feb 2000 01:07:00 -0700 From: David Cottle <---@---.---> Subject: duration, sustain Hi, In our classes we prefer the term "nextEvent" for when the next pitch or chord will occur, and duration for how long that event will be. In the Pbind we are using: Pbind( \dur Prand([1, 0.5, 0.25]), \ugenFunc Pseq([inst1, inst2, inst3], inf) ).play to generate events and pick instruments. In this case the duration is really the next event, and the actual duration is either sustain or the envelope generated by the individual instrument functions. I wanted to change the term dur to nextEvent and added this code to Environment.sc ~nextEvent = 1.0; ~dur = nextEvent; It then does the default correctly, but this code: Pbind( \nextEvent Prand(etc. Has not effect. Is what I want to do inadvisable? Should I stick with the term "dur", or can it be changed? ------------------------------ Date: Sun, 27 Feb 2000 01:07:01 -0700 From: David Cottle <---@---.---> Subject: AllpassN Hi, I'm having a similar problem with AllpassN (CPU multiplies and doesn't release with the envelope). Is that the same problem as we saw with MultiTap? which you have fixed? ------------------------------ Date: Sun, 27 Feb 2000 09:04:42 +0000 From: Martin Robinson <---@---.---> Subject: 1212 bug or mug Just trying 2.2.7 with a 1212 (via ASIO of course), hardware routing seems to have gone weird. if I do: Synth.normalRouting I get channels 5, 6, 7, 8 (ie. output ugen array: [1, 2, 3, 4, 5, 6, 7, 8]) out of ADAT 1, 2, 3, 4. To get ADAT 1-8 out of SC output channels 1-8 I need to do: Synth.setOutputRouting([9, 10, 11, 12, 1, 2, 3, 4]) uh? I haven't tried the SPDIF or analog channels, I don't use them much especially the analog[ue] (btw, does anyone else get severe clipping on the ADAT channels if there's a high[ish] level analogue i/o ?) Is this an ASIO weirdness, SC, or just me? M >>>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_sonicArts.at(middlesexUniversity.london.uk); ______ <><><>__this.liveElectronics.interFaces.diffusion ____ ________________________________________________________________ >><<>>___t.+44 [0] 7970 405 903 // f.+44 [0] 7970 702 976 __ >><><>____e. _ ------------------------------ Date: Sun, 27 Feb 2000 09:04:42 +0000 From: Martin Robinson <---@---.---> Subject: [Sound]File James, I am trying to build an SC app that loads a SoundFile or a group of sound files from a random list and then processes it/them. Ultimately I want to load SoundFiles during synthesis, Task.help suggests this is a future possibility. But, for now I just want to choose a bunch of sound files at random from a folder. Is there a plan for directory operations, so something like: Directory.filenames(":sounds") would return an array of strings of the filenames in a particular folder? My plan is to have another machine dumping sound files in this folder after downloading them from the net (yes I know Mr Traub's 'Bits n Pieces' style!!). Come to think of it I'd probably want to trash files, or at least move them, after while too so I guess my question is: what's the plan for file ops in SC? Cheers Martin >>>>>>Martin Robinson :: (Ex)tractor :: && ________ >>><<<_sonicArts.at(middlesexUniversity.london.uk); ______ <><><>__this.liveElectronics.interFaces.diffusion ____ ________________________________________________________________ >><<>>___t.+44 [0] 7970 405 903 // f.+44 [0] 7970 702 976 __ >><><>____e. _ ------------------------------ Date: Sun, 27 Feb 2000 11:14:55 +0000 From: finer@easynet.co.uk Subject: dumb OSC questions I'm a bit confused re IP address's : in the OSCOutPort one has to specify the address of the receiving machine - can more than one machine on a network have the same address - and if not how can one communicate with more than one computer ? I thought that my IP address was dynamically allocated by my ISP - so how does the following make my address 127.0.0.1 ? I don't seem to have set this anywhere ? And how would I know the address of someone elses computer ? ( // initialize the receiving machine OSCPort.closeAll; OSCInPort(57123, nil); ) //......... ( // initialize the sending machine var hostname; hostname = "127.0.0.1"; // set this to the address of the receiving machine z = OSCOutPort(57123, hostname); ) Not a problem in that it works ! Amazing - but I'm trying understand this newly revealed gap in my understanding as to what the hell is going on. Sorry if I'm being a bit thick here ! Jem ------------------------------ Date: Sun, 27 Feb 2000 07:33:11 -0600 From: James McCartney <---@---.---> Subject: Re: dumb OSC questions on 2/27/00 5:14 AM, finer@easynet.co.uk at finer@easynet.co.uk wrote: > I'm a bit confused re IP address's : in the OSCOutPort one has to specify > the address of the receiving machine - can more than one machine on a > network have the same address no. >- and if not how can one communicate with more > than one computer ? You can receive from more than one computer, but you can only send to a specific one. Each packet has an address. > I thought that my IP address was dynamically allocated by my ISP - so how > does the following make my address 127.0.0.1 ? > I don't seem to have set this anywhere ? 127.0.0.1 is defined as the loopback address. If you are connected via cable/DSL and using DHCP, your current IP is shown in the TCP/IP control panel. I don't know how you tell for PPP, I haven't used that in a while. > > And how would I know the address of someone elses computer ? You have to ask them. The IP address does not have to be a number quad, you can use named addresses if you know the machine: "machine.domain.net" > Sorry if I'm being a bit thick here ! Network stuff is mostly new to me too. ------------------------------ Date: Sun, 27 Feb 2000 07:37:08 -0600 From: James McCartney <---@---.---> Subject: Re: 1212 bug or mug on 2/27/00 3:04 AM, Martin Robinson at m.robinson@mdx.ac.uk wrote: > Just trying 2.2.7 with a 1212 (via ASIO of course), hardware routing seems > to have gone weird. > > if I do: > > Synth.normalRouting > > I get channels 5, 6, 7, 8 (ie. output ugen array: [1, 2, 3, 4, 5, 6, 7, 8]) > out of ADAT 1, 2, 3, 4. To get ADAT 1-8 out of SC output channels 1-8 I need > to do: > > Synth.setOutputRouting([9, 10, 11, 12, 1, 2, 3, 4]) I'm not sure how the Korg ASIO driver's channels are laid out. ------------------------------ Date: Sun, 27 Feb 2000 07:38:09 -0600 From: James McCartney <---@---.---> Subject: Re: [Sound]File on 2/27/00 3:04 AM, Martin Robinson at m.robinson@mdx.ac.uk wrote: > James, > > I am trying to build an SC app that loads a SoundFile or a group of sound > files from a random list and then processes it/them. Ultimately I want to > load SoundFiles during synthesis, Task.help suggests this is a future > possibility. But, for now I just want to choose a bunch of sound files at > random from a folder. Is there a plan for directory operations, so something > like: > > Directory.filenames(":sounds") > > would return an array of strings of the filenames in a particular folder? There is a Directory class partially written. ------------------------------ Date: Sun, 27 Feb 2000 07:42:24 -0600 From: James McCartney <---@---.---> Subject: Re: duration, sustain on 2/27/00 2:07 AM, David Cottle at lime@uiuc.edu wrote: > Hi, > > In our classes we prefer the term "nextEvent" for when the next pitch or > chord will occur, and duration for how long that event will be. In the Pbind > we are using: > > Pbind( > \dur Prand([1, 0.5, 0.25]), > \ugenFunc Pseq([inst1, inst2, inst3], inf) > ).play > > to generate events and pick instruments. In this case the duration is really > the next event, and the actual duration is either sustain or the envelope > generated by the individual instrument functions. I wanted to change the > term dur to nextEvent and added this code to Environment.sc > > ~nextEvent = 1.0; > ~dur = nextEvent; That just sets dur to the current value of nextEvent. From then on dur is just 1.0 no matter what you do with nextEvent. ------------------------------ Date: Sun, 27 Feb 2000 09:44:01 -0600 From: James McCartney <---@---.---> Subject: Re: MIDIController question on 2/25/00 3:26 PM, Matthew Rogalsky at mrogalsky@mail.wesleyan.edu wrote: > > James & all > > I asked this awhile back... no answer, maybe it's just too obvious? > > Is there no way to 'put' the initial value of a MIDIController so that you > can start up a patch with preset MIDI fader values, for instance? There is no way to set values as if they were incoming MIDI. I could add it. It would require adding a new FIFO to the system to really do it right. ------------------------------ Date: Sun, 27 Feb 2000 09:46:53 -0600 From: James McCartney <---@---.---> Subject: Re: AllpassN on 2/27/00 2:07 AM, David Cottle at lime@uiuc.edu wrote: > Hi, > > I'm having a similar problem with AllpassN (CPU multiplies and doesn't > release with the envelope). Infinite impulse reponse ugens do not pass on any end time stamps at their inputs. You have to put a cutoff envelope AFTER the delay line. ------------------------------ Date: Sun, 27 Feb 2000 19:51:49 +0000 From: citadel <---@---.---> Subject: Re: Doing an album... Hi I just recently acquired my own copy of sc. To say I'm delighted would be an understatement! Current plans include doing a concept album project employing sc as one of the main instrument sources throughout. While now busily attempting to write/adapt our own programs & instruments for the purpose, we'd gratefully accept all contributions from any willing sc users. Programs of an unusual or creative nature would be most welcome..those that centre on either arpeggiated or cyclical ideas, either sample or MIDI based, especially so. This project is being done pretty much on a penny and a prayer. We will give an undertaking to award any ideas we use proper album credits. Anything else and we'll have to see how it goes. Thank you. Regards, Michael Anthony ==================================================================== ~ /\ /\ E M E R A L D F I E L D S ~/__\ ~/__\ ~~~~~~~~ ANTREE SYSTEMS ~~~~~~~~ ~ ||___|| ~ M. & C. Anthony Citadel Records (_)| | | |(_) Coolbawn House Ballinspittle (_.(_| | | |._)_) County Cork Ireland (no codes) _|||||||||||_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ___/ \___ Telephone: 353 (0) 21 778168 -/ GREETINGS \-_ Facsimile: 353 (0) 21 778526 - -/ from \- Mobile: 353 (0) 87 2398716 / I R E L A N D \ E-mail: citadel@indigo.ie ==================================================================== ------------------------------ Date: Sun, 27 Feb 2000 17:55:01 -0700 From: David Cottle <---@---.---> Subject: Re: AllpassN Hi, > Infinite impulse reponse ugens do not pass on any end time stamps at their > inputs. You have to put a cutoff envelope AFTER the delay line. OK. ------------------------------ Date: Mon, 28 Feb 2000 08:50:00 +0100 From: Julian Rohrhuber <---@---.---> Subject: [OT]OOP is it correct to say an object is nothing but a function that can also store data? ------------------------------ End of sc-users-digest V1 #89 *****************************