Skip to content

Commit

Permalink
Reencoded sound effects (#54)
Browse files Browse the repository at this point in the history
* Reencoded sound effects

* Add less or equal check for bitrate
  • Loading branch information
irwiss committed Aug 23, 2022
1 parent 9249801 commit 90fa166
Show file tree
Hide file tree
Showing 239 changed files with 12 additions and 5 deletions.
Binary file modified sound/CC-Sounds/clean_up_at_end/death.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/close_door/door_fence/close_door_fence.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/close_door/door_metal/close_door_metal.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/close_door/door_wood/close_door.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/close_door/window/close_window.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/deal_damage/hurt_f/hurt_f_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/deal_damage/hurt_f/hurt_f_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/deal_damage/hurt_f/hurt_f_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/deal_damage/hurt_f/hurt_f_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/deal_damage/hurt_f/hurt_f_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/deal_damage/hurt_m/hurt_m_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/deal_damage/hurt_m/hurt_m_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/deal_damage/hurt_m/hurt_m_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/deal_damage/hurt_m/hurt_m_4.ogg
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/engine_start/v8/engine_start_v8.ogg
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/engine_stop/v8/engine_stop_v8.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/ambient/alarm.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/ambient/church_bells.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/ambient/indoors.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/ambient/police_siren.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/ambient/underground.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/weather/WEATHER_SNOWSTORM.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/weather/drizzle.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/weather/flurries.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/weather/heavyrain.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/weather/snowing.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/weather/thunder_far.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/weather/thunder_near.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/environment/weather/thunderstorm.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/explosion/default/explosion_default_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/explosion/default/explosion_default_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/explosion/huge/explosion_huge_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/explosion/huge/explosion_huge_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/explosion/small/explosion_small.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/gun/shotguns/shotgun_1.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_hit_flesh/big_bash/big_bash_flesh_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_hit_flesh/big_bash/big_bash_flesh_2.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_hit_flesh/default/unarmed_hit_flesh_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_hit_flesh/default/unarmed_hit_flesh_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_hit_flesh/default/unarmed_hit_flesh_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_hit_flesh/default/unarmed_hit_flesh_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_hit_flesh/default/unarmed_hit_flesh_5.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/big_bash/big_bash_swing_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/big_cutting/big_cutting_swing_1.ogg
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/default/unarmed_swing_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/default/unarmed_swing_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/default/unarmed_swing_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/default/unarmed_swing_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/default/unarmed_swing_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/small_bash/small_bash_swing_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/small_bash/small_bash_swing_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/small_bash/small_bash_swing_3.ogg
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/small_bash/small_bash_swing_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/small_bash/small_bash_swing_6.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/melee_swing/small_bash/small_bash_swing_7.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/menu_error/menu_error.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_bite/bite_hit/bite_hit_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_bite/bite_hit/bite_hit_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_bite/bite_hit/bite_hit_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_bite/bite_hit/bite_hit_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_bite/bite_hit/bite_hit_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_bite/bite_miss/bite_miss_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_bite/bite_miss/bite_miss_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_bite/bite_miss/bite_miss_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_bite/bite_miss/bite_miss_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_bite/bite_miss/bite_miss_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_death/zombie_death/zombie_death_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_death/zombie_death/zombie_death_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_death/zombie_death/zombie_death_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_death/zombie_gibbed/zombie_gibbed_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/mon_death/zombie_gibbed/zombie_gibbed_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/open_door/door_fence/open_door_fence.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/open_door/door_metal/open_door_metal.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/open_door/door_wood/open_door.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/open_door/window/open_window.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/clear_obstacle/clear_obstacle_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/clear_obstacle/clear_obstacle_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/clear_obstacle/clear_obstacle_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/clear_obstacle/clear_obstacle_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/fatigue/fatigue_high.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/fatigue/fatigue_low.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/fatigue/fatigue_med.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_barefoot_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_barefoot_10.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_barefoot_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_barefoot_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_barefoot_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_barefoot_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_barefoot_6.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_barefoot_7.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_barefoot_8.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_barefoot_9.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_dirt_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_dirt_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_dirt_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_dirt_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_dirt_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_dirt_6.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_grass/walk_grass_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_grass/walk_grass_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_grass/walk_grass_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_grass/walk_grass_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_grass/walk_grass_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_grass/walk_grass_6.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_metal/walk_metal_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_metal/walk_metal_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_metal/walk_metal_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_carpet/walk_t_carpet_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_carpet/walk_t_carpet_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_carpet/walk_t_carpet_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_carpet/walk_t_carpet_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_carpet/walk_t_carpet_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_carpet/walk_t_carpet_6.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_carpet/walk_t_carpet_7.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_carpet/walk_t_carpet_8.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_concrete_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_concrete_10.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_concrete_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_concrete_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_concrete_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_concrete_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_concrete_6.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_concrete_7.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_concrete_8.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_gravel_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_gravel_10.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_gravel_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_gravel_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_gravel_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_gravel_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_gravel_6.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_gravel_7.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_gravel_8.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_gravel_9.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_rock_floor_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_rock_floor_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_rock_floor_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_rock_floor_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_water_sh_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_water_sh_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_water_sh_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_water_sh_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_water_sh_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_t_water_sh_6.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_water_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_water_10.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_water_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_water_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_water_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_water_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_water_6.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_water_7.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_water_8.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/plmove/walk_water_9.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/shout/shriek/shriek_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/shout/shriek/shriek_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/shout/wail/wail.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/smash_fail/door_wood/door_smash_fail_1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/smash_fail/door_wood/door_smash_fail_2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/smash_fail/door_wood/door_smash_fail_3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/smash_fail/door_wood/door_smash_fail_4.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/smash_fail/door_wood/door_smash_fail_5.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/smash_success/door_wood/door_smash_success.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified sound/CC-Sounds/smash_success/window/window_smash_success.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/smash_success/window/wood_smash_success.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/vehicle/gear_shift/gear_shift1.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/vehicle/gear_shift/gear_shift2.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/vehicle/gear_shift/gear_shift3.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/vehicle/horn_medium/horn_medium.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/vehicle_close/door/close_car_door.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/vehicle_close/trunk/close_car_trunk.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/vehicle_open/door/open_car_door.ogg
Binary file not shown.
Binary file modified sound/CC-Sounds/vehicle_open/trunk/open_car_trunk.ogg
Binary file not shown.
17 changes: 12 additions & 5 deletions tools/validate_audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ def probe_file(f):
res['bit_rate'] = str(stream.get('bit_rate', 'unknown'))
return res

def validate_field_and_mark(p, field, expected):
def validate_field_less_or_equal_than_and_mark(p, field, expected):
if int(p[field]) <= int(expected):
p[field] += "✔️"
else:
p[field] += f"❌(expect <= {expected})"
p['valid'] = False

def validate_field_equals_and_mark(p, field, expected):
if p[field] == expected:
p[field] += "✔️"
else:
Expand All @@ -39,10 +46,10 @@ def validate_field_and_mark(p, field, expected):

def validate_probe(p):
p['valid'] = True
validate_field_and_mark(p, 'codec', codec_target)
validate_field_and_mark(p, 'sample_rate', sample_rate_target)
validate_field_and_mark(p, 'bit_rate', bit_rate_target)
validate_field_and_mark(p, 'channels', channels_target)
validate_field_equals_and_mark(p, 'codec', codec_target)
validate_field_equals_and_mark(p, 'sample_rate', sample_rate_target)
validate_field_less_or_equal_than_and_mark(p, 'bit_rate', bit_rate_target)
validate_field_equals_and_mark(p, 'channels', channels_target)

print("| file | codec | channels | sample rate | bit rate |")
print("| :--- | :--- | ---: | ---: | ---: |")
Expand Down

0 comments on commit 90fa166

Please sign in to comment.