Module: Audio
- Defined in:
- lib/audio.rb
Class Method Summary collapse
- .bgm_fade(time) ⇒ Object
- .bgm_play(filename, volume = nil, pitch = nil, pos = nil) ⇒ Object
- .bgm_pos ⇒ Object
- .bgm_stop ⇒ Object
- .bgs_fade(time) ⇒ Object
- .bgs_play(filename, volume = nil, pitch = nil, pos = nil) ⇒ Object
- .bgs_pos ⇒ Object
- .bgs_stop ⇒ Object
- .me_fade(time) ⇒ Object
- .me_play(filename, volume = nil, pitch = nil) ⇒ Object
- .me_stop ⇒ Object
- .se_play(filename, volume = nil, pitch = nil) ⇒ Object
- .se_stop ⇒ Object
- .setup_midi ⇒ Object
Class Method Details
.bgm_fade(time) ⇒ Object
16 17 18 |
# File 'lib/audio.rb', line 16 def bgm_fade(time) fail NotImplementedError end |
.bgm_play(filename, volume = nil, pitch = nil, pos = nil) ⇒ Object
8 9 10 |
# File 'lib/audio.rb', line 8 def bgm_play(filename, volume = nil, pitch = nil, pos = nil) fail NotImplementedError end |
.bgm_pos ⇒ Object
20 21 22 |
# File 'lib/audio.rb', line 20 def bgm_pos fail NotImplementedError end |
.bgm_stop ⇒ Object
12 13 14 |
# File 'lib/audio.rb', line 12 def bgm_stop fail NotImplementedError end |
.bgs_fade(time) ⇒ Object
32 33 34 |
# File 'lib/audio.rb', line 32 def bgs_fade(time) fail NotImplementedError end |
.bgs_play(filename, volume = nil, pitch = nil, pos = nil) ⇒ Object
24 25 26 |
# File 'lib/audio.rb', line 24 def bgs_play(filename, volume = nil, pitch = nil, pos = nil) fail NotImplementedError end |
.bgs_pos ⇒ Object
36 37 38 |
# File 'lib/audio.rb', line 36 def bgs_pos fail NotImplementedError end |
.bgs_stop ⇒ Object
28 29 30 |
# File 'lib/audio.rb', line 28 def bgs_stop fail NotImplementedError end |
.me_fade(time) ⇒ Object
48 49 50 |
# File 'lib/audio.rb', line 48 def me_fade(time) fail NotImplementedError end |
.me_play(filename, volume = nil, pitch = nil) ⇒ Object
40 41 42 |
# File 'lib/audio.rb', line 40 def me_play(filename, volume = nil, pitch = nil) fail NotImplementedError end |
.me_stop ⇒ Object
44 45 46 |
# File 'lib/audio.rb', line 44 def me_stop fail NotImplementedError end |
.se_play(filename, volume = nil, pitch = nil) ⇒ Object
52 53 54 |
# File 'lib/audio.rb', line 52 def se_play(filename, volume = nil, pitch = nil) fail NotImplementedError end |
.se_stop ⇒ Object
56 57 58 |
# File 'lib/audio.rb', line 56 def se_stop fail NotImplementedError end |
.setup_midi ⇒ Object
4 5 6 |
# File 'lib/audio.rb', line 4 def setup_midi fail NotImplementedError end |