59 |
|
|
60 |
/** |
/** |
61 |
* Contains the voices caused by one specific note, as well as basic |
* Contains the voices caused by one specific note, as well as basic |
62 |
* informations about the note itself. |
* informations about the note itself. You can see a Note object as one |
63 |
|
* specific event in time where one or more voices were spawned at the same |
64 |
|
* time and all those voices due to the same cause. |
65 |
|
* |
66 |
|
* For example when you press down and hold the sustain pedal, and then |
67 |
|
* trigger the same note on the keyboard multiple times, for each key |
68 |
|
* strokes a separate Note instance is created. |
69 |
|
* |
70 |
|
* If your instrument contains a real-time instrument script, then that |
71 |
|
* script might also trigger additional voices programmatically (by |
72 |
|
* calling the built-in script function play_note()). Each time the script |
73 |
|
* calls play_note() a new Note instance is created and the script may then |
74 |
|
* further control the voices of specific notes independently from each |
75 |
|
* other. For example for each key stroke on your keyboard the instrument |
76 |
|
* script might trigger 3 additional notes programmatically and assign a |
77 |
|
* different tuning filter parameters for each one of the 3 notes |
78 |
|
* independently. |
79 |
*/ |
*/ |
80 |
template<class V> |
template<class V> |
81 |
class Note : public NoteBase { |
class Note : public NoteBase { |