1.0.0 • Published 8 years ago

unstemizer v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

unstemizer

unstemizer allows you to access each part of a Stems file. A Stems file is a music format that contains four ‘stems’: Drums, Bassline, Melody, and Vocal stems. This format allows DJs to control each track independently.

As more and more app moves to JavaScript world, it should be possible to read stems from JavaScript code! This library allows you to use files in Stems format inside your music application.

createUnstemizer(buffer)

Takes a Buffer and examines the file’s contents. It returns an unstemizer object, which you can use to extract parts.

  • drums(), bassline(), melody(), vocal()

    Mutates the buffer by enabling/disabling and re-arranging the track numbers so that when decoded using an ordinary MP4 decoder, the selected stems will be played back.

  • reset()

    Mutates the buffer to restore the original master track.

These functions are synchronous.

1.0.0

8 years ago