[yoshimi] Files and Histories

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Sun, 19 Nov 2017 23:10:29 +0000

I've revised the history code so that the last used file in any section is
aleways at the top of it's history list. This actually made the code simpler.

The main benefit of this is that now all of these - patch sets, vectors,
scales, midilearn and state - offer the most recent entry whenever you want
to load or save. Also on first time use (when there is no history) you will be
offered your home directory as a location, regardless of where Yoshimi was
called from.

The State menu now has a new option 'Save default' which will save whatever you
have set up as the default state. This is only effective if you also have the
'Start With Default State' option checked in settings. This is also exceptional
is it will *not* appear in the history list, so will not be offered as a normal
load.

Where this particularly comes in useful is when you are working on a project
and want to keep coming back to it.

So:
project is /home/{user}/foo
you've put all your yoshimi stuff in a state file /home/{user}/foo/yosh.state

Depending on how lazy you are you can reload it from either the top item of
'Recent' or the offered file in 'Load'. More importantly, as you work on the
project you can keep saving updates simply by clicking on'Save' then
pressing return.

If you already have files listed in the .config/yoshimi location, it will take a
while for them to drop out of the bottom of the list.

Presets are not included. I still need to have a good look at that code :(

-- 
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:

  • » [yoshimi] Files and Histories - Will Godfrey