Audio analysis

class expert.core.congruence.audio_emotions.audio_analysis.AudioAnalysis(video_path: str | PathLike, stamps: Dict, speaker: str = 'SPEAKER_00', sr: int = 44100, duration: int = 10, device: torch.device | None = None)[source]

Bases: object

Classification of emotions on audio.

property device: torch.device

Check the device type.

Returns

Device type on local machine.

Return type

torch.device

predict()[source]

Create report with information of the key emotions.