Re: [yoshimi-user] A small but significant development

  • From: Jonathan E Brickman <jeb@xxxxxxxxxxxxxxxx>
  • To: yoshimi-user <yoshimi-user@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Sun, 7 Sep 2014 19:48:00 +0000

Ooh, I do like that sort of engineering!!!

J.E.B.

On 09/07/2014 12:05 PM, Will Godfrey wrote:

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




--
Jonathan E. Brickman
Ponderworthy Music | jeb@xxxxxxxxxxxxxxxx<mailto:jeb@xxxxxxxxxxxxxxxx> |
(785)233-9977 | http://ponderworthy.com

Other related posts: