Lucubro June 27-July 4
This week I've implemented the sound part of the musical instrument management:
- The sound plugin is now able to translate a musical sheet into music. The translation is not done at once but with a "just as needed" approach to save memory and time. The performances are very good.
- Every song can be played with different instruments that are defined in a XML document (specification of the xml file is documented on the wiki).
During the testing session I've lost almost a whole day because of a bug in the CS' openAL renderer but right now everything is working. The plugin's instrument system supports polyphony (each instrument can have a specific number of notes that can play at the same time defined in the xml document) and different tonalities. There still are some changes to do to the system:
- support for musical rests;
- support for playing a sheet with an error probability (that will be calculated by the client based on the character skills);
- refining of the chords rendering.
After that I'll implement an external configuration system for the plugin and I'll remove all the hardcoded stuff. Since this part was more difficult than I thought I decided to go on finishing the instrument system before implementing the sounds for weapons. I don't want to risk to deliver only a part of it.