1
1
# This file was automatically generated by SWIG (http://www.swig.org).
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.
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
15
fp, pathname, description = imp.find_module('_solfege_c_midi', [dirname(__file__)])
17
import _solfege_c_midi
18
return _solfege_c_midi
21
_mod = imp.load_module('_solfege_c_midi', fp, pathname, description)
25
_solfege_c_midi = swig_import_helper()
26
del swig_import_helper
28
import _solfege_c_midi
11
31
_swig_property = property
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
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)
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,)
43
_object = types.ObjectType
45
64
except AttributeError:
46
65
class _object : pass
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
74
def seq_bender(*args):
75
return _solfege_c_midi.seq_bender(*args)
55
76
seq_bender = _solfege_c_midi.seq_bender
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
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
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
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
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
98
def seq_start_timer():
99
return _solfege_c_midi.seq_start_timer()
61
100
seq_start_timer = _solfege_c_midi.seq_start_timer
103
return _solfege_c_midi.seqbuf_dump()
62
104
seqbuf_dump = _solfege_c_midi.seqbuf_dump
106
def sndctl_seq_nrsynths():
107
return _solfege_c_midi.sndctl_seq_nrsynths()
63
108
sndctl_seq_nrsynths = _solfege_c_midi.sndctl_seq_nrsynths
110
def sndctl_seq_reset():
111
return _solfege_c_midi.sndctl_seq_reset()
64
112
sndctl_seq_reset = _solfege_c_midi.sndctl_seq_reset
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
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
122
def sndctl_seq_gettime():
123
return _solfege_c_midi.sndctl_seq_gettime()
67
124
sndctl_seq_gettime = _solfege_c_midi.sndctl_seq_gettime
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
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
71
134
cvar = _solfege_c_midi.cvar