15 lines
432 B
TypeScript
15 lines
432 B
TypeScript
import { SAMPLE_RATES } from '../config/effects'
|
|
|
|
export function getComplexityLabel(index: number): string {
|
|
const labels = ['Simple', 'Medium', 'Complex']
|
|
return labels[index] || 'Medium'
|
|
}
|
|
|
|
export function getBitDepthLabel(index: number): string {
|
|
const labels = ['8bit', '16bit', '24bit']
|
|
return labels[index] || '8bit'
|
|
}
|
|
|
|
export function getSampleRateLabel(index: number): string {
|
|
return `${SAMPLE_RATES[index]}Hz`
|
|
} |