Skip to content

audiojs/tune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@audio/tune

Pitch correction (Auto-Tune / Melodyne class).

Package What
@audio/tune-snap scale/key correction — YIN → note segmentation → scale snap → PSOLA retune
@audio/tune-midi melody correction — YIN → per-guide-note median → PSOLA retune to a MIDI/note guide
import { snap, tuneMidi } from '@audio/tune'

snap(data, { scale: 'major', root: 0 })      // Auto-Tune-class scale correction
tuneMidi(data, { guide: parsedSmf.notes })   // retune to a reference melody

Composition of existing atoms: @audio/pitch-yin (detect) → scale/target snap → @audio/shift-psola (retune), crossfaded back over the dry signal. Logic "Pitch Correction" / Ableton tuner parity.

About

Pitch correction — umbrella for @audio/tune-* atoms (scale snap, MIDI-target)

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors