Re: [Bluemusic-users] Line Object instance and other questions
Brought to you by:
kunstmusik
From: Steven Yi <ste...@gm...> - 2005-09-02 22:43:45
|
Ah! Okay, I'm seeing it now and I have to redo a little bit how soundObjects in the library are called to generate scores (need to call other generate functions first), so this is not just a bug for LineObject but could potentially affect other soundObjects too. I'll try to have this fixed up quick and will issue a release as soon as that is fixed. As for global control, you could edit the LineObject in the library which would instances point to. Is this different than what you are thinking? I am thinking more and more that it might be nicer for SoundLayers to have lines on them, like in other sequencer/multitrack environments, that would overlay the whole layer, rather than on a per object basis. Not sure how to get that to work well and the user may have to be careful about conflicts of lines, but might not be too bad to keep track of. How does that sound? (Thinking you can click a button on the soundLayer to add/edit/remove lines for the layer, then you can either be in line edit mode or soundObject mode; would have to be made to support global k-rate signals and zak signals) Thanks for reporting the LineObject/Library bug! steven On 9/2/05, Andres Cabrera <an...@ge...> wrote: > Hi Steven, > Try this (I'm on blue 0.99.5). Create a new project. Put a line object > on the timeline. Add that object to the SoundObject Library. The object > becomes an instance and there is an error produced when trying to render > the csd. > What I mean by global control is create a single envelope which controls > all instances of it. >=20 > Cheers, > Andres >=20 > On Fri, 2005-09-02 at 13:27, Steven Yi wrote: > > Hi Andres, > > > > I tried out putting some lineObjects on the timeline and din't have > > any problems. Was this an older project maybe that was reopened in a > > newer version of blue? Do you have a test file I can look at to see > > what's going on? > > > > As for lineObjects, right now they cache instruments so only one is > > generated per line name. I think I can put in a way to cache tables > > too, so if there generated table strings match exactly another already > > generated table to simply reuse. > > > > As for global control, could you explain this a bit more? > > > > Thanks, > > steven > > > > On 9/1/05, Andres Cabrera <an...@ge...> wrote: > > > Hi Steven, > > > Playing around with the functionality for the line object, I found th= at > > > the csd cannot be rendered if an instance of a LineObject is placed o= n > > > the timeline. It might be cool to use the same object, maybe with > > > different lengths but still not have to create separate f tables, and > > > having a global control for all instances. > > > The error is: > > > > > > java.lang.NullPointerException > > > at blue.soundObject.AbstractLineObject.generateNotes(Unknown > > > Source) > > > at blue.soundObject.Instance.generateNotes(Unknown Source) > > > at blue.SoundLayer.generateNotes(Unknown Source) > > > at blue.soundObject.PolyObject.generateObjectiveScore(Unknown > > > Source) > > > at blue.soundObject.PolyObject.generateNotes(Unknown Source) > > > at blue.render.CSDRender.generateCSD(Unknown Source) > > > at blue.render.CSDRender.generateCSD(Unknown Source) > > > at blue.MainToolBar.generateScoreForTesting(Unknown Source) > > > at blue.BlueMainFrame.generateScoreForTesting(Unknown Source) > > > at blue.BlueMainFrame$16.actionPerformed(Unknown Source) > > > at > > > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18= 49) > > > at > > > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav= a:2169) > > > at > > > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel= .java:420) > > > at > > > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258= ) > > > at javax.swing.AbstractButton.doClick(AbstractButton.java:302= ) > > > at > > > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1= 000) > > > at > > > javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(= BasicMenuItemUI.java:1104) > > > at > > > javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578) > > > at > > > javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475) > > > at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422= ) > > > at > > > javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManag= er.java:283) > > > at > > > javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(= BasicPopupMenuUI.java:758) > > > at > > > java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.ja= va:2206) > > > at > > > java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java= :2100) > > > at > > > java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java= :2099) > > > at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058= ) > > > at java.awt.Component.dispatchEventImpl(Component.java:3867) > > > at java.awt.Container.dispatchEventImpl(Container.java:2024) > > > at java.awt.Component.dispatchEvent(Component.java:3803) > > > at > > > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212= ) > > > at > > > java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) > > > at > > > java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) > > > at java.awt.Container.dispatchEventImpl(Container.java:2010) > > > at java.awt.Window.dispatchEventImpl(Window.java:1774) > > > at java.awt.Component.dispatchEvent(Component.java:3803) > > > at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) > > > at > > > java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh= read.java:242) > > > at > > > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre= ad.java:163) > > > at > > > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > > > at > > > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > > > at > > > java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > > > [Error] null > > > > > > > > > Cheers, > > > Andr=E9s > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pra= ctices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing= & QA > > > Security * Process Improvement & Measurement * http://www.sqe.com/bsc= e5sf > > > _______________________________________________ > > > Bluemusic-users mailing list > > > Blu...@li... > > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pract= ices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &= QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5= sf > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic= es > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |