[yoshimi] Re: Midi-Learn Load

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Sun, 30 Dec 2018 13:20:21 +0000

On Sun, 30 Dec 2018 14:03:53 +0200
redu <reino.urala@xxxxxxxxx> wrote:

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!

You've used the wrong command. You should start Yoshimi like this:

yoshimi --state=/home/redu/Zyn/states/6sine.state

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: