Midi and play_pattern_timed possible?

Hi !

Is there a way to use send midi notes via play_pattern_timed function ?
cheers

a solution

use_midi_defaults port: 'loopmidi_01', channel: 2


notes = (ring 50, 60, 80)
durees = (ring 0.25, 1)

notes.length.times do
  
  midi notes.tick('n')
  sleep durees.tick('d')
end