#midi #sequencer #music

mseq

Library for developing MIDI Sequencers

3 releases

0.1.2 Nov 6, 2024
0.1.1 Oct 16, 2024
0.1.0 Oct 10, 2024

#73 in Multimedia

Download history 83/week @ 2024-10-05 192/week @ 2024-10-12 20/week @ 2024-10-19 1/week @ 2024-10-26 108/week @ 2024-11-02 19/week @ 2024-11-09 4/week @ 2024-11-16 1/week @ 2024-11-23

132 downloads per month

GPL-3.0 license

49KB
1K SLoC

MSeq

doc crates.io CI/CD

Library for developing MIDI Sequencers.

Usage

Add this to your Cargo.toml:

[dependencies]
mseq = "0.1"

To start using mseq, create a struct that implements the Conductor trait.

You can then add tracks to your sequencer by adding fields (to your struct that implements the Conductor trait) of type DeteTrack or more generally fields that implement the trait Track.

Once this is done, you can play your track in the Conductor::update function of your struct that implements the Conductor trait. To do so, call the method MidiController::play_track (of the Context::midi) with the track you want to play as a parameter.

You can find some examples in the examples directory.

Dependencies

~7–37MB
~573K SLoC