Skip to content

Implementation of DTW algorithm between audio and midi files, plots of results and saving the path as JSON. A Sakoe-chiba band is the current optimization.

Notifications You must be signed in to change notification settings

de-tre/dtw-audio-midi.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamic time warping / audio-midi

Implementation of DTW algorithm between any audio type and MIDI files.
Basis algorithm for extracting audio features is STFT, running at:
sampleRate = 22050,
frameSize = 1024 and
hopLength = 512.

Results are plotted, with various outputs in the console.
A Sakoe-chiba band is the current optimization.
Saving the path as JSON on button click.

Here is what it would look like for an obvious example.
See what impact the long silence at the end of the audio file has on the alignment:

Chromas

Cost matrix, path, console

About

Implementation of DTW algorithm between audio and midi files, plots of results and saving the path as JSON. A Sakoe-chiba band is the current optimization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published