[yoshimi-user] A small but significant development

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi-user@xxxxxxxxxxxxxxxxxxxxx
  • Date: Sun, 7 Sep 2014 18:05:45 +0100

It's belt and braces time guys!

In the master branch I've set up a tiny ring buffer between the synth and the
GUI VU metering. This means all the data is one way, and it clears out 3 mutex
locks in the process.

I had one anomaly early on where the clip level wasn't being seen, but I
haven't been able to repeat it. However, if anyone comes across this or any
other weirdies please let me know.

There are four files involved:
src/Misc/SynthEngine.cpp
src/Misc/SynthEngine.h
src/UI/MasterMiscUI.fl
src/UI/MasterUI.fl

If you do get problems, I've included the old files with the suffix NoRing so
you can try those instead to make sure nothing else has changed.

The only thing missing at the moment is clearing the peaks when 'Stop!' is
pressed. I'm still a bit hazy on getting functions to look across to each
other.

Overall CPU performance seems to be about the same as before, but then that
wasn't the point of this exercise!

Now I think I'll go and play with my toys :)

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


Other related posts: