From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #193 Reply-To: sc-users Sender: owner-sc-users-digest@lists.io.com Errors-To: owner-sc-users-digest@lists.io.com Precedence: bulk sc-users-digest Thursday, October 26 2000 Volume 01 : Number 193 ---------------------------------------------------------------------- Date: Wed, 25 Oct 2000 17:00:05 -0500 From: James McCartney <---@---.---> Subject: Re: crash ... scanning back through old mail... on 9/28/00 11:59 AM, Hans Tutschku at Hans.Tutschku@ircam.fr wrote: > Today I got a funny crash. SC just printed before freezing: > > gc->numGrey 1, but none found > set 13 black obj->next->prev != obj > > I like this "good by". Yes this is a problem that arose while trying to garbage collect. It would be interesting to know what you were doing and if you can repeat it. gc->numGrey is a count of the number of items it thinks it needs to scan, but somehow none of the lists actually contained any grey objects, so there was a discrepancy. This caused a larger sanity check to be performed which determined that one of the doubly linked lists was corrupted. The corrupt list was the one of the set of objects of size 2^13 = 8192 slots which happens to be the stack size of the main thread, so there was probably some problem while switching threads. Were you using Tasks? - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Thu, 26 Oct 2000 00:29:52 +0000 From: juno <---@---.---> Subject: pro tools 5.0.1 pro tools 5.0.1 free is out. for both windows and mac it says it's "specially" made for mobile systems... http://www.digidesign.com/ptfree/main.html juno - -- _____________________________ "everything we do is music- - -everywhere is the best seat" _____________________________ ------------------------------ Date: Thu, 26 Oct 2000 01:05:48 EDT From: DSPGuy@aol.com Subject: Re: ultrasound waves into audio waves, off-topic >An inventor from the Media Lab Joe Pompei, has invented a flat panelthat >can beam a sound to one spot up to several hundered feet away. It's being >tested by car companies,etc now. By chance I happened to see him >demonstrating this at the Media Lab last spring - it is indeed a weird >experience to hear a sound first right in front of your forehead and then >hear the same sound emanating from a wall fifty feet away. Others I guess >have been working trying to develop this idea. I am curious if anyone on >the list has heard this system or something like it. what are your >thoughts on it? My two bits' worth: I heard it a year ago at the Audio Engineering Society where Pompei gave a paper on it, along with a live demo. The demo was of music--it sounded OK but with slight bass. His analogy is that of a flashlight--indeed, you basically couldn't hear anything from the transducer array until it was pointed at you. The sound is ultrasonic--above normal hearing, but is demodulated by the slight nonlinearity of air. The directionality does depend on the size of the array, but using the wavelength of the ultrasound as the basis. The basic idea isn't that new, but in its original form suffered from very high distortion. Pompei has found a way of predistorting the signal, but distorion is still greater than 0.01%. It's real, it's weird. But I'm _very_ skeptical about ultrasound dosage. (But then, I don't know anything about ultrasound dosage....). MIT and Pompei are apparently having legal difficulties with Sennheiser over the device. Pompei says they took his idea and Sennheiser says that they had developed it before he talked to them. I think this was discussed in the Wall Street Journal recently--don't rely on my interpretation if it matters to you. Jerry ------------------------------ Date: Thu, 26 Oct 2000 01:01:41 -0500 From: James McCartney <---@---.---> Subject: Re: ultrasound waves into audio waves, off-topic on 10/26/00 12:05 AM, DSPGuy@aol.com at DSPGuy@aol.com wrote: > But I'm _very_ skeptical about ultrasound dosage. > (But then, I don't know anything about ultrasound dosage....). Hey I learned all I need to know from Star Trek... ..images of the bridge crew clutching their ears and collapsing... ..can't..take.. any.. more.. aaaggghhh... - --- somewhat more on topic... I have made a disk recording modifier for SC3 which means that any UGen can have a modifier attached dynamically that will begin recording its output to disk. This will enable a key like cmd-6 to start and stop recording while playing. You can also add modifiers programmatically if you like. Modifiers in SC are parasites that can attach onto a ugen and affect its behaviour. There are modifiers for pause, hold, fade, fadeEnd, peep, and now startRecording. Writes .aiff, .wav, .au, and headerless files in 8, 16, 24, 32, 32fp, 64fp sample formats. SoundDesignerII files require a resource fork which is more work from interrupt level, so that is not done so far, but will be. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Thu, 26 Oct 2000 17:34:19 +0100 From: Scott Wilson <---@---.---> Subject: Classy Question I'm trying to create a little convenience class which creates a standard Gui which plugs into some other classes I'm working on. I can make the Gui no problem, but I'm having trouble making a 'close' method. Here's some simplified code. MyGui { // a class method *new { var w, element1, element2 ... ; w = GUIWindow.new("panel", Rect.newBy(128, 64, 461, 300)); element1 = SliderView.new( w, Rect.newBy(23, itemLoc, 234, 21), ... element2 = ... ... ^[element1, element2, ..., w] } //an instance method closeWin { this.at(indexOfw).close } } where indexOfw is of course the index of w. With this code, I can go: x = MyGui.new; and up pops a GUI. If I then execute: x.at(indexOfw).close; it closes fine, however x.closeWin; returns the error ERROR: Message 'closeWin' not understood. I'm fairly sure this has something to do with the fact that it's returning an Array, but I'm not sure how this should be done, so I'm obviouslz misunderstanding some subtle point. I've tried doing it making w an instance variable with a getter method but a lot of poking around with Cmd-J has so far failed to reveal to me how that should be done either. Can someone clarify? Thanks, Scott ------------------------------ Date: Thu, 26 Oct 2000 10:54:27 -0500 From: James McCartney <---@---.---> Subject: Re: Classy Question on 10/26/00 11:34 AM, Scott Wilson at sdwilson@home.com wrote: > I'm trying to create a little convenience class which creates a standard Gui > which plugs into some other classes I'm working on. I can make the Gui no > problem, but I'm having trouble making a 'close' method. Here's some > simplified code. > > MyGui { > > // a class method > *new { > var w, element1, element2 ... ; > > w = GUIWindow.new("panel", Rect.newBy(128, 64, 461, 300)); > > element1 = SliderView.new( w, Rect.newBy(23, itemLoc, 234, 21), ... > element2 = ... > > ... > > ^[element1, element2, ..., w] > > } > > //an instance method > > closeWin { > this.at(indexOfw).close > } > } > > where indexOfw is of course the index of w. > > With this code, I can go: > > x = MyGui.new; > > and up pops a GUI. If I then execute: > > x.at(indexOfw).close; > > it closes fine, however > > x.closeWin; > > returns the error > > ERROR: > Message 'closeWin' not understood. > > I'm fairly sure this has something to do with the fact that it's returning > an Array, but I'm not sure how this should be done, so I'm obviouslz > misunderstanding some subtle point. I've tried doing it making w an instance > variable with a getter method but a lot of poking around with Cmd-J has so > far failed to reveal to me how that should be done either. > > Can someone clarify? > > Thanks, > > Scott > You never actually create a MyGui object in your *new method. You return an Array from your MyGui method. > ^[element1, element2, ..., w] x is an Array, not a MyGui. Thus it looks to see if there is a closeWin method for Array which there is not. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Thu, 26 Oct 2000 18:12:20 +0200 From: Julian Rohrhuber <---@---.---> Subject: SampleBank Dies ist eine mehrteilige Nachricht im MIME-Format. - --------------52D2A2BE7551B5C8A58471EE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit here is an update on the SampleBank class. now there is SignalBank too which might save some space. - --------------52D2A2BE7551B5C8A58471EE Content-Type: application/x-stuffit; x-mac-type="53495435"; x-mac-creator="53495421"; name="SampleBank.sit" Content-Transfer-Encoding: base64 Content-Description: Dokument Content-Disposition: inline; filename="SampleBank.sit" U3R1ZmZJdCAoYykxOTk3LTE5OTggQWxhZGRpbiBTeXN0ZW1zLCBJbmMuLCBodHRwOi8vd3d3 LmFsYWRkaW5zeXMuY29tL1N0dWZmSXQvDQoaAAUQAAAOvQAAAHIAAQAAAHJJgg2lpVJlc2Vy dmVkpaUApaWlpQEAADoAQLYeJDS2HiRDAAAAAAAAAAAAAAAAAAoUHwAAANAAADEcAAAN7QAC U2FtcGxlQmFuawAA6CIBcwAxAj8A8APgAccA5QEH//j/8ONAAACAAAAAAAAAAKWlpaUBAABD ABC2HiKUth4j8wAAAHIAAAcfAAAAcgATtC0AAAitAAADmAAAAAAPAFNhbXBsZUJhbmsgZXhh bXBsZXMAAYr5VEVYVFNDam0BAABTADAAAAAAAAAAAAAAgAAAAAAAAAAAAAxUAAACQgAAAAAP AELB1NOvBZ9G5krO8t2GKAhWhmfxtf39uVRtN+Ae3J08WvLfBuqsv6dyADfnO5fft2U4VVob U1p2F0zpPUxhF7UgrOZa/1f+HwxdKeYuG8EFYSNO9LQzwxuClARDtQnZLzcFkudBs4zLj21S fs53EACMytKvqbqXbsDWjTPWQhJ5sqZmvWBoFyvGReogKoK7b8c5FbNsF4fzQx9WxqLLgTMq yGRDYwCdx7FZs1ijtP/xaibUXa3t24CYbbNuIeV94bXMdn7SupE9KPwTgBLBNzR/seeEkoTF ZWq92vc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AAAAAAAcfAAAAAAAAAHIAAE7h/////wAAAAAAAAAAAAA= - --------------52D2A2BE7551B5C8A58471EE-- ------------------------------ Date: Thu, 26 Oct 2000 18:19:01 +0200 From: Julian Rohrhuber <---@---.---> Subject: Re: Classy Question why don`t you just put w into an instance variable of MyGui ? then you could just write MyGui.window.close. > I'm trying to create a little convenience class which creates a standard Gui > which plugs into some other classes I'm working on. I can make the Gui no > problem, but I'm having trouble making a 'close' method. Here's some > simplified code. > > MyGui { > > // a class method > *new { > var w, element1, element2 ... ; > > w = GUIWindow.new("panel", Rect.newBy(128, 64, 461, 300)); > > element1 = SliderView.new( w, Rect.newBy(23, itemLoc, 234, 21), ... > element2 = ... > > ... > > ^[element1, element2, ..., w] > > } > > //an instance method > > closeWin { > this.at(indexOfw).close > } > } > > where indexOfw is of course the index of w. > > With this code, I can go: > > x = MyGui.new; > > and up pops a GUI. If I then execute: > > x.at(indexOfw).close; > > it closes fine, however > > x.closeWin; > > returns the error > > ERROR: > Message 'closeWin' not understood. > > I'm fairly sure this has something to do with the fact that it's returning > an Array, but I'm not sure how this should be done, so I'm obviouslz > misunderstanding some subtle point. I've tried doing it making w an instance > variable with a getter method but a lot of poking around with Cmd-J has so > far failed to reveal to me how that should be done either. > > Can someone clarify? > > Thanks, > > Scott ------------------------------ Date: Thu, 26 Oct 2000 17:24:53 +0100 (BST) From: JL Anderson <---@---.---> Subject: 24 bit sample formats?? Are there any header formats which support 24 bit samples?? Looking in SoundFile.sc the answer would seem to be 'no'. SoundFile.help suggests there are some. . . Using sc 2.2.10. jla ------------------------------ Date: Thu, 26 Oct 2000 11:21:51 -0700 From: "Thomas Miley" <---@---.---> Subject: Re: ultrasound waves into audio waves, off-topic > somewhat more on topic... I have made a disk recording modifier for SC3 > which means that any UGen can have a modifier attached dynamically that will > begin recording its output to disk. This will enable a key like cmd-6 to > start and stop recording while playing. You can also add modifiers > programmatically if you like. > Yes! > Modifiers in SC are parasites that can attach onto a ugen and affect its > behaviour. There are modifiers for pause, hold, fade, fadeEnd, peep, and now > startRecording. > How do they attach? Can they detach and glom onto another ugen, like locusts? Can they be directed and synchronized? That would be great... ------------------------------ End of sc-users-digest V1 #193 ******************************