#import <AMTime.h>
Public Member Functions | |
(id) | - initWithTime: |
Creates a new time object. | |
(id) | - initWithTime:isTimeTempoBased: |
Creates a new time object. | |
(double) | - calcTime |
Calculates the resulting time value, taking into account the random offsets that may apply. | |
(double) | - calcTimeWithTempo: |
Calculates the resulting time value, taking into account the random offsets that may apply. | |
(double) | - calcTimeWithTempo:quantizer:isQuantizerTempoBased: |
Calculates the resulting time value, taking into account the random offsets that may apply. | |
Properties | |
AMValue * | time |
The base time value, in seconds or ticks. | |
BOOL | isTimeTempoBased |
Indicate whether the time value is standard (seconds) or tempo-based (ticks). |
- (double) calcTime |
Calculates the resulting time value, taking into account the random offsets that may apply.
If tempo-based values are used, the global tempo clock of the sound manager will be used.
- (double) calcTimeWithTempo: | (double) | _tempo |
Calculates the resulting time value, taking into account the random offsets that may apply.
tempo | The tempo to use to calculate tempo-based values. |
- (double) calcTimeWithTempo: | (double) | _tempo | ||
quantizer: | (double) | _quantizer | ||
isQuantizerTempoBased: | (BOOL) | _isQuantizerTempoBased | ||
Calculates the resulting time value, taking into account the random offsets that may apply.
tempo | The tempo to use to calculate tempo-based values. | |
quantizer | The quantization value that will be used. | |
isQuantizerTempoBased | Specifies if the quantization value is tempo-based or not. |
- (id) initWithTime: | (AMValue *) | _time |
Creates a new time object.
time | The time value in seconds. |
- (id) initWithTime: | (AMValue *) | _time | ||
isTimeTempoBased: | (BOOL) | _isTimeTempoBased | ||
Creates a new time object.
time | The time value in seconds or ticks. | |
isTimeTempoBased | Specifies if the time value is tempo-based or not. |
- (BOOL) isTimeTempoBased [read, write, assign] |
Indicate whether the time value is standard (seconds) or tempo-based (ticks).
- (AMValue *) time [read, write, copy] |
The base time value, in seconds or ticks.