Class aaoh.kaze.Sound

Defined in: <aaoh.kaze-core.js>.

*Class Summary
aaoh.kaze.Sound()
Sound。
*Method Summary
beep()
ビープ音の再生。
getRepeat()
リピート再生の取得。
getVolume()
音量の取得。
isBeep()
ビープ音の再生が行えるか。
isRepeat()
リピート再生が行えるか。
isSound()
音の再生が行えるか。
isVolume()
音量の設定が行えるか。
play(file)
音を再生します。
setRepeat(flgRepeat)
リピート再生の設定。
setVolume(volume)
音量の設定。
stop()
音を停止します。


Class Detail

aaoh.kaze.Sound()

  • Sound。

Method Detail

beep()

  • ビープ音の再生。

{Boolean} getRepeat()

  • リピート再生の取得。
  • Returns
    • {Boolean} リピート再生を行うときにはtrueを返す

{Number} getVolume()

  • 音量の取得。
  • Returns
    • {Number} 音量(0 - 100)

{Boolean} isBeep()

  • ビープ音の再生が行えるか。
  • Returns
    • {Boolean} ビープ音の再生が行えるときにはtrueを返す

{Boolean} isRepeat()

  • リピート再生が行えるか。
  • Returns
    • {Boolean} リピート再生が行えるときにはtrueを返す

{Boolean} isSound()

  • 音の再生が行えるか。
  • Returns
    • {Boolean} 音の再生が行えるときにはtrueを返す

{Boolean} isVolume()

  • 音量の設定が行えるか。
  • Returns
    • {Boolean} 音の設定が行えるときにはtrueを返す

play(file)

  • 音を再生します。
  • Parameters
    • {String} file
      • 再生ファイル

setRepeat(flgRepeat)

  • リピート再生の設定。
  • Parameters
    • {Boolean} flgRepeat
      • リピート再生

setVolume(volume)

  • 音量の設定。
  • Parameters
    • {Number} volume
      • 音量(0 - 100)

stop()

  • 音を停止します。