-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
40 lines (31 loc) · 792 Bytes
/
Copy pathmain.cpp
File metadata and controls
40 lines (31 loc) · 792 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
31
32
33
34
35
36
37
38
39
#include <QtGui>
#include <iostream>
#include <cstdlib>
#include "RtMidi.h"
#include <unistd.h>
#define SLEEP( milliseconds ) usleep( (unsigned long) (milliseconds * 1000.0) )
#include "jdksmidi/world.h"
#include "jdksmidi/track.h"
#include "jdksmidi/multitrack.h"
#include "jdksmidi/filereadmultitrack.h"
#include "jdksmidi/fileread.h"
#include "jdksmidi/fileshow.h"
#include "jdksmidi/sequencer.h"
using namespace jdksmidi;
#include <iostream>
#include "b.h"
#include "midiout.h"
using namespace std;
#include "midimain.h"
#include "rawkeybdapp.h"
int main(int argc,char** argv)
{
RawKeybdApp app(argc,argv);
#ifdef __APPLE__
MacMidi macmidi;
#endif
MidiMain *midimain=new MidiMain();
midimain->setAttribute(Qt::WA_DeleteOnClose);
midimain->show();
return app.exec();
}