Get current MIDI defaults

current_midi_defaults  

Returns the current MIDI defaults. This is a map of opt names to values

This can be set via the fns use_midi_defaults, with_midi_defaults, use_merged_midi_defaults and with_merged_midi_defaults.

Introduced in v3.0

Example

# Example 1

use_midi_defaults channel: 1, port: "foo"
midi_note_on :e1
current_midi_defaults



 
# Sends MIDI :e1 note on to channel 1 on port "foo"
#=> Prints {channel: 1, port: "foo"}