Class: Sound

Sound

new Sound (audio, name)

Name Type Default Description
audio ?
name String 'Sound' optional

Methods

copy ()Sound

Returns:
Type Description
Sound

play ()HTMLAudioElement

Returns:
Type Description
HTMLAudioElement

toDataURL ()String

Returns:
Type Description
String