~ubuntu-branches/ubuntu/saucy/solfege/saucy

« back to all changes in this revision

Viewing changes to solfege/soundcard/solfege_c_midi.py

  • Committer: Bazaar Package Importer
  • Author(s): Tom Cato Amundsen
  • Date: 2010-05-19 23:10:09 UTC
  • mfrom: (1.1.11 upstream) (2.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100519231009-r3zyxze7zom6xz25
Tags: 3.16.3-1
* New upstream release
* Recommend csound (closes: #579210)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# This file was automatically generated by SWIG (http://www.swig.org).
2
 
# Version 1.3.36
 
2
# Version 1.3.40
3
3
#
4
 
# Don't modify this file, modify the SWIG interface instead.
 
4
# Do not make changes to this file unless you know what you are doing--modify
 
5
# the SWIG interface file instead.
5
6
# This file is compatible with both classic and new-style classes.
6
7
 
7
 
import _solfege_c_midi
8
 
import new
9
 
new_instancemethod = new.instancemethod
 
8
from sys import version_info
 
9
if version_info >= (2,6,0):
 
10
    def swig_import_helper():
 
11
        from os.path import dirname
 
12
        import imp
 
13
        fp = None
 
14
        try:
 
15
            fp, pathname, description = imp.find_module('_solfege_c_midi', [dirname(__file__)])
 
16
        except ImportError:
 
17
            import _solfege_c_midi
 
18
            return _solfege_c_midi
 
19
        if fp is not None:
 
20
            try:
 
21
                _mod = imp.load_module('_solfege_c_midi', fp, pathname, description)
 
22
            finally:
 
23
                fp.close()
 
24
            return _mod
 
25
    _solfege_c_midi = swig_import_helper()
 
26
    del swig_import_helper
 
27
else:
 
28
    import _solfege_c_midi
 
29
del version_info
10
30
try:
11
31
    _swig_property = property
12
32
except NameError:
14
34
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
15
35
    if (name == "thisown"): return self.this.own(value)
16
36
    if (name == "this"):
17
 
        if type(value).__name__ == 'PySwigObject':
 
37
        if type(value).__name__ == 'SwigPyObject':
18
38
            self.__dict__[name] = value
19
39
            return
20
40
    method = class_type.__swig_setmethods__.get(name,None)
31
51
    if (name == "thisown"): return self.this.own()
32
52
    method = class_type.__swig_getmethods__.get(name,None)
33
53
    if method: return method(self)
34
 
    raise AttributeError,name
 
54
    raise AttributeError(name)
35
55
 
36
56
def _swig_repr(self):
37
57
    try: strthis = "proxy of " + self.this.__repr__()
38
58
    except: strthis = ""
39
59
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
40
60
 
41
 
import types
42
61
try:
43
 
    _object = types.ObjectType
 
62
    _object = object
44
63
    _newclass = 1
45
64
except AttributeError:
46
65
    class _object : pass
47
66
    _newclass = 0
48
 
del types
49
67
 
50
68
 
51
69
STDC_HEADERS = _solfege_c_midi.STDC_HEADERS
52
70
HAVE_FCNTL_H = _solfege_c_midi.HAVE_FCNTL_H
53
71
HAVE_SYS_IOCTL_H = _solfege_c_midi.HAVE_SYS_IOCTL_H
54
72
HAVE_UNISTD_H = _solfege_c_midi.HAVE_UNISTD_H
 
73
 
 
74
def seq_bender(*args):
 
75
  return _solfege_c_midi.seq_bender(*args)
55
76
seq_bender = _solfege_c_midi.seq_bender
 
77
 
 
78
def seq_start_note(*args):
 
79
  return _solfege_c_midi.seq_start_note(*args)
56
80
seq_start_note = _solfege_c_midi.seq_start_note
 
81
 
 
82
def seq_stop_note(*args):
 
83
  return _solfege_c_midi.seq_stop_note(*args)
57
84
seq_stop_note = _solfege_c_midi.seq_stop_note
 
85
 
 
86
def seq_set_patch(*args):
 
87
  return _solfege_c_midi.seq_set_patch(*args)
58
88
seq_set_patch = _solfege_c_midi.seq_set_patch
 
89
 
 
90
def seq_set_volume(*args):
 
91
  return _solfege_c_midi.seq_set_volume(*args)
59
92
seq_set_volume = _solfege_c_midi.seq_set_volume
 
93
 
 
94
def seq_delta_time(*args):
 
95
  return _solfege_c_midi.seq_delta_time(*args)
60
96
seq_delta_time = _solfege_c_midi.seq_delta_time
 
97
 
 
98
def seq_start_timer():
 
99
  return _solfege_c_midi.seq_start_timer()
61
100
seq_start_timer = _solfege_c_midi.seq_start_timer
 
101
 
 
102
def seqbuf_dump():
 
103
  return _solfege_c_midi.seqbuf_dump()
62
104
seqbuf_dump = _solfege_c_midi.seqbuf_dump
 
105
 
 
106
def sndctl_seq_nrsynths():
 
107
  return _solfege_c_midi.sndctl_seq_nrsynths()
63
108
sndctl_seq_nrsynths = _solfege_c_midi.sndctl_seq_nrsynths
 
109
 
 
110
def sndctl_seq_reset():
 
111
  return _solfege_c_midi.sndctl_seq_reset()
64
112
sndctl_seq_reset = _solfege_c_midi.sndctl_seq_reset
 
113
 
 
114
def sndctl_tmr_timebase(*args):
 
115
  return _solfege_c_midi.sndctl_tmr_timebase(*args)
65
116
sndctl_tmr_timebase = _solfege_c_midi.sndctl_tmr_timebase
 
117
 
 
118
def sndctl_tmr_tempo(*args):
 
119
  return _solfege_c_midi.sndctl_tmr_tempo(*args)
66
120
sndctl_tmr_tempo = _solfege_c_midi.sndctl_tmr_tempo
 
121
 
 
122
def sndctl_seq_gettime():
 
123
  return _solfege_c_midi.sndctl_seq_gettime()
67
124
sndctl_seq_gettime = _solfege_c_midi.sndctl_seq_gettime
 
125
 
 
126
def get_synth_name(*args):
 
127
  return _solfege_c_midi.get_synth_name(*args)
68
128
get_synth_name = _solfege_c_midi.get_synth_name
 
129
 
 
130
def get_synth_nr_voices(*args):
 
131
  return _solfege_c_midi.get_synth_nr_voices(*args)
69
132
get_synth_nr_voices = _solfege_c_midi.get_synth_nr_voices
70
133
 
71
134
cvar = _solfege_c_midi.cvar