00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #import "a2ml.h"
00011 #import "AMValue.h"
00012 #import "AMRandomValue.h"
00013 #import <Foundation/Foundation.h>
00014
00015
00019 @interface AMTime : NSObject <NSCopying> {
00020
00021 AMValue *time;
00022 BOOL isTimeTempoBased;
00023 }
00024
00025 @property (nonatomic, copy) AMValue *time;
00026 @property (nonatomic) BOOL isTimeTempoBased;
00033 - (id)initWithTime:(AMValue *)_time;
00034
00041 - (id)initWithTime:(AMValue *)_time isTimeTempoBased:(BOOL)_isTimeTempoBased;
00042
00048 - (double)calcTime;
00049
00055 - (double)calcTimeWithTempo:(double)_tempo;
00056
00064 - (double)calcTimeWithTempo:(double)_tempo quantizer:(double)_quantizer isQuantizerTempoBased:(BOOL)_isQuantizerTempoBased;
00065
00066 @end