@soundws/audio-mix-service-client

0.0.2 • Public • Published

soundws/audio-mix-service-client

A client to interact with the Audio Mix Service

Mix Audio

import Mix from '@soundws/audio-mix-service-client';

const client = Mix.create({
  fetchOptions: {
    headers: {
      Authorization: 'Bearer mytoken',
    },
  },
});

const { url } = await client.createMix({
  filename: 'download-as-this-filename.wav',
  sources: [
    {
      src: 'https://your-cdn.com/stems/drums.wav',
      volume: 0.1,
    },
    {
      src: 'https://your-cdn.com/stems/vocals.wav',
      volume: 0.1,
    },
  ],
});

Readme

Keywords

none

Package Sidebar

Install

npm i @soundws/audio-mix-service-client

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

6.74 kB

Total Files

5

Last publish

Collaborators

  • firstcoders