upper2lower

This commit is contained in:
2025-06-19 20:32:35 +02:00
parent 28458eb959
commit 6b8e87ea5f
9 changed files with 54 additions and 8 deletions

View File

@@ -228,6 +228,7 @@
"Klockan_är_tre.mp3", "Klockan_är_tre.mp3",
"Klockan_är_två.mp3", "Klockan_är_två.mp3",
"tack_så_mycket.mp3", "tack_så_mycket.mp3",
"klockan.mp3",
"ursäkta.mp3" "ursäkta.mp3"
], ],
"name": "Schwedisch Goetheverlag", "name": "Schwedisch Goetheverlag",
@@ -976,7 +977,7 @@
"fields": [ "fields": [
"er und sie", "er und sie",
"han och hon", "han och hon",
"" "[sound:han_och_hon.mp3]"
], ],
"guid": "u%eHiV^[V%", "guid": "u%eHiV^[V%",
"note_model_uuid": "f011d784-38a9-11f0-9151-4b5995eea597", "note_model_uuid": "f011d784-38a9-11f0-9151-4b5995eea597",
@@ -2021,7 +2022,7 @@
"fields": [ "fields": [
"Ich schreibe einen Brief.", "Ich schreibe einen Brief.",
"Jag skriver ett brev.", "Jag skriver ett brev.",
"" "[sound:dottern.mp3]"
], ],
"guid": "Q4z1eli^pa", "guid": "Q4z1eli^pa",
"note_model_uuid": "f011d784-38a9-11f0-9151-4b5995eea597", "note_model_uuid": "f011d784-38a9-11f0-9151-4b5995eea597",
@@ -2285,7 +2286,7 @@
"fields": [ "fields": [
"Danke vielmals.", "Danke vielmals.",
"Tack så mycket.", "Tack så mycket.",
"" "[sound:tack_så_mycket.mp3]"
], ],
"guid": "jZ43L$vx.P", "guid": "jZ43L$vx.P",
"note_model_uuid": "f011d784-38a9-11f0-9151-4b5995eea597", "note_model_uuid": "f011d784-38a9-11f0-9151-4b5995eea597",
@@ -2373,7 +2374,7 @@
"fields": [ "fields": [
"Es ist acht Uhr.", "Es ist acht Uhr.",
"Klockan är åtta.", "Klockan är åtta.",
"" "[sound:Klockan_är_åtta.mp3]"
], ],
"guid": "l?6~gOdg]$", "guid": "l?6~gOdg]$",
"note_model_uuid": "f011d784-38a9-11f0-9151-4b5995eea597", "note_model_uuid": "f011d784-38a9-11f0-9151-4b5995eea597",
@@ -13945,7 +13946,7 @@
"fields": [ "fields": [
"die Uhr", "die Uhr",
"klockan", "klockan",
"" "[sound:klockan.mp3]"
], ],
"guid": "lyOES=&SPG", "guid": "lyOES=&SPG",
"note_model_uuid": "f011d784-38a9-11f0-9151-4b5995eea597", "note_model_uuid": "f011d784-38a9-11f0-9151-4b5995eea597",
@@ -21446,7 +21447,7 @@
"__type__": "Note", "__type__": "Note",
"fields": [ "fields": [
"Tack så mycket.", "Tack så mycket.",
"", "[sound:tack_så_mycket.mp3]",
"Danke vielmals." "Danke vielmals."
], ],
"guid": "NWXsKB@fSq", "guid": "NWXsKB@fSq",
@@ -21578,7 +21579,7 @@
"__type__": "Note", "__type__": "Note",
"fields": [ "fields": [
"Klockan är tolv.", "Klockan är tolv.",
"", "[sound:Klockan_är_tolv.mp3]",
"Es ist zwölf Uhr." "Es ist zwölf Uhr."
], ],
"guid": "NIWsSu+>ga", "guid": "NIWsSu+>ga",
@@ -33029,7 +33030,7 @@
"__type__": "Note", "__type__": "Note",
"fields": [ "fields": [
"klockan", "klockan",
"", "[sound:klockan.mp3]",
"die Uhr" "die Uhr"
], ],
"guid": "F@}r>rSu_F", "guid": "F@}r>rSu_F",

Binary file not shown.

View File

@@ -0,0 +1,6 @@
#!/bin/bash
for f in *; do
new=$(echo "$f" | tr '[:upper:]' '[:lower:]')
mv "$f" "$new"
done

6
GoetheVerlag/mp3/011/rename.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
for i in *
do
mv "$i" "${i// /_}"
done

21
GoetheVerlag/mp3/045/convert.py Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/python3
# coding=utf-8
from pydub import AudioSegment
import sys,os
def convert(wav):
# Lade die WAV-Datei
audio = AudioSegment.from_wav(wav)
print(wav)
output = os.path.splitext(wav)[0]
outputname = output+".mp3"
# print(outputname)
# Speichere sie als MP3 (z.B. mit einer Bitrate von 192 kbps)
audio.export(outputname, format="mp3", bitrate="192k")
print("Konvertierung abgeschlossen!")
convert(sys.argv[1])

View File

@@ -0,0 +1,9 @@
#!/bin/bash
for i in $(ls *.wav)
do
python3 convert.py $i
echo $i
rm -f $i
done

3
mov2mp3.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
ffmpeg -i $1 -q:a 0 -map a $2