17 def play(self, sample, *, voice=0, loop=False): |
20 def play(self, sample, *, voice=0, loop=False): |
18 pass |
21 pass |
19 |
22 |
20 def stop_voice(self, voice=0): |
23 def stop_voice(self, voice=0): |
21 pass |
24 pass |
22 |
|
23 @property |
|
24 def playing(self): |
|
25 pass |
|
26 |
|
27 @property |
|
28 def sample_rate(self): |
|
29 pass |
|
30 |
25 |
31 class RawSample(): |
26 class RawSample(): |
|
27 sample_rate = 0 |
|
28 |
32 def __init__(self, buffer, *, channel_count=1, sample_rate=8000): |
29 def __init__(self, buffer, *, channel_count=1, sample_rate=8000): |
33 pass |
30 pass |
34 |
31 |
35 def deinit(self): |
32 def deinit(self): |
36 pass |
33 pass |
37 |
|
38 @property |
|
39 def sample_rate(self): |
|
40 pass |
|
41 |
34 |
42 class WaveFile(): |
35 class WaveFile(): |
|
36 sample_rate = 0 |
|
37 bits_per_sample = 0 |
|
38 channel_count = 0 |
|
39 |
43 def __init__(self, file, buffer=None): |
40 def __init__(self, file, buffer=None): |
44 pass |
41 pass |
45 |
42 |
46 def deinit(self): |
43 def deinit(self): |
47 pass |
44 pass |
48 |
|
49 @property |
|
50 def sample_rate(self): |
|
51 pass |
|
52 |
|
53 @property |
|
54 def bits_per_sample(self): |
|
55 pass |
|
56 |
|
57 @property |
|
58 def channel_count(self): |
|
59 pass |
|