npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

motion-canvas-multitrack

v0.1.0

Published

A plug and play audio plugin for Motion Canvas

Readme

MultiTrack - A drag and drop audio plugin - 0.1.0

MultiTrack is a MotionCanvas plugin that allows you to load and arrange multiple audio files across different tracks. With support for multiple tracks, sound effects, and microphone recordings, some pretty complex audio can be created.

Features

MultiTrack has a bunch of different features that make editing and recording audio an easy and painless task:

  • Audio hierarchy
  • Multiple audio files
  • Multiple tracks
  • Custom volume per track
  • Microphone recordings
  • One-click render
  • Activate/Deactivate audio files
  • Mute tracks
  • Drag and drop
  • Cut and save parts of a track

Microphone

With the MediaStream Recording API, you can record audio and save the file locally. To start a recording, click the red button on the right in the playback controls. After clicking the button again, your recording will appear in the audio hierarchy, where it can be saved or deleted.

Drag and drop

Not much to say, just easy drag and drop.

drag-and-drop

Cut and save parts of a track

cut-track

Installation

Installing the MultiTrack plugin into your project is easy and requires only a few changes.

Start by opening an existing MotionCanvas project or create a new one:

npm init @motion-canvas@latest

Next install the npm package motion-canvas-multitrack

npm i motion-canvas-multitrack

After successfully installing the plugin, create an empty audio folder where audio files will be stored and created:

  project/
* ├── audio/
  ├── node_modules/
  ├── public/
  ├── src/
  ├── .gitignore
  ├── package-lock.json
  ├── package.json
  ├── tsconfig.json
  └── vite.config.ts

Next, go to the src/project.ts file and import MultiTrack() from motion-canvas-multitrack/editor-plugin. Note that experimentalFeatures is added and set to true

import { makeProject } from '@motion-canvas/core'
import example from './scenes/example?scene'

import MultiTrack from 'motion-canvas-multitrack/editor-plugin';

export default makeProject({
  plugins: [MultiTrack()],
  experimentalFeatures: true,
  scenes: [example],
});

For the final step, open the config file vite.config.ts and add MultiTrackPlugin(). This plugin is responsible for fetching the audio files. Don't forget to add **/audio/multi-track.json** and **/audio/** in the ignored array.

import MultiTrackPlugin from './MultiTrack/vite/backend'
import ffmpeg from '@motion-canvas/ffmpeg'
import { defineConfig } from 'vite'

import MultiTrackPlugin from 'motion-canvas-multitrack';

export default defineConfig({
  plugins: [
    MultiTrackPlugin(),
    motionCanvas(),
    ffmpeg(),
  ],
  server: {
    watch: {
      ignored: ["**/audio/multi-track.json**", "**/audio/**"]
    }
  }
});

Start the server with npm start and if everything went well, a new tab has appeared in the left panel. You can now begin adding audio files to the audio folder.

Rendering

To render with the audio from MultiTrack, go to the video settings tab and select MultiTrack in the dropdown in Rendering

Contributing

Always welcome :)

Contributors

| :-:| sglk|