Re: [Bluemusic-devel] Csound output window
Brought to you by:
kunstmusik
From: Steven Yi <ste...@gm...> - 2005-06-09 13:35:16
|
We should be able to hack together a dockable window that wouldn't be fancy but should do the job. Using JToolBar seems to be a not so good path to take as you mentioned (I've had no good experiences with jtoolbar and docking myself). I'd say go ahead and commit what you got, I think I have a pretty clear idea of what do to make it dockable. Perhaps in the future we can use a docking framework, but the ones I've seen didn't quite do it for me yet, but on the other hand, I haven't evaluated too in great depth. steven On 6/9/05, Michael Bechard <got...@ya...> wrote: > I've noticed the buffering problem too. I tried > setting the buffer size on the BufferedReader class, > but that didn't seem to have much of an effect, so it > must be csound, as you said. The performance hit > seems to be negligable, though (at least on my > machine), and we're piping the csound output to blue's > stdout anyway, so it shouldn't make much of a > difference. >=20 > I've got things more or less working except for the > UI. I'm trying to use a JToolBar to house the output, > because it seems to be the only native java component > that supports docking. Anyway, it isn't resizable and > I get wierd behavior when I reset the preferred size > of the text box (which I have to do when adding text > for the scroll view). >=20 > Anyway, I think in order to have a dockable, resizable > output window I'd have to rewrite one from scratch or > use something else available out there; surely > someone's written a component like that available for > free. Know of any? If the dockable, resizable > requirement isn't a big deal, I've got an > implementation with an external window ready to go. >=20 > Michael >=20 > --- Steven Yi <ste...@gm...> wrote: >=20 > > BTW: I did try to do a console output area before, > > but had bad > > performance problems, or at least I had thought. > > There was a problem > > with Csound buffering output to stderr and stdout, > > and so programs > > like blue would receive output in 4k chunks. When I > > had figured that > > out, I had asked and eventually submitted a change > > to Csound4 and > > Csound5, maybe about half a year ago or so (???). > > However, I haven't > > tried to build a console area again since then as > > I've been > > preoccupied with music and other things. > > > > I'll be glad to see how it turns out! Thanks as > > well from me for > > looking into this. > > > > steven > > > > > > On 6/7/05, Michael Bechard <got...@ya...> > > wrote: > > > > > > > > > --- Steven Yi <ste...@gm...> wrote: > > > > > > > Hi Michael, > > > > > > > > Having a console would be neat. The easiest > > > > solution I think would be > > > > to have an extra tab, but at the same time, I > > think > > > > it's very useful > > > > to be able to view the output and also be able > > to > > > > view the score > > > > timeline. A collpasible pane on the bottom of > > the > > > > editor could be a > > > > good place for it. It'd be nice to have a > > dockable > > > > option, so a > > > > collapsible bottom pane that has an option to be > > > > docked or not. > > > > > > > > > > Ok, I'll look into that. > > > > > > > If you're looking for where to grab the Csound > > > > output, check out > > > > ProcessConsole. There's already code there to > > > > handle appending to a > > > > JTextArea (the code is very old and comes from > > > > Michael Gogins old Java > > > > version of Silence). > > > > > > > > > > Yeah, I noticed. I thought, for a little while, > > that > > > you had already started on this feature. It > > removed > > > alot of the legwork for me, so thanks! > > > > > > Michael > > > > > > > > > > > > > > > __________________________________ > > > Discover Yahoo! > > > Get on-the-go sports scores, stock quotes, news > > and more. Check it out! > > > http://discover.yahoo.com/mobile.html > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: NEC IT Guy > > Games. How far can you shotput > > > a projector? How fast can you ride your desk chair > > down the office luge track? > > > If you want to score the big prize, get to know > > the little guy. > > > Play to win an NEC 61" plasma display: > > http://www.necitguy.com/?r=3D20 > > > _______________________________________________ > > > Bluemusic-devel mailing list > > > Blu...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-devel > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. > > How far can you shotput > > a projector? How fast can you ride your desk chair > > down the office luge track? > > If you want to score the big prize, get to know the > > little guy. > > Play to win an NEC 61" plasma display: > > http://www.necitguy.com/?r > > _______________________________________________ > > Bluemusic-devel mailing list > > Blu...@li... > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-devel > > >=20 >=20 >=20 >=20 > __________________________________ > Discover Yahoo! > Stay in touch with email, IM, photo sharing and more. Check it out! > http://discover.yahoo.com/stayintouch.html >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you sho= tput > a projector? How fast can you ride your desk chair down the office luge t= rack? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20 > _______________________________________________ > Bluemusic-devel mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-devel > |