[yoshimi] Re: Midi-Learn Load

  • From: redu <reino.urala@xxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Sun, 30 Dec 2018 14:03:53 +0200

As written earlier, I used to write my script like this

# Start Zyn.dektop application
#
####################################
[Desktop Entry]
Version=1.0
Name=6sineYO
Type=Application
Terminal=false
Exec=sh -c "killall yoshimi ; pgrep qjackctl || qjackctl & yoshimi
--load=/home/redu/Zyn/presets/B3DET/6sine.xmz"
Icon=/home/redu/Zyn/Icons/b3.png

I saved the 6sine.xmz plus midilearn to states-directory /home/redu/Zyn/states

Modified my script for "state-load" like this

# Start Zyn.dektop application

#
####################################
[Desktop Entry]
Version=1.0
Name=6sineYO
Type=Application
Terminal=false
Exec=sh -c "killall yoshimi ; pgrep qjackctl || qjackctl & yoshimi
--load=/home/redu/Zyn/states/6sine.state"
Icon=/home/redu/Zyn/Icons/b3.png

This modified script fails to read the saved 6sine.state.

Tried some other script variations too. No luck!


Other related posts: