[Bluemusic-devel] LineObject bug
Brought to you by:
kunstmusik
From: Michael B. <got...@ya...> - 2005-04-27 19:25:59
|
I found a bug in the LineObject that prevents it or any PolyObject it may be embedded in to render notes when the Test button is pressed. This is because the parameters to its notes are reliant on the generation of the instruments and ftables of the rest of the score (tables, instrument # are generated dynamically). My thoughts on how to approach this problem have two possibilities: 1.) Change the SoundObject interface to accept a BlueData object as a parameter to the generateNotes function. That way any SoundObject that is reliant on the rest of the CSD may use it to render its notes. 2.) Change the testSoundObject functions to leverage some of the functionality in the CSDRender's generateCSD function (we can extract out into another function the necessary function calls like generateGlobals, generateFTables, etc.) before calling generateNotes on the SoundObject in question. We'll need this kind of functionality for any kind of SoundObject that generates its instrument text and/or ftables dynamically. Let me know your thoughts and any other options that should be considered. Michael Bechard __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |