22 lines
484 B
TypeScript
22 lines
484 B
TypeScript
// Core synthesis
|
|
export { ImageToAudioSynthesizer, synthesizeFromImage } from './core/synthesizer'
|
|
export type { SynthesisParams, SpectralPeak, SynthesisResult, WindowType } from './core/types'
|
|
|
|
// Utilities
|
|
export {
|
|
hzToMel,
|
|
melToHz,
|
|
detectSpectralPeaks,
|
|
perceptualAmplitudeWeighting,
|
|
shouldInvertImage,
|
|
extractSpectrum,
|
|
generateWindow,
|
|
applyWindow
|
|
} from './core/utils'
|
|
|
|
// Audio export
|
|
export {
|
|
createWAVBuffer,
|
|
downloadWAV,
|
|
playAudio
|
|
} from './audio/export' |