The SFModulatorKey class represents the unique key of a modulator.
More...
#include <modulator_key.hpp>
The SFModulatorKey class represents the unique key of a modulator.
- See also
- "7.4 The PMOD Sub-chunk". In SoundFont Technical Specification 2.04.
-
"7.8 The IMOD Sub-chunk". In SoundFont Technical Specification 2.04.
Constructs a new SFModulatorKey using the specified controllers.
- Parameters
-
source_op | the source of data for the modulator. |
destination_op | the destination of the modulator. |
amount_source_op | the modulation source to be applied to the modulation amount. |
sf2cute::SFModulatorKey::SFModulatorKey |
( |
const SFModulatorKey & |
origin | ) |
|
|
default |
SFModulator sf2cute::SFModulatorKey::amount_source_op |
( |
| ) |
const |
|
noexcept |
Returns the modulation source to be applied to the modulation amount.
- Returns
- the modulation source to be applied to the modulation amount.
SFGenerator sf2cute::SFModulatorKey::destination_op |
( |
| ) |
const |
|
noexcept |
Returns the destination of the modulator.
- Returns
- the destination of the modulator.
Copy-assigns a new value to the SFModulatorKey, replacing its current contents.
- Parameters
-
Move-assigns a new value to the SFModulatorKey, replacing its current contents.
- Parameters
-
void sf2cute::SFModulatorKey::set_amount_source_op |
( |
SFModulator |
amount_source_op | ) |
|
Sets the modulation source to be applied to the modulation amount.
- Parameters
-
amount_source_op | the modulation source to be applied to the modulation amount. |
void sf2cute::SFModulatorKey::set_destination_op |
( |
SFGenerator |
destination_op | ) |
|
Sets the destination of the modulator.
- Parameters
-
destination_op | the destination of the modulator. |
void sf2cute::SFModulatorKey::set_source_op |
( |
SFModulator |
source_op | ) |
|
Sets the source of data for the modulator.
- Parameters
-
source_op | the source of data for the modulator. |
SFModulator sf2cute::SFModulatorKey::source_op |
( |
| ) |
const |
|
noexcept |
Returns the source of data for the modulator.
- Returns
- the source of data for the modulator.
Indicates a SFModulatorKey object is "not equal to" the other one.
- Parameters
-
x | the first object to be compared. |
y | the second object to be compared. |
- Returns
- true if a SFModulatorKey object is "not equal to" the other one.
Indicates a SFModulatorKey object is "less than" the other one.
- Parameters
-
x | the first object to be compared. |
y | the second object to be compared. |
- Returns
- true if a SFModulatorKey object is "less than" the other one.
Indicates a SFModulatorKey object is "less than or equal to" the other one.
- Parameters
-
x | the first object to be compared. |
y | the second object to be compared. |
- Returns
- true if a SFModulatorKey object is "less than or equal to" the other one.
Indicates a SFModulatorKey object is "equal to" the other one.
- Parameters
-
x | the first object to be compared. |
y | the second object to be compared. |
- Returns
- true if a SFModulatorKey object is "equal to" the other one.
Indicates a SFModulatorKey object is "greater than" the other one.
- Parameters
-
x | the first object to be compared. |
y | the second object to be compared. |
- Returns
- true if a SFModulatorKey object is "greater than" the other one.
Indicates a SFModulatorKey object is "greater than or equal to" the other one.
- Parameters
-
x | the first object to be compared. |
y | the second object to be compared. |
- Returns
- true if a SFModulatorKey object is "greater than or equal to" the other one.
The documentation for this class was generated from the following file: