audiomate.issuers¶
This module contains classes to represent issuers fo audio samples. An issuer represents the person/machine/thing, that is creator of an audio segment.
Issuer¶
-
class
audiomate.issuers.
Issuer
(idx, info=None)[source]¶ The issuer represents a person, object or something that produced an utterance. Technically the issuer can be used to group utterances that came from the same source.
Parameters: - idx (str) – An unique identifier for this issuer within a dataset.
- info (dict) – Any additional info for this issuer as dict.
Variables: Issuer.utterances (list) – List of utterances that this issuer owns.
Speaker¶
-
class
audiomate.issuers.
Speaker
(idx, gender=<Gender.UNKNOWN: 'unknown'>, age_group=<AgeGroup.UNKNOWN: 'unknown'>, native_language=None, info=None)[source]¶ The speaker is the person who spoke in a utterance.
Parameters: - idx (str) – An unique identifier for this speaker within a dataset.
- info (dict) – Any additional info for this speaker as dict.
- age_group (AgeGroup) – The age-group of the speaker (child, adult, …)
- native_language (str) – The native language of the speaker. (ISO 639-3)
Variables: Issuer.utterances (list) – List of utterances that this issuer owns.
Artist¶
-
class
audiomate.issuers.
Artist
(idx, name, info=None)[source]¶ The artist is the person/group who have produced a musical segment in a utterance.
Parameters: - idx (str) – An unique identifier for this speaker within a dataset.
- name (str) – The name of the artist/band/…
- info (dict) – Any additional info for this speaker as dict.
Variables: Issuer.utterances (list) – List of utterances that this issuer owns.