Giter Site home page Giter Site logo

sketch-sequencer's Introduction

partycore

Multiplayer polyrhythmic drum sequencer demo using PartyKit, Yjs and Tone.js. Designed by Mark Hurrell.

demo.mp4

What it is

There are three fixed tracks. You can turn the steps on and off. You can change the length of the loop separately for each track.

It gets noise. People dance with their cursors.

cursor

How it works

The app is built and served with PartyKit using the Remix template.

Data sync uses Yjs. So the backend party doesn't do much at all. But the Yjs doc is wrapped inside a hook that provides functionality: look at useSequencer for the high-level functions to edit the steps and the ranges.

The sound itself plays using the Tone.js Web Audio framework. Have a look at the Player component to see how the sequencer data is used to schedule the sounds.

What next

It's hidden but this is already a multi room app. (Change the /rooms/1999 in the URL and pick a different room ID.) So it would be fun to allow for users to pick a room, and create and share their own set of tracks from a bank of samples.

sketch-sequencer's People

Contributors

genmon avatar thinkmake avatar threepointone avatar

Stargazers

Brad Pillow avatar afrideva avatar Niall Byrne avatar Andrew Aquino avatar Shashank Agrawal avatar nichoth avatar dai avatar  avatar  avatar

Watchers

Tom Armitage avatar  avatar  avatar

Forkers

jstefani

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.