rubysdl-mswin32-1.9 2.1.0.1 → 2.1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,584 +0,0 @@
1
- = Audio
2
- * ((<Audio ��ǽ����>))
3
- * ((<���Ѳ�ǽ�ʲ���/�����ե����ޥå�>))
4
- * ((<SDL::Mixer::Wave>))
5
- * ((<SDL::Mixer::Music>))
6
- * Audio��Ϣ�᥽�å�
7
- * ((<SDL::Mixer.open>)) -- Audio��ϢAPI�ν�����򤷤ޤ���
8
- * ((<SDL::Mixer.spec>)) -- ����������ǥХ������ºݤ˻ȤäƤ���ե����ޥåȤ����ޤ���
9
- * ((<SDL::Mixer.driver_name>)) -- ����������ǥХ�����̾�������ޤ�
10
- * ((<SDL::Mixer::Wave.load>)) -- �ե����뤫�鲻��������ɤ��롣
11
- * ((<SDL::Mixer::Wave.load_from_io>)) -- IO���֥������Ȥ��鲻��������ɤ��롣
12
- * ((<SDL::Mixer::Music.load>)) -- �ե����뤫�鲻�ڥǡ���������ɤ��롣
13
- * ((<SDL::Mixer::Music.load_from_string>)) -- ʸ���󤫤鲻�ڥǡ���������ɤ��롣
14
- * ((<SDL::Mixer::Wave#set_volume>)) -- �ܥ�塼������ꤷ�ޤ���
15
- * ((<SDL::Mixer.allocate_channels>)) -- �����ͥ�������ꤷ�ޤ���
16
- * ((<SDL::Mixer.set_volume>)) -- ���ꤷ�������ͥ�Υܥ�塼����ѹ����ޤ���
17
- * ((<SDL::Mixer.play_channel>)) -- ���ꤷ�������ͥ�Dz�����������ޤ���
18
- * ((<SDL::Mixer.play_channel_timed>)) -- ���ꤷ�������ͥ�ǻ��ꤷ�����֤���������������ޤ���
19
- * ((<SDL::Mixer.fade_in_channel>)) -- ���ꤷ�������ͥ�Dz�����ե����ɥ��󤷤ƺ������ޤ���
20
- * ((<SDL::Mixer.fade_in_channel_timed>)) -- ���ꤷ�������ͥ�Dz�����ե����ɥ��󤷤ƻ��ꤷ�����֤����������ޤ���
21
- * ((<SDL::Mixer.pause>)) -- ���ꤷ�������ͥ�κ���������ߤ��ޤ���
22
- * ((<SDL::Mixer.resume>)) -- ���ꤷ�������ͥ�κ�����Ƴ����롣
23
- * ((<SDL::Mixer.halt>)) -- ���ꤷ�������ͥ�κ�����ߤ�ޤ���
24
- * ((<SDL::Mixer.expire>)) -- ���ꤷ���ߥ��ø�˺�������ߤ��ޤ���
25
- * ((<SDL::Mixer.fade_out>)) -- ���ꤷ�������ͥ��ե����ɥ����Ȥ��ޤ���
26
- * ((<SDL::Mixer.play?>)) -- ���ꤷ�������ͥ뤬������Ǥ��뤫�ɤ��������롣
27
- * ((<SDL::Mixer.playing_channels>)) -- ������Υ����ͥ�ο������ޤ�
28
- * ((<SDL::Mixer.pause?>)) -- ���ꤷ�������ͥ뤬�������椫�ɤ��������롣
29
- * ((<SDL::Mixer.fading>)) -- ���ꤷ�������ͥ뤬�ե����ɥ���/�ե����ɥ����Ȥ��Ƥ��뤫�ɤ���������
30
- * ((<SDL::Mixer.play_music>)) -- ���ڤ���դ��ޤ���
31
- * ((<SDL::Mixer.fade_in_music>)) -- ���ڤ�ե����ɥ��󤷤Ʊ��դ��ޤ���
32
- * ((<SDL::Mixer.set_volume_music>)) -- ���ڱ��դβ��̤����ꤷ�ޤ���
33
- * ((<SDL::Mixer.pause_music>)) -- ���ڤα��դ�����ߤ��ޤ���
34
- * ((<SDL::Mixer.resume_music>)) -- ���ڤα��դ�Ƴ����ޤ���
35
- * ((<SDL::Mixer.rewind_music>)) -- ���հ��֤�ǽ�˰�ư���ޤ���
36
- * ((<SDL::Mixer.halt_music>)) -- ���ڤα��դ�ߤ�ޤ���
37
- * ((<SDL::Mixer.fade_out_music>)) -- ���ڱ��դ�ե����ɥ����Ȥ�����ߤ��ޤ���
38
- * ((<SDL::Mixer.play_music?>)) -- ���ڤ������椫�ɤ��������ޤ���
39
- * ((<SDL::Mixer.pause_music?>)) -- ���ڤ��������椫�ɤ��������롣
40
- * ((<SDL::Mixer.fading_music>)) -- ���ڱ��դΥե����ɥ���/�����Ȥξ�������ޤ���
41
-
42
- == Audio ��ǽ����
43
- SDL�ϥݡ����֥�����٥�ʥ����ǥ������ϵ�ǽ����äƤ��ޤ���
44
- ���٥�ʵ�ǽ��Ruby����ľ�����Ѥ���Τ����꤬���뤿�ᡢ
45
- Ruby/SDL�ǤϹ��٥�� SDL_mixer �饤�֥����ͳ����
46
- �������ϵ�ǽ�Τ��󶡤��ޤ������Τ��ᥪ���ǥ������ϵ�ǽ�����Ѥ��뤿��
47
- �ˤ� SDL_mixer �饤�֥��򥤥󥹥ȡ��뤹��ɬ�פ�����ޤ���
48
-
49
- SDL_mixer �饤�֥��ϰ���Ū�ʼ��פ������뤿�ᡢ
50
- ñ���ʣ�������ͥ�Ʊ�����դ��Ǥ��벻���ߥ����󥰵�ǽ���󶡤��ޤ���
51
- 16�ӥåȥ��ƥ쥪��8�����ͥ벻�����Ϥȡ�
52
- MOD/MIDI/MP3�ʤɤˤ�벻�ڱ���1�����ͥ뤬���Ѳ�ǽ�Ǥ���
53
-
54
- ���Τ褦�˲������ϤȲ��ڱ��դ�ʬ�����Ƥ���Τϡ���˼������
55
- ��ͳ�Ǥ����ֲ������ϡפ����̲����ֲ��ڱ��աפ�BGM�ȹͤ�����ɤ��Ǥ��礦��
56
- �����ˤ� ((<SDL::Mixer::Wave>)) ���饹�������ڤˤ� ((<SDL::Mixer::Music>)) ���饹���б���
57
- �Ƥ��ޤ���
58
-
59
- MIDI�ե�����α��դ�CPU����٤򤫤��뤿�ᡢ���̤�WAVE�ե������
60
- ������ʹ������Τˡ�MIDI�ե��������դ���ȤҤɤ���������
61
- �Ȥ������Ȥ�����ޤ���
62
- ���ξ��ϡ�8-bit���Ϥ��Υ����ϡ��㤤���ȿ����Ƥ���������
63
-
64
- MIDI�ե��������դ��뤿��ˤϡ�
65
- ((<Timidity GUS Patches|URL:http://www.libsdl.org/projects/mixer/timidity/timidity.tar.gz>))
66
- ��Ŭ�ڤʾ��(UNIX�Ǥ� /use/local/lib, Windows�Ǥ� C:\)��Ÿ�����Ƥ���������
67
-
68
- == ���Ѳ�ǽ�ʲ���/�����ե����ޥå�
69
-
70
- Ruby/SDL �Ǥϰʲ��β���/�����ե����ޥåȤ����Ѳ�ǽ�Ǥ���
71
- * WAVE/RIFF (.wav)
72
- * AIFF (.aiff)
73
- * VOC (.voc)
74
- * MOD (.mod .xm .s3m .669 .it .med �ʤ�)
75
- * MIDI (.mod) timidity���Ѥ⤷����MIDI�ϡ��ɥ�����������
76
- * OggVorbis (.ogg) ogg/vorbis �饤�֥�꤬ɬ��
77
- * MP3 (.mp3) SMPEG �饤�֥�꤬ɬ��
78
-
79
- == SDL::Mixer
80
- audio��Ϣ�Υ��饹��ؿ�����ĥ⥸�塼��Ǥ���
81
-
82
- == SDL::Mixer::Wave
83
- ʣ�������ͥ�ˤ���������ǽ�ʲ����ǡ�����ɽ�魯���饹�Ǥ���
84
- WAVE, AIFF, RIFF, OGG, VOC ���б����Ƥ��ޤ���
85
-
86
- == SDL::Mixer::Music
87
- ���ڥǡ�����ɽ�魯���饹�Ǥ���
88
- WAVE, MOD, MIDI, OGG, MP3 ���б����Ƥ��ޤ���
89
-
90
- == Audio��Ϣ�᥽�å�
91
-
92
- --- SDL::Mixer.open(frequency=Mixer::DEFAULT_FREQUENCY,format=Mixer::DEFAULT_FORMAT,cannels=Mixer::DEFAULT_CHANNELS,chunksize=4096)
93
-
94
- Audio��ϢAPI�ν�����򤷤ޤ���¾��Audio��Ϣ�Υ᥽�åɤ�Ƥ����ˤ����
95
- �Ƥ�ɬ�פ�����ޤ����ޤ������Ƥ�����((<SDL.init>))(SDL::INIT_AUDIO)��Ƥ�
96
- �ʤ��ƤϤʤ�ޤ���
97
- CD��Ʊ��44.1KHz�Υ���ץ�󥰥졼�Ȥ�Ȥ������Ȥ��� ((|frequency|)) �Ȥ���
98
- 44100��Ϳ���Ƥ���������44100�ǤϸŤ�����ԥ塼���Ǥ�CPU�ѥ��Ȥ�������
99
- �Τǥ�����ǤϤ����Ƥ�22050��Ȥ��ޤ���
100
- ��� Mixer::DEFAULT_FREQUENCY �Ϥ��� 22050 ��ɽ�路�ޤ���
101
- ((|chunksize|)) �Ϥ��줾��Υ����ͥ�˳����Ƥ���������(byteñ��)�Ǥ���
102
- �٤�����ԥ塼����� ((|chunksize|)) �򾮤�������ȡ��������ڤ���ǽ����
103
- ����ޤ����ޤ���((|chunksize|)) ���礭����������ȡ����̲���ȯ�����ٱ䤷�ޤ���
104
- �оݤΥ���ԥ塼���˹�碌�Ƥ��礦�ɤ褤�ͤ����ꤷ�Ƥ���������
105
- ñ�˲��ڤ���դ����������ʤ顢4096�ʾ�ˤ��Ƥ������ɤ��Ǥ��礦��
106
- �ǥե���ȤǤ�8(���Mixer::CHANNELS)�����ͥ뤬���ݤ���ޤ���
107
-
108
- ((|format|)) �ϰʲ��Τ�Τ����ѤǤ��ޤ���
109
- :SDL::Mixer::FORMAT_U8
110
- Unsigned 8-bit samples
111
- :SDL::Mixer::FORMAT_S8
112
- Signed 8-bit samples
113
- :SDL::Mixer::FORMAT_U16LSB
114
- Unsigned 16-bit samples, in little-endian byte order
115
- :SDL::Mixer::FORMAT_S16LSB
116
- Signed 16-bit samples, in little-endian byte order
117
- :SDL::Mixer::FORMAT_U16MSB
118
- Unsigned 16-bit samples, in big-endian byte order
119
- :SDL::Mixer::FORMAT_S16MSB
120
- Signed 16-bit samples, in big-endian byte order
121
- :SDL::Mixer::FORMAT_U16
122
- same as FORMAT_U16LSB (for backwards compatability probably)
123
- :SDL::Mixer::FORMAT_S16
124
- same as FORMAT_S16LSB (for backwards compatability probably)
125
- :SDL::Mixer::FORMAT_U16SYS
126
- Unsigned 16-bit samples, in system byte order
127
- :SDL::Mixer::FORMAT_S16SYS
128
- Signed 16-bit samples, in system byte order
129
-
130
- SDL::DEFAULT_FORMAT �� SDL::Mixer::FORMAT_S16SYS ��ؤ��ޤ���
131
-
132
- ((|channels|)) �� 1 �ǥ�Υ�롢2�ǥ��ƥ쥪���Ϥ���ꤷ�ޤ���
133
- Mixer::DEFAULT_CHANNELS �� 2 �Ǥ���
134
-
135
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
136
-
137
-
138
- EXAMPLE
139
- # SDL��������Audio��ǽ��ͭ���ˤ��롣
140
- SDL.init(SDL::INIT_AUDIO)
141
- # 44.1KHz, signed 16bit, system byte order, ���ƥ쥪���ϡ�
142
- # 1024 byte ����󥯥�����
143
- SDL::Mixer.open(44100, SDL::Mixer::DEFAULT_FORMAT, 2, 1024)
144
-
145
- * NOTES
146
-
147
- ����ȯ�����ٱ䤹����Ϥ�����Ϳ����ѥ�᡼�����Ѥ����
148
- ����������礬����ޤ���
149
- ((|frequency|)) �� 22050 �ˤ����ꡢ((|chunksize|)) ��2048��1024�ʤɤ�
150
- �����������ꤷ�ƤߤƤ���������((|format|)) ���Ѥ���Τ�ͭ���ʾ��⤢��ޤ���
151
-
152
- * See Also
153
-
154
- ((<SDL::Mixer.spec>)), ((<SDL::Mixer.allocate_channels>))
155
-
156
- --- SDL::Mixer.spec
157
-
158
- ����������ǥХ������ºݤ˻ȤäƤ���ե����ޥåȤ����ޤ��������
159
- ((<SDL::Mixer.open>)) ��Ϳ�����ѥ�᡼����Ʊ�����⤢��ޤ����㤦���⤢��ޤ���
160
- �֤��ͤ� [frequency, format, channels] �Ȥ�������Ǥ����ܤ�����̣��
161
- ((<SDL::Mixer.open>)) �򻲾Ȥ��Ƥ���������
162
-
163
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
164
-
165
-
166
- EXAMPLE
167
- frequency, format, channels = SDL::Mixer.spec
168
- format_str = case format
169
- when SDL::Mixer::AUDIO_U8 then "U8"
170
- when SDL::Mixer::AUDIO_S8 then "S8"
171
- when SDL::Mixer::AUDIO_U16LSB then "U16LSB"
172
- when SDL::Mixer::AUDIO_S16LSB then "S16LSB"
173
- when SDL::Mixer::AUDIO_U16MSB then "U16MSB"
174
- when SDL::Mixer::AUDIO_S16MSB then "S16MSB"
175
- end
176
-
177
- printf "frequency=%dHz format=%s channels=%d", frequency, format_str, channels
178
-
179
- * See Also
180
-
181
- ((<SDL::Mixer.open>))
182
-
183
- --- SDL::Mixer.driver_name
184
- --- SDL::Mixer.driverName
185
-
186
- ���߻Ȥ��Ƥ��륪���ǥ����ǥХ�����̾����ʸ��������ޤ���
187
-
188
- ((<SDL::Mixer.open>)) �ˤ���������ޤ�����Ƥ��ʤ�����
189
- �㳰 ((<SDL::Error>)) ��ȯ�����ޤ���
190
-
191
- * See Also
192
-
193
- ((<SDL::Mixer.open>))
194
-
195
- --- SDL::Mixer::Wave.load(filename)
196
-
197
- ((|filename|)) ���鲻��������ɤ��ޤ���
198
- WAVE, AIFF, RIFF, OGG, VOC ���б����Ƥ��ޤ���
199
-
200
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
201
-
202
- * NOTES
203
-
204
- �����Ƥ����� ((<SDL::Mixer.open>)) ��Ƥ�Ǥ���ɬ�פ�����ޤ���
205
-
206
- OGG������ɤ�����硢�����ɻ��ˤ��٤ƤΥǡ�����������RAW�ǡ����Ȥ���
207
- Ÿ�������Τǡ���������̤����դ��Ƥ���������
208
-
209
- --- SDL::Mixer::Wave.load_from_io(io)
210
- --- SDL::Mixer::Wave.loadFromIO(io)
211
-
212
- ((|io|))���鲻��������ɤ��ޤ���((|io|))�ˤ�Ruby��IO���֥�������
213
- (IO, StringIO�ʤ�read, tell, rewind����ĥ��֥�������)����ꤷ�ޤ���
214
- WAVE, AIFF, RIFF, OGG, VOC ���б����Ƥ��ޤ���
215
-
216
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
217
-
218
- * NOTES
219
-
220
- �����Ƥ����� ((<SDL::Mixer.open>)) ��Ƥ�Ǥ���ɬ�פ�����ޤ���
221
-
222
- OGG������ɤ�����硢�����ɻ��ˤ��٤ƤΥǡ�����������RAW�ǡ����Ȥ���
223
- Ÿ�������Τǡ���������̤����դ��Ƥ���������
224
-
225
- --- SDL::Mixer::Music.load(filename)
226
-
227
- ((|filename|)) ���鲻�ڥǡ���������ɤ��ޤ���
228
- WAVE, MOD, MIDI, OGG, MP3 ���б����Ƥ��ޤ���
229
-
230
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
231
-
232
- * NOTES
233
-
234
- Windows�ǤϴĶ��ˤ�äƤ�MP3�������ɤǤ��ʤ����Ȥ�����ޤ���
235
-
236
- --- SDL::Mixer::Music.load_from_string(str)
237
- --- SDL::Mixer::Music.loadFromString(str)
238
-
239
- ((|str|))���鲻�ڥǡ���������ɤ��ޤ���((|str|))�ˤϲ��ڥǡ����ΥХ��ʥ�ʸ����
240
- ��Ϳ���ޤ���
241
- MOD, OGG ���б����Ƥ��ޤ���
242
-
243
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
244
-
245
- * NOTES
246
-
247
- ����Ū�� ((|str|)) �򥳥ԡ������̤��ݻ����Ƥ��뤿�ᡢ����λ����̤�
248
- ���դ��Ƥ���������
249
-
250
- Windows�ǤϤ��Υ᥽�åɤ��Ȥ��ʤ���礬����ޤ���
251
-
252
- --- SDL::Mixer::Wave#set_volume(volume)
253
- --- SDL::Mixer::Wave#setVolume(volume)
254
-
255
- �ܥ�塼��� ((|volume|)) �����ꤷ�ޤ����ܥ�塼��� 0 ���� 128 �ޤǤ�
256
- �ͤ���ꤷ�ޤ���
257
-
258
- --- SDL::Mixer.allocate_channels(num_channels)
259
- --- SDL::Mixer.allocateChannels(num_channels)
260
-
261
- �ߥ����󥰤�������ͥ�������ꤷ�ޤ������δؿ��ϲ��ٸƤ�Ǥ⤫�ޤ��ޤ���
262
- ����������˸Ƥ�Ǥ⤫�ޤ��ޤ��󡣤⤷�����ʥ����ͥ���������Τ�Τ��
263
- �������ʤ�С��礭���ۤ��Υ����ͥ�Ϻ�������ߤ����꥽�������������
264
- �ߥ����󥰤���ʤ��ʤ�ޤ���1�ô֤�1000�������ͥ�����ѹ�������褦��
265
- ���ȤϤ��ʤ��ۤ����褤�Ǥ��礦��
266
-
267
- ���ݤ��������ͥ�����֤��ޤ���
268
-
269
-
270
- EXAMPLE
271
- # 16�����ͥ����
272
- SDL::Mixer.allocate_channels(16)
273
-
274
- * NOTES
275
-
276
- �⤷ ((|num_channels|)) �� 0 ��Ϳ�����ʤ�С����Ȥ�������Ǥ�
277
- ���٤ƤΥ����ͥ��������Ƥ��ޤ��ޤ���
278
-
279
- --- SDL::Mixer.set_volume(channel, volume)
280
- --- SDL::Mixer.setVolume(channel, volume)
281
-
282
- ((|channel|)) �ǻ��ꤷ�������ͥ�Υܥ�塼��� ((|volume|)) �����ꤷ�ޤ���
283
- ((|channel|)) �� -1 ����ꤷ�����Ϥ��٤ƤΥ����ͥ�Υܥ�塼���
284
- ���٤��ѹ����ޤ������Υܥ�塼��Ϻǽ��ߥ����󥰻���Ŭ�Ѥ�����ΤǤ��ꡢ
285
- ((<SDL::Wave#set_volume>)) �ǻ��ꤷ����ΤȤ���Ω�˺��Ѥ��ޤ����Ĥޤ���ꤷ�������ͥ�
286
- �Ǻ������벻�򤹤٤�Ⱦʬ���礭���ˤ��������ϡ� ((|volume|)) �Ȥ���64�����
287
- ���Ƥ������������٤ƤΥ����ͥ�ϥǥե���ȤǤϲ��̤� 128�� �Ĥޤ����
288
- ���ͤ����ꤵ��Ƥ��ޤ���((<SDL::Mixer.allocate_channels>)) �ǿ����˳��ݤ��줿
289
- �����ͥ�β��̤� 128 �����ꤵ��ޤ������Τ��� ((|volume|)) �� -1 ����ꤷ��
290
- ���٤ƤΥ����ͥ�β��̤��ѹ������塢�����ʥ����ͥ����ݤ���ȡ�
291
- ���Υ����ͥ�ϲ����ѹ��θ��̤�����ޤ���
292
-
293
- ���ߤΥܥ�塼����֤��ޤ���((|channel|)) �Ȥ��� -1 ��Ϳ��������
294
- ���٤ƤΥ����ͥ��ʿ�Ѥ��֤��ޤ���
295
-
296
- * See Also
297
-
298
- ((<SDL::Mixer::Wave#set_volume>)), ((<SDL::Mixer.set_volume_music>))
299
-
300
- --- SDL::Mixer.play_channel(channel, wave, loops)
301
- --- SDL::Mixer.playChannel(channel, wave, loops)
302
-
303
- ((|channel|)) �ǻ��ꤷ�������ͥ�� ((|wave|)) �ǻ��ꤷ������(((<SDL::Mixer::Wave>))
304
- �Υ��󥹥���)��������ޤ��� ((|channel|)) �� -1 ����ꤷ�����ϻȤ��Ƥ��ʤ�
305
- �����ͥ����ǰ��ּ㤤��Τ��Ȥ��ޤ���((|loops|)) + 1 �󷫤��֤����դ���ޤ���
306
- ((|loops|)) �� -1 ����ꤹ���̵�¤˷����֤��ޤ���
307
-
308
- �ɤΥ����ͥ��Ȥäƺ������������������֤��ޤ���
309
-
310
-
311
- EXAMPLE
312
- # �Ȥ��Ƥ��ʤ������ͥ��Ȥä� sample ���������
313
- # �����֤��Ϥ��ʤ�
314
- SDL::Mixer.play_channel(-1, sample, 0)
315
-
316
- * See Also
317
-
318
- ((<SDL::Mixer.play_channel_timed>)), ((<SDL::Mixer.fade_in_channel>)), ((<SDL::Mixer.halt>)), ((<SDL::Mixer.expire>))
319
-
320
- --- SDL::Mixer.play_channel_timed(channel, wave, loops, ticks)
321
- --- SDL::Mixer.playChannelTimed(channel, wave, loops, ticks)
322
-
323
- ((|wave|)) ����ʬĹ�����⤷���� ((|loops|)) ����ʬ�礭������
324
- ((|ticks|)) �ߥ��ä����������ޤ���
325
- ¾�� ((<SDL::Mixer.play_channel>)) ��Ʊ���Ǥ���
326
-
327
-
328
- EXAMPLE
329
- # �Ȥ��Ƥ��ʤ������ͥ��Ȥä� sample �� 1/2�ú�������
330
- SDL::Mixer.play_channel(-1, sample, -1, 500)
331
-
332
- * See Also
333
-
334
- ((<SDL::Mixer.play_channel>)), ((<SDL::Mixer.fade_in_channel_timed>)), ((<SDL::Mixer.fade_out>)), ((<SDL::Mixer.halt>)), ((<SDL::Mixer.expire>))
335
-
336
- --- SDL::Mixer.fade_in_channel(channel, wave, loops, ms)
337
- --- SDL::Mixer.fadeInChannel(channel, wave, loops, ms)
338
-
339
- ���ꤷ�������ͥ�Dz�����ե����ɥ��󤷤ƺ������ޤ���
340
- ((|ms|)) �ߥ��ä����ƥե����ɥ�������������ʳ��� ((<SDL::Mixer.play_channel>)) ��
341
- Ʊ���Ǥ���
342
-
343
-
344
- EXAMPLE
345
- # �Ȥ��Ƥ��ʤ������ͥ��Ȥä�
346
- # sample ��1�ä����ƥե����ɥ��󤷤�3���������
347
- SDL::Mixer.fade_in_channel(-1, sample, 2, 1000)
348
-
349
- * See Also
350
-
351
- ((<SDL::Mixer.play_channel>)), ((<SDL::Mixer.fade_in_channel_timed>)), ((<SDL::Mixer.fading>)), ((<SDL::Mixer.fade_out>)), ((<SDL::Mixer.halt>)), ((<SDL::Mixer.expire>))
352
-
353
- --- SDL::Mixer.fade_in_channel_timed(channel, wave, loops, ms, ticks)
354
- --- SDL::Mixer.fadeInChannelTimed(channel, wave, loops, ms, ticks)
355
-
356
- ���ꤷ�������ͥ�Dz�����ե����ɥ��󤷤ƻ��ꤷ�����֤����������ޤ���
357
- ((|ms|)) �ߥ��ä����ƥե����ɥ�������������ʳ��� ((<SDL::Mixer.play_channel_timed>)) ��
358
- Ʊ���Ǥ���
359
-
360
- * See Also
361
-
362
- ((<SDL::Mixer.play_channel_timed>)), ((<SDL::Mixer.fade_in_channel>)), ((<SDL::Mixer.fading>)), ((<SDL::Mixer.fade_out>)), ((<SDL::Mixer.halt>)), ((<SDL::Mixer.expire>))
363
-
364
- --- SDL::Mixer.pause(channel)
365
-
366
- ((|channel|)) �ǻ��ꤷ�������ͥ�κ���������ߤ��ޤ���
367
- ((|channel|)) �� -1 ����ꤹ��Ȥ��٤ƤΥ����ͥ����ߤ��ޤ���
368
- ����ǰ����ߤ��������ͥ�� ((<SDL::Mixer.halt>)) �Ǵ�������ߤ��Ƥ⤫��
369
- ���ޤ���
370
-
371
-
372
- EXAMPLE
373
- # ���٤Ƥβ�����������ߤ���
374
- SDL::Mixer.pause(-1)
375
-
376
- * See Also
377
-
378
- ((<SDL::Mixer.resume>)), ((<SDL::Mixer.pause?>)), ((<SDL::Mixer.halt>))
379
-
380
- --- SDL::Mixer.resume(channel)
381
-
382
- ((<SDL::Mixer.pause>)) �Ǻ�������ߤ��Ƥ��������ͥ�κ�����Ƴ����ޤ���
383
- ((|channel|)) �ǺƳ���������ͥ����ꤷ�ޤ���-1 ��Ϳ�����
384
- ���٤ƤΥ����ͥ�ǺƳ����ޤ���
385
-
386
- * See Also
387
-
388
- ((<SDL::Mixer.pause>)), ((<SDL::Mixer.pause?>))
389
-
390
- --- SDL::Mixer.halt(channel)
391
-
392
- ((|channel|)) �ǻ��ꤷ�������ͥ�κ�����ߤ�ޤ���-1��Ϳ��������
393
- ���٤ƤΥ����ͥ�κ�����ߤ�ޤ���
394
-
395
- * See Also
396
-
397
- ((<SDL::Mixer.expire>)), ((<SDL::Mixer.fade_out>))
398
-
399
- --- SDL::Mixer.expire(channel, ticks)
400
-
401
- ((|ticks|)) �ߥ��ø�ˡ�((|channel|)) �ǻ��ꤷ�������ͥ�κ�������ߤ��ޤ���
402
- ((|channel|)) �� -1 ��Ϳ����Ȥ��٤ƤΥ����ͥ����ߤ��ޤ�
403
-
404
- ��ߤ�������ͥ�ο����֤��ޤ���
405
-
406
-
407
- EXAMPLE
408
- # 2�ø�����ƤΥ����ͥ�κ�������ߤ���
409
- SDL::Mixer.expire(-1, 2000)
410
-
411
- * See Also
412
-
413
- ((<SDL::Mixer.halt>)), ((<SDL::Mixer.fade_out>))
414
-
415
- --- SDL::Mixer.fade_out(channel, ms)
416
- --- SDL::Mixer.fadeOut(channel, ms)
417
-
418
- ���δؿ���Ƥ���������� ((|ms|)) �ߥ��ä����� ((|channel|)) ��ե����ɥ����Ȥ��ޤ���
419
- �ե����ɥ����Ȥ���λ�����餽�Υ����ͥ�Ϻ�������ߤ��ޤ���
420
- �ޤ���((|channel|)) ��-1���Ϥ��Ȥ��٤ƤΥ����ͥ��ե����ɥ����Ȥ��ޤ���
421
- ������Υ����ͥ뤷���ƶ���ڤܤ��ޤ��󤬡���������Τ�Τ�
422
- �ƶ�������ޤ���
423
-
424
- �ե����ɥ����Ȥ�������ͥ�ο����֤��ޤ���
425
-
426
-
427
- EXAMPLE
428
- # ���٤ƤΥ����ͥ��3�äǥե����ɥ����Ȥ���
429
- printf "starting fade out of %d channels", SDL::Mixer.fade_out(-1, 3000)
430
-
431
- * See Also
432
-
433
- ((<SDL::Mixer.fade_in_channel>)), ((<SDL::Mixer.fade_in_channel_timed>)), ((<SDL::Mixer.fading>))
434
-
435
- --- SDL::Mixer.play?(channel)
436
-
437
- ((|channel|)) �ǻ��ꤷ�������ͥ뤬������Ǥ���ʤ�
438
- true �򡢤ʤ���� false ���֤���
439
-
440
- * See Also
441
-
442
- ((<SDL::Mixer.pause?>)), ((<SDL::Mixer.fading>)), ((<SDL::Mixer.play_channel>)), ((<SDL::Mixer.pause>))
443
-
444
- --- SDL::Mixer.playingChannels
445
- --- SDL::Mixer.playing_channels
446
-
447
- ������Υ����ͥ�ο����֤��ޤ���
448
-
449
- * See Also
450
-
451
- ((<SDL::Mixer.pause?>)), ((<SDL::Mixer.fading>)), ((<SDL::Mixer.play_channel>)), ((<SDL::Mixer.pause>))
452
-
453
- --- SDL::Mixer.pause?(channel)
454
-
455
- ���ꤷ�������ͥ뤬��������ʤ鿿�򡢤ʤ���е����֤���
456
-
457
- * See Also
458
-
459
- ((<SDL::Mixer.play?>)), ((<SDL::Mixer.pause>)), ((<SDL::Mixer.resume>))
460
-
461
- --- SDL::Mixer.fading(which)
462
-
463
- ���ꤷ�������ͥ뤬�ե����ɥ����Ȥ��Ƥ���ʤ� SDL::Mixer::FADING_OUT ��
464
- �ե����ɥ��󤷤Ƥ������ʤ� SDL::Mixer::FADING_IN ��
465
- �ɤ���Ǥ�ʤ���� SDL::Mixer::NO_FADING ���֤���
466
-
467
- * See Also
468
-
469
- ((<SDL::Mixer.play?>)), ((<SDL::Mixer.pause?>)), ((<SDL::Mixer.fade_in_channel>)), ((<SDL::Mixer.fade_in_channel_timed>)), ((<SDL::Mixer.fade_out>))
470
-
471
- --- SDL::Mixer.play_music(music, loops)
472
- --- SDL::Mixer.playMusic(music, loops)
473
-
474
- ((|music|)) �ǻ��ꤷ�����ڤ�
475
- ((|loop|)) ��ǽ餫��Ǹ�ޤDZ��դ��ޤ���((|loops|)) �� -1 ����ꤹ���
476
- �ʱ�˱��դ򷫤��֤��ޤ���
477
- ���˱��դ��Ƥ��Ƥ������ڤϱ��դ���ߤ��ޤ����ե����ɥ����Ȥκ���ˤ���
478
- ���ϥե����ɥ����Ȥ�����äƤ��鼡�Τ���դ��ޤ���
479
-
480
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
481
-
482
- * See Also
483
-
484
- ((<SDL::Mixer.fade_in_music>))
485
-
486
- --- SDL::Mixer.fade_in_music(music, loops, ms)
487
- --- SDL::Mixer.fadeInMusic(music, loops, ms)
488
-
489
- ((|music|)) �ǻ��ꤷ�����ڤ� ((|ms|)) �ߥ��ä����ƥե����ɥ��󤷤Ʊ��դ򳫻Ϥ��ޤ���
490
- ((|loops|)) �󷫤��֤����դ��ޤ���-1 ��Ϳ����ȱʱ�˷����֤��ޤ���
491
- �����֤��κǽ��1���ܤΤߥե����ɥ��󤷤ޤ���
492
- ���λ����DZ��դ��Ƥ����ʤ���ߤ��ޤ����ե����ɥ����Ȥκ���ˤ���
493
- ���ϥե����ɥ����Ȥ�����äƤ��鼡�Τ���դ��ޤ���
494
-
495
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
496
-
497
- * See Also
498
-
499
- ((<SDL::Mixer.play_music>))
500
-
501
- --- SDL::Mixer.set_volume_music(volume)
502
- --- SDL::Mixer.setVolumeMusic(volume)
503
-
504
- ���ڱ��դβ��̤� ((|volume|)) �����ꤷ�ޤ���0 ���Ǿ��� 128 ������Ǥ���
505
- �ե����ɥ���/��������ˤ��Υ⥸�塼��ؿ���Ƥ�Ǥ���̤�����ޤ���
506
- �ʤ��ʤ�ե����ɥ���/�����Ȥ�¸����뤿��ˤ����ȤäƤ��뤫��Ǥ���
507
-
508
- * See Also
509
-
510
- ((<SDL::Mixer.fade_in_music>)), ((<SDL::Mixer.fade_out_music>))
511
-
512
- --- SDL::Mixer.pause_music
513
- --- SDL::Mixer.pauseMusic
514
-
515
- ���ڤα��դ�����ߤ��ޤ����������Ǥ� ((<SDL::Mixer.halt_music>)) ��
516
- ���դ�ߤ�뤳�Ȥ��Ǥ��ޤ���
517
-
518
- * See Also
519
-
520
- ((<SDL::Mixer.resume_music>)), ((<SDL::Mixer.pause_music?>)), ((<SDL::Mixer.halt_music>))
521
-
522
- --- SDL::Mixer.resume_music
523
- --- SDL::Mixer.resumeMusic
524
-
525
- ((<SDL::Mixer.pause_music>)) �ǰ����ߤ��Ƥ��벻�ڤ�Ƴ����ޤ���
526
-
527
- * See Also
528
-
529
- ((<SDL::Mixer.pause_music>)), ((<SDL::Mixer.pause_music?>))
530
-
531
- --- SDL::Mixer.rewind_music
532
- --- SDL::Mixer.rewindMusic
533
-
534
- ���հ��֤�ǽ�˰�ư���ޤ������ڤ������桢����桢�������桢�������
535
- ���˸Ƥ�Ǥ����ꤢ��ޤ���
536
-
537
- ���Υ⥸�塼��ؿ��� MOD, OGG, MP3, Native MIDI �ξ��Τߤ�
538
- �Ȥ��ޤ���
539
-
540
- --- SDL::Mixer.halt_music
541
- --- SDL::Mixer.haltMusic
542
-
543
- ���ڤα��դ�ߤ�ޤ���
544
- �ե����ɥ���/��������Ǥ⤹����ߤ��ޤ���
545
-
546
- * See Also
547
-
548
- ((<SDL::Mixer.fade_out_music>))
549
-
550
- --- SDL::Mixer.fade_out_music(ms)
551
- --- SDL::Mixer.fadeOutMusic(ms)
552
-
553
- ���ڱ��դ� ((|ms|)) �ߥ��ä����ƥե����ɥ����Ȥ�����ߤ��ޤ���
554
- ��������ξ��ˤ���̤�����ޤ���
555
-
556
- --- SDL::Mixer.play_music?
557
- --- SDL::Mixer.playMusic?
558
-
559
- ���ڤ�������ʤ鿿�򡢤ʤ���е����֤��ޤ���
560
-
561
- * See Also
562
-
563
- ((<SDL::Mixer.pause_music?>)), ((<SDL::Mixer.fading_music>)), ((<SDL::Mixer.play_music>))
564
-
565
- --- SDL::Mixer.pause_music?
566
- --- SDL::Mixer.pauseMusic?
567
-
568
- ��������ʤ� true �򡢤ʤ���� false ���֤���
569
-
570
- * See Also
571
-
572
- ((<SDL::Mixer.play_music?>)), ((<SDL::Mixer.pause_music>)), ((<SDL::Mixer.resume_music>))
573
-
574
- --- SDL::Mixer.fading_music
575
- --- SDL::Mixer.fadingMusic
576
-
577
- ���ڱ��դ��ե����ɥ����Ȥ��Ƥ���ʤ� SDL::Mixer::FADING_OUT ��
578
- �ե����ɥ��󤷤Ƥ������ʤ� SDL::Mixer::FADING_IN ��
579
- �ɤ���Ǥ�ʤ���� SDL::Mixer::NO_FADING ���֤���
580
-
581
- * See Also
582
-
583
- ((<SDL::Mixer.fading>)), ((<SDL::Mixer.pause_music?>)), ((<SDL::Mixer.play_music?>)), ((<SDL::Mixer.fade_out_music>))
584
-