Init
This commit is contained in:
22
src/spectral-synthesis/index.ts
Normal file
22
src/spectral-synthesis/index.ts
Normal file
@ -0,0 +1,22 @@
|
||||
// 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'
|
||||
Reference in New Issue
Block a user