[Sc-devel] [ANN] SwingOSC v0.58

John Glover glover.john at gmail.com
Sun Jan 27 14:01:37 PST 2008


Suspected as much, thanks.

John

On 27/01/2008, Sciss <contact at sciss.de> wrote:
> > { s.makeWindow(); }.defer(3);
>
> this code assumes that the server is ready three seconds after the
> startup. of course that is assumption is totally arbitrary. the code
> should be
>
> SwingOSC.default.waitForBoot({ s.makeWindow });
>
>
> ciao, -sciss-
>
>
> Am 27.01.2008 um 22:48 schrieb John Glover:
>
> > Hello,
> >
> > I'm getting occasional errors when starting SwingOSC with the latest
> > Psycollider. I think it's related to the s.makeWindow call. Sometimes
> > at startup the following happens:
> >
> > compile done
> >
> > Could not connect socket
> > // History.logFolder: C:\Documents and Settings\John\SuperCollider/
> > HistoryLogs
> > Class tree inited in 1.81 seconds
> > WARNING:
> > GeneralHID.fromID : The HID scheme 'none' is not installed
> > The current scheme is still 'nil'!
> > booting 57110
> > server already booting
> > StartUp done.
> > Welcome to SuperCollider, press F1 for help
> > booting java -jar SwingOSC\build\SwingOSC.jar -t 57111 -L -i
> > SwingOSC server already booting
> >
> > Could not connect socket
> >
> > Could not connect socket
> >
> > Could not connect socket
> > Using vector unit: no
> > SwingOSC v0.58. receiving TCP at address 127.0.0.1:57111
> >
> > Device options:
> >   - MME : Microsoft Sound Mapper - Input   (device #0 with 2 ins 0
> > outs)
> >   - MME : SigmaTel Audio   (device #1 with 2 ins 0 outs)
> >   - MME : Bluetooth AV/HS Audio   (device #2 with 2 ins 0 outs)
> >   - MME : US-122 A:B   (device #3 with 2 ins 0 outs)
> >   - MME : Microsoft Sound Mapper - Output   (device #4 with 0 ins 2
> > outs)
> >   - MME : SigmaTel Audio   (device #5 with 0 ins 2 outs)
> >   - MME : Bluetooth AV/HS Audio   (device #6 with 0 ins 2 outs)
> >   - MME : US-122 Out   (device #7 with 0 ins 2 outs)
> >   - ASIO : ASIO US-122 (16 bit)   (device #8 with 2 ins 2 outs)
> >   - ASIO : ASIO US-122 (24 bit)   (device #9 with 2 ins 2 outs)
> >
> > Booting with:
> >  In: ASIO : ASIO US-122 (16 bit)
> >  Out: ASIO : ASIO US-122 (16 bit)
> > SuperCollider 3 server ready..
> > FAILURE /set Objec
> > t not found : 1004notification is on
> > FAILURE /set Object not found : 1004
> > FAILURE /set Object not found : 1002
> > FAILURE /set Object not found : 1006
> > FAILURE /set Object not found : 1008
> > FAILURE /set Object not found : 1011
> > FAILURE /set Object not found : 1014
> > ....
> >
> > With a steady stream of FAILURE messages. It usually happens with I
> > start SC for the first time that day/session and never seems to happen
> > twice in a row.
> >
> > The exact code from the newest startup.sc is:
> > { s.makeWindow(); }.defer(3);
> >
> > Is this causing problems?
> >
> > Thanks,
> > John
> >
> > On 24/01/2008, Sciss <contact at sciss.de> wrote:
> >> what do you mean? like you get OutOfMemoryErrors when using the
> >> numberboxes instead of statictexts? that shouldn't happen...
> >>
> >> not sure what exactly you're doing, but you could also make the
> >> statictexts editable "on the fly:"
> >>
> >> JSCStaticText( JSCWindow.new.front, Rect( 4, 4, 200, 24 )).string_
> >> ( "Lala" ).mouseDownAction_({ arg view; view.visible = false;
> >> JSCTextField( view.parent, view.bounds ).string_
> >> ( view.string ).action_{ arg view2; view.string = view2.string;
> >> view2.remove; view.visible = true }});
> >>
> >> ciao, -sciss-
> >>
> >>
> >>
> >> Am 23.01.2008 um 20:19 schrieb Andrea Valle:
> >>
> >>> I think I've understood the point.
> >>>
> >>> In order to write data on a window I was using (many) staticText
> >>> (s). I decided to make the data editable and  switched to
> >>> numberBoxes.
> >>> Big big difference in terms of performance.
> >>>
> >>> Best
> >>>
> >>> -a-
> >>>
> >>>
> >>>
> >>> On 23 Jan 2008, at 14:01, Sciss wrote:
> >>>
> >>>> i did a quick snapshot diff between two runs of James' BP.loadGUI
> >>>> thingee with class recompile between them, using the free
> >>>> version of
> >>>> referencescanner (http://jb2works.com/refscan). the reference diff
> >>>> shows no suspicious things, apart maybe from
> >>>>
> >>>> +2 ...... de.sciss.net.OSCReceiver$TCPOSCReceiver
> >>>> +2 ....... de.sciss.net.OSCTransmitter$TCPOSCTransmitter
> >>>> +2 ...... de.sciss.swingosc.SwingClient
> >>>>
> >>>> which are obviously accumulating with each class lib recompile, but
> >>>> that is not a big deal since they don't have any left-over
> >>>> references
> >>>> to gui objects. so i can almost certainly say SwingOSC has no
> >>>> visible
> >>>> memory leaks...
> >>>>
> >>>> after class-recompile i've got like 7 MB of heap space usage, when
> >>>> the BP.loadGUI is done, it's at around 9 MB, but i don't know if
> >>>> there is additional heap space use (i don't know how the Images and
> >>>> BufferedImages are actually allocated, so maybe this number is way
> >>>> too low, but i don't have the "pro" version of refscan to go more
> >>>> into memory usage details...)
> >>>>
> >>>> just noticing i've got a -Xmx512m in the SwingOSC_TCP.command.
> >>>> Maybe
> >>>> just try that one instead of g.boot and see if your problems are
> >>>> still there...
> >>>>
> >>>> ciao, -sciss-
> >>>>
> >>>>
> >>>> Am 22.01.2008 um 09:54 schrieb Andrea Valle:
> >>>>
> >>>>> Ciao Sciss,
> >>>>> works here.
> >>>>> I'm having some troubles with efficiency but it can depend on the
> >>>>> huge amount of running apps and on some inefficiency of my system.
> >>>>> But I'm having this:
> >>>>>
> >>>>> /new : java.lang.OutOfMemoryError : Java heap space
> >>>>>
> >>>>> What does it mean?
> >>>>>
> >>>>> Thanks
> >>>>>
> >>>>> Best
> >>>>>
> >>>>> -a-
> >>>>>
> >>>>>
> >>>>>
> >>>>> On 22 Jan 2008, at 04:12, James Harkins wrote:
> >>>>>
> >>>>>> Cool! A very quick go at 0.58 looks great on my machine.
> >>>>>> hjh
> >>>>>>
> >>>>>> On Jan 21, 2008, at 3:12 PM, Sciss wrote:
> >>>>>>
> >>>>>>> hi,
> >>>>>>>
> >>>>>>> SwingOSC v0.58 is out now. See below for a detailed list of
> >>>>>>> changes.
> >>>>>>
> >>>>>>
> >>>>>> : H. James Harkins
> >>>>>> : jamshark70 at dewdrop-world.net
> >>>>>> : http://www.dewdrop-world.net
> >>>>>> .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
> >>>>>>
> >>>>>> "Come said the Muse,
> >>>>>> Sing me a song no poet has yet chanted,
> >>>>>> Sing me the universal."  -- Whitman
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Sc-devel mailing list
> >>>>>> Sc-devel at create.ucsb.edu
> >>>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
> >>>>>
> >>>>> --------------------------------------------------
> >>>>> Andrea Valle
> >>>>> --------------------------------------------------
> >>>>> CIRMA - DAMS
> >>>>> Università degli Studi di Torino
> >>>>> --> http://www.cirma.unito.it/andrea/
> >>>>> --> http://www.myspace.com/andreavalle
> >>>>> --> andrea.valle at unito.it
> >>>>> --------------------------------------------------
> >>>>>
> >>>>>
> >>>>> "
> >>>>> Think of it as seasoning
> >>>>> . noise [salt] is boring
> >>>>> . F(blah) [food without salt] can be boring
> >>>>> . F(noise, blah) can be really tasty
> >>>>> "
> >>>>> (Ken Perlin on noise)
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Sc-devel mailing list
> >>>>> Sc-devel at create.ucsb.edu
> >>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
> >>>>
> >>>> _______________________________________________
> >>>> Sc-devel mailing list
> >>>> Sc-devel at create.ucsb.edu
> >>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
> >>>
> >>> --------------------------------------------------
> >>> Andrea Valle
> >>> --------------------------------------------------
> >>> CIRMA - DAMS
> >>> Università degli Studi di Torino
> >>> --> http://www.cirma.unito.it/andrea/
> >>> --> http://www.myspace.com/andreavalle
> >>> --> andrea.valle at unito.it
> >>> --------------------------------------------------
> >>>
> >>>
> >>> "
> >>> Think of it as seasoning
> >>> . noise [salt] is boring
> >>> . F(blah) [food without salt] can be boring
> >>> . F(noise, blah) can be really tasty
> >>> "
> >>> (Ken Perlin on noise)
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Sc-devel mailing list
> >>> Sc-devel at create.ucsb.edu
> >>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
> >>
> >> _______________________________________________
> >> Sc-devel mailing list
> >> Sc-devel at create.ucsb.edu
> >> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
> >>
> > _______________________________________________
> > Sc-devel mailing list
> > Sc-devel at create.ucsb.edu
> > http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>
> _______________________________________________
> Sc-devel mailing list
> Sc-devel at create.ucsb.edu
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>


More information about the Sc-devel mailing list