~ubuntu-branches/ubuntu/quantal/muse/quantal

« back to all changes in this revision

Viewing changes to muse/midi.h

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2010-11-17 21:43:38 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20101117214338-1hvfl7oo2dsqnvrb
Tags: 1.1-0ubuntu1
* New upstream release (LP: #668631)
* Switch to dpkg-source 3.0 (quilt) format
* Switch to dh7 short form
* debian/rules:
  - added --enable-dssi and --enable-osc to conf flags for dssi support
  - added -ljackserver to LDFLAGS to fix a FTBFS because of --as-needed
* debian/control:
  - added build build dependency on liblo-dev and dssi-dev for dssi support
  - bump Standards-version to 3.9.1. No changes required.
* debian/muse.desktop, debian/muse.xpm: dropped as desktop file and icon is
  now shipped upstream.
* fix-desktop-categories.patch: fix Categories tag in upstream desktop file
* 10_es_locale_fix.dpatch: refreshed and converted to quilt as
  fix_es_locale.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#include <qstring.h>
16
16
 
17
17
enum {
18
 
      ME_NOTEOFF    = 0x80,
19
 
      ME_NOTEON     = 0x90,
20
 
      ME_POLYAFTER  = 0xa0,
21
 
      ME_CONTROLLER = 0xb0,
22
 
      ME_PROGRAM    = 0xc0,
23
 
      ME_AFTERTOUCH = 0xd0,
24
 
      ME_PITCHBEND  = 0xe0,
25
 
      ME_SYSEX      = 0xf0,
26
 
      ME_META       = 0xff,
27
 
      ME_SONGPOS    = 0xf2,
28
 
      ME_CLOCK      = 0xf8,
29
 
      ME_START      = 0xfa,
30
 
      ME_CONTINUE   = 0xfb,
31
 
      ME_STOP       = 0xfc,
 
18
      ME_NOTEOFF     = 0x80,
 
19
      ME_NOTEON      = 0x90,
 
20
      ME_POLYAFTER   = 0xa0,
 
21
      ME_CONTROLLER  = 0xb0,
 
22
      ME_PROGRAM     = 0xc0,
 
23
      ME_AFTERTOUCH  = 0xd0,
 
24
      ME_PITCHBEND   = 0xe0,
 
25
      ME_SYSEX       = 0xf0,
 
26
      ME_META        = 0xff,
 
27
      ME_MTC_QUARTER = 0xf1,
 
28
      ME_SONGPOS     = 0xf2,
 
29
      ME_SONGSEL     = 0xf3,
 
30
      ME_TUNE_REQ    = 0xf6,
 
31
      ME_SYSEX_END   = 0xf7,
 
32
      ME_CLOCK       = 0xf8,
 
33
      ME_TICK        = 0xf9,
 
34
      ME_START       = 0xfa,
 
35
      ME_CONTINUE    = 0xfb,
 
36
      ME_STOP        = 0xfc,
 
37
      ME_SENSE       = 0xfe
32
38
      };
33
39
 
34
40
#define ME_TIMESIG      0x58
35
41
 
36
42
extern const unsigned char gmOnMsg[];
 
43
 
37
44
extern const unsigned char gsOnMsg[];
 
45
extern const unsigned char gsOnMsg2[];
 
46
extern const unsigned char gsOnMsg3[];
38
47
extern const unsigned char xgOnMsg[];
 
48
extern const unsigned char mmcDeferredPlayMsg[];
 
49
extern const unsigned char mmcStopMsg[];
 
50
extern const unsigned char mmcLocateMsg[];
39
51
 
40
52
extern const unsigned int gmOnMsgLen;
41
53
extern const unsigned int gsOnMsgLen;
 
54
extern const unsigned int gsOnMsg2Len;
 
55
extern const unsigned int gsOnMsg3Len;
42
56
extern const unsigned int xgOnMsgLen;
 
57
extern const unsigned int mmcDeferredPlayMsgLen;
 
58
extern const unsigned int mmcStopMsgLen;
 
59
extern const unsigned int mmcLocateMsgLen;
43
60
 
44
61
QString nameSysex(unsigned int len, const unsigned char* buf);
45
62
QString midiMetaName(int);