File: README

package info (click to toggle)
vmpk 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,788 kB
  • sloc: cpp: 7,341; xml: 926; awk: 40; sh: 38; python: 37; makefile: 15
file content (85 lines) | stat: -rw-r--r-- 2,207 bytes parent folder | download | duplicates (5)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
VMPK D-Bus interface
====================

The D-Bus interface is available in VMPK since the release 0.3.2 (June 2010). 

Interface name: "net.sourceforge.vmpk"
Path: "/"

Window control methods:
    void hide();
    void lower();
    void move(int x, int y);
    void raise();
    void repaint();
    void resize(int width, int height);
    void setDisabled(bool disable);
    void setEnabled(bool enable);
    void setFocus();
    void setHidden(bool hidden);
    void setStyleSheet(const QString &styleSheet);
    void setVisible(bool visible);
    void setWindowModified(bool modified);
    void setWindowTitle(const QString &title);
    void show();
    void showFullScreen();
    void showMaximized();
    void showMinimized();
    void showNormal();
    void update();

Program methods:
    void quit();
    void panic();
    void reset_controllers();
    void channel(int value);
    void octave(int value);
    void transpose(int value);
    void velocity(int value);
    void connect_in(const QString &value);
    void connect_out(const QString &value);
    void connect_thru(bool value);

MIDI methods:
    void noteoff(int note);
    void noteon(int note);
    void polykeypress(int note, int value);
    void controlchange(int control, int value);
    void programchange(int value);
    void programnamechange(const QString &value);
    void chankeypress(int value);
    void pitchwheel(int value);

Signals:
    void event_noteoff(int note);
    void event_noteon(int note);
    void event_polykeypress(int note, int value);
    void event_controlchange(int control, int value);
    void event_programchange(int value);
    void event_chankeypress(int value);
    void event_pitchwheel(int value);

Examples
========

Note: you need to execute VMPK before running any of the examples.

Python:
    dbus-client.py
    dbus-signal-receiver.py
 
Bash shell script:
    bigben.sh

BUILDING
========

CMake builds by default the D-Bus interface feature. To disable it, use this 
option at configuration time:

$ cmake . -DENABLE_DBUS=OFF

On the other hand, the Qmake build system doesn't build the D_Bus interface 
unless you explicitly enable it at configure time:

$ qmake DEFINES+=ENABLE_DBUS