Code Monkey home page Code Monkey logo

Comments (3)

Frydac avatar Frydac commented on July 16, 2024

I hacked a bit at it to get it the way I needed. I'm ok for now, thanks.

from ff_meters.

ffAudio avatar ffAudio commented on July 16, 2024

That is an interesting use case.
How it was meant to work is by inheriting the LookAndFeel but overriding the getMeterMaxNumberBounds() and getMeterTickmarksBounds() to return empty rectangles.
In hindsight I find the approach a bit bloated, but it should allow layouting the elements in a flexible way.
The hope is, that the drawMeterBars() will react appropriate. If not, you will have to override those as well:
getMeterClipIndicatorBounds() and getMeterBarBounds(). They get as input a strip of the bounds as calculated by getMeterBounds().

Allowing Minimal to return that version would be a good option, although it would create an ambiguity for stereo.

from ff_meters.

Frydac avatar Frydac commented on July 16, 2024

Thanks, I did something similar to your proposal, which turned out to be quite easy and flexible enough. I now just use the SingleChannel mask and with my derived LNF class, which only covers the one usecase :)

If you're interested in the context of use:
I work at an audio software company. We mainly create audio processing libraries to be integrated in AVRs, cars, mobile, .. To test/tune/experiment/demo these algorithms we integrate them into vst fx plugins, which also makes it relatively easy to use for non technical ppl, on their preferred platform/host.
The animated meters enhance the impression that at least it's doing something :D

from ff_meters.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.