Bis 030
This commit is contained in:
Binary file not shown.
Binary file not shown.
21
GoetheVerlag/mp3/018/convert.py
Executable file
21
GoetheVerlag/mp3/018/convert.py
Executable 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])
|
||||
9
GoetheVerlag/mp3/018/convert.sh
Executable file
9
GoetheVerlag/mp3/018/convert.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in $(ls *.wav)
|
||||
do
|
||||
python3 convert.py $i
|
||||
echo $i
|
||||
rm -f $i
|
||||
done
|
||||
|
||||
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/barnen_tvättar_cyklarna.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/barnen_tvättar_cyklarna.wav
Normal file
Binary file not shown.
21
GoetheVerlag/mp3/018/output_phrases/convert.py
Executable file
21
GoetheVerlag/mp3/018/output_phrases/convert.py
Executable 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])
|
||||
9
GoetheVerlag/mp3/018/output_phrases/convert.sh
Executable file
9
GoetheVerlag/mp3/018/output_phrases/convert.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in $(ls *.wav)
|
||||
do
|
||||
python3 convert.py $i
|
||||
echo $i
|
||||
rm -f $i
|
||||
done
|
||||
|
||||
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/fönstren_är_smutsiga.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/fönstren_är_smutsiga.wav
Normal file
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/golvet_är_smutsigt.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/golvet_är_smutsigt.wav
Normal file
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/idag_har_vi_tid.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/idag_har_vi_tid.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/idag_är_det_lördag.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/idag_är_det_lördag.wav
Normal file
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/jag_hänger_upp_tvätten.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/jag_hänger_upp_tvätten.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/jag_stryker_tvätten.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/jag_stryker_tvätten.wav
Normal file
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/jag_städar_badrummet.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/jag_städar_badrummet.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/min_man_tvättar_bilen.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/min_man_tvättar_bilen.wav
Normal file
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/porslinet_är_smutsigt.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/porslinet_är_smutsigt.wav
Normal file
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/vem_dammsuger.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/vem_dammsuger.wav
Normal file
Binary file not shown.
BIN
GoetheVerlag/mp3/018/output_phrases/vem_diskar.wav
Normal file
BIN
GoetheVerlag/mp3/018/output_phrases/vem_diskar.wav
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user