Audio analysis

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

Bases: object

Classification of emotions on audio.

property device: 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.