Cog/Visualization/SpectrumView.h
Christopher Snowhill fce0e129a5 Spectrum Visualization: Replaced spectrum view
Introduced a brand new spectrum view based on SceneKit, with a scene
created by @kddlb and then altered by me to add the peak spheres. This
new scene should be lighter on display resources, even though it's fully
3D instead of a vector 2D scene done in Cocoa drawing primitives.

Co-authored-by: Kevin Lopez Brante <kevin@kddlb.cl>
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-05-22 00:03:52 -07:00

20 lines
304 B
Objective-C

//
// SpectrumView.h
// Cog
//
// Created by Christopher Snowhill on 2/12/22.
//
#import <Cocoa/Cocoa.h>
#import <SceneKit/SceneKit.h>
#import "VisualizationController.h"
NS_ASSUME_NONNULL_BEGIN
@interface SpectrumView : SCNView
@property(nonatomic) BOOL isListening;
@end
NS_ASSUME_NONNULL_END