@onjmin/dtm
    Preparing search index...

    Type Alias Synth

    type Synth = {
        playDrum: (e: PlayDrumEvent) => void;
        playNote: (e: PlayNoteEvent) => void;
    }
    Index

    Properties

    Properties

    playDrum: (e: PlayDrumEvent) => void

    ドラムノートを発音する(General MIDI のドラムキー番号で音色を分岐)

    playNote: (e: PlayNoteEvent) => void

    メロディックノートを発音する(PlayNoteEvent.when は ctx.currentTime からの相対秒)