README.md 1.7 KB
Newer Older
Niccolò Pretto's avatar
Niccolò Pretto committed
1
2
# Audio Analyzer

Matteo's avatar
Matteo committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# TODO

- [x] calculate the video/audio offset

- [ ] Read the input file(s?) and generate a list of audio files
- [ ] Split each file different channels
- [ ] extract silence from each channel
- [ ] generate an irregularity for each silence found
- [ ] save the list of irregularities as an irregularity file

- [ ] get the irregularity file from video analyzer

- [ ] merge the irregularity files
- [ ] extract the audio from every irregularity
- [ ] for each audio irregularity, make a classification
- [ ] save everything in a single irregularity file

Sample irregularityFile from Audio to Video Analyzer:
```json
{
    "Offset": 0,
    "Irregularities": [
        {
            "IrregularityID": "09859d16-3c73-4bb0-9c74-91b451e34925",
            "Source": "a",
            "TimeLabel": "00:00:00.000",
        },
        {
            "IrregularityID": "09859d16-3c73-4bb0-9c74-91b451e34925",
            "Source": "a",
            "TimeLabel": "00:00:00.000",
        },
        {
            "IrregularityID": "09859d16-3c73-4bb0-9c74-91b451e34925",
            "Source": "a",
            "TimeLabel": "00:00:00.000",
        }
    ]
}
Niccolò Pretto's avatar
Niccolò Pretto committed
42
43
```

Matteo's avatar
Matteo committed
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Sample irregularityFile from Video to Audio Analyzer:
```json
{
    "Irregularities": [
        {
            "IrregularityID": "09859d16-3c73-4bb0-9c74-91b451e34925",
            "Source": "v",
            "TimeLabel": "00:00:00.000",
        },
        {
            "IrregularityID": "09859d16-3c73-4bb0-9c74-91b451e34925",
            "Source": "v",
            "TimeLabel": "00:00:00.000",
        },
        {
            "IrregularityID": "09859d16-3c73-4bb0-9c74-91b451e34925",
            "Source": "v",
            "TimeLabel": "00:00:00.000",
        }
    ]
}
```