The WDF tool kit is comprised of all the components which are coloured in the next figure. This means that the following components are included into the WDF Tool Kit:
|
![]() |
The WDF object oriented model is derived from that of MOODS including the implementation of:
|
General Idea on the WEDEL Tool Kit, WTK |
The idea is to provide (by DSI) to the involved partners the OO Music Model as a static library with the associated header files. In each class of the WDEDEL-OOMM have been added a virtual protected method for each type of service that have to be implemented by the partners.
The addition of several functionalities for supporting drivers for:
|
For example for Music Analysis have been added:
int Partitura::MusicAnalysis(MusicAnalysisData*) int Battuta::MusicAnalysis(MusicAnalysisData*) … etc. The partner have to implement the methods to provide the service using the public and internal services of the classes, the partner could also use an own defined class (e.g. MusicAnalysisData) where input information is provided (e.g. exact specification of the service required, file/device where to put the results, configuration parameters, etc.) where additional intermediate data can be stored and where aggregated results can be saved to be passed to the upper layer (typically user interface). Two kinds of WTK have been identified:
Please note that the Piano reduction can be used also from the tools developed for VIP people. |
The WTK for VIPs |
This tool kit is composed of:
int OpenMusicEditor(WEDELFile* pWDF,Partitura* pMainScore, int partNumber)where
int CloseMusicEditor()the return value indicates if the editor is properly closed (value 1) or not (value 0). To maintain syncronized the list of the symbolic parts and the parts viewed in the music editor the following function can be used:
The partners involved into the development of the music editor for VIPs will provide a function for printing Braille and spoken music:
DrawObject: int VIPUserData |
The WTK for Music Analysis |
This WTK is composed of:
class WEDELMUSICalAnalysis { public: WEDELMUSICalAnalysis(wxMEScoreFrame*, WEDELFile*, Partitura*); ~WEDELMUSICalAnalysis(); int Initialize(); wxMenu *CreateMenu(); int HandleMenu(int menuID); bool DoIdle(); }When the WEDEL-MusicEditor is started a new WEDELMUSICalAnalysis object is created specifying the music editor frame, the object representing the WEDELFile and the object representing the score and then method Initialize() is called. After that the CreateMenu() method is called and the wxMenu object returned is added to the menu bar. The IDs of the menus must start from 1000 and end before 1100. The method HandleMenu is called when a menu with the menuID from 1000 to 1100 is selected. The method DoIdle is called when the system is idle, it have to return TRUE if more idle time is needed, FALSE otherwise (in this case DoIdle is not called until a new event is received and the system becomes idle again). Finally the object is destroyed when the editor is closed. The WEDELMUSICalAnalysis may access to the WEDELFile information using its interface and to the symbolic main score using the music analysis services implemented. The wxMEScoreFrame is used by the WEDELMUSICalAnalysis object to highlight score elements. A virtual method of class DrawObject has been added to highlight score elements: void DrawObject::Hilite(int processEvent,GDevice*)where :
|