pycozmo.audiokinetic.soundbanksinfo¶
AudioKinetic WWise SoundbanksInfo.xml representation and reading.
See assets/cozmo_resources/sound/SoundbanksInfo.xml
Functions
load_soundbanksinfo (fspec, TextIO]) |
Load SoundbanksInfo.xml and return a dictionary of parsed Info objects. |
Classes
EventInfo (soundbank_id, event_id, name, …) |
Event representation in SoundbanksInfo.xml . |
FileInfo (soundbank_id, file_id, name, path, …) |
File representation in SoundbanksInfo.xml . |
SoundBankInfo (soundbank_id, name, path, …) |
SoundBank representation in SoundbanksInfo.xml . |
-
class
pycozmo.audiokinetic.soundbanksinfo.
EventInfo
(soundbank_id: int, event_id: int, name: str, object_path: str)¶ Bases:
object
Event representation in SoundbanksInfo.xml .
-
id
¶
-
name
¶
-
object_path
¶
-
soundbank_id
¶
-
-
class
pycozmo.audiokinetic.soundbanksinfo.
FileInfo
(soundbank_id: int, file_id: int, name: str, path: str, embedded: bool, prefetch_size: int)¶ Bases:
object
File representation in SoundbanksInfo.xml .
-
embedded
¶
-
id
¶
-
name
¶
-
path
¶
-
prefetch_size
¶
-
soundbank_id
¶
-
-
class
pycozmo.audiokinetic.soundbanksinfo.
SoundBankInfo
(soundbank_id: int, name: str, path: str, language: str, object_path: str)¶ Bases:
object
SoundBank representation in SoundbanksInfo.xml .
-
id
¶
-
language
¶
-
name
¶
-
object_path
¶
-
path
¶
-
-
pycozmo.audiokinetic.soundbanksinfo.
load_soundbanksinfo
(fspec: Union[str, TextIO]) → Dict[int, Any]¶ Load SoundbanksInfo.xml and return a dictionary of parsed Info objects.