Music to spectrogram on iOS with the accelerate framework
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
//
|
|
|
|
// Ruler.h
|
|
|
|
// SpectogramPrototype
|
|
|
|
//
|
|
|
|
// Created by Joshua Moerman on 25/02/14.
|
|
|
|
// Copyright (c) 2014 Joshua Moerman. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
typedef struct Interval {
|
|
|
|
CGFloat begin;
|
|
|
|
CGFloat end;
|
|
|
|
} Interval;
|
|
|
|
|
|
|
|
@interface AbstractRuler : UIView
|
|
|
|
@property (nonatomic) Interval visibleInterval;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface HorizontalRuler : AbstractRuler
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface VerticalRuler : AbstractRuler
|
|
|
|
@property (nonatomic) float tuning;
|
|
|
|
@end
|