Browse Source

add voice sample

subDesTagesMitExtraKaese 2 years ago
parent
commit
27d75a2db7
9 changed files with 120 additions and 66 deletions
  1. 116 65
      beleg.ipynb
  2. BIN
      Beleg Signaltheorie.pdf
  3. 3 0
      README.md
  4. 1 1
      audio.py
  5. BIN
      audio/Frase_de_Neil_Armstrong.ogg
  6. BIN
      beleg.pdf
  7. BIN
      output/voice.wav
  8. BIN
      output/voice_coif4_f2.wav
  9. BIN
      output/voice_stft_f2.wav

File diff suppressed because it is too large
+ 116 - 65
beleg.ipynb


BIN
Beleg Signaltheorie.pdf


+ 3 - 0
README.md

@@ -1,2 +1,5 @@
 # wavelet-noise-reduction
 # wavelet-noise-reduction
 
 
+[Beleg (IPython Notebook)](Beleg%20Signaltheorie.ipynb)
+
+[Beleg (PDF)](Beleg%20Signaltheorie.pdf)

+ 1 - 1
audio.py

@@ -9,7 +9,7 @@ def Audio(audio: np.ndarray, rate: int, name: str):
     amplitude = np.iinfo(np.int16).max
     amplitude = np.iinfo(np.int16).max
 
 
     write(filename, rate, (audio*amplitude).astype(np.int16))
     write(filename, rate, (audio*amplitude).astype(np.int16))
-
+    return IPython.display.Markdown(f"[{filename}]({filename})")
     return IPython.display.HTML(f"""
     return IPython.display.HTML(f"""
         <audio controls>
         <audio controls>
             <source src="{filename}" type="audio/wav">
             <source src="{filename}" type="audio/wav">

BIN
audio/Frase_de_Neil_Armstrong.ogg


BIN
beleg.pdf


BIN
output/voice.wav


BIN
output/voice_coif4_f2.wav


BIN
output/voice_stft_f2.wav