[yoshimi] Re: a little bit more

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Sun, 20 Mar 2016 19:45:19 +0000

On Sat, 19 Mar 2016 15:29:41 -0500
"Jonathan E. Brickman" <jeb@xxxxxxxxxxxxxxxx> wrote:

Excellent!!!
Thanks Jonathan :)

... However,
More importantly, the CLI can now list the recent patch set, scale &
state histories :)

This has just opened a (very old) can of worms :(

When I reorganised the top menu I discovered that loading states didn't apply
new tunings, although it appeared to load them correctly. Thinking that Cal had
maybe overlooked this I added a call in the gui to 'microtonalui->apply()'.
This worked OK so I thought no more about it.

Having implemented the CLI entry above, I thought about enabling scale and state
load & save from there too. So, from the gui I first created a special scale,
and a distinctive patch set, then saved patch, scale and state.

Imagine my surprise when the only thing that applied the tunings was state
load! For the others you had to go into the Scales window and hit the 'Retune'
button. Now both of these were old Zyn functions, and had never been changed.
The latest master has a fix for this, but only when working within the gui.

Trying to work out how to go directly from the XML to the tunings is proving to
be a nightmare. The above systems load the file, then convert the data to a form
for the window, then from there convert it to the actual tunings when that
apply() function is called :(

I suspect considerable quantities of coffee will need to be consumed!

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