okay i tried it out and it works well with loading files. here’s an example middy file that uses button 46 of my particular midi controller (nanokontrol2) to load two different files into two loops:
[
{
"comment": "load audio",
"button": true,
"cc": 46,
"commands": [
{
"data": "/home/we/dust/data/oooooo/AA/loop1.wav",
"msg": "/param/1load_file"
},
{
"data": "/home/we/dust/audio/tehn/mancini2.wav",
"msg": "/param/2load_file"
}]
}]
you can change the data to whatever you want. in this example i made one loop one that i saved previously (..AA/loop1) and the other one is just from the audio directory.