song-viz
Version:
> React Song Visualizer
29 lines (28 loc) • 786 B
TypeScript
import React from 'react';
interface MeloDiscProps {
audioRef: React.RefObject<HTMLAudioElement>;
centerImageSrc?: string;
rotation?: true;
bounceMultiplier?: number;
bars?: number;
barWidth?: number;
barHeightMultiplier?: number;
barColor?: {
colorOne?: string;
colorTwo?: string;
hslColor?: number[];
};
circleProps?: {
circleWidth: number;
circleColor: string;
};
centerColor?: string;
canvasBackground?: string;
baseRadiusValue?: number;
fftSizeValue?: 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768;
smoothingTimeConstant?: number;
canvasWidth?: number;
canvasHeight?: number;
}
export declare const MeloDisc: React.FC<MeloDiscProps>;
export {};