Digitone

v0.6.0
io.github.jamiew/digitone-mcp Checked 1 day ago Published 5 days ago

Play an original Elektron Digitone over MIDI: FM synth tracks, parameters, synced patterns

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

send_note

Send a MIDI note on/off.

ParameterTypeDescription
note *integerMIDI note number. Digitone plays chromatically on each track.
channelintegerMIDI channel.
durationnumberSeconds to hold the note.
velocityintegerNote velocity.

send_cc

Send a raw MIDI Control Change message.

ParameterTypeDescription
cc_number *integerCC number. 74=Filter Freq, 75=Filter Res, 7=Volume, 10=Pan.
value *integerCC value.
channelintegerMIDI channel.

send_program_change

Switch patterns with a MIDI Program Change.

ParameterTypeDescription
program *integerProgram number. Patterns are numbered across banks.
channelintegerMIDI channel.

send_nrpn

Send a raw NRPN message, for parameters with no CC mapping.

ParameterTypeDescription
lsb *integerNRPN LSB. Parameter number within the page.
msb *integerNRPN MSB. Usually 1 for track parameters.
value *integerParameter value.
channelintegerMIDI channel. Channels 1-4 address tracks.

send_note_sequence

Play a sequence of notes back to back, without MIDI clock.

ParameterTypeDescription
notes *arrayNote events, each [note, velocity, duration_sec?].
channelintegerMIDI channel.
delaynumberGap between notes, in seconds.

send_sysex

Send a SysEx message.

ParameterTypeDescription
dataByte values. F0/F7 framing is added for you.
hex_stringAlternative to data: hex like '00 20 3C 0E 00'.

send_midi_start

Start the sequencer from the beginning.

send_midi_stop

Stop the sequencer.

send_midi_continue

Resume the sequencer from its current position.

send_song_position

Set playback position with a Song Position Pointer.

ParameterTypeDescription
position *integerPosition in sixteenth notes.

list_parameters

List named parameters available to set_parameter, grouped by category.

ParameterTypeDescription
categoryFilter to one category. Omit to list every category.

set_parameter

Set a named parameter. Handles both CC and NRPN parameters. Use list_parameters to discover names.

ParameterTypeDescription
name *stringParameter name, e.g. 'filter_cutoff', 'lfo_speed', 'delay_time'.
value *integerValue. Valid range depends on the parameter.
channelintegerMIDI channel. Channels 1-4 address tracks.

play_with_clock

Run MIDI clock for a number of bars to drive the sequencer.

ParameterTypeDescription
barsintegerNumber of bars to play.
bpmnumberTempo in BPM.
send_startbooleanSend MIDI Start at the beginning.
send_stopbooleanSend MIDI Stop at the end.

play_pattern_with_melody

Play a melody locked to MIDI clock. Beat positions are quarter notes.

ParameterTypeDescription
notes *arrayNotes as [beat, note, velocity, duration_sec].
barsintegerNumber of bars to play.
bpmnumberTempo in BPM.
channelintegerMIDI channel.
send_stopbooleanSend MIDI Stop at the end.

play_pattern_with_loop

Play a short pattern that repeats for the full duration.

ParameterTypeDescription
loop_notes *arrayNotes as [beat_offset, note, velocity] within the loop.
barsintegerTotal bars to play.
bpmnumberTempo in BPM.
channelintegerMIDI channel.
loop_lengthnumberLoop length in bars.
send_stopbooleanSend MIDI Stop at the end.

play_pattern_with_multi_channel_midi

Play a full arrangement: track triggers, per-channel notes, and parameter automation.

ParameterTypeDescription
automation_loop_barsintegerBars for the automation to loop over. 0 = no loop.
barsintegerNumber of bars to play.
bpmnumberTempo in BPM.
midi_channelsNotes per MIDI channel: {'9': [[beat, note, velocity, duration_sec], ...]}.
parameter_automationAutomation: {'param_name': [[beat, value], ...]}.
send_clockbooleanSend MIDI clock.
send_stopbooleanSend MIDI Stop at the end.
track_triggersTrack triggers as [beat, track, velocity].

play_pattern_with_parameter_automation

Play triggers with parameter automation running alongside.

ParameterTypeDescription
parameter_automation *objectAutomation: {'param_name': [[beat, value], ...]}.
triggers *arrayTrack triggers as [beat, track, velocity].
automation_loop_barsintegerBars for the automation to loop over. 0 = no loop.
barsintegerNumber of bars to play.
bpmnumberTempo in BPM.
send_stopbooleanSend MIDI Stop at the end.

send_parameter_sweep

Ramp a parameter from one value to another over time.

ParameterTypeDescription
duration *numberSweep duration in seconds.
end_value *integerEnding value.
parameter *stringParameter name, e.g. 'filter_cutoff'.
start_value *integerStarting value.
channelintegerMIDI channel.
stepsintegerNumber of intermediate steps.

send_parameter_envelope

Shape a parameter with an ADSR envelope.

ParameterTypeDescription
attack_level *integerPeak level reached at the end of attack.
attack_time *numberAttack time in seconds.
decay_time *numberDecay time in seconds.
parameter *stringParameter name, e.g. 'filter_cutoff'.
release_time *numberRelease time in seconds.
sustain_level *integerLevel held during sustain.
sustain_time *numberSustain duration in seconds.
channelintegerMIDI channel.
end_levelintegerLevel after release completes.
start_levelintegerLevel before the attack begins.
steps_per_secondintegerUpdate resolution.

save_pattern

Save a full pattern — triggers, notes and automation — to disk.

ParameterTypeDescription
bars *integerNumber of bars.
bpm *numberTempo in BPM.
midi_channels *objectNotes per MIDI channel: {'9': [[beat, note, velocity, duration_sec], ...]}.
pattern_name *stringName to save under.
track_triggers *arrayTrack triggers as [beat, track, velocity].
automation_loop_barsintegerBars for the automation to loop over. 0 = no loop.
descriptionstringDescription of the pattern.
parameter_automationAutomation: {'param_name': [[beat, value], ...]}.

load_pattern

Load a saved pattern and return its data.

ParameterTypeDescription
pattern_name *stringName of the pattern to load.

list_patterns

List every saved pattern.

delete_pattern

Delete a saved pattern.

ParameterTypeDescription
pattern_name *stringName of the pattern to delete.

update_pattern

Update individual fields of a saved pattern, leaving the rest alone.

ParameterTypeDescription
pattern_name *stringName of the pattern to update.
automation_loop_barsNew automation loop length.
barsNew bar count.
bpmNew tempo.
descriptionNew description.
midi_channelsReplacement MIDI channel data.
parameter_automationReplacement automation.
track_triggersReplacement track triggers.

edit_pattern_triggers

Add, remove or replace a track's triggers in a saved pattern.

ParameterTypeDescription
beats *arrayBeat positions, e.g. [0, 1, 2, 3].
pattern_name *stringName of the pattern to edit.
track *integerTrack number (1-4).
modestringHow `beats` combine with existing triggers.
noteChromatic note. Defaults to the track's trigger note.
velocityintegerNote velocity.

edit_pattern_chords

Place a chord at a bar position, one note per MIDI channel. Each note goes on its own channel so monophonic MIDI tracks can voice a chord together; the note is held until the next chord.

ParameterTypeDescription
bar *integerBar number (0-based) to place the chord on.
chord_notes *arrayMIDI notes, e.g. [60, 64, 67] for C major.
pattern_name *stringName of the pattern to edit.
channelsMIDI channels to spread the chord across. Default 9-12.
velocityintegerNote velocity.

check_pattern

Validate and normalize strict step notation.

ParameterTypeDescription
text *stringPattern notation.

save_pattern_text

Save a validated text pattern.

ParameterTypeDescription
pattern_name *stringName to save under.
text *stringStrict step notation.

save_song

Save a text-pattern arrangement.

ParameterTypeDescription
arrangement *string'intro x2, verse+bass x4, outro'
song_name *stringName to save under.
bpmintegerOverride tempo; 0 keeps pattern tempos.

list_songs

List saved compact song arrangements.

delete_song

Delete a saved compact song arrangement.

ParameterTypeDescription
song_name *stringSaved song to delete.

play_pattern_text

Play text notation, switching loops without a gap.

ParameterTypeDescription
what *stringPattern text, saved name, or arrangement.
loopbooleanLoop; later play calls switch at loop end.

stop_pattern_playback

Stop background text-pattern playback and release sounding notes.

save_automation_preset

Save parameter automation for reuse across patterns.

ParameterTypeDescription
name *stringPreset name.
parameter_automation *objectAutomation: {'param_name': [[beat, value], ...]}.
descriptionstringWhat this preset does.

load_automation_preset

Load a saved automation preset.

ParameterTypeDescription
name *stringPreset name to load.

list_automation_presets

List every saved automation preset.

export_pattern_to_midi

Export a pattern to a standard MIDI file.

ParameterTypeDescription
filename *stringOutput filename; .mid is added if missing.
barsintegerNumber of bars.
bpmnumberTempo in BPM.
melody_channelintegerMIDI channel.
melody_notesMelody notes as [beat, note, velocity, duration_sec].
track_triggersTrack triggers as [beat, track, velocity].

export_automation_to_midi

Export parameter automation as CC events in a MIDI file.

ParameterTypeDescription
automation *object{'parameter_automation': {...}, 'bpm': N}.
filename *stringOutput filename; .mid is added if missing.
channelintegerMIDI channel.

save_last_melody

Save the most recently played melody to a MIDI file.

ParameterTypeDescription
filename *stringOutput filename; .mid is added if missing.

monitor_midi_input

Watch incoming MIDI and report what arrived.

ParameterTypeDescription
durationnumberHow long to listen, in seconds.

record_midi_input

Record incoming MIDI to a .mid file.

ParameterTypeDescription
filename *stringOutput filename; .mid is added if missing.
bpmnumberTempo written into the file.
duration_secnumberRecording length in seconds.

list_midi_recordings

List the MIDI files in the recordings directory.

play_midi_file

Play a MIDI file out to the device.

ParameterTypeDescription
filename *stringMIDI file in the recordings directory.
channel_offsetintegerShift every channel by this amount.

play_chord

Play simultaneous notes. The Digitone shares 8 voices across its 4 tracks.

ParameterTypeDescription
notes *arrayMIDI notes, e.g. [60, 64, 67] for C major.
channelintegerMIDI channel. Tracks 1-4 listen on channels 1-4.
durationnumberSeconds to hold the chord.
velocityintegerNote velocity.

set_algorithm

Choose the FM algorithm, i.e. how the four operators modulate each other. Lower numbers are deeper modulation chains; 8 is all carriers (organ-like).

ParameterTypeDescription
algorithm *integerAlgorithm number (1-8).
channelintegerMIDI channel. Tracks 1-4 listen on channels 1-4.

set_ratios

Set operator frequency ratios. 1:1 is saw-like, 2:1 square-like, 3:1 a narrow pulse; non-integer ratios give bells and metallic timbres.

ParameterTypeDescription
channelintegerMIDI channel. Tracks 1-4 listen on channels 1-4.
ratio_aOperator A ratio. Non-integer is metallic.
ratio_bOperator B ratio. Applies to both B1 and B2.
ratio_cCarrier C ratio. Integer ratios set pitch.

set_operator_levels

Set modulation index per operator. Higher values are brighter and harsher.

ParameterTypeDescription
a_levelOperator A modulation depth.
b_levelOperator B modulation depth. Applies to B1 and B2.
channelintegerMIDI channel. Tracks 1-4 listen on channels 1-4.

set_operator_envelope

Shape how an operator's modulation depth changes over time.

ParameterTypeDescription
operator *stringB covers both B1 and B2.
attackAttack time.
channelintegerMIDI channel. Tracks 1-4 listen on channels 1-4.
decayDecay time.
endEnd level: the level held after decay.
levelPeak modulation depth.

set_chorus

Set the chorus effect. The Digitakt has no chorus; this is Digitone-only.

ParameterTypeDescription
channelintegerFX channel.
depthChorus depth.
hpHigh-pass filter.
mixMix level.
speedChorus speed.
widthStereo width.

list_sounds

List the saved sounds in one +Drive sound bank (needs elektroid-cli).

ParameterTypeDescription
bankstringSound bank letter on the +Drive.