diff --git a/mp3cut/bis200.mp3 b/mp3cut/bis200.mp3 new file mode 100644 index 0000000..3bafe3c Binary files /dev/null and b/mp3cut/bis200.mp3 differ diff --git a/mp3cut/bis250.mp3 b/mp3cut/bis250.mp3 new file mode 100644 index 0000000..9c5bc3b Binary files /dev/null and b/mp3cut/bis250.mp3 differ diff --git a/mp3cut/bis90.mp3 b/mp3cut/bis90.mp3 new file mode 100644 index 0000000..8e02ccc Binary files /dev/null and b/mp3cut/bis90.mp3 differ diff --git a/mp3cut/fertig/4.wav b/mp3cut/fertig/4.wav new file mode 100644 index 0000000..45b2f75 Binary files /dev/null and b/mp3cut/fertig/4.wav differ diff --git a/mp3cut/fertig/Go'kväll.wav b/mp3cut/fertig/Go'kväll.wav new file mode 100644 index 0000000..48efd54 Binary files /dev/null and b/mp3cut/fertig/Go'kväll.wav differ diff --git a/mp3cut/fertig/God_kväll.wav b/mp3cut/fertig/God_kväll.wav new file mode 100644 index 0000000..cfd586d Binary files /dev/null and b/mp3cut/fertig/God_kväll.wav differ diff --git a/mp3cut/fertig/Godmorgon.wav b/mp3cut/fertig/Godmorgon.wav new file mode 100644 index 0000000..d6bb597 Binary files /dev/null and b/mp3cut/fertig/Godmorgon.wav differ diff --git a/mp3cut/fertig/Hur_långt.wav b/mp3cut/fertig/Hur_långt.wav new file mode 100644 index 0000000..1a2bc59 Binary files /dev/null and b/mp3cut/fertig/Hur_långt.wav differ diff --git a/mp3cut/fertig/Hur_mycket.wav b/mp3cut/fertig/Hur_mycket.wav new file mode 100644 index 0000000..6d0de13 Binary files /dev/null and b/mp3cut/fertig/Hur_mycket.wav differ diff --git a/mp3cut/fertig/Idén.wav b/mp3cut/fertig/Idén.wav new file mode 100644 index 0000000..2f0e8d7 Binary files /dev/null and b/mp3cut/fertig/Idén.wav differ diff --git a/mp3cut/fertig/Jag_föddes.wav b/mp3cut/fertig/Jag_föddes.wav new file mode 100644 index 0000000..d4df25d Binary files /dev/null and b/mp3cut/fertig/Jag_föddes.wav differ diff --git a/mp3cut/fertig/På_återseende.wav b/mp3cut/fertig/På_återseende.wav new file mode 100644 index 0000000..a9456f9 Binary files /dev/null and b/mp3cut/fertig/På_återseende.wav differ diff --git a/mp3cut/fertig/Sim.wav b/mp3cut/fertig/Sim.wav new file mode 100644 index 0000000..5147abd Binary files /dev/null and b/mp3cut/fertig/Sim.wav differ diff --git a/mp3cut/fertig/Sverige.wav b/mp3cut/fertig/Sverige.wav new file mode 100644 index 0000000..3d220be Binary files /dev/null and b/mp3cut/fertig/Sverige.wav differ diff --git a/mp3cut/fertig/Tun.wav b/mp3cut/fertig/Tun.wav new file mode 100644 index 0000000..f2bace3 Binary files /dev/null and b/mp3cut/fertig/Tun.wav differ diff --git a/mp3cut/fertig/Tyskland.wav b/mp3cut/fertig/Tyskland.wav new file mode 100644 index 0000000..d7a55f3 Binary files /dev/null and b/mp3cut/fertig/Tyskland.wav differ diff --git a/mp3cut/fertig/Var.wav b/mp3cut/fertig/Var.wav new file mode 100644 index 0000000..39b7eec Binary files /dev/null and b/mp3cut/fertig/Var.wav differ diff --git a/mp3cut/fertig/aldrig.wav b/mp3cut/fertig/aldrig.wav new file mode 100644 index 0000000..13cc933 Binary files /dev/null and b/mp3cut/fertig/aldrig.wav differ diff --git a/mp3cut/fertig/alla.wav b/mp3cut/fertig/alla.wav new file mode 100644 index 0000000..c3afbeb Binary files /dev/null and b/mp3cut/fertig/alla.wav differ diff --git a/mp3cut/fertig/alltid.wav b/mp3cut/fertig/alltid.wav new file mode 100644 index 0000000..0c1f5ce Binary files /dev/null and b/mp3cut/fertig/alltid.wav differ diff --git a/mp3cut/fertig/arton.wav b/mp3cut/fertig/arton.wav new file mode 100644 index 0000000..e28b721 Binary files /dev/null and b/mp3cut/fertig/arton.wav differ diff --git a/mp3cut/fertig/bagaget.wav b/mp3cut/fertig/bagaget.wav new file mode 100644 index 0000000..2dff1bb Binary files /dev/null and b/mp3cut/fertig/bagaget.wav differ diff --git a/mp3cut/fertig/bagagevagnen.wav b/mp3cut/fertig/bagagevagnen.wav new file mode 100644 index 0000000..464ad33 Binary files /dev/null and b/mp3cut/fertig/bagagevagnen.wav differ diff --git a/mp3cut/fertig/barnet.wav b/mp3cut/fertig/barnet.wav new file mode 100644 index 0000000..c3ac7c0 Binary files /dev/null and b/mp3cut/fertig/barnet.wav differ diff --git a/mp3cut/fertig/biljetten.wav b/mp3cut/fertig/biljetten.wav new file mode 100644 index 0000000..1303346 Binary files /dev/null and b/mp3cut/fertig/biljetten.wav differ diff --git a/mp3cut/fertig/billig.wav b/mp3cut/fertig/billig.wav new file mode 100644 index 0000000..92c606c Binary files /dev/null and b/mp3cut/fertig/billig.wav differ diff --git a/mp3cut/fertig/boken.wav b/mp3cut/fertig/boken.wav new file mode 100644 index 0000000..1cf499e Binary files /dev/null and b/mp3cut/fertig/boken.wav differ diff --git a/mp3cut/fertig/bollen.wav b/mp3cut/fertig/bollen.wav new file mode 100644 index 0000000..0d4eae2 Binary files /dev/null and b/mp3cut/fertig/bollen.wav differ diff --git a/mp3cut/fertig/bra.wav b/mp3cut/fertig/bra.wav new file mode 100644 index 0000000..d05b5c0 Binary files /dev/null and b/mp3cut/fertig/bra.wav differ diff --git a/mp3cut/fertig/bussen.wav b/mp3cut/fertig/bussen.wav new file mode 100644 index 0000000..83ebc88 Binary files /dev/null and b/mp3cut/fertig/bussen.wav differ diff --git a/mp3cut/fertig/busstationen.wav b/mp3cut/fertig/busstationen.wav new file mode 100644 index 0000000..dce55a8 Binary files /dev/null and b/mp3cut/fertig/busstationen.wav differ diff --git a/mp3cut/fertig/bär.wav b/mp3cut/fertig/bär.wav new file mode 100644 index 0000000..5f3bbd2 Binary files /dev/null and b/mp3cut/fertig/bär.wav differ diff --git a/mp3cut/fertig/convert.py b/mp3cut/fertig/convert.py new file mode 100644 index 0000000..8a8a216 --- /dev/null +++ b/mp3cut/fertig/convert.py @@ -0,0 +1,19 @@ +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]) diff --git a/mp3cut/fertig/dagen.wav b/mp3cut/fertig/dagen.wav new file mode 100644 index 0000000..65508e2 Binary files /dev/null and b/mp3cut/fertig/dagen.wav differ diff --git a/mp3cut/fertig/den.wav b/mp3cut/fertig/den.wav new file mode 100644 index 0000000..9420bf6 Binary files /dev/null and b/mp3cut/fertig/den.wav differ diff --git a/mp3cut/fertig/det.wav b/mp3cut/fertig/det.wav new file mode 100644 index 0000000..e06527c Binary files /dev/null and b/mp3cut/fertig/det.wav differ diff --git a/mp3cut/fertig/drick.wav b/mp3cut/fertig/drick.wav new file mode 100644 index 0000000..ea081ee Binary files /dev/null and b/mp3cut/fertig/drick.wav differ diff --git a/mp3cut/fertig/dricksen.wav b/mp3cut/fertig/dricksen.wav new file mode 100644 index 0000000..d4b0cf9 Binary files /dev/null and b/mp3cut/fertig/dricksen.wav differ diff --git a/mp3cut/fertig/du.wav b/mp3cut/fertig/du.wav new file mode 100644 index 0000000..6a96a96 Binary files /dev/null and b/mp3cut/fertig/du.wav differ diff --git a/mp3cut/fertig/där.wav b/mp3cut/fertig/där.wav new file mode 100644 index 0000000..d007037 Binary files /dev/null and b/mp3cut/fertig/där.wav differ diff --git a/mp3cut/fertig/där_borta.wav b/mp3cut/fertig/där_borta.wav new file mode 100644 index 0000000..a622026 Binary files /dev/null and b/mp3cut/fertig/där_borta.wav differ diff --git a/mp3cut/fertig/dåligt.wav b/mp3cut/fertig/dåligt.wav new file mode 100644 index 0000000..acb6932 Binary files /dev/null and b/mp3cut/fertig/dåligt.wav differ diff --git a/mp3cut/fertig/efter.wav b/mp3cut/fertig/efter.wav new file mode 100644 index 0000000..f8bf824 Binary files /dev/null and b/mp3cut/fertig/efter.wav differ diff --git a/mp3cut/fertig/eftermiddagen.wav b/mp3cut/fertig/eftermiddagen.wav new file mode 100644 index 0000000..3c05794 Binary files /dev/null and b/mp3cut/fertig/eftermiddagen.wav differ diff --git a/mp3cut/fertig/en_miljard.wav b/mp3cut/fertig/en_miljard.wav new file mode 100644 index 0000000..74cfce0 Binary files /dev/null and b/mp3cut/fertig/en_miljard.wav differ diff --git a/mp3cut/fertig/en_miljon.wav b/mp3cut/fertig/en_miljon.wav new file mode 100644 index 0000000..a515443 Binary files /dev/null and b/mp3cut/fertig/en_miljon.wav differ diff --git a/mp3cut/fertig/enkel.wav b/mp3cut/fertig/enkel.wav new file mode 100644 index 0000000..6f3c7c4 Binary files /dev/null and b/mp3cut/fertig/enkel.wav differ diff --git a/mp3cut/fertig/enkel_biljetten.wav b/mp3cut/fertig/enkel_biljetten.wav new file mode 100644 index 0000000..c034804 Binary files /dev/null and b/mp3cut/fertig/enkel_biljetten.wav differ diff --git a/mp3cut/fertig/ett.wav b/mp3cut/fertig/ett.wav new file mode 100644 index 0000000..5c7fd8d Binary files /dev/null and b/mp3cut/fertig/ett.wav differ diff --git a/mp3cut/fertig/ett_hun.wav b/mp3cut/fertig/ett_hun.wav new file mode 100644 index 0000000..8f90a06 Binary files /dev/null and b/mp3cut/fertig/ett_hun.wav differ diff --git a/mp3cut/fertig/fem.wav b/mp3cut/fertig/fem.wav new file mode 100644 index 0000000..749237c Binary files /dev/null and b/mp3cut/fertig/fem.wav differ diff --git a/mp3cut/fertig/femton.wav b/mp3cut/fertig/femton.wav new file mode 100644 index 0000000..d7da20a Binary files /dev/null and b/mp3cut/fertig/femton.wav differ diff --git a/mp3cut/fertig/flyget.wav b/mp3cut/fertig/flyget.wav new file mode 100644 index 0000000..4e55494 Binary files /dev/null and b/mp3cut/fertig/flyget.wav differ diff --git a/mp3cut/fertig/flygplanet.wav b/mp3cut/fertig/flygplanet.wav new file mode 100644 index 0000000..2554df2 Binary files /dev/null and b/mp3cut/fertig/flygplanet.wav differ diff --git a/mp3cut/fertig/flygplats_terminalen.wav b/mp3cut/fertig/flygplats_terminalen.wav new file mode 100644 index 0000000..1ac5cbb Binary files /dev/null and b/mp3cut/fertig/flygplats_terminalen.wav differ diff --git a/mp3cut/fertig/flygplatsen.wav b/mp3cut/fertig/flygplatsen.wav new file mode 100644 index 0000000..8775fbe Binary files /dev/null and b/mp3cut/fertig/flygplatsen.wav differ diff --git a/mp3cut/fertig/frukosten.wav b/mp3cut/fertig/frukosten.wav new file mode 100644 index 0000000..855cb97 Binary files /dev/null and b/mp3cut/fertig/frukosten.wav differ diff --git a/mp3cut/fertig/fråga.wav b/mp3cut/fertig/fråga.wav new file mode 100644 index 0000000..c4833bd Binary files /dev/null and b/mp3cut/fertig/fråga.wav differ diff --git a/mp3cut/fertig/från.wav b/mp3cut/fertig/från.wav new file mode 100644 index 0000000..6ee0633 Binary files /dev/null and b/mp3cut/fertig/från.wav differ diff --git a/mp3cut/fertig/fyra.mp3 b/mp3cut/fertig/fyra.mp3 new file mode 100644 index 0000000..e7256ee Binary files /dev/null and b/mp3cut/fertig/fyra.mp3 differ diff --git a/mp3cut/fertig/fyra.wav b/mp3cut/fertig/fyra.wav new file mode 100644 index 0000000..363d869 Binary files /dev/null and b/mp3cut/fertig/fyra.wav differ diff --git a/mp3cut/fertig/fyrtio.wav b/mp3cut/fertig/fyrtio.wav new file mode 100644 index 0000000..76a4101 Binary files /dev/null and b/mp3cut/fertig/fyrtio.wav differ diff --git a/mp3cut/fertig/färdig.wav b/mp3cut/fertig/färdig.wav new file mode 100644 index 0000000..7d6ee10 Binary files /dev/null and b/mp3cut/fertig/färdig.wav differ diff --git a/mp3cut/fertig/för.wav b/mp3cut/fertig/för.wav new file mode 100644 index 0000000..5eeac87 Binary files /dev/null and b/mp3cut/fertig/för.wav differ diff --git a/mp3cut/fertig/föraren.wav b/mp3cut/fertig/föraren.wav new file mode 100644 index 0000000..d6bea70 Binary files /dev/null and b/mp3cut/fertig/föraren.wav differ diff --git a/mp3cut/fertig/gammal.wav b/mp3cut/fertig/gammal.wav new file mode 100644 index 0000000..f08d7d5 Binary files /dev/null and b/mp3cut/fertig/gammal.wav differ diff --git a/mp3cut/fertig/genom.wav b/mp3cut/fertig/genom.wav new file mode 100644 index 0000000..a00bce7 Binary files /dev/null and b/mp3cut/fertig/genom.wav differ diff --git a/mp3cut/fertig/gå.wav b/mp3cut/fertig/gå.wav new file mode 100644 index 0000000..acdd500 Binary files /dev/null and b/mp3cut/fertig/gå.wav differ diff --git a/mp3cut/fertig/göra.wav b/mp3cut/fertig/göra.wav new file mode 100644 index 0000000..06ae569 Binary files /dev/null and b/mp3cut/fertig/göra.wav differ diff --git a/mp3cut/fertig/han.wav b/mp3cut/fertig/han.wav new file mode 100644 index 0000000..a00c2cf Binary files /dev/null and b/mp3cut/fertig/han.wav differ diff --git a/mp3cut/fertig/havet.wav b/mp3cut/fertig/havet.wav new file mode 100644 index 0000000..5a7fe9a Binary files /dev/null and b/mp3cut/fertig/havet.wav differ diff --git a/mp3cut/fertig/hej.wav b/mp3cut/fertig/hej.wav new file mode 100644 index 0000000..e3ac8a0 Binary files /dev/null and b/mp3cut/fertig/hej.wav differ diff --git a/mp3cut/fertig/hjälp.wav b/mp3cut/fertig/hjälp.wav new file mode 100644 index 0000000..1421892 Binary files /dev/null and b/mp3cut/fertig/hjälp.wav differ diff --git a/mp3cut/fertig/hon.wav b/mp3cut/fertig/hon.wav new file mode 100644 index 0000000..6d22d3e Binary files /dev/null and b/mp3cut/fertig/hon.wav differ diff --git a/mp3cut/fertig/hos.wav b/mp3cut/fertig/hos.wav new file mode 100644 index 0000000..305f96d Binary files /dev/null and b/mp3cut/fertig/hos.wav differ diff --git a/mp3cut/fertig/hotellet.wav b/mp3cut/fertig/hotellet.wav new file mode 100644 index 0000000..462093d Binary files /dev/null and b/mp3cut/fertig/hotellet.wav differ diff --git a/mp3cut/fertig/hur.wav b/mp3cut/fertig/hur.wav new file mode 100644 index 0000000..feb7fad Binary files /dev/null and b/mp3cut/fertig/hur.wav differ diff --git a/mp3cut/fertig/här.wav b/mp3cut/fertig/här.wav new file mode 100644 index 0000000..9931e02 Binary files /dev/null and b/mp3cut/fertig/här.wav differ diff --git a/mp3cut/fertig/hållplatsen.wav b/mp3cut/fertig/hållplatsen.wav new file mode 100644 index 0000000..9bf32da Binary files /dev/null and b/mp3cut/fertig/hållplatsen.wav differ diff --git a/mp3cut/fertig/igår.mp3 b/mp3cut/fertig/igår.mp3 new file mode 100644 index 0000000..5d6e551 Binary files /dev/null and b/mp3cut/fertig/igår.mp3 differ diff --git a/mp3cut/fertig/igår.wav b/mp3cut/fertig/igår.wav new file mode 100644 index 0000000..c58ea3d Binary files /dev/null and b/mp3cut/fertig/igår.wav differ diff --git a/mp3cut/fertig/imorgon.wav b/mp3cut/fertig/imorgon.wav new file mode 100644 index 0000000..432eaf3 Binary files /dev/null and b/mp3cut/fertig/imorgon.wav differ diff --git a/mp3cut/fertig/informationen.wav b/mp3cut/fertig/informationen.wav new file mode 100644 index 0000000..72c250a Binary files /dev/null and b/mp3cut/fertig/informationen.wav differ diff --git a/mp3cut/fertig/inte.wav b/mp3cut/fertig/inte.wav new file mode 100644 index 0000000..72877dc Binary files /dev/null and b/mp3cut/fertig/inte.wav differ diff --git a/mp3cut/fertig/ja.wav b/mp3cut/fertig/ja.wav new file mode 100644 index 0000000..b585205 Binary files /dev/null and b/mp3cut/fertig/ja.wav differ diff --git a/mp3cut/fertig/jag.wav b/mp3cut/fertig/jag.wav new file mode 100644 index 0000000..b164e69 Binary files /dev/null and b/mp3cut/fertig/jag.wav differ diff --git a/mp3cut/fertig/järnvägsstationen.wav b/mp3cut/fertig/järnvägsstationen.wav new file mode 100644 index 0000000..1ea4267 Binary files /dev/null and b/mp3cut/fertig/järnvägsstationen.wav differ diff --git a/mp3cut/fertig/kliva_av.wav b/mp3cut/fertig/kliva_av.wav new file mode 100644 index 0000000..059e8e9 Binary files /dev/null and b/mp3cut/fertig/kliva_av.wav differ diff --git a/mp3cut/fertig/klockan.wav b/mp3cut/fertig/klockan.wav new file mode 100644 index 0000000..b44f348 Binary files /dev/null and b/mp3cut/fertig/klockan.wav differ diff --git a/mp3cut/fertig/komma.wav b/mp3cut/fertig/komma.wav new file mode 100644 index 0000000..f369911 Binary files /dev/null and b/mp3cut/fertig/komma.wav differ diff --git a/mp3cut/fertig/kreditkortet.wav b/mp3cut/fertig/kreditkortet.wav new file mode 100644 index 0000000..c6b6b09 Binary files /dev/null and b/mp3cut/fertig/kreditkortet.wav differ diff --git a/mp3cut/fertig/kunna.wav b/mp3cut/fertig/kunna.wav new file mode 100644 index 0000000..8e5f5cd Binary files /dev/null and b/mp3cut/fertig/kunna.wav differ diff --git a/mp3cut/fertig/kvinnan.wav b/mp3cut/fertig/kvinnan.wav new file mode 100644 index 0000000..35166a3 Binary files /dev/null and b/mp3cut/fertig/kvinnan.wav differ diff --git a/mp3cut/fertig/kvällen.wav b/mp3cut/fertig/kvällen.wav new file mode 100644 index 0000000..a14c687 Binary files /dev/null and b/mp3cut/fertig/kvällen.wav differ diff --git a/mp3cut/fertig/kön.wav b/mp3cut/fertig/kön.wav new file mode 100644 index 0000000..11c3870 Binary files /dev/null and b/mp3cut/fertig/kön.wav differ diff --git a/mp3cut/fertig/köpa.wav b/mp3cut/fertig/köpa.wav new file mode 100644 index 0000000..b52216c Binary files /dev/null and b/mp3cut/fertig/köpa.wav differ diff --git a/mp3cut/fertig/lev.wav b/mp3cut/fertig/lev.wav new file mode 100644 index 0000000..aee195e Binary files /dev/null and b/mp3cut/fertig/lev.wav differ diff --git a/mp3cut/fertig/ligga.wav b/mp3cut/fertig/ligga.wav new file mode 100644 index 0000000..3a88957 Binary files /dev/null and b/mp3cut/fertig/ligga.wav differ diff --git a/mp3cut/fertig/liten.wav b/mp3cut/fertig/liten.wav new file mode 100644 index 0000000..73b815a Binary files /dev/null and b/mp3cut/fertig/liten.wav differ diff --git a/mp3cut/fertig/lovet.wav b/mp3cut/fertig/lovet.wav new file mode 100644 index 0000000..a67193b Binary files /dev/null and b/mp3cut/fertig/lovet.wav differ diff --git a/mp3cut/fertig/lyft.wav b/mp3cut/fertig/lyft.wav new file mode 100644 index 0000000..e509902 Binary files /dev/null and b/mp3cut/fertig/lyft.wav differ diff --git a/mp3cut/fertig/läm.wav b/mp3cut/fertig/läm.wav new file mode 100644 index 0000000..b65efb6 Binary files /dev/null and b/mp3cut/fertig/läm.wav differ diff --git a/mp3cut/fertig/långt.wav b/mp3cut/fertig/långt.wav new file mode 100644 index 0000000..830a64a Binary files /dev/null and b/mp3cut/fertig/långt.wav differ diff --git a/mp3cut/fertig/mannen.wav b/mp3cut/fertig/mannen.wav new file mode 100644 index 0000000..cd6bf89 Binary files /dev/null and b/mp3cut/fertig/mannen.wav differ diff --git a/mp3cut/fertig/med.wav b/mp3cut/fertig/med.wav new file mode 100644 index 0000000..3dced63 Binary files /dev/null and b/mp3cut/fertig/med.wav differ diff --git a/mp3cut/fertig/men.wav b/mp3cut/fertig/men.wav new file mode 100644 index 0000000..a6080b5 Binary files /dev/null and b/mp3cut/fertig/men.wav differ diff --git a/mp3cut/fertig/mer.wav b/mp3cut/fertig/mer.wav new file mode 100644 index 0000000..fcad217 Binary files /dev/null and b/mp3cut/fertig/mer.wav differ diff --git a/mp3cut/fertig/middagen.wav b/mp3cut/fertig/middagen.wav new file mode 100644 index 0000000..af8e1e7 Binary files /dev/null and b/mp3cut/fertig/middagen.wav differ diff --git a/mp3cut/fertig/mindre.wav b/mp3cut/fertig/mindre.wav new file mode 100644 index 0000000..1b31d3e Binary files /dev/null and b/mp3cut/fertig/mindre.wav differ diff --git a/mp3cut/fertig/morgonen.wav b/mp3cut/fertig/morgonen.wav new file mode 100644 index 0000000..6b80299 Binary files /dev/null and b/mp3cut/fertig/morgonen.wav differ diff --git a/mp3cut/fertig/mycket.wav b/mp3cut/fertig/mycket.wav new file mode 100644 index 0000000..b274c43 Binary files /dev/null and b/mp3cut/fertig/mycket.wav differ diff --git a/mp3cut/fertig/namnet.wav b/mp3cut/fertig/namnet.wav new file mode 100644 index 0000000..ac459fb Binary files /dev/null and b/mp3cut/fertig/namnet.wav differ diff --git a/mp3cut/fertig/natten.wav b/mp3cut/fertig/natten.wav new file mode 100644 index 0000000..ea3d463 Binary files /dev/null and b/mp3cut/fertig/natten.wav differ diff --git a/mp3cut/fertig/nej.wav b/mp3cut/fertig/nej.wav new file mode 100644 index 0000000..07eca66 Binary files /dev/null and b/mp3cut/fertig/nej.wav differ diff --git a/mp3cut/fertig/nere.wav b/mp3cut/fertig/nere.wav new file mode 100644 index 0000000..00df17b Binary files /dev/null and b/mp3cut/fertig/nere.wav differ diff --git a/mp3cut/fertig/ni.wav b/mp3cut/fertig/ni.wav new file mode 100644 index 0000000..7b4312c Binary files /dev/null and b/mp3cut/fertig/ni.wav differ diff --git a/mp3cut/fertig/nittio.wav b/mp3cut/fertig/nittio.wav new file mode 100644 index 0000000..9751101 Binary files /dev/null and b/mp3cut/fertig/nittio.wav differ diff --git a/mp3cut/fertig/nitton.wav b/mp3cut/fertig/nitton.wav new file mode 100644 index 0000000..6c4a985 Binary files /dev/null and b/mp3cut/fertig/nitton.wav differ diff --git a/mp3cut/fertig/noll.wav b/mp3cut/fertig/noll.wav new file mode 100644 index 0000000..71be4fa Binary files /dev/null and b/mp3cut/fertig/noll.wav differ diff --git a/mp3cut/fertig/nu.wav b/mp3cut/fertig/nu.wav new file mode 100644 index 0000000..e4d0fe0 Binary files /dev/null and b/mp3cut/fertig/nu.wav differ diff --git a/mp3cut/fertig/okej.wav b/mp3cut/fertig/okej.wav new file mode 100644 index 0000000..c9fc519 Binary files /dev/null and b/mp3cut/fertig/okej.wav differ diff --git a/mp3cut/fertig/olika.wav b/mp3cut/fertig/olika.wav new file mode 100644 index 0000000..c723267 Binary files /dev/null and b/mp3cut/fertig/olika.wav differ diff --git a/mp3cut/fertig/oss.wav b/mp3cut/fertig/oss.wav new file mode 100644 index 0000000..7c10b40 Binary files /dev/null and b/mp3cut/fertig/oss.wav differ diff --git a/mp3cut/fertig/passageraren.wav b/mp3cut/fertig/passageraren.wav new file mode 100644 index 0000000..32df78d Binary files /dev/null and b/mp3cut/fertig/passageraren.wav differ diff --git a/mp3cut/fertig/pengarna.wav b/mp3cut/fertig/pengarna.wav new file mode 100644 index 0000000..3775ab2 Binary files /dev/null and b/mp3cut/fertig/pengarna.wav differ diff --git a/mp3cut/fertig/prästen.wav b/mp3cut/fertig/prästen.wav new file mode 100644 index 0000000..1541f1d Binary files /dev/null and b/mp3cut/fertig/prästen.wav differ diff --git a/mp3cut/fertig/resan.wav b/mp3cut/fertig/resan.wav new file mode 100644 index 0000000..52c7079 Binary files /dev/null and b/mp3cut/fertig/resan.wav differ diff --git a/mp3cut/fertig/resväskan.wav b/mp3cut/fertig/resväskan.wav new file mode 100644 index 0000000..ad3ce5a Binary files /dev/null and b/mp3cut/fertig/resväskan.wav differ diff --git a/mp3cut/fertig/returbiljetten.wav b/mp3cut/fertig/returbiljetten.wav new file mode 100644 index 0000000..cff3bec Binary files /dev/null and b/mp3cut/fertig/returbiljetten.wav differ diff --git a/mp3cut/fertig/rummet.wav b/mp3cut/fertig/rummet.wav new file mode 100644 index 0000000..56c6fb4 Binary files /dev/null and b/mp3cut/fertig/rummet.wav differ diff --git a/mp3cut/fertig/ryggsäcken.wav b/mp3cut/fertig/ryggsäcken.wav new file mode 100644 index 0000000..9ce01bd Binary files /dev/null and b/mp3cut/fertig/ryggsäcken.wav differ diff --git a/mp3cut/fertig/rätt.wav b/mp3cut/fertig/rätt.wav new file mode 100644 index 0000000..b6d8c05 Binary files /dev/null and b/mp3cut/fertig/rätt.wav differ diff --git a/mp3cut/fertig/scen.wav b/mp3cut/fertig/scen.wav new file mode 100644 index 0000000..0fef4fa Binary files /dev/null and b/mp3cut/fertig/scen.wav differ diff --git a/mp3cut/fertig/se.mp3 b/mp3cut/fertig/se.mp3 new file mode 100644 index 0000000..8f73d48 Binary files /dev/null and b/mp3cut/fertig/se.mp3 differ diff --git a/mp3cut/fertig/semester.wav b/mp3cut/fertig/semester.wav new file mode 100644 index 0000000..98b412c Binary files /dev/null and b/mp3cut/fertig/semester.wav differ diff --git a/mp3cut/fertig/semestern.wav b/mp3cut/fertig/semestern.wav new file mode 100644 index 0000000..faff1dc Binary files /dev/null and b/mp3cut/fertig/semestern.wav differ diff --git a/mp3cut/fertig/senare.wav b/mp3cut/fertig/senare.wav new file mode 100644 index 0000000..c002336 Binary files /dev/null and b/mp3cut/fertig/senare.wav differ diff --git a/mp3cut/fertig/sex.wav b/mp3cut/fertig/sex.wav new file mode 100644 index 0000000..a886a4f Binary files /dev/null and b/mp3cut/fertig/sex.wav differ diff --git a/mp3cut/fertig/sextio.wav b/mp3cut/fertig/sextio.wav new file mode 100644 index 0000000..86e2838 Binary files /dev/null and b/mp3cut/fertig/sextio.wav differ diff --git a/mp3cut/fertig/sexton.wav b/mp3cut/fertig/sexton.wav new file mode 100644 index 0000000..2329d7c Binary files /dev/null and b/mp3cut/fertig/sexton.wav differ diff --git a/mp3cut/fertig/sittplatsen.wav b/mp3cut/fertig/sittplatsen.wav new file mode 100644 index 0000000..0f78406 Binary files /dev/null and b/mp3cut/fertig/sittplatsen.wav differ diff --git a/mp3cut/fertig/sju.wav b/mp3cut/fertig/sju.wav new file mode 100644 index 0000000..0d4414a Binary files /dev/null and b/mp3cut/fertig/sju.wav differ diff --git a/mp3cut/fertig/sjutio.wav b/mp3cut/fertig/sjutio.wav new file mode 100644 index 0000000..e47de43 Binary files /dev/null and b/mp3cut/fertig/sjutio.wav differ diff --git a/mp3cut/fertig/sjutton.wav b/mp3cut/fertig/sjutton.wav new file mode 100644 index 0000000..fd980dc Binary files /dev/null and b/mp3cut/fertig/sjutton.wav differ diff --git a/mp3cut/fertig/solen.wav b/mp3cut/fertig/solen.wav new file mode 100644 index 0000000..37f4e31 Binary files /dev/null and b/mp3cut/fertig/solen.wav differ diff --git a/mp3cut/fertig/soligt.wav b/mp3cut/fertig/soligt.wav new file mode 100644 index 0000000..67636d1 Binary files /dev/null and b/mp3cut/fertig/soligt.wav differ diff --git a/mp3cut/fertig/solnedgången.wav b/mp3cut/fertig/solnedgången.wav new file mode 100644 index 0000000..50b4e70 Binary files /dev/null and b/mp3cut/fertig/solnedgången.wav differ diff --git a/mp3cut/fertig/soluppgången.wav b/mp3cut/fertig/soluppgången.wav new file mode 100644 index 0000000..5f39956 Binary files /dev/null and b/mp3cut/fertig/soluppgången.wav differ diff --git a/mp3cut/fertig/spela.wav b/mp3cut/fertig/spela.wav new file mode 100644 index 0000000..c67d71c Binary files /dev/null and b/mp3cut/fertig/spela.wav differ diff --git a/mp3cut/fertig/sporten.wav b/mp3cut/fertig/sporten.wav new file mode 100644 index 0000000..725def7 Binary files /dev/null and b/mp3cut/fertig/sporten.wav differ diff --git a/mp3cut/fertig/språket.wav b/mp3cut/fertig/språket.wav new file mode 100644 index 0000000..17de4dc Binary files /dev/null and b/mp3cut/fertig/språket.wav differ diff --git a/mp3cut/fertig/staden.wav b/mp3cut/fertig/staden.wav new file mode 100644 index 0000000..4749125 Binary files /dev/null and b/mp3cut/fertig/staden.wav differ diff --git a/mp3cut/fertig/stan.wav b/mp3cut/fertig/stan.wav new file mode 100644 index 0000000..bd3ce7a Binary files /dev/null and b/mp3cut/fertig/stan.wav differ diff --git a/mp3cut/fertig/stor.wav b/mp3cut/fertig/stor.wav new file mode 100644 index 0000000..6e2bc90 Binary files /dev/null and b/mp3cut/fertig/stor.wav differ diff --git a/mp3cut/fertig/stranden.wav b/mp3cut/fertig/stranden.wav new file mode 100644 index 0000000..aa7286b Binary files /dev/null and b/mp3cut/fertig/stranden.wav differ diff --git a/mp3cut/fertig/större.wav b/mp3cut/fertig/större.wav new file mode 100644 index 0000000..cfd1344 Binary files /dev/null and b/mp3cut/fertig/större.wav differ diff --git a/mp3cut/fertig/säker.wav b/mp3cut/fertig/säker.wav new file mode 100644 index 0000000..7dfe0cc Binary files /dev/null and b/mp3cut/fertig/säker.wav differ diff --git a/mp3cut/fertig/tack.mp3 b/mp3cut/fertig/tack.mp3 new file mode 100644 index 0000000..2b2acac Binary files /dev/null and b/mp3cut/fertig/tack.mp3 differ diff --git a/mp3cut/fertig/tack.wav b/mp3cut/fertig/tack.wav new file mode 100644 index 0000000..10aa07f Binary files /dev/null and b/mp3cut/fertig/tack.wav differ diff --git a/mp3cut/fertig/taxin.wav b/mp3cut/fertig/taxin.wav new file mode 100644 index 0000000..7724922 Binary files /dev/null and b/mp3cut/fertig/taxin.wav differ diff --git a/mp3cut/fertig/tiden.wav b/mp3cut/fertig/tiden.wav new file mode 100644 index 0000000..45a7fe3 Binary files /dev/null and b/mp3cut/fertig/tiden.wav differ diff --git a/mp3cut/fertig/tidningen.wav b/mp3cut/fertig/tidningen.wav new file mode 100644 index 0000000..db294f8 Binary files /dev/null and b/mp3cut/fertig/tidningen.wav differ diff --git a/mp3cut/fertig/till.wav b/mp3cut/fertig/till.wav new file mode 100644 index 0000000..4f7758d Binary files /dev/null and b/mp3cut/fertig/till.wav differ diff --git a/mp3cut/fertig/timmen.wav b/mp3cut/fertig/timmen.wav new file mode 100644 index 0000000..f3093b7 Binary files /dev/null and b/mp3cut/fertig/timmen.wav differ diff --git a/mp3cut/fertig/tio.wav b/mp3cut/fertig/tio.wav new file mode 100644 index 0000000..f0c414b Binary files /dev/null and b/mp3cut/fertig/tio.wav differ diff --git a/mp3cut/fertig/tjugo.mp3 b/mp3cut/fertig/tjugo.mp3 new file mode 100644 index 0000000..804e74d Binary files /dev/null and b/mp3cut/fertig/tjugo.mp3 differ diff --git a/mp3cut/fertig/tjugoett.wav b/mp3cut/fertig/tjugoett.wav new file mode 100644 index 0000000..646f139 Binary files /dev/null and b/mp3cut/fertig/tjugoett.wav differ diff --git a/mp3cut/fertig/tjugotvå.wav b/mp3cut/fertig/tjugotvå.wav new file mode 100644 index 0000000..2fcccfd Binary files /dev/null and b/mp3cut/fertig/tjugotvå.wav differ diff --git a/mp3cut/fertig/toaletten.wav b/mp3cut/fertig/toaletten.wav new file mode 100644 index 0000000..65f01a8 Binary files /dev/null and b/mp3cut/fertig/toaletten.wav differ diff --git a/mp3cut/fertig/tolv.mp3 b/mp3cut/fertig/tolv.mp3 new file mode 100644 index 0000000..2710adf Binary files /dev/null and b/mp3cut/fertig/tolv.mp3 differ diff --git a/mp3cut/fertig/tolv.wav b/mp3cut/fertig/tolv.wav new file mode 100644 index 0000000..e0f1847 Binary files /dev/null and b/mp3cut/fertig/tolv.wav differ diff --git a/mp3cut/fertig/tre.wav b/mp3cut/fertig/tre.wav new file mode 100644 index 0000000..de3001f Binary files /dev/null and b/mp3cut/fertig/tre.wav differ diff --git a/mp3cut/fertig/trett.wav b/mp3cut/fertig/trett.wav new file mode 100644 index 0000000..39dde64 Binary files /dev/null and b/mp3cut/fertig/trett.wav differ diff --git a/mp3cut/fertig/tretton.wav b/mp3cut/fertig/tretton.wav new file mode 100644 index 0000000..5ec3cc6 Binary files /dev/null and b/mp3cut/fertig/tretton.wav differ diff --git a/mp3cut/fertig/trevlig.wav b/mp3cut/fertig/trevlig.wav new file mode 100644 index 0000000..dec6f9a Binary files /dev/null and b/mp3cut/fertig/trevlig.wav differ diff --git a/mp3cut/fertig/träff.wav b/mp3cut/fertig/träff.wav new file mode 100644 index 0000000..aa6c4e3 Binary files /dev/null and b/mp3cut/fertig/träff.wav differ diff --git a/mp3cut/fertig/trött.wav b/mp3cut/fertig/trött.wav new file mode 100644 index 0000000..234bf79 Binary files /dev/null and b/mp3cut/fertig/trött.wav differ diff --git a/mp3cut/fertig/tullkontroll.wav b/mp3cut/fertig/tullkontroll.wav new file mode 100644 index 0000000..b77fc78 Binary files /dev/null and b/mp3cut/fertig/tullkontroll.wav differ diff --git a/mp3cut/fertig/turisten.wav b/mp3cut/fertig/turisten.wav new file mode 100644 index 0000000..05f1a1b Binary files /dev/null and b/mp3cut/fertig/turisten.wav differ diff --git a/mp3cut/fertig/två.wav b/mp3cut/fertig/två.wav new file mode 100644 index 0000000..4385e9f Binary files /dev/null and b/mp3cut/fertig/två.wav differ diff --git a/mp3cut/fertig/tåget.wav b/mp3cut/fertig/tåget.wav new file mode 100644 index 0000000..f4fd292 Binary files /dev/null and b/mp3cut/fertig/tåget.wav differ diff --git a/mp3cut/fertig/ung.wav b/mp3cut/fertig/ung.wav new file mode 100644 index 0000000..e83bada Binary files /dev/null and b/mp3cut/fertig/ung.wav differ diff --git a/mp3cut/fertig/upp.wav b/mp3cut/fertig/upp.wav new file mode 100644 index 0000000..6988428 Binary files /dev/null and b/mp3cut/fertig/upp.wav differ diff --git a/mp3cut/fertig/ursäkta.wav b/mp3cut/fertig/ursäkta.wav new file mode 100644 index 0000000..ea13682 Binary files /dev/null and b/mp3cut/fertig/ursäkta.wav differ diff --git a/mp3cut/fertig/utgången.wav b/mp3cut/fertig/utgången.wav new file mode 100644 index 0000000..7485064 Binary files /dev/null and b/mp3cut/fertig/utgången.wav differ diff --git a/mp3cut/fertig/valutan.wav b/mp3cut/fertig/valutan.wav new file mode 100644 index 0000000..9493639 Binary files /dev/null and b/mp3cut/fertig/valutan.wav differ diff --git a/mp3cut/fertig/varför.wav b/mp3cut/fertig/varför.wav new file mode 100644 index 0000000..2988ae8 Binary files /dev/null and b/mp3cut/fertig/varför.wav differ diff --git a/mp3cut/fertig/vattnet.wav b/mp3cut/fertig/vattnet.wav new file mode 100644 index 0000000..e557cbb Binary files /dev/null and b/mp3cut/fertig/vattnet.wav differ diff --git a/mp3cut/fertig/vi.wav b/mp3cut/fertig/vi.wav new file mode 100644 index 0000000..8f3f797 Binary files /dev/null and b/mp3cut/fertig/vi.wav differ diff --git a/mp3cut/fertig/vilja.wav b/mp3cut/fertig/vilja.wav new file mode 100644 index 0000000..6ac901f Binary files /dev/null and b/mp3cut/fertig/vilja.wav differ diff --git a/mp3cut/fertig/välkommen.wav b/mp3cut/fertig/välkommen.wav new file mode 100644 index 0000000..b879941 Binary files /dev/null and b/mp3cut/fertig/välkommen.wav differ diff --git a/mp3cut/fertig/vännen.wav b/mp3cut/fertig/vännen.wav new file mode 100644 index 0000000..163c080 Binary files /dev/null and b/mp3cut/fertig/vännen.wav differ diff --git a/mp3cut/fertig/väskan.wav b/mp3cut/fertig/väskan.wav new file mode 100644 index 0000000..88a58ec Binary files /dev/null and b/mp3cut/fertig/väskan.wav differ diff --git a/mp3cut/fertig/växelpengar.wav b/mp3cut/fertig/växelpengar.wav new file mode 100644 index 0000000..ac22b9c Binary files /dev/null and b/mp3cut/fertig/växelpengar.wav differ diff --git a/mp3cut/fertig/ät.wav b/mp3cut/fertig/ät.wav new file mode 100644 index 0000000..203da9e Binary files /dev/null and b/mp3cut/fertig/ät.wav differ diff --git a/mp3cut/fertig/året.wav b/mp3cut/fertig/året.wav new file mode 100644 index 0000000..5434c3c Binary files /dev/null and b/mp3cut/fertig/året.wav differ diff --git a/mp3cut/fertig/återresan.wav b/mp3cut/fertig/återresan.wav new file mode 100644 index 0000000..8c686ac Binary files /dev/null and b/mp3cut/fertig/återresan.wav differ diff --git a/mp3cut/fertig/åttio.wav b/mp3cut/fertig/åttio.wav new file mode 100644 index 0000000..635743e Binary files /dev/null and b/mp3cut/fertig/åttio.wav differ diff --git a/mp3cut/fertig/ölen.wav b/mp3cut/fertig/ölen.wav new file mode 100644 index 0000000..566251f Binary files /dev/null and b/mp3cut/fertig/ölen.wav differ diff --git a/mp3cut/fertig/ön.wav b/mp3cut/fertig/ön.wav new file mode 100644 index 0000000..7bd45a3 Binary files /dev/null and b/mp3cut/fertig/ön.wav differ diff --git a/mp3cut/fertig/över.wav b/mp3cut/fertig/över.wav new file mode 100644 index 0000000..a2b7298 Binary files /dev/null and b/mp3cut/fertig/över.wav differ diff --git a/mp3cut/mp3cut.py b/mp3cut/mp3cut.py index 585bfe8..8c5d128 100644 --- a/mp3cut/mp3cut.py +++ b/mp3cut/mp3cut.py @@ -3,11 +3,13 @@ import speech_recognition as sr import os # Lade die MP3-Datei und konvertiere sie zu WAV -audio = AudioSegment.from_mp3("dreiWorte.mp3") -audio = audio.set_channels(1).set_frame_rate(16000) # Mono & 16kHz für bessere Erkennung +audio = AudioSegment.from_mp3("bis200.mp3") +audio = audio.set_channels(2).set_frame_rate(48000) # Mono & 16kHz für bessere Erkennung +BUFFER_BEFORE = 300 +BUFFER_AFTER = 300 # Stille erkennen mit optimierten Werten -silent_ranges = silence.detect_silence(audio, min_silence_len=200, silence_thresh=-45) +silent_ranges = silence.detect_silence(audio, min_silence_len=400, silence_thresh=-45) silent_ranges = [(start, end) for start, end in silent_ranges if end - start > 200] # Kurze Pausen filtern # Wortsegmente bestimmen @@ -20,30 +22,35 @@ word_segments.append((start, len(audio))) # Letztes Wort hinzufügen # Sprach-Recognizer vorbereiten recognizer = sr.Recognizer() - +namenr = 1 # Jedes Segment speichern und transkribieren for i, (start, end) in enumerate(word_segments): + + start = max(0, start - BUFFER_BEFORE) + end = min(len(audio), end + BUFFER_AFTER) segment = audio[start:end] temp_file = f"temp_word_{i+1}.wav" - print(temp_file) + segment.export(temp_file, format="wav") - word_text = "" + #word_text = "" # Spracherkennung durchführen with sr.AudioFile(temp_file) as source: audio_data = recognizer.record(source) try: - word_text = recognizer.recognize_google(audio_data, language="sv-SV") # Schwedisch + word_text = recognizer.recognize_google(audio_data, language="sv-SE") # Schwedisch print("Erkanntes Wort:", word_text) + word_text = word_text.replace(" ", "_") # Leerzeichen durch Unterstrich ersetzen + final_file = f"{word_text}.wav" + print(f"Wort {i+1}: {word_text} -> Gespeichert als {final_file}") + os.rename(temp_file, final_file) except sr.UnknownValueError: print("Google konnte nichts erkennen.") + final_file = f"{namenr}.wav" + os.rename(temp_file, final_file) + print(f"{namenr} -> Gespeichert als {final_file}") + namenr = namenr + 1 + except Exception as e: print(f"Fehler: {e}") - #word_text = word_text.replace(" ", "_") # Leerzeichen durch Unterstrich ersetzen - #final_file = f"{word_text}.wav" - final_file = "1.wav" - os.rename(temp_file, final_file) - - print(f"Wort {i+1}: {word_text} -> Gespeichert als {final_file}") - print("Fertig! Alle Worte wurden gespeichert.") \ No newline at end of file diff --git a/mp3cut/åtta.mp3 b/mp3cut/åtta.mp3 new file mode 100644 index 0000000..4d2492a Binary files /dev/null and b/mp3cut/åtta.mp3 differ