-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
30 lines (22 loc) · 967 Bytes
/
main.cpp
File metadata and controls
30 lines (22 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*------------------------------------------------------------------*\
Implmentation of a Peak Equalizer Class
the design is based on the EQ cookbook by Robert bristow Johnson
public domain
Author: Joerg Bitzer (TGM) (Jade-Hochschule)
Modified by Hagen Jaeger, 22.09.2014, now with all cookbook-variations of a BiQuad
(LoPass, HiPass, LoShelv, HiShelf, pEQ, ...). Modification is based on Joerg Bitzers
'filterdesign.m', i.e. RBJ Cookbook, for MATLAB.
Version 1.0.1 (debugged and tested, 22.09.2014).
\*------------------------------------------------------------------*/
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
int width = QApplication::desktop()->screenGeometry().width();
int height = QApplication::desktop()->screenGeometry().height();
MainWindow mainWin(0.6*width, 0.6*height);
mainWin.move(width*0.2,height*0.1);
mainWin.show();
return app.exec();
}