/plushcap/analysis/partykit/posts-partycore-140bpm-with-tonejs

Partycore (everything’s better at 140bpm)

What's this blog post about?

The text discusses a drum sequencer available at partycore, which features three tracks that can be turned on or off by tapping steps. Users can adjust the loop length by dragging slides at either end of a track to create polyrhythms. The code for this sequencer is open-source and can be found on GitHub under sketch-sequencer. It is built using PartyKit with the Remix template, and data sync between the app and server is achieved through Yjs using y-partykit. The client side contains high-level functionality in a hook called useSequencer for editing steps and loop ranges. Samples scheduling is done independently on each browser using Tone.js from the Web Audio framework. Additionally, the text mentions a new website design by Mark Hurrell of ThinkM Studio, which led to the creation of this drum sequencer.

Company
PartyKit

Date published
Dec. 5, 2023

Author(s)
Matt Webb

Word count
346

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.