Download ware-cj-dissertation.. - Department of Computer Science

Transcript
5.2
High Level Overview ............................................................................................. 56
5.3
Opcode Loader and Format .................................................................................... 57
5.3.1
Structure and Storage ..................................................................................... 57
5.3.2
Parsing of Csound Manual ............................................................................. 58
5.4
User Interface ......................................................................................................... 60
5.4.1
Editor .............................................................................................................. 60
5.4.2
Instrument Workspace ................................................................................... 61
5.4.3
DialogProperties............................................................................................. 62
5.5
Vertices, Ports and their Views .............................................................................. 64
5.6
Expression Parsing and Connection ....................................................................... 65
5.6.1
extractVars ..................................................................................................... 65
5.6.2
Variable Validation ........................................................................................ 66
5.6.3
refreshConnections......................................................................................... 66
5.6.4
Edge Deletion ................................................................................................. 67
5.6.5
Edge Connection ............................................................................................ 67
5.7
Code Generation .................................................................................................... 68
5.8
Serialisation ............................................................................................................ 69
5.9
Code Parsing and Import ........................................................................................ 69
5.10 Image Rendering .................................................................................................... 70
6 Testing and Evaluation................................................................................................... 71
6.1
Testing Strategy and Plan....................................................................................... 71
6.2
Known Shortcomings of Prototype Implementation .............................................. 73
6.3
Analysis of Results................................................................................................. 73
6.3.1
Port Display and Refresh ............................................................................... 74
6.3.2
Opcode Catalogue Import .............................................................................. 75
6.3.3
Deletion of Instruments .................................................................................. 75
6.3.4
Graph Model and Code Generation Improvements ....................................... 76
6.3.5
Non-Functional Considerations ..................................................................... 78
6.3.6
Development Model ....................................................................................... 79
6.4
Future Extensions ................................................................................................... 79
6.4.1
Online Help/Manual Pages ............................................................................ 79
6.4.2
Saveable Groups/User Defined Opcodes (UDO) ........................................... 79
6.4.3
Control Widgets ............................................................................................. 80
6.4.4
Code Verification/Auditioning with Csound ................................................. 80
6.4.5
Writing into CSD files ................................................................................... 80
6.4.6
SVG Output.................................................................................................... 81
7 Conclusions .................................................................................................................... 82
8 Bibliography................................................................................................................... 84
Appendices ............................................................................................................................. 87
A1
Extract of opcodes.xml File ................................................................................... 87
A2
User Interface Designs ........................................................................................... 89
vii