{"provider_name":"Hatena Blog","image_url":null,"author_name":"baba_s","categories":["\u305d\u306e\u4ed6","\u305d\u306e\u4ed6 - Python"],"type":"rich","version":"1.0","title":"\u3010Python\u3011\u6307\u5b9a\u3057\u305f .mp3 \u306e\u97f3\u91cf\u3092 ffmpeg \u3067\u6b63\u898f\u5316\u3059\u308b","height":"190","published":"2023-05-15 14:34:11","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2023%2F05%2F15%2F143411\" title=\"\u3010Python\u3011\u6307\u5b9a\u3057\u305f .mp3 \u306e\u97f3\u91cf\u3092 ffmpeg \u3067\u6b63\u898f\u5316\u3059\u308b - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","width":"100%","author_url":"https://blog.hatena.ne.jp/baba_s/","blog_url":"https://baba-s.hatenablog.com/","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 import os from pathlib import Path def normalize_audio_folder(folder_path): # \u30d5\u30a9\u30eb\u30c0\u5185\u306e\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3092\u518d\u5e30\u7684\u306b\u53d6\u5f97\u3057\u307e\u3059 for root, _, files in os.walk(folder_path): for file in files: if file.endswith(\".mp3\"): # \u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059 file_path = os.path.join(root, file) # \u97f3\u91cf\u3092\u6b63\u898f\u5316\u3057\u307e\u3059 normalize_audio(file_path) de\u2026","url":"https://baba-s.hatenablog.com/entry/2023/05/15/143411"}