-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmedia_conch_policy.xml
More file actions
37 lines (37 loc) · 2.94 KB
/
media_conch_policy.xml
File metadata and controls
37 lines (37 loc) · 2.94 KB
1
2
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
<?xml version="1.0"?>
<policy type="and" name="Local Wave Policy" license="CC-BY-4.0+">
<description>This is the common norm for WAVE audiofiles.
Any WAVs not matching this policy should be inspected and possibly normalized to conform to this.</description>
<policy type="or" name="Signed Integer or Float?">
<rule name="Is signed Integer?" value="Format_Settings_Sign" tracktype="Audio" occurrence="*" operator="=">Signed</rule>
<rule name="Is floating point?" value="Format_Profile" tracktype="Audio" occurrence="*" operator="=">Float</rule>
</policy>
<policy type="and" name="Audio: Proper resolution?">
<description>This policy defines audio-resolution values that are proper for WAV.</description>
<policy type="or" name="Valid samplerate?">
<description>This was not implemented as rule in order to avoid irregular sampling rates.</description>
<!-- <rule name="Audio is 44.1 kHz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">44100</rule> -->
<!-- <rule name="Audio is 48 kHz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule> -->
<!-- <rule name="Audio is 88.2 kHz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">88200</rule> -->
<rule name="Audio is 96 kHz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">96000</rule>
<!-- <rule name="Audio is 192 kHz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">192000</rule> -->
<!-- <rule name="Audio is 11 kHz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">11025</rule> -->
<!-- <rule name="Audio is 22.05 kHz?" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">22050</rule> -->
</policy>
<policy type="or" name="Valid bit depth?">
<!-- <rule name="Audio is 16 bit?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">16</rule> -->
<rule name="Audio is 24 bit?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule>
<!-- <rule name="Audio is 32 bit?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">32</rule> -->
<!-- <rule name="Audio is 8 bit?" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">8</rule> -->
</policy>
</policy>
<policy type="and" name="Is BWF?">
<rule name="BEXT Exist?" value="Wave/Broadcast extension/" occurrence="*" operator="exists" scope="mmt"/>
</policy>
<policy type="and" name="Valid File Size?">
<rule name="Size Limit" value="FileSize" tracktype="General" occurrence="*" operator="<">4000000000</rule>
</policy>
<rule name="Container is RIFF (WAV)?" value="Format" tracktype="General" occurrence="*" operator="=">Wave</rule>
<rule name="Encoding is linear PCM?" value="Format" tracktype="Audio" occurrence="*" operator="=">PCM</rule>
<rule name="Audio is 'Little Endian'?" value="Format_Settings_Endianness" tracktype="Audio" occurrence="*" operator="=">Little</rule>
</policy>