Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timschneeb/liquidequalizerwidget
Modern 15-band equalizer for C++/Qt
https://github.com/timschneeb/liquidequalizerwidget
equalizer qt qt5-gui widget
Last synced: 3 months ago
JSON representation
Modern 15-band equalizer for C++/Qt
- Host: GitHub
- URL: https://github.com/timschneeb/liquidequalizerwidget
- Owner: timschneeb
- License: gpl-3.0
- Created: 2020-01-29T14:14:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-27T01:11:49.000Z (about 1 year ago)
- Last Synced: 2024-05-21T11:59:59.411Z (9 months ago)
- Topics: equalizer, qt, qt5-gui, widget
- Language: C++
- Homepage:
- Size: 626 KB
- Stars: 37
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LiquidEqualizerWidget
Modern 15-band equalizer for C++/QtCheck my other Qt widgets/add-ons out:
## Documentation
#### Setting a single band
```c++
void setBand(int band, float value, bool animate = true);
```Sets band (0-14) to specified value.
_Optional parameters_:
`animate`: animate changes
#### Setting multiple bands
```c++
void setBands(QVector vector, bool animate = true);
```Same as `setBand` except it takes a vector of floats is an input and sets them all at once.
#### Getting a single band
```c++
float getBand(int band);
```Returns value of band (0-14).
#### Getting multiple bands
```c++
QVector getBands();
```Same as `getBand` except it returns a vector of float containing the values of all bands.
#### Other Properties
##### Grid
```c++
bool getGridVisible() const;
void setGridVisible(bool gridVisible);
```Sets/gets horizontal background grid visibility.
##### Handles
```c++
bool getAlwaysDrawHandles() const;
void setAlwaysDrawHandles(bool alwaysDrawHandles);
```Defines whether handles should always be drawn or just on user interaction.
##### Colors
```c++
QColor getAccentColor() const;
void setAccentColor(const QColor &accentColor);
```Sets/gets accent color.
The background and grid color can be changed by loading a modified `QPalette`.
##### Animation
```c++
int getAnimationDuration() const;
void setAnimationDuration(int animationDuration);
```Sets/gets the duration of variant animations used in `setBand` or `setBands`.
## Screenshots
Manual use:
![GIF](/screenshots/manual.gif)
Animate changes:
![GIF](/screenshots/animation.gif)
_______
Licensed under GPLv3